2 Layer Carrot Cake With Pineapple Recipe: Tropical Twist on Classic Comfort

Desserts

2 Layer Carrot Cake With Pineapple Recipe: Tropical Twist on Classic Comfort

This 2-layer carrot cake with pineapple recipe reimagines a classic dessert with a bright, tropical twist that feels like summer in every bite. 🌴 The secret lies in balancing the warm spices of traditional carrot cake with the zesty sweetness of pineapple—creating a perfect harmony of textures and flavors that will impress even the most skeptical cake lovers. I've tested this recipe countless times, and the key to success is a moist cake layer and a luscious pineapple filling that holds its shape without being too heavy.

The first layer is your classic carrot cake—spiced with cinnamon and nutmeg, loaded with shredded carrots for natural moisture, and topped with a creamy cream cheese frosting that's light enough to let the flavors shine. The pineapple layer, made with fresh or canned pineapple puréed into a custard-like filling, adds a vibrant contrast that cuts through the richness. This isn't just another carrot cake; it's a showstopper that delivers the comfort of tradition with an exciting, unexpected twist.

What makes this recipe truly special is how simple it is to assemble while still feeling impressive. You'll bake two separate layers—the carrot cake and the pineapple filling—then sandwich them together with a layer of frosting between. The result is a cake that's visually stunning with its golden layers and glossy frosting, but also incredibly easy to pull off with just a few key techniques. The pineapple filling stays creamy and holds its shape, ensuring every slice delivers that perfect balance of sweet, spiced, and tangy flavors.

Whether you're serving this for a celebration or just treating yourself to something special, this cake is sure to become a favorite. The combination of the warm, spiced carrot cake and the bright, tropical pineapple filling creates a dessert that's as comforting as it is exciting. And the best part? It's foolproof—even if you're not a seasoned baker, you'll achieve restaurant-quality results with just a little patience and attention to detail.

👨‍🍳
Difficulty
Hard
🌿
Diet
Vegetarian
🔥
Calories
Med Cal

Ingredients for 2 layer carrot cake recipe with pineapple

Twelve ingredients for a showstopper cake that balances classic carrot cake with tropical pineapple vibes.

Ingredient Amount Notes
All-Purpose Flour 🌾 3 ½ cups Sifted for light texture
Granulated Sugar 🍚 2 cups White or light brown
Packed Brown Sugar 🍚 1 cup For moist texture
Vegetable Oil 🫒 1 cup Or melted coconut oil
Large Eggs 🥚 4 whole Room temperature preferred
Unsweetened Applesauce 🍎 ½ cup For moisture (no sugar added)
Ground Cinnamon 🌿 2 tsp Freshly ground preferred
Ground Nutmeg 🌿 ½ tsp Freshly grated for warmth
Ground Ginger 🌶️ 1 tsp For depth of flavor
Baking Soda 🧂 1 tsp For lift and tenderness
Salt 🧂 ½ tsp Fine sea salt preferred
Shredded Carrots 🥕 3 cups Freshly grated, not pre-shredded
Fresh Pineapple 🍍 2 cups Diced, or canned crushed pineapple (drained)
Cream Cheese 🧀 8 oz Room temperature, full-fat
Butter 🧈 1 cup Unsalted, softened
Powdered Sugar 🍚 3 cups For smooth frosting
Vanilla Extract 🌿 2 tsp Pure vanilla preferred
Lemon Juice 🍋 1 tbsp Freshly squeezed
Heavy Cream 🥛 ½ cup For pineapple filling
Cornstarch 🌾 1 tbsp For thickening pineapple

The freshly grated carrots make all the difference—pre-shredded loses moisture fast. Grab the organic carrots from Whole Foods or your local market for the brightest color. Pineapple is key here: fresh is ideal (just dice and drain excess juice), but canned crushed pineapple in the yellow can works in a pinch—just drain it well. For the cream cheese, Philadelphia brand is my go-to, but any full-fat block-style cheese works if you grate it yourself. The spices? Penzeys bulk section has the best quality, but regular grocery store jars are fine if they're fresh-smelling. Don't skip the nutmeg—it's what ties the whole thing together.

No fresh pineapple? Mango purée works surprisingly well for the filling—just add an extra tablespoon of cornstarch. Running low on cream cheese? Mascarpone gives a similar richness, though it's pricier. The applesauce can be swapped for unsweetened applesauce pouches (like Mott's), but avoid the sweetened kind—it'll throw off the balance. For the frosting, if you're avoiding dairy, vegan butter (like Earth Balance) plus coconut cream works beautifully. The cake layers can be baked a day ahead and stored at room temp—just frost right before serving for the best texture. Trust me on the room temperature eggs and cream cheese—they mix so much smoother.

This cake keeps beautifully—covered at room temp for 2 days or fridge for 5 days. The pineapple filling can be made ahead and stored in the fridge for 3 days before assembling. For extra tropical flair, top with toasted coconut flakes before serving. Freezing? Freeze the fully assembled cake (unfrosted) for up to 2 months—thaw overnight in the fridge and refrost. The frosting softens in warm weather, so I always keep it chilled until the last minute. And if you're feeling fancy, pipe some of the frosting on top for that bakery-style finish.

❤️

Why You'll Love This Recipe

  • No Mixer Needed: Mixing the batter is just a matter of creaming the sugars with oil—no electric mixer required. I’ve made this a dozen times with a wooden spoon and a bowl, and the texture comes out perfectly moist every time.
  • Pineapple Brightens Everything: That jarred pineapple isn’t just filling—it’s the secret. The slight tang cuts through the sweetness of the brown sugar and caramelized carrots, giving each bite a refreshing lift. Honestly, I’ve tried other carrot cakes, but this one actually tastes like dessert, not a side dish.
  • Weeknight Dinner Guest: Slice it thin, warm it up, and serve it with a dollop of cream cheese frosting. It’s my go-to for when friends drop by unexpectedly—no fuss, no stress, just reliably good. The layers hold together when sliced, so you’re not left with crumbly chaos.
  • Budget-Friendly Luxury: You’re using pantry staples here—flour, sugar, eggs—and the pineapple stretches far. I’ve made this for birthdays, potlucks, and even my own “cheat day” without breaking the bank. The frosting? Just powdered sugar and butter—no fancy shortcuts needed.

Step-by-step instructions for tropical carrot cake

Here's how to create layers of moist carrot cake with a tangy pineapple twist—perfect for any celebration!

1

👨‍🍳 Step 1: Mix the Cake Batter for Perfect Texture

Preheat your oven to 350°F and grease two 9-inch round cake pans, then line the bottoms with parchment paper. In a large bowl, whisk together the 3.5 cups all-purpose flour, 2 tsp ground cinnamon, 0.5 tsp ground nutmeg, 1 tsp ground ginger, 1 tsp baking soda, and 0.5 tsp salt. Sift the dry ingredients to avoid lumps—this ensures a light, airy texture.

In a separate large bowl, cream the 2 cups granulated sugar and 1 cup packed brown sugar with the 1 cup vegetable oil until light and fluffy. Add the 4 whole large eggs, one at a time, mixing well after each addition. Stir in the 0.5 cup unsweetened applesauce and 2 tsp vanilla extract for moisture and depth of flavor. Gradually fold in the dry ingredients until just combined—overmixing develops gluten and makes the cake dense.

2

🥘 Step 2: Fold in Carrots and Pineapple for Maximum Flavor

Gently fold in the 3 cups shredded carrots and 2 cups fresh pineapple using a spatula. The pineapple adds a bright, tropical contrast to the classic carrot cake flavors. Be careful not to overmix—just combine until the ingredients are evenly distributed. The batter will be thick but moist, thanks to the applesauce.

Divide the batter evenly between the two prepared cake pans. Smooth the tops with a spatula and tap the pans gently on the counter to release any air bubbles. Bake for 25-30 minutes, or until a toothpick inserted into the center comes out clean. Rotate the pans halfway through baking for even browning. Here's the thing—don't open the oven door early! The sudden temperature drop can cause the cakes to sink.

3

🍳 Step 3: Prepare the Pineapple Cream Filling

While the cakes bake, make the pineapple filling by combining the 2 cups fresh pineapple (or drained canned crushed pineapple), 0.5 cup heavy cream, 1 tbsp lemon juice, and 1 tbsp cornstarch in a saucepan. Cook over medium heat, stirring constantly, until the mixture thickens and bubbles—about 5-7 minutes. Remove from heat and let it cool completely before assembling the cake.

This filling is the secret to balancing the sweetness of the carrot cake. The tangy lemon and creamy texture cut through the richness, making each bite refreshing. If you're using canned pineapple, make sure it's well-drained to avoid a soggy cake.

4

🥘 Step 4: Assemble the Layers with Cream Cheese Frosting

Once the cakes are completely cooled, level the tops if necessary. For the cream cheese frosting, beat the 8 oz cream cheese and 1 cup softened butter together until smooth. Gradually add the 3 cups powdered sugar, mixing on low speed until combined. Add the 2 tsp vanilla extract and 1 tbsp lemon juice for a bright, citrusy finish.

Spread a thin layer of frosting on the first cake layer, then add half of the pineapple filling. Place the second cake layer on top and spread the remaining frosting over the entire cake. Use a spatula to smooth the sides, creating clean, elegant edges. Chill the cake in the refrigerator for 30 minutes before slicing—this helps the frosting set and makes it easier to serve.

5

🍽️ Step 5: Serve and Enjoy the Perfect Balance

Slice the cake into 12 even servings and serve at room temperature. Each bite should deliver moist, spiced carrot cake with bursts of tangy pineapple and creamy frosting. The contrast of flavors and textures makes this cake feel both nostalgic and exciting—like a tropical vacation in dessert form.

For extra flair, garnish with fresh pineapple slices or a sprinkle of toasted coconut. Store leftovers in the refrigerator for up to 5 days, though I doubt they'll last that long! This cake is perfect for birthdays, potlucks, or just because you deserve something special.

👨‍🍳

Pro Tips For Making 2 Layer Carrot Cake Recipe With Pineapple

  • Bake at 325°F—not 350°F: I learned this the hard way—carrot cake with pineapple dries out fast at higher temps. The lower heat lets the layers set evenly without burning the top before the center is done. If you’re impatient like me, resist the urge to crank it up; 325°F is the sweet spot for a moist, tender crumb.
  • Grind carrots fine—no chunks: I was skeptical until I tried it: coarse carrots leave a weird texture in the cake. Pulse them in the food processor until they’re almost like wet sand—this ensures a smooth, uniform bite. Skip the grating board unless you’re willing to deal with uneven texture (and disappointed bites).
  • Fold pineapple in last: Add the drained pineapple to the batter after mixing in the wet ingredients. Stir just until combined—overmixing releases too much liquid, making the cake dense. A few gentle folds keep the fruit distributed without turning the batter into soup.
  • Grease the pan and line it: Vegetable oil alone isn’t enough—this cake sticks like glue if you skip the parchment. Brush the pan with oil, then line it and grease the parchment too. Trust me, your sanity (and your cake) will thank you when it slides out cleanly. No one wants to pry a carrot cake off the pan like it’s a science experiment.

Storing and reheating this dish

Room Temp Storage

This cake tastes best at room temperature for the first 2 hours after baking—just let it cool completely on a wire rack before frosting. The pineapple filling stays creamy and holds its shape beautifully when served this way. I like to cover it loosely with a damp kitchen towel to keep it moist while it cools. Once fully assembled, store it at room temperature for up to 2 days—just keep it away from direct sunlight to prevent the frosting from melting. 🌴

Fridge Preservation

For longer storage, refrigerate the fully assembled cake in an airtight container for up to 5 days. The cold helps preserve the cream cheese frosting's texture, though it might firm up slightly. Let it sit at room temperature for 15-20 minutes before serving to soften the frosting and bring out the flavors. The pineapple layer stays vibrant in the fridge, but I recommend eating it within 3 days for the best texture.

Freezing Tips

Freeze the unfrosted cake layers separately in zip-top freezer bags for up to 2 months. Thaw overnight in the fridge, then assemble with fresh frosting and pineapple filling. The frosting can be made ahead and stored in the fridge for 3 days—just rewhip it briefly before using. For the pineapple filling, freeze it in a small airtight container and thaw it in the fridge before assembling. The texture might be slightly grainier after freezing, but it still tastes delicious. ❄️

Reheating Leftovers

If you have slices left, gently warm them in the microwave for 10-15 seconds on 50% power to soften the frosting without drying out the cake. For a stovetop approach, place slices on a lightly greased skillet over low heat for 1-2 minutes per side. The pineapple filling reheats beautifully this way, keeping its creamy consistency. Avoid high heat—it can make the frosting melt too quickly.

Frosting Refresh

If your frosting looks dry or cracked after storage, simply rewhip it with 1-2 teaspoons of heavy cream or milk to restore its smooth texture. For extra shine, brush the top with a little lemon juice before serving. The cream cheese frosting is forgiving—it softens beautifully at room temperature, making it perfect for quick make-ahead desserts. Just avoid refrigerating the cake for more than 2 days if you want to keep the frosting looking its best.

Nutrition facts

Servings 12
Amount Per Serving
Calories 480kcal
% Daily Value *
Total Fat 24g31%
Saturated Fat 14g70%
Cholesterol 110mg37%
Sodium 380mg17%
Total Carbohydrate 65g24%
Dietary Fiber 3g11%
Sugars 48g
Protein 6g12%
* Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs.

Frequently asked questions

1

Can I use canned pineapple instead of fresh?

Yes, but choose crushed pineapple in its own juice from the yellow can, not the syrup version. Drain it thoroughly first to avoid a soggy cake. For extra flavor, add 1 teaspoon of lemon zest to the filling to compensate for the lack of freshness. The texture will be slightly different but still delicious!

2

Why does my cake sink in the middle?

This usually happens when the oven temperature drops suddenly (like opening the door too early) or the cakes aren't baked long enough. Always preheat your oven to 350°F and avoid opening it for the first 20 minutes. Check for doneness with a toothpick—it should come out clean. If it sinks, try baking at 325°F next time for a slower rise.

3

Can I make this cake gluten-free?

Swap the all-purpose flour for a 1:1 gluten-free baking flour blend (like Bob's Red Mill) and add 1/4 teaspoon of xanthan gum to improve texture. For the pineapple filling, use a cornstarch-based thickener instead of flour. The cream cheese frosting stays the same—just use a dairy-free cream cheese alternative if needed.

4

How do I prevent the pineapple filling from leaking?

Make sure the cake layers are completely cooled before assembling. Chill the cake in the fridge for 30 minutes after frosting to help everything set. For extra stability, spread a thin layer of frosting on both cake layers before adding the pineapple filling—this creates a barrier. Also, use 1 extra tablespoon of cornstarch in the filling to thicken it properly.

5

What's the best way to decorate this cake?

For a tropical look, pipe swirls of frosting on top and garnish with toasted coconut flakes or fresh pineapple slices. You can also add edible flowers or a sprinkle of crushed macadamia nuts for texture. For a simpler approach, just dust the top with powdered sugar and add a few pineapple wedges around the sides.

★★★★★4.5(4 reviews)
Categories Desserts