Indulge in the ultimate springtime treat with this exquisite Pineapple Carrot Cake! This delightful dessert harmoniously blends the comforting warmth of cinnamon and nutmeg with the vibrant sweetness of pineapple, while crunchy chopped walnuts add a perfect textural contrast. Prepare to fall in love with this exceptionally moist and tender cake, ideal for your Easter celebration, a cherished family gathering, or simply whenever you crave a truly irresistible sweet escape.

Embrace Spring with the Best Pineapple Carrot Cake
As the last vestiges of winter snow finally melt away and grocery store aisles fill with cheerful chocolate bunnies, it’s a clear sign that spring is indeed on its way! After what often feels like a long and heavy winter season, the promise of sunshine, warmth, and fresh beginnings is a welcome relief. There’s a particular kind of joy that comes with the change of seasons, and what better way to celebrate the arrival of spring than with a dessert that embodies all its delightful qualities?
SAVE THIS IRRESISTIBLE PINEAPPLE CARROT CAKE RECIPE TO YOUR FAVORITE PINTEREST BOARD!

This Pineapple Carrot Cake, for me, is the culinary embodiment of sunshine and warmth. The bright, tangy sweetness of the pineapple instantly transports me to carefree summer vacations and sun-drenched days. Meanwhile, the classic, earthy flavors of traditional carrot cake, perfectly complemented by a rich and tangy cream cheese frosting, evoke cherished memories of cozy family gatherings and festive holiday tables. It’s a dessert that offers comfort and excitement in every single forkful, and honestly, who doesn’t need a generous slice of that?
Why Pineapple is the Secret Ingredient for a Truly Moist Carrot Cake
Beyond its wonderfully sweet and tangy flavor, adding pineapple to your carrot cake batter offers a remarkable benefit: it significantly enhances the cake’s tenderness and moisture. Pineapple is naturally high in enzymes and moisture content. When properly drained and incorporated into the batter, it contributes to a cake that is incredibly moist, almost melt-in-your-mouth soft, without becoming soggy.
The fruit’s natural acidity also plays a role in reacting with the baking soda, aiding in leavening and creating a tender crumb. While it does produce a slightly denser cake than one made without it, this density is a desirable trait, giving the cake a satisfyingly rich texture that still remains beautifully fluffy and never heavy. It’s this unique combination of flavor and texture that truly elevates this particular carrot cake recipe above the rest, making it the best carrot cake with pineapple you’ll ever bake.

Essential Ingredients for Your Perfect Pineapple Carrot Cake
Crafting a truly spectacular moist carrot cake begins with a thoughtful selection of fresh, high-quality ingredients. Here’s what you’ll need to gather for this delightful Pineapple Carrot Cake:
- All-purpose flour: The foundation of our cake’s structure.
- Ground cinnamon & Ground nutmeg: These warm spices are quintessential to classic carrot cake, providing a comforting aroma and flavor that perfectly complements the sweetness of carrots and pineapple.
- Baking soda: Our primary leavening agent, working with the acidic ingredients to create a light and fluffy texture.
- Sea salt: A crucial flavor enhancer, balancing the sweetness and bringing out the depth of other ingredients.
- Vegetable oil: Using oil instead of butter contributes to a wonderfully moist cake, ensuring it stays tender for days.
- Light brown sugar & Granulated white sugar: The combination provides a balanced sweetness and a subtle caramel note from the brown sugar.
- Large eggs: Eggs bind the ingredients, add richness, and contribute to the cake’s structure.
- Vanilla extract: Essential for enhancing all the other flavors in the cake.
- Carrots, finely grated: The star ingredient! Fine grating ensures the carrots blend seamlessly into the cake, creating a soft crumb without fibrous bits.
- Walnuts, chopped: Adds a delightful crunch and nutty flavor, a classic pairing with carrot cake.
- Canned crushed pineapple: Our secret weapon for unparalleled moisture and a burst of tropical sweetness. Be sure to drain it thoroughly!
For the Irresistible Cream Cheese Frosting:
No carrot cake is complete without a luscious, tangy cream cheese frosting. Here’s what you’ll need to create this essential topping:
- Cream cheese, room temperature: The base of our frosting, providing that signature tangy flavor and creamy texture. Room temperature is key for a smooth consistency.
- Butter, room temperature: Adds richness and helps create a stable, pipeable frosting. Again, room temperature is vital.
- Powdered confectioners’ sugar: Sweetens and thickens the frosting to perfection.
- Vanilla extract: Enhances the flavor profile of the frosting, making it even more delectable.
Remember to refer to the comprehensive recipe card at the end of this post for precise measurements and detailed step-by-step instructions for this amazing Pineapple Carrot Cake!


How to Bake the Ultimate Pineapple Carrot Cake
Creating this stunning Pineapple Carrot Cake is a rewarding experience, and following these steps carefully will ensure a perfect result every time. The key to a truly moist cake lies not only in the ingredients but also in the method. Before you even think about mixing your batter, let’s prepare our special ingredient: the pineapple.
Go ahead and open your can of crushed pineapple. This is a crucial step for achieving the ideal moisture level in your cake. Allow it to drain thoroughly in a fine-mesh sieve. Once it has drained naturally for a few minutes, take a sturdy paper towel or a clean, lint-free cloth and squeeze out as much excess liquid as possible. We want the pineapple to be moist but not overly wet, as too much liquid can alter the cake’s texture. While your pineapple is drying a bit, proceed with preparing the rest of your ingredients and mixing the batter for this delightful layer cake as directed below:
- First, preheat your oven to 350 degrees F (175 degrees C). Prepare two 9-inch round cake pans by greasing them generously with non-stick cooking spray, then dusting them with flour, shaking out any excess. This ensures your cakes release easily after baking.
- In a large bowl, whisk together all your dry ingredients: the all-purpose flour, ground cinnamon, baking soda, sea salt, and ground nutmeg. Whisk well to ensure they are thoroughly combined and no lumps remain. Set this mixture aside.
- In the bowl of a stand mixer fitted with the paddle attachment (or a large bowl with a hand mixer), combine the vegetable oil, light brown sugar, and granulated sugar. Beat on medium speed until the mixture is light, smooth, and well-combined, about 2-3 minutes.
- Add the large eggs one at a time to the sugar and oil mixture, beating well after each addition until fully incorporated. Stir in the vanilla extract. The mixture should look creamy and uniform.
- Gradually add the reserved dry ingredients to the wet ingredients in the stand mixer. Mix on low speed until they are just combined. Be careful not to overmix; overmixing can lead to a tough cake. Stop as soon as you see no more streaks of flour.
- Gently fold in your finely shredded carrots, chopped walnuts, and the thoroughly drained pineapple. Use a spatula to ensure these delicious additions are evenly distributed throughout the batter.
- Evenly divide the cake batter between your two prepared cake pans. Bake for 30-35 minutes in the preheated oven. To test for doneness, insert a toothpick into the center of the cake; it should come out clean or with a few moist crumbs attached. Avoid overbaking, as this can dry out your cake.
- Transfer the baked cake pans to a wire cooling rack and let them cool for about 10 minutes. This initial cooling in the pan helps the cakes set. After 10 minutes, carefully invert the cakes onto the wire rack to cool completely before frosting. Ensure they are fully cool before proceeding to frosting to prevent the frosting from melting.

Whip Up the Perfect Cream Cheese Frosting
A Pineapple Carrot Cake wouldn’t be complete without a luscious, tangy cream cheese frosting. This frosting is incredibly easy to make and provides the perfect complement to the spiced carrot cake. The key to a smooth, lump-free frosting is using room-temperature ingredients and not overmixing.
- In the bowl of a stand mixer fitted with the paddle attachment, or using a large bowl and a hand mixer, cream together the room-temperature butter and softened cream cheese. Beat on medium speed until the mixture is light, smooth, and fluffy, scraping down the sides of the bowl as necessary to ensure everything is well combined. This usually takes about 2-3 minutes.
- Add the vanilla extract and a pinch of sea salt to the creamed mixture. Mix again on low speed until just incorporated. The vanilla brightens the flavors, and the salt balances the sweetness.
- Gradually add the powdered confectioners’ sugar to the mixture, starting on low speed to prevent a cloud of sugar from forming. Once the sugar is mostly incorporated, increase the speed to medium and beat until the frosting is smooth, creamy, and lump-free. Be careful not to overbeat, as this can incorporate too much air and make the frosting less stable.

Assembling Your Stunning Pineapple Carrot Cake
Now that your cake layers are completely cooled and your cream cheese frosting is perfectly prepared, it’s time for the most exciting part: assembling your beautiful Pineapple Carrot Cake! This process is straightforward and allows you to customize the amount of frosting to your liking.
- Once your cake layers have fully cooled to room temperature (this is essential to prevent the frosting from melting), carefully place one of the cake layers bottom-side down onto a cake stand, serving platter, or a sturdy flat surface.
- Generously spoon a portion of your creamy frosting onto the top of the first cake layer. Use an offset spatula or the back of a spoon to spread the frosting evenly across the surface. You can use as much or as little as you prefer for the filling layer; if you like a thick layer, go for it!
- Carefully place the second cake layer on top of the frosted bottom layer. For a perfectly flat top surface, place this second layer bottom-side up. This trick often helps create a smooth, even surface for your final frosting layer.
- With the remaining cream cheese frosting, frost the top and sides of the entire cake. Spread it smoothly for a classic look, or create swirls and peaks for a more rustic, homemade charm. It’s perfectly fine if you don’t use every last bit of frosting; adjust to your preference.
- To add a finishing touch and extra texture, garnish the cake with additional chopped walnuts, if desired. This not only looks appealing but also provides a hint of what’s inside. Then, slice into generous portions and serve this magnificent Pineapple Carrot Cake. Enjoy every delicious bite!

Expert Tips for Baking the Best Pineapple Carrot Cake
Achieving a truly exceptional Pineapple Carrot Cake goes beyond just following the recipe. A few key techniques and considerations can elevate your cake from good to absolutely phenomenal. Here are some expert tips to ensure your cake is always perfectly moist, flavorful, and beautifully textured:
- Finely Shred Your Carrots: This is a crucial step for a soft and seamless cake! Use the finest side of your box grater (or a food processor with a grating attachment) to shred your carrots. Finely grated carrots practically melt into the cake crumb as it bakes, preventing any noticeable fibrous bits and ensuring every bite is tender and smooth. This is the secret to a carrot cake that truly highlights the carrots without having chunky textures.
- Do Not Overmix the Batter: Once you add the dry ingredients to the wet, mix only until they are just combined. Overmixing develops the gluten in the flour, which can lead to a dense, tough, and chewy cake instead of the desired tender and moist crumb. Stop mixing as soon as you see no more streaks of dry flour.
- Ensure Ingredients are at Room Temperature (especially for frosting): For both the cake batter (eggs, vanilla) and especially the cream cheese frosting (cream cheese, butter), having ingredients at room temperature is vital. Room temperature butter and cream cheese will cream together smoothly, creating a light and airy base for your frosting, free of lumps. Cold ingredients won’t emulsify properly, resulting in a separated or lumpy frosting.
- Use Fresh Ingredients: The quality of your ingredients directly impacts the final taste and texture of your cake. Don’t use carrots that have been sitting in your fridge for weeks and are dried out or limp. Likewise, ensure your baking soda and spices are fresh (check expiration dates!) as their potency directly affects the cake’s flavor and rise. Fresh, vibrant carrots and potent spices make a noticeable difference.
- Don’t Overbake: Overbaking is the quickest way to a dry cake. Start checking for doneness at the lower end of the suggested baking time (around 30 minutes). A toothpick inserted into the center should come out clean or with a few moist crumbs. If it comes out with wet batter, continue baking in short intervals.
- Thoroughly Drain Pineapple: As mentioned in the instructions, squeeze out as much liquid as possible from the crushed pineapple. This prevents the cake from becoming too wet and ensures the perfect moist, not soggy, texture.

Frequently Asked Questions (FAQs) About Pineapple Carrot Cake
Here are answers to some common questions about baking and storing this delicious Pineapple Carrot Cake:
Can I Omit the Walnuts and/or the Pineapple?
Absolutely, you can easily omit the walnuts if you or your guests have a nut allergy or simply prefer a nut-free cake. I have personally tested this recipe both ways, and it works beautifully without the walnuts, maintaining its delicious flavor and texture. Just skip that step in the ingredients and instructions.
Regarding the pineapple, this recipe was specifically developed to include crushed pineapple, which is a key contributor to the cake’s exceptional moisture and unique flavor profile. Therefore, I haven’t tested it without the pineapple, and I cannot guarantee the same results. Even though we meticulously drain and squeeze out excess moisture from the pineapple, its presence contributes significantly to the overall moisture content and tender crumb of the cake. Removing it would likely alter the cake’s texture, potentially making it drier, and would definitely change its signature tangy-sweet flavor.
If you’re feeling adventurous and wish to try it without pineapple, please be aware that the baking time might need to be slightly adjusted (likely reduced). If any of my fellow carrot cake lovers experiment with an all-carrot version, I would be thrilled to hear about your experience! Please report back and leave a comment sharing how your cake turned out without the pineapple; I know many others would be interested in your findings.

How Do I Store Pineapple Carrot Cake?
Due to the cream cheese in the frosting, this delicious Pineapple Carrot Cake requires refrigeration to maintain its freshness and prevent spoilage. Proper storage ensures your cake remains moist and delicious for days. Here’s how to store it effectively:
For best results, place the frosted cake in an airtight container, such as a dedicated cake keeper. If you don’t have a cake keeper, you can use the following method:
Refrigerate the cake uncovered for about 2-3 hours. This allows the cream cheese frosting to firm up slightly, preventing it from sticking to plastic wrap. Once the frosting is firm, carefully wrap the entire cake (or individual slices) tightly in plastic wrap, then place it back in the refrigerator. Stored this way, the Pineapple Carrot Cake will stay fresh and delicious in the fridge for 5-7 days.

Can I Freeze This Cake?
Yes, this Pineapple Carrot Cake freezes beautifully, allowing you to enjoy a slice of spring sunshine even weeks later! You have a couple of options for freezing:
To freeze the entire cake (frosted): Once the cake is completely frosted, chill it in the refrigerator until the frosting is firm. Then, wrap the entire cake tightly in several layers of plastic wrap, followed by a layer of aluminum foil. This double protection helps prevent freezer burn. Store in the freezer for up to one month.
To freeze individual slices (frosted): This is a great option for portion control. Cut the cake into slices, then wrap each slice tightly in plastic wrap and then in foil. Place the wrapped slices in a freezer-safe bag or container. They can be frozen for up to one month.
To freeze unfrosted cake layers: Once the baked cake layers are completely cooled, wrap each layer individually in plastic wrap, then in aluminum foil. Place them in a freezer-safe bag. They can be frozen for up to two months. Thaw before frosting and assembling.
When you’re ready to enjoy, simply remove the cake or slices from the freezer and let them thaw at room temperature for several hours or overnight in the refrigerator before serving. This will ensure the cake is tender and moist.
Can I Make This Cake in Advance?
Absolutely! This Pineapple Carrot Cake is an excellent make-ahead dessert, which makes it perfect for holidays like Easter or any special occasion when you want to minimize last-minute stress. Here are a few ways to prepare it in advance:
Bake the cake layers up to 2 days in advance: Once the cake layers are completely cooled, wrap them tightly in plastic wrap and store them at room temperature (if your kitchen is cool) or in the refrigerator. When you’re ready to serve, simply make the cream cheese frosting and assemble the cake.
Freeze the cake layers for longer storage: As mentioned above, you can wrap the cooled cake layers individually in plastic wrap and then in foil, and freeze them for up to a month. Thaw them completely at room temperature for a few hours before frosting and assembling. This method is incredibly convenient for preparing ahead for major events.
Prepare the frosting in advance: The cream cheese frosting can also be made a day or two ahead of time. Store it in an airtight container in the refrigerator. Before using, let it come to room temperature and give it a quick whip with your mixer to restore its creamy consistency. This allows you to spread it easily.
With these make-ahead options, you can enjoy a stress-free baking experience and have a delicious, fresh Pineapple Carrot Cake ready to impress!

Beyond the Cake: Explore More Delicious Carrot Recipes!
If this delectable Pineapple Carrot Cake has sparked your love for carrots in sweet treats, you’re in for a delightful journey! Carrots are incredibly versatile, lending their natural sweetness and moisture to a variety of baked goods. Here are some other fantastic carrot-inspired recipes to try, each promising a unique and satisfying experience:
- You’ll absolutely adore one of the most popular cookie recipes here on 365! These fragrant, warm-spiced Carrot Cake Mix Cookies are wonderfully soft and sweet, topped with a luscious, tangy cream cheese frosting that will have you reaching for a second (or third!) cookie without hesitation.
- For a slightly healthier yet equally flavorful option, try these soft Oatmeal Carrot Cookies. They strike the perfect balance between wholesome ingredients and just the right amount of sweetness, making them an ideal treat any time of day.
- If you’re looking for a comforting baked good that’s perfect for breakfast or brunch, this Carrot and Raisin Bread is a must-try. It’s perfectly sweetened, exceptionally moist, and utterly delicious – a delightful way to enjoy your carrots.
But carrots aren’t just for dessert! If you prefer your carrots prepared in a savory style, there are endless possibilities. Next time you find yourself with an abundance of carrots to use up, consider these vibrant and unique options: try the zesty Horseradish Carrots for a surprisingly bold side dish, or make a batch of homemade, crispy Carrot Chips for a healthier snack. And of course, no holiday menu, especially around Easter, would be complete without an appearance from carrots – be sure to include these tasty Brown Sugar Glazed Carrots for a perfectly sweet and tender accompaniment to any meal.

FOLLOW ME
FACEBOOK ~ PINTEREST
INSTAGRAM ~ TWITTER
YOUTUBE
Keep an eye out for more of my easy and delicious recipes each week!
Want to Save This Recipe?
Enter your email & I’ll send it to your inbox. Plus, get great new recipes from me every week!
By submitting this form, you consent to receive emails from 365 Days of Baking and More.

Pineapple Carrot Cake
Ingredients
- 250 grams all-purpose flour (about 2 cups), plus more for coating pan
- 1 tablespoon ground cinnamon
- 1 teaspoon baking soda
- 1 teaspoon sea salt
- ½ teaspoon ground nutmeg
- 1 cup vegetable oil
- 100 grams light brown sugar, packed (about 1/2 cup)
- 200 grams granulated white sugar (about 1 cup)
- 3 large eggs
- ½ tablespoon vanilla extract
- 215 grams carrots, finely grated (about 2 cups)
- 1 cup walnuts, roughly chopped
- 8 ounces canned crushed pineapple, drained well
Cream Cheese Frosting
- 8 ounces cream cheese, room temperature
- 6 tablespoons butter, room temperature
- 3 cups powdered sugar
- 1 teaspoon pure vanilla extract
Instructions
-
Preheat oven to 350F and grease two 9-inch cake pans with non-stick spray and coat with flour.
-
In a large bowl, whisk together flour, cinnamon, baking soda, sea salt, and nutmeg.
-
Add vegetable oil, light brown sugar, and granulated sugar into the bowl of your stand mixer. Using the paddle attachment, mix until smooth.
-
Add eggs and vanilla extract and beat until incorporated.
-
Add in dry ingredients and mix again until just combined.
-
Fold in grated carrots, walnuts, and drained pineapple.
-
Evenly divide the batter between both cake pans. Bake for 30-35 minutes or until a toothpick inserted in the center comes out clean. Transfer to a cooling rack.
-
Let cakes cool for 10 minutes in the pans then invert the pans on a wire rack to cool completely.
Cream Cheese Frosting
-
In the bowl of a stand mixer, cream together butter and cream cheese until smooth, occasionally scraping down the sides of your bowl (about 3 minutes).
-
Add vanilla and salt and mix again.
-
Slowly add powdered sugar and mix until fully incorporated.
Assembling the Cake
-
Once cakes have fully cooled, place one of the cakes bottom side down onto a serving tray.
-
Add frosting to the top of the first cake layer. The amount of frosting you use will be up to your preferences.
-
Once the middle layer has been evenly smoothed onto the cake, invert the second cake bottom side up, on top of the frosting.
-
Frost with your remaining cream cheese frosting.
-
Garnish with chopped walnuts, if desired. Slice and serve.
Notes
- In testing, I had about a cup of cream cheese frosting left over, so you can use more or less as desired, including a thicker filling in between layers.
- Store leftovers in an airtight container or tightly wrapped in the fridge for 5-7 days.
Nutrition
Did you make this recipe?
Share it with me on Instagram and make sure to follow me on Pinterest for more recipes.
Pin Recipe
Share Recipe