Moist Carrot Cake Recipe – Soft, Extremely Moist and Perfectly Spiced Layer Cake
There aren’t many desserts that are gone as quickly from my fridge as a Homemade Moist Carrot Cake Recipe. This is all because of its perfect texture – fluffy, moist, wonderfully spiced and topped with generous cream cheese frosting. Even those people who say they don’t like carrot cakes usually eat this one slice after another.
I started baking carrot cakes years ago and thought they were special and unique because of being something other than plain vanilla and chocolate ones. The first mistake I made was overmixing the batter. The taste wasn’t bad; however, the cake was too heavy. After this realisation, I started mixing the batter until there wasn’t a grain of flour left, and now this carrot cake recipe became one of the best ones ever.

The result is a fluffy and extremely moist cake with a rich texture, spiced perfectly and topped with a delicious and silky frosting.
What You’ll Need
For the Carrot Cake
- 2 ½ cups (300g) all-purpose flour
- 1 tsp (5g) salt
- 2 tsp (8g) baking powder
- 1 tsp (5g) baking soda
- 1 tsp (2.5g) ground cinnamon
- 1/2 tsp (1g) ground nutmeg
- 1 cup (200g) granulated sugar
- 1 cup (220g) light brown sugar
- 1 1/3 cups (320ml) vegetable oil
- 4 large eggs (about 200g without shells)
- 2 tsp (10ml) vanilla extract
- 1 lb (450g) carrots, peeled and grated
- 1 cup (120g) chopped toasted pecans
Optional additional spices
- 1/2 tsp (1g) ground cardamom
- 1/2 tsp (1g) allspice
- 1/8 to 1/4 tsp (0.5g) ground cloves
Adding cardamom to the spices makes a wonderful combination with carrots and cream cheese frosting.
For the Cream Cheese Frosting
- 1 cup (227g) unsalted butter, softened
- 8 oz (226g) cream cheese, softened
- 4-5 cups (480-600g) powdered sugar
- 1 tsp (5ml) vanilla extract
Cream cheese should be fully softened before mixing.
Prepare the Carrots and Pecans
Preheat the oven to 350F (175C).
Peel the carrots and grate them with the help of a box grater. You should get three cups (450g) of grated carrots.
Toast the pecans on a baking sheet for 4 minutes. Stir them once during baking. They are ready to be used when they start smelling rich, nutty and buttery.
Chop the pecans and set aside.
Smelling warm pecans in my kitchen is one of my favourite moments of preparing carrot cakes.

Tip: Just a few minutes of toasting makes the pecans much more tasty and crunchy.
Mix the Dry Ingredients
Into a large bowl, combine:
- Flour
- Salt
- Baking powder
- Baking soda
- Ground cinnamon
- Ground nutmeg
Whisk everything until well combined.
Now the mixture of spices should smell wonderful. You may start smelling the scent of cinnamon and nutmeg even before the baking process begins.
The most common mistake home bakers make is incorrect measuring of flour. To avoid it, I always fluff the flour first, spoon it into the cup and level it.

Mix the Wet Ingredients
Into another large bowl, combine:
- Granulated sugar
- Brown sugar
- Vegetable oil
- Eggs
- Vanilla extract
Whisk everything until well combined.
The mixture should be smooth, glossy and silky without any visible egg streaks.
Using brown sugar gives the cake additional moisture, softness and makes it taste richer due to subtle caramel flavour.

Tip: I always break up brown sugar lumps with my hands to save a lot of time later.
Prepare the Batter
Pour the wet mixture into the dry one.
Using a spatula or a wooden spoon, mix everything gently until a few flour streaks remain.
Now add chopped pecans and grated carrots.
Mix everything just until the ingredients are combined well.
The batter should be very thick due to the high moisture content in the carrots that are released during the baking process.
When it’s ready, the batter should be thick and very loaded with grated carrots and well mixed without dry flour pockets.

Tip: Stop mixing the batter the moment there isn’t a grain of flour. Overmixing makes the cake too tough.
Prepare the Cake Pans
Grease two 9-inch cake pans and line the bottoms with parchment paper rounds.
Divide the batter into two pans.
Using a spatula, spread the batter evenly.
The batter will settle and become flat by itself.
Lining the bottoms of cake pans with parchment paper is a small step to prevent big problems with removing the cake later.

Bake the Cake Layers
Place both cake pans into the preheated oven.
Bake for 30 to 35 minutes.
The cakes are ready when:
- They spring back lightly when touched
- A toothpick inserted into the centre comes out clean
- Edges start pulling away from the pan
During the baking process, your kitchen will be filled with the scent of cinnamon, vanilla, toasted nuts and sweet carrots.
Allow the cakes to cool completely in their pans before removing them.
Cooling cakes completely helps prevent cracking and gives a strong base to frost the cake.

Prepare the Cream Cheese Frosting
Place softened butter into a mixing bowl.
Mix the butter for about 1 minute until creamy and smooth.
Now add the cream cheese and mix until well combined.
Gradually add powdered sugar into the butter one cup at a time, mixing on a low speed after each addition.
Finally, mix in the vanilla extract.
The frosting should be smooth, fluffy and thick enough to hold soft peaks.
One thing that I learned recently is that frosting may become lumpy due to an ice-cold mixing bowl. To avoid this problem, I always warm up the bowl slightly before mixing.

Tip: Taste the frosting after four cups of powdered sugar are added. Add more powdered sugar only if you want to make the frosting sweeter.
Assemble the Cake
Place the bottom cake layer on a cake stand or a serving plate.
Cover the top with about 3/4 cup frosting.
Put the second cake layer on top.
Cover the top and sides of the cake with the frosting.

Use an offset spatula or a bench scraper to smooth the frosting.
To decorate the cake, you may sprinkle extra chopped pecans on top.
You may make the frosting either rustic or smooth.
The final product should be tall, inviting and loaded with carrot and pecan pieces.

Mistakes to Avoid
Using Too Much Flour
The mistake: Scooping flour from the bag.
Why it happens: The flour becomes compacted during storage.
How to avoid it: Spoon flour into the measuring cup and level it.
Overmixing the Batter
The mistake: Mixing until perfectly smooth.
Why it happens: Many bakers think it means better cake.
How to avoid it: Stop mixing the batter when there isn’t a grain of flour.
Skipping the Parchment Paper
The mistake: Greasing only the pans.
Why it happens: It seems unnecessary.
How to avoid it: Always line the bottoms with parchment for easy release.
Using Cold Cream Cheese
The mistake: Mixing frosting with refrigerator-cold cream cheese.
Why it happens: Forgetting to soften ingredients.
How to avoid it: Let it sit at room temperature or soften it gradually in short bursts in a microwave.
Underbaking the Cake
The mistake: Taking it out of the oven too early.
Why it happens: The top looks cooked, but the centre isn’t.
How to avoid it: Use a toothpick to check if the cake is done.
Ways to Change It Up
Crushed Pineapple
Add 1/2 cup drained crushed pineapple to the batter to make it moister and add subtle tropical notes.
Raisins
Add 3/4 cup raisins to the batter for a burst of sweet taste.
Orange Cream Cheese Frosting
Add the zest of one orange into the frosting to make it brighter and add citrus notes.
How to Store and Serve
At Room Temperature
Due to the cream cheese frosting, I wouldn’t recommend storing it outside of the fridge for more than 2 hours.
In the Refrigerator
Store the cake covered for up to 5 days.
The flavour will improve after the first day due to the development of spices’ aromas.
In the Freezer
Wrap individual slices of the cake and store them frozen for up to 3 months.
Thaw the cake overnight in the refrigerator.
The Best Way to Serve
I always serve my carrot cake slightly chilled with coffee. The frosting is still firm, but the cake is incredibly soft.

Frequently Asked Questions
Can I prepare carrot cake in advance?
Yes. In fact, carrot cake always becomes better the next day after preparation due to spices developing.
Can I use walnuts instead of pecans?
Absolutely. Walnuts work well and give similar crunch.
Why is my carrot cake too dense?
The cake is too dense if there is too much flour or it was overmixed.
Can I prepare this cake without nuts?
Yes. Just don’t use pecans.
Should I peel the carrots?
Yes. It makes the cake softer and prettier.
This is one of those recipes that I make again and again because of its reliability, moist texture and wonderful taste. If you make this carrot cake, I’m sure it will also become your go-to choice.
