Classic Carrot Cake with Cream Cheese Frosting

title 1
Classic Carrot Cake with Cream Cheese Frosting
⏱️ cook time 1 hour 45 minutes (includes cooling time)
🍽️ servings 8
⚡ Difficulty medium

intro

Moist, warmly spiced carrot layer cake slathered in tangy, fluffy cream cheese frosting: a timeless, cozy baked treat perfect for sharing.

Ingredients

Fresh carrots 300 grams (3 cups, coarsely grated, loosely packed)
All-purpose flour 240 grams (2 cups)
Full-fat block cream cheese 226 grams (8 oz, room temperature)
Unsalted butter 113 grams (1/2 cup, room temperature)
Granulated sugar 200 grams (1 cup)
Light brown sugar 100 grams (1/2 cup, firmly packed)
Neutral vegetable oil 180 ml (3/4 cup)
Large eggs 3 units, room temperature
Baking soda 1 teaspoon
Baking powder 1/2 teaspoon
Ground cinnamon 2 teaspoons
Ground nutmeg 1/4 teaspoon
Fine table salt 1/2 teaspoon
Powdered sugar 240 grams (2 cups, sifted)
Pure vanilla extract 1 teaspoon
Chopped walnuts (optional) 75 grams (1/2 cup)

Steps

1

Prep Oven and Pans

Preheat your oven to 175°C (350°F) with the rack positioned in the middle. Grease two 9-inch round cake pans with a thin layer of butter, line the bottom of each pan with a cut circle of parchment paper to prevent sticking, and set pans aside.

Step 1
step1:Prep Oven and Pans
2

Whisk Dry Ingredients

In a medium mixing bowl, combine 240g all-purpose flour, 1 tsp baking soda, 1/2 tsp baking powder, 2 tsp ground cinnamon, 1/4 tsp ground nutmeg, and 1/2 tsp fine salt. Whisk vigorously for 30 seconds until all ingredients are evenly blended, with no visible clumps of spice.

Step 2
step2:Whisk Dry Ingredients
3

Mix Cake Batter

In a large mixing bowl, whisk together 180ml neutral vegetable oil, 200g granulated sugar, 100g packed light brown sugar, and 3 room-temperature eggs for 1 minute until completely smooth. Fold the dry ingredient mixture into the wet ingredients with a rubber spatula just until no dry flour streaks remain, then stir in 300g coarsely grated carrots (and optional walnuts/raisins if using), taking care not to overmix to avoid a tough cake.

Step 3
step3:Mix Cake Batter
4

Bake and Cool Layers

Divide the batter evenly between the two prepared pans, smooth the tops with a spatula, and bake for 30-35 minutes at 175°C (350°F). Test doneness by inserting a wooden toothpick into the center of each layer: it should come out with 1-2 moist crumbs, not wet batter. Let layers cool in their pans for 10 minutes, then turn them out onto a wire rack to cool completely to room temperature (approximately 30 minutes) before frosting.

Step 4
step4:Bake and Cool Layers
5

Make Cream Cheese Frosting

In a large mixing bowl, beat 226g room-temperature block cream cheese and 113g room-temperature unsalted butter with an electric mixer on medium speed for 2 minutes until completely smooth, with no lumps. Reduce mixer speed to low, gradually add 240g sifted powdered sugar and 1 tsp vanilla extract, then increase speed to medium and beat for 1 more minute until light and fluffy. Do not overbeat, as this will cause the frosting to become runny.

Step 5
step5:Make Cream Cheese Frosting
6

Assemble and Frost Cake

Set one fully cooled cake layer on a cake stand or serving plate, spread 1/3 of the cream cheese frosting evenly across the top surface. Place the second cake layer on top, then use an offset spatula to spread the remaining 2/3 of the frosting smoothly over the top and sides of the assembled cake. Press optional chopped walnuts into the frosted sides for garnish, then chill the cake for 15 minutes to set the frosting before slicing and serving.

Step 6
step6:Assemble and Frost Cake

Tips

1.Always use block-style full-fat cream cheese for frosting, not whipped tub-style spreadable cream cheese, which has added water that will make your frosting thin and runny.
2.Grate carrots by hand on the large holes of a box grater; finely pulped carrots from a food processor release excess moisture that can make the cake soggy and dense.
3.Never frost warm or partially cooled cake layers: residual heat will melt the butter and cream cheese in the frosting, causing it to slide off the cake and turn greasy.

✨ You May Also Like

Desserts & Baking
🍜 Italy

Creamy, coffee-kissed classic Northern Italian no-bake dessert, with layers of rum-spiked mascarpone cream, soft ladyfingers, and a rich cocoa dusting.

⏱️ 4 hours 3Desserts & Baking ★ 4.7
Desserts & Baking
🍜 France

Flaky, shatteringly crisp, buttery French croissants with golden exteriors and soft, airy layered interiors, perfect for pairing with coffee for a special morning treat.

⏱️ 12 hours Desserts & Baking ★ 4.5
Desserts & Baking
🍜 United States

Warm, spiced baked apples topped with a fluffy golden biscuit crust, this cozy dessert pairs perfectly with vanilla ice cream for cool-weather comfort.

⏱️ 55 minuteDesserts & Baking ★ 4.6
Desserts & Baking
🍜 United States

A star-spangled classic American blueberry pie with buttery flaky crust and bright sweet-tart filling, perfect for summer patriotic gatherings.

⏱️ 1 hour 25Desserts & Baking ★ 4.7
Desserts & Baking
🍜 United States

A beloved no-bake regional Maine candy with a chewy coconut-potato center coated in rich dark chocolate, a New England holiday staple since the 1870s.

⏱️ 2 hours 3Desserts & Baking ★ 4.8
Desserts & Baking
🍜 France

Luxuriously creamy, floral frozen custard made with aromatic Tahitian vanilla beans, boasting a smooth, rich texture that melts slowly on the tongue.

⏱️ 3 hours 3Desserts & Baking ★ 4.5

Classic Carrot Cake with Cream Cheese Frosting:Frequently Asked Questions

1.Can I use pre-shredded bagged carrots instead of freshly grated carrots for this cake? ▾
I really recommend sticking with freshly grated carrots here. Pre-shredded bagged carrots are coated in a mild anti-clumping drying agent that leaves them woody and less juicy, which will make your cake drier and less tender. Grate fresh carrots on the small holes of a box grater—their natural sweet moisture is key to that classic soft, spiced crumb.
2.Why does my cream cheese frosting always turn out runny instead of light and fluffy? ▾
The most common culprits are using whipped spreadable cream cheese instead of the required full-fat block style, or using overly warm cream cheese and butter. Your dairy should only be slightly softened (not squishy to the touch), beat the mixture on medium speed rather than high, and hold off on adding extra liquid until you’ve mixed the base fully.
3.Can I cut back on the granulated sugar to make this cake less sweet? ▾
You can safely reduce the granulated sugar by up to 25% without ruining the tender crumb (just be sure you measured your all-purpose flour correctly to avoid density!), but don’t cut more than that. Sugar doesn’t just add sweetness—it locks in moisture, so cutting too much will leave you with a dry, heavy cake that can’t support the thick, tangy frosting.
4.How do I store this frosted carrot cake to keep it tasting its best? ▾
Since cream cheese frosting is perishable, keep the tightly covered cake in the refrigerator for up to 5 days. Pull slices out 15 to 20 minutes before serving to let them come to cool room temperature—this lets the warm spice notes shine and lets the frosting soften to that perfect creamy, tangy texture.

Comments (3)

3 days ago

OMG this carrot cake is a total game changer! I brought it to my neighborhood potluck last weekend and every single person asked for the recipe. The cream cheese frosting is perfectly tangy, not too sweet, and the cake itself is so moist I didn’t even miss the raisins I usually add. My kids begged for second slices before they even finished their first! 10/10 will be making this for every family gathering from now on.

2 days ago

Wait did you add nuts? I’m thinking of making this for my office party next week and a few people have tree nut allergies, so I’m curious if it holds up without walnuts!

2 days ago

So glad the cake was a hit at your potluck! To answer the question about nuts: you can absolutely leave them out entirely without messing up the texture, the cake will stay just as moist. If you want a little crunch without nuts, toasted sunflower seeds work great as a swap too!

yesterday

This was my first time making carrot cake from scratch and I was nervous because I saw the difficulty is medium, but the instructions were so clear! Total cook time was spot on too, I didn’t have to guess when it was done cooling before piling on the frosting. The only tweak I made was adding a little extra cinnamon because I love that warm spice kick, and it turned out SO good. My roommate said it’s better than the carrot cake we get at our favorite local bakery.

2 hours ago

Love that you added extra cinnamon, that’s such a great personal tweak! So happy the step-by-step instructions made the process approachable even if you were nervous about the medium difficulty level — that’s exactly what we aim for. Can’t wait to hear what you bake next!

1 week ago

Made this on Sunday for meal prep snacks for the week and it’s held up perfectly in the fridge! I portioned it out into individual slices and grabbed one on my way out to work each morning, and it tasted just as fresh on day 4 as it did right after I frosted it. I did cut the sugar in the frosting by a tiny bit to fit my taste preference and it still worked perfectly. Already sent the recipe to my sister for her birthday next month!