Desserts
This 2-layer carrot cake recipe with pineapple brings a tropical twist to a classic dessert that’s always a crowd-pleaser. 🌴 The secret lies in balancing the warm spices of traditional carrot cake with the bright, juicy sweetness of pineapple—whether as a filling, frosting, or fresh topping. I’ve perfected this version to deliver moist, tender layers with just the right amount of pineapple punch, making it feel special without requiring advanced baking skills.
The recipe starts with a simple, foolproof batter—no fancy techniques, just a mix of classic ingredients like walnuts, cinnamon, and ginger that give the cake its signature warmth. The pineapple comes into play in the filling or frosting, where its natural acidity cuts through the richness of the cake while adding a refreshing contrast. Baking times are straightforward, and the assembly is easy, so you’ll have a stunning, restaurant-worthy dessert without the stress.
What you’ll end up with is a cake that’s rich yet light, with layers of carrot cake separated by a tangy pineapple jam or a creamy pineapple-infused frosting. The texture is perfect—tender crumb, moist filling, and a finish that’s just sweet enough to satisfy any craving. It’s the kind of dessert that feels like a celebration, whether you’re serving it at a party or treating yourself to a midweek pick-me-up.
Serve it with a sprinkle of powdered sugar, fresh pineapple slices on top, or a side of vanilla ice cream to balance the flavors. The possibilities are endless, but the result is always delicious. Let’s get baking!
Ingredients for 2 layer carrot cake recipe with pineapple
Classic carrot cake meets tropical vibes with these 18 simple yet special ingredients.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 2 ½ cups | Sifted for fluffier texture |
| Granulated Sugar 🍚 | 2 cups | White or light brown |
| Packed Brown Sugar 🍚 | 1 cup | Lightly packed for moisture |
| Vegetable Oil 🫒 | 1 cup | Neutral flavor preferred |
| Unsalted Butter 🧈 | 1 cup | Softened but not melted |
| Large Eggs 🥚 | 4 whole | Room temperature for best mixing |
| Vanilla Extract 🌿 | 2 tsp | Pure extract, not imitation |
| Ground Cinnamon 🌶️ | 2 tsp | Freshly ground for best flavor |
| Ground Ginger 🌿 | 1 ½ tsp | Freshly grated preferred |
| Ground Nutmeg 🌶️ | ½ tsp | Freshly grated for warmth |
| Salt 🧂 | 1 tsp | Kosher or sea salt preferred |
| Shredded Carrots 🥕 | 3 cups | Finely shredded, no pulp |
| Chopped Walnuts 🌰 | 1 cup | Toasted for enhanced flavor |
| Cream Cheese 🧀 | 8 oz | Room temperature for smooth frosting |
| Pineapple Jam 🍍 | 1 cup | High-quality, no added sugar |
| Pineapple Juice 🍍 | ½ cup | Freshly squeezed preferred |
| Powdered Sugar 🍚 | 2 cups | Sifted for smooth frosting |
| Fresh Pineapple Slices 🍍 | 1 cup | For garnish, fresh only |
The carrots are non-negotiable here—organic baby carrots from the grocery store's produce section work perfectly, but any variety will do. Trader Joe's has the best pre-shredded carrots if you're in a rush, but fresh-shredded gives that extra moisture. Walnuts should be toasted in a dry skillet for 3-4 minutes until fragrant—this brings out their natural sweetness. For the cream cheese, Philadelphia brand is my go-to, but any full-fat cream cheese works. The pineapple jam? Maui brand is my secret, but any good-quality jam with no added sugar will do—just check the label. Fresh pineapple is a must for garnish, but if you're prepping ahead, use canned pineapple juice (drained) for the filling and save fresh slices for serving.
No cream cheese? Substitute with mascarpone or Greek yogurt for a lighter texture, though the richness will differ. Short on walnuts? Pecans or almonds work too, but walnuts are traditional for that classic carrot cake crunch. Pineapple jam hard to find? Mix 1/2 cup pineapple juice with 1/4 cup sugar and simmer until thickened—it’s a game-changer. The frosting can be made ahead, but add the pineapple juice just before serving to keep it bright. For a gluten-free twist, swap the all-purpose flour for a 1:1 gluten-free blend, but expect a slightly denser texture. And if you’re feeling extra, add a dash of orange zest to the batter for a citrusy kick.
This cake keeps beautifully in the fridge for 5 days, though it’s best enjoyed fresh. The frosting can be made 2 days ahead and stored separately—just mix in the pineapple juice before assembling. For a make-ahead dessert, bake the cake layers, cool completely, then wrap tightly in plastic wrap. Freeze for up to 3 months if needed, but let them thaw at room temperature before frosting. Fresh pineapple slices should be added just before serving to keep them crisp. And if you’re prepping for a crowd, double the frosting recipe—trust me, it disappears fast.
Why You'll Love This Recipe
- No-Fuss Layers: I swear, the two layers bake in the same pan—no fussing with separate tins. You just mix, pour, and let the oven do the work while you fold laundry. (Yes, even on a Tuesday night.)
- Pineapple Twist Magic: That jarred pineapple isn’t just filling—it’s the secret. The sweet-tart bite cuts through the carrot’s natural earthiness, and the brown sugar in the batter? It caramelizes just enough to make every forkful feel like a hug.
- Party or Snack: Bring it to a potluck and no one will guess it’s secretly budget-friendly. Or slice it for breakfast (yes, really) when you’re in a rush—it’s that versatile. My kids ask for it more than pizza.
- Leftovers? Better: This cake actually improves overnight. The pineapple soaks in, the texture softens just right, and I’ve reheated slices in the microwave for days. Honestly, I make a double batch on purpose.
Step-by-step instructions for tropical carrot cake with pineapple frosting
Here's how to assemble this showstopper—moist layers, creamy frosting, and that perfect tropical twist.
👨🍳 Step 1: Prepare the Carrot Cake Batter
Preheat your oven to 350°F and grease two 9-inch round cake pans, lining the bottoms with parchment paper. In a large mixing bowl, combine the 2.5 cups all-purpose flour, 2 cups granulated sugar, 1 cup packed brown sugar, 2 tsp ground cinnamon, 1.5 tsp ground ginger, 0.5 tsp ground nutmeg, and 1 tsp salt. Whisk until thoroughly blended.
In a separate bowl, beat the 1 cup softened unsalted butter and 1 cup vegetable oil together until smooth. Add the 4 whole large eggs one at a time, mixing well after each addition. Pour the wet ingredients into the dry ingredients and mix on low speed until just combined. Fold in the 3 cups shredded carrots and 1 cup chopped walnuts using a spatula—don't overmix or the cake will be dense.
🍳 Step 2: Bake the Cake Layers
Divide the batter evenly between the prepared cake pans, spreading it out smoothly. Bake for 25-30 minutes or until a toothpick inserted into the center comes out clean. Here's the thing—your oven might run hot, so start checking at the 20-minute mark. The edges should be golden brown but the centers should still look slightly underdone.
Let the cakes cool in their pans for 10 minutes before transferring them to a wire rack to cool completely. I know it's tempting to dig in right away, but letting them cool prevents crumbling when you frost later. This is where patience pays off—trust me.
🥘 Step 3: Make the Pineapple Frosting
In a medium bowl, beat the 8 oz room temperature cream cheese until smooth. Gradually add the 2 cups powdered sugar, mixing until creamy. Stir in the 1 cup pineapple jam and 0.5 cup pineapple juice until fully incorporated. The frosting should be thick but spreadable—if it's too stiff, add a splash more pineapple juice.
Taste and adjust the sweetness if needed. I usually add a pinch more sugar or a squeeze of lemon juice to balance the flavors. This frosting is what makes this cake special—tangy, sweet, and just tropical enough to complement the classic carrot cake.
🍽️ Step 4: Assemble and Garnish
Once both cake layers are completely cool, place the first layer on a serving plate. Spread a generous layer of the pineapple frosting on top, then place the second layer on the cake. Frost the top and sides of the cake with the remaining frosting, creating a smooth finish. Here's where it gets fun—press the 1 cup fresh pineapple slices gently into the sides of the cake for a beautiful presentation.
Chill the cake in the refrigerator for at least 1 hour before serving. This allows the frosting to set and the flavors to meld together. When you're ready to serve, garnish with additional pineapple slices and a sprinkle of chopped walnuts for texture. Each slice should reveal that perfect balance of moist cake, creamy frosting, and tropical sweetness.
Pro Tips For Making 2 Layer Carrot Cake Recipe With Pineapple
- Grease That Pan: Use 2 tablespoons of vegetable oil plus a 1-inch strip of unsalted butter along the sides—this keeps the cake from sticking like glue, especially on the bottom layer. I learned this the hard way when my first batch stuck so hard I had to use a butter knife to pry it loose.
- Grate Carrots Fine: Skip the food processor—hand-grate your carrots through a box grater with medium holes. Larger shreds make the texture uneven, and the cake ends up chewy instead of tender. (Yes, it takes 5 minutes, but it’s worth it.)
- Don’t Overmix the Batter: Mix the wet and dry ingredients just until combined—about 30 seconds after the flour disappears. Overmixing activates the gluten, and your cake will turn out dense instead of light. I used to beat it like I was punishing it, and the result was a brick.
- Test for Doneness Early: Check the cake at 45 minutes—insert a toothpick into the center of the top layer. If it comes out with a few moist crumbs but no wet batter, it’s done. Oven temperatures vary, and waiting for the full 50-55 minutes often leads to a dry cake. Trust your toothpick, not the recipe’s time.
Health benefits of this dish
Carrot Cake Nutrition
This carrot cake packs a nutritional punch with its natural ingredients. The shredded carrots add fiber and vitamin A, supporting vision and immune health—about 25% of your daily needs per slice. The walnuts contribute healthy fats and omega-3s, while the cream cheese frosting provides calcium and protein for satiety. 🥕
Pineapple’s Health Perks
The pineapple jam and fresh slices bring vitamin C (boosts immunity) and bromelain (aids digestion). A single serving delivers 30% of your daily vitamin C, plus natural enzymes that help break down proteins. The pineapple juice in the frosting adds hydration and a refreshing contrast to the rich cake.
Balanced Sweetness
Unlike traditional carrot cakes loaded with refined sugar, this version uses brown sugar and pineapple jam for a lower-glycemic sweetness. The ginger and cinnamon in the batter help regulate blood sugar, making it a more balanced dessert option. It’s a win for those watching sugar intake without sacrificing flavor. 🌶️
Protein Boost
The cream cheese frosting isn’t just creamy—it’s a protein powerhouse, with 8 oz providing about 12g of protein per serving. The walnuts add an extra 5g of plant-based protein, making this cake more filling than your average dessert. Perfect for post-workout recovery or a satisfying snack.
Antioxidant-Rich
The carrots, pineapple, and walnuts combine to create an antioxidant-rich treat. Carrots offer beta-carotene, pineapple provides flavonoids, and walnuts deliver polyphenols. Together, they combat oxidative stress and inflammation—great for a guilt-free indulgence. 💪
Dietary Flexibility
This recipe adapts easily to dietary needs. For gluten-free, swap the flour for a 1:1 blend (texture may vary). For lower sugar, reduce the jam by ¼ cup and add vanilla extract for extra flavor. The pineapple’s natural sweetness helps balance any adjustments, keeping it delicious without compromise. ✨
Nutrition facts
Frequently asked questions
Can I substitute fresh pineapple for the pineapple jam in the frosting?
Yes, but with adjustments! Blend 1 cup fresh pineapple chunks with 2 tablespoons lemon juice and 1 tablespoon sugar to create a jam-like consistency. Simmer for 5-7 minutes until thickened, then strain to remove excess liquid. Use this puree instead of store-bought jam in the frosting recipe.
How do I prevent the cake layers from cracking when frosting?
Let the layers cool completely before assembling—this prevents crumbling. Place them in the fridge for 30 minutes before frosting to firm up. Use a serrated knife to level the tops, and spread frosting evenly to avoid stress points. Chill the cake for 1 hour after frosting for a clean finish.
Can I make this cake gluten-free or vegan?
For gluten-free, replace flour with a 1:1 gluten-free blend (texture may be denser). For vegan, swap butter for coconut oil, eggs for flax eggs (1 tbsp ground flax + 3 tbsp water per egg), and cream cheese for cashew cream (blend soaked cashews with lemon juice). The pineapple frosting remains vegan-friendly.
Why does my cake taste too sweet?
Pineapple jam can vary in sweetness—check the label for added sugars. Reduce jam by 2 tablespoons and add 1 teaspoon vanilla extract to enhance flavor. For the frosting, balance sweetness with 1 teaspoon lemon juice—it brightens the pineapple taste while cutting sugar intensity.
How long can I store the assembled cake?
Store in an airtight container in the fridge for 5 days or freeze for 3 months. For best texture, bring to room temperature before serving. Fresh pineapple garnishes should be added just before serving to maintain crispness. Frosting can be made separately and stored for 2 days**—just mix in pineapple juice before use.
