Desserts
This 2-layer carrot cake recipe with pineapple brings a tropical twist to a classic comfort dessert that’s perfect for any occasion. 🌴 The secret lies in balancing sweet pineapple chunks with moist, spiced carrot cake layers—creating a dessert that’s both nostalgic and exciting. I’ve perfected this recipe over years of baking, ensuring every slice delivers that perfect blend of texture and flavor.
The beauty of this recipe is in its simplicity—no fancy techniques, just a few key steps that make all the difference. You’ll start with a tender carrot cake batter infused with warm spices, then fold in juicy pineapple chunks for a burst of freshness. The layers are baked to golden perfection, then topped with a creamy frosting that ties everything together.
What you’ll end up with is a showstopping dessert that’s moist, flavorful, and just sweet enough. The pineapple adds a bright, tangy contrast to the rich carrot cake, making each bite feel like a little vacation. It’s the kind of cake that disappears quickly, so you might want to make two batches!
Whether you’re celebrating a birthday, holiday, or just craving something comforting, this recipe delivers. The best part? It’s foolproof and adaptable—swap the frosting for cream cheese or add a sprinkle of toasted coconut for extra flair. Let’s get baking!
Ingredients for 2 layer carrot cake recipe with pineapple
Twelve essential ingredients transform into a tropical carrot cake that’s moist, spiced, and bursting with pineapple sweetness.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 2 ½ cups | Sifted for light texture |
| Granulated Sugar 🍚 | 2 cups | Divided for batter and pineapple |
| Brown Sugar 🍯 | ½ cup | Packed for moisture |
| Vegetable Oil 🫒 | 1 cup | Light and flavor neutral |
| Unsweetened Applesauce 🍎 | ½ cup | For natural moisture |
| Fresh Pineapple Chunks 🍍 | 2 cups | Fresh or canned (drained) |
| Carrots 🥕 | 3 cups | Grated, fine texture |
| Large Eggs 🥚 | 4 whole | Room temperature |
| Vanilla Extract 🌿 | 2 tsp | Pure, high-quality |
| Ground Cinnamon 🌶️ | 2 tsp | Freshly ground preferred |
| Ground Ginger 🌿 | 1 ½ tsp | Freshly ground for warmth |
| Ground Nutmeg 🌶️ | ½ tsp | Freshly grated |
| Baking Soda 🧂 | 1 tsp | For lift and tenderness |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Cream Cheese 🧀 | 8 oz | Room temperature, full-fat |
| Butter 🧈 | ½ cup | Unsalted, softened |
| Powdered Sugar 🍚 | 3 cups | Sifted for smooth frosting |
| Toasted Coconut Flakes 🥥 | ¼ cup | For tropical garnish |
The pineapple is the star here—fresh is ideal, but canned in juice works in a pinch (just drain it well). Look for ripe but firm pineapple at the grocery store, or grab pre-cut chunks from Trader Joe's for convenience. The carrots? Orange, not green, and finely grated for even distribution. I always double-check my spices—Penzeys or bulk bins at Whole Foods ensure freshness. The coconut flakes should be toasted until golden for that perfect crunch—don’t skip this step!
No fresh pineapple? Mango or peach chunks add a similar brightness, though pineapple’s tang is unmatched. Running low on applesauce? Greek yogurt or mashed banana keeps the moisture without altering flavor. The frosting can be swapped for cream cheese glaze—mix 4 oz cream cheese with 1 cup powdered sugar and 1 tsp lemon juice. For extra flair, add a splash of coconut milk to the batter for a subtly tropical vibe. The cake layers should be baked until a toothpick comes out clean—10-12 minutes in the oven after the initial bake time.
This cake keeps beautifully—3 days covered at room temperature or 5 days in the fridge. For longer storage, freeze layers separately for up to 3 months. I always bake the layers a day ahead—flavors meld overnight, and it’s one less thing to stress about on serving day. The frosting can be made 2 days ahead and stored in the fridge. Just re-whip before assembling. Garnish with toasted coconut just before serving—the aroma alone makes it irresistible!
Why You'll Love This Recipe
- No Mixer Needed: I swear by this recipe when my mixer’s on strike—just a bowl and whisk. The applesauce keeps it moist without extra fuss, and the pineapple’s natural juices cut through the richness like a breeze.
- Tropical Twist: That pineapple isn’t just decoration—it’s the secret. The tang cuts the carrot’s sweetness, while the brown sugar adds depth. Honestly, it’s the kind of flavor combo that makes you want to bake this twice in a week.
- Party in a Box: Slice it, stack it, and boom—you’ve got a showstopper for birthdays or potlucks. The layers hold up perfectly, and the cream cheese frosting (trust me, add that) makes it feel fancy without the effort.
- Budget Baking Win: Flour, sugar, and applesauce? This recipe uses pantry staples that won’t break the bank. Plus, leftovers stay fresh for days—great for when you bake once and feed the crowd for the next two.
Step-by-step instructions for 2-Layer carrot cake with pineapple
Here's how to create a tropical twist on a classic—juicy layers and creamy frosting that'll impress everyone.
👨🍳 Step 1: Prepare the Tropical Carrot-Pineapple Mixture
In a medium bowl, combine the 2 cups fresh pineapple chunks with ½ cup unsweetened applesauce and ½ cup packed brown sugar. Let this sit for 10 minutes while you prep the rest—this allows the pineapple to soften slightly and release its juices, which will keep your cake wonderfully moist.
Meanwhile, grate the 3 cups carrots using a box grater or food processor, aiming for a fine, uniform texture. The finer the grate, the more evenly distributed the moisture and sweetness will be throughout each bite. I like to press the grated carrots through a fine-mesh sieve to remove any fibrous bits that could make the cake dense.
🍳 Step 2: Mix the Batter for Perfect Texture
In a large mixing bowl, whisk together the 2.5 cups sifted all-purpose flour, 2 tsp ground cinnamon, 1.5 tsp ground ginger, ½ tsp ground nutmeg, 1 tsp baking soda, and ½ tsp salt. Sifting the flour ensures a light, airy texture—no lumps here! Set this dry mixture aside for now.
In a separate large bowl, beat the 4 whole large eggs at medium speed until they're pale and slightly thickened, about 2 minutes. Gradually add the 2 cups granulated sugar while continuing to beat, then mix in the 1 cup vegetable oil until fully combined. The batter should be smooth and glossy at this stage, with no streaks of oil remaining.
Now add the prepared pineapple mixture and grated carrots to the wet ingredients. Mix just until combined—don't overmix or you'll develop gluten and end up with a tough cake. Gently fold in the dry ingredients until just incorporated. The batter will be thick but pourable. Here's the thing—this batter needs to be room temperature when it goes into the oven, so if your kitchen is cold, let it sit for 10 minutes before proceeding.
🥘 Step 3: Bake the Layers for Even Cooking
Preheat your oven to 350°F and grease two 9-inch round cake pans with vegetable oil, then line the bottoms with parchment paper. Divide the batter evenly between the pans—you're aiming for equal layers about 1-inch thick in each pan. The key here is to tap the pans gently on the counter after filling to release any air bubbles that might cause doming.
Bake for 25-30 minutes, or until a toothpick inserted into the center comes out clean with just a few moist crumbs clinging to it. Rotate the pans halfway through baking for even browning. I know it's tempting to check early, but resist—underbaking will leave you with a gummy center that won't hold up well to slicing.
Let the cakes cool in their pans for 10 minutes, then transfer to a wire rack to cool completely. This gradual cooling prevents cracking and helps the layers set properly for frosting. While they cool, you can make a start on the frosting—trust me, it'll be ready by the time your cakes are done.
🍽️ Step 4: Create the Cream Cheese Frosting
In a medium bowl, beat the 8 oz cream cheese and ½ cup softened butter together until smooth and creamy, about 3 minutes. Here's where it gets fun—gradually add the 3 cups sifted powdered sugar while beating on medium-high speed. The frosting should be light and fluffy, not grainy. If it's too thick, add 1-2 tablespoons heavy cream to reach your desired consistency.
For extra flavor, add the 2 tsp vanilla extract and mix until fully incorporated. Taste and adjust sweetness if needed—remember, the cake itself has natural sweetness from the pineapple and carrots. Spread about ⅓ of the frosting between the two cake layers as a "crumb coat," then refrigerate for 15 minutes to set slightly before adding the final layer of frosting.
🎉 Step 5: Assemble and Garnish for Show-Stopping Presentation
Once the crumb coat has set, spread the remaining frosting over the top and sides of the cake, creating smooth, even swirls with an offset spatula. For that tropical touch, sprinkle the ¼ cup toasted coconut flakes evenly over the top while the frosting is still slightly soft—this helps them adhere. Let the cake sit at room temperature for 30 minutes before slicing to allow the frosting to firm up slightly.
Slice into 12 perfect portions—each serving will deliver moist, spiced carrot cake with bursts of juicy pineapple and a velvety cream cheese frosting. The contrast between the warm spices and tropical pineapple makes this cake feel like a vacation in every bite. Serve with a cup of coffee or tea for the ultimate comfort experience.
Pro Tips For Making 2 Layer Carrot Cake Recipe With Pineapple
- Bake at 325°F: I learned this the hard way—carrot cake with pineapple needs patience. Too hot, and the applesauce burns before the center sets; too cool, and the layers stay dense. Preheat your oven to 325°F, then check at 40-45 minutes. The edges should pull away from the pan, but the middle still jiggle slightly.
- Drain the Pineapple: That syrupy pineapple juice? It’s the enemy of a moist cake. Drain the canned pineapple for at least 10 minutes before chopping—discard the liquid or reserve it for a cocktail. Trust me, your cake will thank you with a lighter texture and less sogginess.
- Whisk the Applesauce: I used to just fold in the applesauce, but whisking it first with the eggs and oil first creates a smoother batter. It blends better with the dry ingredients and keeps the layers tender. (Yes, even if you’re impatient like me—just 30 seconds with a fork works.)
- Layer the Pineapple Dry: After the first layer bakes, sprinkle the chopped pineapple directly on top of the warm cake—it softens slightly and soaks up the juices. Then add the frosting. This keeps the pineapple from making the second layer soggy. (Your future self will thank you.)
Creative variations of this recipe
Tropical Fruit Swaps
No fresh pineapple? Swap it for 2 cups diced mango or peach chunks—both add sweetness with a juicy texture. For a citrus twist, try 1 cup orange segments (tossed with 1 tsp lemon juice) or 1 cup diced papaya—the acidity cuts through the richness beautifully. I once used canned pineapple tidbits in a pinch (drained well) and it still tasted amazing. 🍍
Spice Variations
Want more warmth? Boost the spices with ½ tsp cardamom or ¼ tsp cloves—both complement pineapple beautifully. For a cooler vibe, reduce ginger to 1 tsp and add ½ tsp orange zest to the batter. My go-to is a pinch of allspice, which adds depth without overpowering the tropical flavors. Always taste your spice mix before adding to the batter!
Layered Frosting Options
Skip cream cheese frosting for a vanilla bean buttercream (mix ½ cup softened butter, 2 cups powdered sugar, and 1 vanilla bean paste). For a lighter option, try whipped coconut cream frosting—whip 1 can chilled coconut cream with 1 cup powdered sugar and 1 tsp lime zest. I’ve also used a lemon glaze (2 cups powdered sugar + 3 tbsp lemon juice) for a tangy contrast.
Protein-Packed Twist
Add ½ cup Greek yogurt to the batter for extra moisture and protein—it keeps the cake tender while adding a subtle tang. For a nutty crunch, fold in ½ cup chopped walnuts or pecans before baking. My favorite? A ¼ cup toasted coconut flakes mixed into the batter for a tropical crunch in every bite. Just be sure to toast them first—they should smell heavenly! 🥥
Make-Ahead Magic
Bake the layers 1 day ahead and store wrapped at room temperature. The frosting can be made 2 days ahead and refrigerated—just re-whip before assembling. For a no-fuss presentation, freeze the unfrosted layers for up to 3 months. Thaw overnight in the fridge, then frost and serve. Pro tip: Garnish with toasted coconut right before serving to keep it crisp.
Dietary Adaptations
For a lighter version, replace ½ cup oil with unsweetened applesauce or Greek yogurt. Gluten-free? Use a 1:1 gluten-free flour blend (like Bob’s Red Mill) and add ½ tsp xanthan gum to the dry ingredients. Vegan? Swap the cream cheese frosting for a cashew cream frosting (blend 1 cup soaked cashews, ½ cup coconut milk, and 2 cups powdered sugar).
Nutrition facts
Frequently asked questions
Can I use canned pineapple instead of fresh?
Yes! Drain the canned pineapple well and pat it dry with a paper towel to remove excess moisture. For best results, use pineapple tidbits or chunks in juice rather than syrup. The texture will be slightly different but still delicious—just reduce the applesauce by 2 tablespoons to balance the moisture.
How do I prevent the cake from being too dense?
Overmixing is the #1 culprit! Mix the batter just until combined—stop when you see a few dry flour streaks. Also, sift your flour and grate the carrots finely for even distribution. Let the batter sit for 10 minutes before baking to relax the gluten, and don't overfill the pans (fill to ⅔ full max).
Can I make this cake in a single layer?
Use a 9x13-inch pan and bake for 35-40 minutes at 350°F. For presentation, top with extra pineapple slices or a swirl of frosting. The single layer works great for potlucks—just adjust the frosting quantity to 2 cups total.
What's the best way to store leftovers?
Cover tightly with plastic wrap and store at room temperature for up to 3 days. For longer storage, refrigerate for 5 days or freeze the whole cake (unfrosted) for 3 months. Thaw overnight in the fridge. The frosting stays fresh longest when stored separately—just re-whip before serving.
Can I add walnuts or pecans to the batter?
Yes! Toast ½ cup chopped walnuts or pecans first for extra flavor, then fold them into the batter. For best results, add them after mixing in the dry ingredients. If you prefer crunch on top, sprinkle toasted nuts between the layers or on the finished cake instead.
