Carrot Cake with Cream Cheese Frosting

title 1
Carrot Cake with Cream Cheese Frosting
⏱️ cook time 2 hours 15 minutes
🍽️ servings 8
⚡ Difficulty medium

intro

Tender, warmly spiced moist carrot cake slathered in tangy, velvety cream cheese frosting: a timeless, crowd-pleasing baked treat for gatherings.

Ingredients

Fresh carrots 300 grams (3 medium, tightly packed finely grated)
All-purpose flour 240 grams (2 cups)
Full-fat block cream cheese 225 grams (8 oz)
Unsalted butter 113 grams (1/2 cup / 1 stick, room temperature)
Neutral vegetable oil (canola or sunflower) 180 ml (3/4 cup)
Granulated sugar 150 grams (3/4 cup)
Light brown sugar 100 grams (1/2 cup, packed)
Powdered (confectioners') sugar 240 grams (2 cups, sifted)
Large eggs 3 units (room temperature)
Ground cinnamon 2 teaspoons
Baking soda 1 teaspoon
Baking powder 1 teaspoon
Ground ginger 1/2 teaspoon
Fine sea salt 5/8 teaspoon (1/2 tsp for cake, 1/8 tsp for frosting)
Pure vanilla extract 1.5 teaspoons (1 tsp for cake, 0.5 tsp for frosting)
Chopped walnuts (optional) 75 grams (1/2 cup, toasted)

Steps

1

Prep Oven and Bakeware

Preheat your oven to 175°C (350°F) and adjust the oven rack to the middle position. Grease a 9-inch (23cm) round cake pan with butter or nonstick cooking spray, then line the bottom with a circle of parchment paper to prevent sticking. If using walnuts, spread them on a small baking sheet and toast for 5 minutes in the preheating oven, then set aside to cool.

Step 1
step1:Prep Oven and Bakeware
2

Whisk Dry Cake Ingredients

In a medium mixing bowl, combine 240g all-purpose flour, 1 teaspoon baking soda, 1 teaspoon baking powder, 2 teaspoons ground cinnamon, 1/2 teaspoon ground ginger, and 1/2 teaspoon fine sea salt. Whisk vigorously for 30 seconds to evenly distribute leaveners and spices, breaking up any clumps of flour or spice.

Step 2
step2:Whisk Dry Cake Ingredients
3

Mix Wet Cake Batter

In a large mixing bowl, whisk together 150g granulated sugar, 100g packed light brown sugar, 180ml neutral vegetable oil, 3 room-temperature large eggs, and 1 teaspoon vanilla extract until completely smooth, about 1 minute. Fold in 300g tightly packed finely grated carrots and cooled toasted walnuts (if using) until evenly distributed throughout the batter.

Step 3
step3:Mix Wet Cake Batter
4

Bake the Carrot Cake

Gradually fold the dry ingredient mixture into the wet carrot mixture, stirring only until no dry flour streaks remain—do not overmix, as this will develop gluten and make the cake tough. Pour the batter into the prepared pan, smooth the top with a spatula, and bake for 35 to 40 minutes at 175°C (350°F). The cake is done when a toothpick inserted into the center comes out with 2-3 moist crumbs attached, not wet batter.

Step 4
step4:Bake the Carrot Cake
5

Cool Cake Thoroughly

Remove the baked cake from the oven and let it rest in the pan on a wire cooling rack for 15 minutes, then run a thin knife around the pan edge to loosen the cake, invert it onto the rack, and let it cool completely to room temperature (about 45 minutes) before frosting. Never frost a warm cake, as heat will melt the frosting and cause it to slide off.

Step 5
step5:Cool Cake Thoroughly
6

Whip Cream Cheese Frosting

In a large bowl, beat 225g room-temperature block cream cheese and 113g room-temperature unsalted butter with an electric mixer on medium speed for 2 minutes until completely smooth, light, and free of lumps. Gradually add 240g sifted powdered sugar, 1/8 teaspoon fine sea salt, and 1/2 teaspoon vanilla extract, beating on low speed first to avoid powdered sugar clouds, then increase to medium speed and beat for 1 minute until fluffy. Do not overbeat, as this can incorporate too much air and make the frosting runny.

Step 6
step6:Whip Cream Cheese Frosting
7

Frost and Finish Cake

Place the completely cooled cake on a serving plate. Use an offset spatula to spread all of the cream cheese frosting evenly over the top and sides of the cake, creating soft decorative swirls as desired. If preferred, press extra chopped walnuts or a light sprinkle of cinnamon along the bottom edge of the cake for garnish. Chill the cake for 15 minutes in the refrigerator to set the frosting before slicing and serving.

Step 7
step7:Frost and Finish Cake

Tips

1.Use block-style full-fat cream cheese rather than whipped, spreadable cream cheese sold in plastic tubs; the spreadable version has added moisture that will make your frosting runny and unstable.
2.Grate carrots using the small holes of a box grater or food processor shredding attachment; large, thick carrot chunks will not soften fully during baking and create a dense, uneven crumb.
3.For the best flavor, make the cake 1 day ahead: store it covered in the refrigerator, and the warm spices will meld into the crumb for a deeper, more moist and flavorful result.

✨ 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

Carrot Cake with Cream Cheese Frosting:Frequently Asked Questions

1.Why does my carrot cake often turn out dry instead of tender and moist like the recipe describes? ▾
This usually stems from three common missteps: overpacked flour, overbaking, or cutting back on the specified neutral vegetable oil (canola or sunflower work best). Spoon all-purpose flour into your measuring cup and level it off rather than scooping directly from the bag, test for doneness 5 minutes early, and don’t swap oil for extra butter, as oil locks in that signature soft crumb.
2.Can I use store-bought pre-shredded carrots instead of grating fresh carrots at home? ▾
I don’t recommend it for the best texture. Bagged pre-shredded carrots are coated in a light drying agent to prevent clumping, so they won’t release as much natural moisture into the batter as freshly grated carrots. If you’re short on time, use your food processor’s shredding attachment to prep fresh carrots in 60 seconds for far better results.
3.Why does my cream cheese frosting turn out runny instead of thick and velvety? ▾
Runny frosting almost always happens if you use whipped spreadable cream cheese instead of the required full-fat block cream cheese, or if your butter and cream cheese are too warm when mixing. Start with cold full-fat block cream cheese and room-temperature (not melted) unsalted butter, and chill soft frosting 15 minutes before re-whipping to fix it.
4.Do I need to refrigerate this carrot cake once it’s frosted with cream cheese frosting? ▾
Yes, because the cream cheese frosting contains perishable dairy. Once frosted, cover the cake loosely with plastic wrap or a cake dome and store it in the fridge for up to 5 days. Let individual slices sit at room temperature for 10 to 15 minutes before serving to take the chill off, so the warm spice notes really come through.
5.Should I squeeze excess moisture out of my grated carrots before adding them to the batter? ▾
Absolutely not—this is a common mistake that leads to dry, dense, lackluster cake. That natural moisture from fresh grated carrots is a core part of what keeps this cake tender and flavorful. Grate carrots on the small to medium holes of a box grater, and toss them directly into the batter right after prepping for the best, moistest crumb.

Comments (9)

2 days ago

OMG this carrot cake is INCREDIBLE! I made it for my kid’s soccer team potluck last weekend and every single parent asked for the recipe. It’s so moist, not cloyingly sweet, and the cream cheese frosting is *chef’s kiss*. Total game changer for my go-to dessert rotation!

1 week ago

SO good. I was worried the 2+ hour cook time was too long for a weeknight, but I prepped the shredded carrots the night before and it came together no problem. Brought it to my office Easter lunch and it was gone in 10 minutes flat. Will definitely make again, might add a handful of raisins next time per my grandma’s suggestion.

5 days ago

I swapped the all-purpose flour for a 1:1 gluten free blend and it still turned out perfectly moist! Was so worried carrot cake would be dry with GF flour but this recipe didn’t let me down. My whole family ate seconds at our Sunday dinner, even my picky teen who swears he hates carrot cake.

3 days ago

First time ever making a layer cake and I was so nervous! The flavor was amazing but my layers sank a little in the middle—did I do something wrong? I followed the measurements exactly, I think? Still tasted great, just looked a little lopsided when I frosted it 😅

2 days ago

Hi there! So glad the flavor was a hit for you, especially for your first ever layer cake—nice work! Sinking layers usually happens if the oven temp runs a little low, or if you opened the oven door too early in the bake time (before the 40 minute mark). Next time, try calibrating your oven temp with an oven thermometer and resist peeking! It’ll come out perfectly level, I promise.

yesterday

This cake is perfect with my morning iced latte, no joke. I cut back the sugar in the frosting by 2 tbsp because I prefer less sweet frosting and it was perfect. The crushed pineapple in the cake is such a nice touch, I never would have thought to add that!

2 hours ago

Wait the pineapple is such a secret hack! I added a half cup of chopped walnuts when I made it last week too, that little crunch pairs so well with the moist cake and tangy frosting.

1 week ago

Made this for my wife’s birthday and she said it’s better than the fancy bakery carrot cake we get every year. Total win for me! Only thing is I forgot to let the cream cheese come to room temp for the frosting so it was a little lumpy, but no one cared. 10/10 will make for every family gathering from now on.

5 days ago

Happy birthday to your wife! That lumpy frosting is such a common mishap, no shame at all. If you remember to set out the cream cheese and butter an hour before baking next time, it’ll whip up perfectly smooth and fluffy. So glad it was such a big hit for the celebration!

30 minutes ago

I made a test batch of this last weekend and it was incredible, but I need to make a full sheet pan version for a work potluck on Thursday. How well does it hold up in the fridge if I make it on Sunday? I don’t want it to get dried out before the event!

5 minutes ago

I made mine 3 days ahead for a family BBQ last month and kept it tightly covered in the fridge, it was even more moist on day 3! The cream cheese frosting locks in all the moisture so don’t stress at all, it’ll be perfect.

2 weeks ago

I wanted to love this, I really did. I followed the recipe exactly but the cake came out a little denser than I expected, and I felt like the frosting had way too much butter for my taste. Maybe it’s just a preference thing, but I probably won’t make it again. It wasn’t bad, just not what I was hoping for in a classic carrot cake.

1 week ago

Wait did you shred your carrots on the large holes of a box grater? I did that my first try and the cake was way denser! When I used the smaller shred setting on my food processor the second time, it was so light and fluffy, total night and day difference.

1 week ago

We’re sorry this didn’t quite hit the spot for you! Dense cake is almost always from overpacked flour—if you scoop flour directly from the bag instead of spooning it into your measuring cup and leveling it off, it compacts and leads to a heavier crumb. If you ever give it another go, that small tweak makes a huge difference! We appreciate you taking the time to leave feedback.

2 days ago

Made this for my sister’s baby shower this past weekend and it was such a massive hit! I added little carrot-shaped cream cheese frosting decorations on top and rolled the sides in chopped toasted pecans, everyone thought I bought it from a fancy downtown bakery. 10/10, this is my new go-to carrot cake recipe for every event from now on!

1 day ago

That sounds absolutely adorable! Toasted pecans on the sides and little carrot decorations are such a lovely, fancy touch—your sister is so lucky to have you bake for her shower. Congratulations to the whole family!

30 minutes ago

Wait I was just looking for a carrot cake recipe for my own baby shower next month! How far in advance did you add the pecans? I want to make sure they don’t get soggy sitting in the fridge.