Hey there, friends! Emily here, straight from my Austin kitchen, ready to share a recipe that’s been a family favorite for years: my Moist & Delicious Carrot-Pineapple Cake. This isn’t just any cake; it’s a slice of sunshine, packed with warm spices, sweet pineapple, and a tangy cream cheese frosting that will have you coming back for seconds (and thirds!).
I first tasted a version of this cake at a spring gathering years ago, and I knew I had to recreate it. After many kitchen experiments (and a few delicious failures!), I’ve perfected a recipe that’s both easy to follow and incredibly satisfying. Trust me, even if you’re a baking newbie, you can nail this one.
Why You’ll Love This Carrot-Pineapple Cake
Why is this cake so special? Let me count the ways:
- Moist Texture: Thanks to the pineapple and oil, this cake is incredibly moist and stays that way for days.
- Perfectly Spiced: The combination of cinnamon, ginger, and nutmeg creates a warm, comforting flavor that’s perfect for any time of year.
- Tangy Cream Cheese Frosting: The cream cheese frosting adds a delightful tanginess that complements the sweetness of the cake.
- Easy to Make: This recipe is straightforward and doesn’t require any fancy equipment.
- Crowd-Pleaser: Whether it’s a birthday, a holiday, or just a casual get-together, this cake is always a hit. It’s perfect for spring gatherings, birthdays and everything in between.
Ingredients for the Best Carrot-Pineapple Cake
Here’s what you’ll need to create this masterpiece:
- Baking spray with flour
- 2 1/2 cups (about 10 5/8 oz.) all-purpose flour
- 2 tsp. baking powder
- 1 tsp. baking soda
- 1 1/2 tsp. ground cinnamon
- 1/2 tsp. kosher salt
- 1/2 tsp. ground ginger
- 1/4 tsp. ground nutmeg, plus more for garnish
- 1 1/4 cups packed light brown sugar
- 1/2 cup granulated sugar
- 1/2 cup vegetable oil or canola oil
- 1 tsp. vanilla extract
- 4 large eggs, at room temperature
- 1 (8-oz.) can crushed pineapple, drained
- 2 cups shredded carrots (from 2 medium [4 oz. each] carrots)
- 3/4 cup chopped toasted walnuts, plus more for garnish
- 8 oz. cream cheese, softened
- 1/2 cup (4 oz.) unsalted butter, softened
- 4 cups (about 13 oz.) powdered sugar, sifted
- 1 tsp. vanilla extract
- 1/4 tsp. kosher salt

Step-by-Step Instructions: Baking Your Cake
Ready to get baking? Here’s how to make this delicious Carrot-Pineapple Cake:
- Prep the Oven and Dry Ingredients: Preheat oven to 350°F. Coat a 13- x 9-inch baking dish with baking spray. Whisk together flour, baking powder, baking soda, cinnamon, salt, ginger, and nutmeg in a large bowl until combined.
- Combine Wet Ingredients: Whisk together brown sugar, granulated sugar, oil, vanilla, eggs, and pineapple in a separate medium bowl until combined.
- Mix Wet and Dry: Using a silicone spatula, gently fold sugar mixture into flour mixture until just combined, about 2 minutes, being careful not to overmix. Overmixing can lead to a tough cake, and we want a soft and moist cake!
- Add Carrots and Walnuts: Fold carrots and walnuts into bowl until evenly incorporated, adding the perfect texture and nutty flavor.
- Bake: Spread batter evenly into prepared baking dish. Bake in preheated oven until a toothpick inserted into center of cake comes out clean, about 35 minutes.
- Cool Completely: Remove cake from oven, and let cool completely in baking dish on a wire rack, about 2 hours. This is crucial for preventing the frosting from melting.
Making the Tangy Cream Cheese Frosting
No Carrot-Pineapple Cake is complete without a luscious cream cheese frosting. Here’s how to make it:
- Cream Cheese and Butter: In a large bowl, beat cream cheese and butter with an electric mixer on medium speed until combined and creamy, about 3 minutes. It’s important that both are softened to room temperature for a smooth frosting.
- Add Sugar and Vanilla: Reduce mixer speed to low; gradually add powdered sugar, vanilla, and salt, beating until combined, about 1 minute, stopping to scrape down sides of bowl as needed.
- Whip Until Smooth: Increase mixer speed to high, and beat until smooth, about 1 minute. This will create a light and airy cream cheese frosting.
Frosting and Garnishing Your Cake
Now for the fun part!
- Frost: Spread cream cheese frosting evenly over cooled Cake.
- Garnish: Garnish with additional walnuts and nutmeg. This adds both visual appeal and a hint of extra flavor.
Pro Tips for the Perfect Cake
- Room Temperature Ingredients: Make sure your eggs, butter, and cream cheese are at room temperature. This helps them blend together more easily and creates a smoother batter and frosting.
- Don’t Overmix: Overmixing the batter can develop the gluten in the flour, resulting in a tough cake. Mix until just combined.
- Toast the Walnuts: Toasting the walnuts before adding them to the batter enhances their flavor and adds a nice crunch.
- Drain the Pineapple Well: Excess moisture from the pineapple can make the cake soggy. Be sure to drain it thoroughly.
- Cool Completely Before Frosting: Frosting a warm cake will cause the frosting to melt and slide off. Be patient and let the cake cool completely.
Common Mistakes to Avoid
- Using Cold Ingredients: As mentioned above, using cold ingredients can prevent them from blending properly.
- Overbaking the Cake: Overbaking can dry out the cake. Check for doneness with a toothpick, and remove the cake from the oven as soon as it’s ready.
- Not Sifting the Powdered Sugar: Sifting the powdered sugar ensures a smooth, lump-free frosting.
- Skipping the Cooling Process: Don’t rush the cooling process. A completely cooled cake is essential for proper frosting.
Variations to Try
Want to mix things up? Here are a few variations to try:
- Add Raisins: Stir in 1/2 cup of raisins along with the carrots and walnuts.
- Use Different Nuts: Substitute pecans or macadamia nuts for the walnuts.
- Add Coconut: Add 1/2 cup of shredded coconut to the batter for a tropical twist.
- Spice it Up: Add a pinch of ground cloves or allspice for extra warmth.
- Orange Zest: Add the zest of one orange to the batter for a bright, citrusy flavor.
How to Store Your Carrot-Pineapple Cake
- In the Fridge: Store the frosted cake in the fridge for up to 5 days. Cover it loosely with plastic wrap or store it in an airtight container.
- Room Temperature: If you prefer to store it at room temperature, it will last for up to 2 days. However, the cream cheese frosting is best kept refrigerated.
- Freezing: You can freeze the unfrosted cake for up to 2 months. Wrap it tightly in plastic wrap and then in foil. Thaw completely before frosting.
Frequently Asked Questions (FAQ)
- Can I make this cake ahead of time? Absolutely! The cake can be baked a day or two in advance and stored, unfrosted, at room temperature or in the fridge. The frosting can also be made ahead of time and stored in the fridge.
- Can I use fresh pineapple instead of canned? Yes, you can. Just make sure to chop it finely and drain it well. You’ll need about 1 cup of chopped fresh pineapple.
- Can I make this cake without nuts? Of course! Simply omit the walnuts or substitute them with another ingredient, such as shredded coconut or sunflower seeds.
- Can I use a different type of oil? Yes, you can use melted coconut oil or even unsweetened applesauce as a substitute for vegetable oil.
Serving Suggestions
This cake is delicious on its own, but here are a few ways to elevate the experience:
- With Coffee or Tea: A slice of this cake is the perfect accompaniment to a cup of coffee or tea.
- With Ice Cream: Serve it warm with a scoop of vanilla ice cream for a decadent dessert.
- With a Drizzle of Caramel Sauce: A drizzle of caramel sauce adds a touch of extra sweetness and richness.
- As Part of a Dessert Platter: Include it on a dessert platter with other treats like cookies, brownies, and fruit.
So there you have it, my friends! My Moist & Delicious Carrot-Pineapple Cake recipe. I hope you love it as much as my family does. Happy baking!

Carrot-Pineapple Cake
Ingredients
Method
- Preheat oven to 350°F. Coat baking dish with baking spray.
- Whisk together flour, baking powder, baking soda, cinnamon, salt, ginger, and nutmeg in a large bowl.
- Whisk together brown sugar, granulated sugar, oil, vanilla, eggs, and pineapple in a separate bowl. Fold sugar mixture into flour mixture until just combined.
- Fold carrots and walnuts into bowl until evenly incorporated. Spread batter evenly into prepared baking dish.
- Bake until a toothpick inserted into center comes out clean, about 35 minutes. Let cool completely.
- Beat cream cheese and butter until creamy, about 3 minutes.
- Gradually add powdered sugar, vanilla, and salt, beating until combined, about 1 minute. Beat until smooth, about 1 minute.
- Spread Cream Cheese Frosting evenly over cooled Cake. Garnish with walnuts and nutmeg.