The Ultimate Spiced Carrot Cake Recipe with Cream Cheese Frosting
This reliable carrot cake recipe delivers a moist, perfectly spiced sponge packed with toasted walnuts and topped with a thick, tangy cream cheese frosting.
Most versions of this classic dessert are either too dry or overly oily, but this carrot cake recipe finds the perfect middle ground. By using a neutral oil instead of butter, we ensure a moist carrot cake that stays tender for days, even after it’s been refrigerated.
The secret to a truly great result lies in the spice ratio and the texture of the vegetables. We use freshly grated carrots to provide natural sweetness and structure, paired with an easy carrot cake method that doesn't require a stand mixer for the batter. Toasted walnuts add a necessary crunch that balances the richness of the tangy cream cheese frosting.
Whether you are baking for a holiday or a weekend treat, this is the only recipe you'll need. It’s a straightforward, high-reward bake that prioritizes flavor and texture over fussy techniques.
Ingredients
The Cake Batter
- 2 cups (250g) all-purpose flour
- 2 tsp baking soda
- 1 tsp baking powder
- 1/2 tsp kosher salt
- 2 tsp ground cinnamon
- 1 tsp ground ginger
- 1/2 tsp ground nutmeg
- 1 1/4 cups (300ml) neutral oil (canola or vegetable)
- 1 cup (200g) granulated sugar
- 1 cup (200g) packed light brown sugar
- 1 tsp vanilla extract
- 4 large eggs, room temperature
- 3 cups (approx. 450g) freshly grated carrots (about 5-6 medium carrots)
- 1 cup (100g) chopped walnuts, toasted
Cream Cheese Frosting
- 1 package (8oz / 225g) full-fat cream cheese, softened
- 1/2 cup (115g) unsalted butter, softened
- 3 cups (360g) powdered sugar, sifted
- 1 tsp vanilla extract
- Pinch of kosher salt
Instructions
- 1
Preheat your oven to 350°F (175°C) and grease two 9-inch round cake pans, lining the bottoms with parchment paper.
- 2
Whisky together the flour, baking soda, baking powder, salt, cinnamon, ginger, and nutmeg in a large bowl until well combined.
- 3
Beat the oil, granulated sugar, brown sugar, and vanilla in a separate large bowl until smooth, then add eggs one at a time, whisking well after each addition.
- 4
Fold the dry ingredients into the wet ingredients using a large spatula just until no streaks of flour remain; do not overmix.
- 5
Stir in the freshly grated carrots and toasted walnuts until evenly distributed throughout the batter.
- 6
Divide the batter equally between the prepared pans and bake for 30–35 minutes, or until a toothpick inserted into the center comes out clean.
- 7
Cool the cakes in the pans for 15 minutes, then invert onto a wire rack to cool completely before frosting.
- 8
Make the frosting by beating the softened cream cheese and butter together until pale and fluffy, about 3 minutes.
- 9
Add the powdered sugar, vanilla, and salt to the frosting base, beating on low then high until smooth and spreadable.
- 10
Place one cake layer on a plate, spread a thick layer of frosting over the top, then stack the second layer and cover the top and sides with the remaining frosting.
Nutrition (per serving)
Estimates only — not medical or dietary advice.
- Calories
- 685 kcal
- Protein
- 6 g
- Carbs
- 78 g
- Fat
- 41 g
- Fiber
- 2 g
- Sugar
- 58 g
- Sodium
- 320 mg
Tips
- → Grate your carrots by hand using the fine or medium holes of a box grater; pre-shredded bagged carrots are too dry and woody for a moist cake.
- → Toast the walnuts in a dry skillet over medium heat for 3-5 minutes until fragrant to dramatically improve the depth of flavor.
- → Ensure your cream cheese and butter are truly at room temperature to avoid lumps in your frosting.
FAQ
Why does my carrot cake sink in the middle?
This usually happens if the cake is underbaked or if the leavening agents (baking soda/powder) are expired. Ensure your oven is fully preheated and use a toothpick to check for doneness.
Can I make this carrot cake recipe in a 9x13 pan?
Yes, you can bake this as a sheet cake. Increase the baking time to 40–50 minutes and check for a clean toothpick test.
How do I store carrot cake with cream cheese frosting?
Because of the cream cheese, this cake should be stored in an airtight container in the refrigerator. It stays fresh and moist for up to 5 days.
Can I substitute the walnuts for something else?
Absolutely. Pecans are a popular substitute, or you can omit the nuts entirely and add 1/2 cup of raisins or drained crushed pineapple for extra sweetness.
You might also like
DessertMoist Carrot Cake Recipe with Toasted Walnuts
The ultimate carrot cake recipe with a perfect spice ratio, oil for moistness, and tangy cream cheese frosting. This easy carrot cake is a foolproof classic.
DessertStrawberry Crunch Cake with Cream Cheese Frosting
This showstopping strawberry crunch cake features buttery vanilla layers, fresh fruit filling, and the iconic strawberry shortcake crunch coating.
DessertSoft Tangzhong Cinnamon Rolls from Scratch
Learn to make the best cinnamon rolls from scratch using a tangzhong starter for ultra-soft dough, brown butter filling, and a warm cream cheese glaze.
DessertZesty Lemon Pound Cake with a Crackly Sugar Glaze
This lemon pound cake features a tight, buttery crumb, a sharp lemon-syrup soak, and a crackly glaze. It is the ultimate bright and citrusy dessert for any occasion.
