Desserts
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.
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!
đ¨âđł 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.
đĽ 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.
đł 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.
đĽ 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.
đ˝ď¸ 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
Frequently asked questions
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!
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.
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.
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.
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.
