This post may contain affiliate links. Please read our disclosure policy.
Moist, fluffy, and irresistibly good, this homemade Carrot Cake is about to become your new favorite dessert. Packed with flavor and topped with silky cream cheese frosting, it’s everything you love in a carrot cake recipe, and then some.
With just the right balance of sweet and tangy, hints of cinnamon, bursts of crushed pineapple, and a perfectly moist crumb studded with crunchy nuts, this is the best carrot cake to serve for any occasion. You’ve never had Carrot Cake quite like this!

What Makes This Carrot Cake Work
This Carrot Cake stands out for its unbeatable texture and flavor. The combination of crushed pineapple and oil gives it a rich, moist crumb, while freshly grated carrots add natural sweetness and depth. A hint of cinnamon and a handful of chopped nuts bring warmth and crunch to every bite.
What truly sets this homemade carrot cake apart is the balance. It’s not too sweet, never dry, and beautifully complemented by a tangy, velvety cream cheese frosting. Whether you’re baking for a celebration or just because, this is the best carrot cake recipe to have in your back pocket.
What Goes Into This Recipe
This homemade carrot cake is incredibly moist, tender, and bursting with cozy flavor in every bite. Made with everyday ingredients, it’s the perfect balance of sweet, spiced, and creamy. These key components are what make this the best carrot cake you’ll ever bake.
A few standout ingredients:
- Grated carrots – These not only add natural sweetness and a soft texture, but they also keep the cake perfectly moist
- Crushed pineapple or applesauce – Just half a cup adds an extra boost of moisture
- Chopped pecans or walnuts – A crunchy contrast to the soft crumb, these nuts add richness and texture to every slice
- Cream cheese and butter – These form the base of the frosting, making it silky, smooth, and a bit tangy for balance
Note: Please see recipe card at the bottom for a full list of ingredients with measurements
How To Make Carrot Cake
- Prep Pans: Heat the oven to 350°F (175°C). Lightly grease two 9-inch round cake pans and line the base of each with parchment paper. Set aside.
- Mix Dry Ingredients: In a medium bowl, whisk together the flour, baking powder, baking soda, salt, cinnamon, ginger, and nutmeg until well combined.
- Combine Wet Ingredients: In a large bowl, whisk the oil, pineapple (or applesauce), both sugars, and vanilla. Beat in the eggs one at a time until smooth and fully combined.
- Make the Batter: Add the dry ingredients into the wet mixture and stir until just smooth, scraping down the sides of the bowl. Fold in the grated carrots, 3/4 cup of the nuts, and sultanas if using.
- Bake: Divide the batter evenly between the prepared pans. Bake for 40 to 45 minutes, or until a toothpick inserted in the center comes out clean. Let cakes cool in pans for 30 minutes.
- Cool and Frost: Transfer cakes to wire racks and cool completely. Beat cream cheese and butter, then mix in vanilla and powdered sugar until spreadable. Frost the cakes and top with remaining nuts.
This Carrot Cake is rich, spiced, and sweet, so it pairs beautifully with a mix of drinks and savory sides. A chilled Frozen Margarita offers a zesty citrus kick that balances the cake’s warmth. For something creamy and comforting, Easy Creamed Spinach adds a savory touch that rounds out a brunch or holiday table.
If you’re in the mood for coffee, a tall glass of Dalgona Whipped Coffee makes the perfect match. Its light, airy foam and bold flavor contrast the dense crumb and tangy frosting.
Recipe FAQ’s
Bake for 40 to 45 minutes, or until a toothpick inserted into the center comes out clean. Let the cakes cool completely before frosting to prevent the icing from melting. Even a slightly warm cake can cause the cream cheese frosting to turn runny.
Yes, you can layer without trimming the tops. Simply flip the bottom cake layer upside down onto your serving plate, frost it, then place the second layer upside down on top.
Two 9-inch round cake pans work best for this recipe. Make sure to line the bottoms with parchment paper and grease the sides well. You can also use a 9×13-inch pan for a single-layer cake.
You might also like
Get a free eBook!
Subscribe to Cafe Delites FOR FREE and receive recipes straight into your inbox!
Carrot Cake
Ingredients
Carrot Cake:
- 2 1/4 cups all-purpose or plain flour
- 2 teaspoons baking powder
- 1 teaspoon baking soda
- 3/4 teaspoon salt
- 2 teaspoons ground cinnamon
- 1 teaspoon ground ginger
- 1/4 teaspoon ground nutmeg
- 1 cup vegetable oil
- 1/2 cup crushed pineapple or unsweetened apple sauce
- 1 cup light brown sugar lightly packed
- 1 cup white granulated sugar
- 1 tablespoon pure vanilla extract
- 4 large eggs
- 2 1/2 cups grated carrots from about 2-3 large carrots
- 1 cup crushed pecans or walnuts, divided, optional
- 1/2 cup raisins or sultanas, optional
Cream Cheese Frosting:
- 8 ounces cream cheese softened to room temperature
- 6 ounces butter softened to room temperature
- 4 cups powdered sugar sifted if lumpy, plus more if needed
- 1 teaspoon pure vanilla extract
Instructions
CARROT CAKE:
- Heat the oven to 350º F (175°C). Lightly grease two 9-inch round cake pans and line the base of each pan with parchment paper.
- Combine together flour, baking powder, baking soda, salt, cinnamon, ginger and nutmeg in a bowl until well combined.
- In a separate bowl whisk the oil, pineapple (or apple sauce), sugars and vanilla. Beat in eggs one at a time until well combined. Stir the dry ingredients into the wet mixture until the batter is smooth, while scraping the batter from the sides of the bowl. Fold in grated carrots, 3/4 cup of nuts and sultanas.
- Divide the batter between the prepared cake pans. Bake for 40-45 minutes, or when a toothpick inserted into the centre of each cake comes out clean.
- Let cool in pans for 30 minutes. Transfer to cooling racks peeling the paper off the base of each cake as you go. Allow to cool completely before frosting.
CREAM CHEESE FROSTING:
- In large bowl, beat together softened cream cheese and butter, scraping down sides of bowl when needed, for 2-3 minutes until smooth and creamy. (Use a hand mixer.)
- Stir in vanilla and powdered sugar, adding more sugar if needed until frosting is thick and spreadable.
- Frost cooled cake and top with remaining crushed nuts for decoration (optional).
Notes
Nutrition
Nutrition information is automatically calculated, so should only be used as an approximation.
I really like this recipe. I’ve made it a few times and it always comes out so delicious. And I don’t normally like carrot cake. This is the only one I enjoy eating
My all time favorite 😍 ❤️ now. It was a perfect 👌 outcome. Everything was precise.
the best carrot cake EVER!
My son does like chunky bits – We use apple sauce.
I made it the first time for my sons birthday. Everyone loved it so much that I have made it for almost everyone’s birthday ever since (3 years ago!)
Hi Nellie! I’m so happy to hear that this recipe was a success.
Best carrot cake recipe I’ve ever had!! The whole family loves it. But one question can I use this same recipe to make carrot cake cupcakes as well, or it wouldn’t be the same?
Can confirm this makes beautiful muffins. I used exact recipe and it turned out about 20 muffins. I just baked for 22 minutes fan forced at 175 and they come out perfect every time
Hi can I add 3 overripe bananas to this recipe?
I had a cream tea for friends and gambled on making this last week. It’s the first time I’ve made a carrot cake and honestly it was the best, most moist , carrot cake I’ve ever tasted. If I was going to go into business as a baker, this would be the star of the show! I froze half of it as it comes out a good size. The texture of the frosting didn’t change on de-frosting and it was good for 4 days afterwards. I love to cook but didn’t consider myself great at baking……..until now! B-). Your tip on inverting domed cakes helped a lot with the overall presentation too. Thanks again Karina!
Just made this. The cake is excellent, really moist and flavour-ful. For me, there was too much sweet icing but it looks great!
I’ll definitely make it again.
Thanks again Karina
I’ve made this a few times now and it’s always been a huge hit! Very moist and delicious! I antes wanted to check if this would work for cupcakes? Would baking time or temperature change? Thank you !
Second time I’ve made carrot cake using this recipe. Cakes are amazing. At first wasn’t sure about the pineapple but it works!! I’ll never use a different recipe 😊 x