Carrot Cake

Carrot Cake
⏱️ cook time 2 hours
🍽️ servings 8
⚡ Difficulty medium

intro

Tender, warmly spiced moist carrot cake slathered in tangy cream cheese frosting, a cozy, shareable baked treat perfect for gatherings.

Ingredients

Grated fresh carrots 300 grams (about 3 medium, tightly packed)
All-purpose flour 240 grams (2 cups)
Full-fat block cream cheese 226 grams (8 oz, softened)
Neutral canola oil 180 ml (3/4 cup)
Large eggs 3 units (room temperature, ~150g total)
Granulated sugar 150 grams (3/4 cup)
Ground cinnamon 2 teaspoons
Baking soda 1 teaspoon
Baking powder 1/2 teaspoon
Fine table salt 1/2 teaspoon
Toasted chopped walnuts 100 grams (1 cup, divided)
Unsalted butter 113 grams (1/2 cup, softened)
Powdered sugar 240 grams (2 cups, sifted)
Vanilla extract 1 teaspoon

Steps

1

Prep oven and pan

Preheat your oven to 175°C (350°F), then grease a 9-inch (23cm) round cake pan with a thin layer of butter and line the bottom with a cut circle of parchment paper to prevent sticking. Set the prepared pan aside while you mix the cake batter.

Step 1
step1:Prep oven and pan
2

Whisk dry ingredients

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

Step 2
step2:Whisk dry ingredients
3

Mix wet batter base

In a separate medium bowl, whisk together 3 large room-temperature eggs, 150g granulated sugar, and 180ml neutral canola oil until completely smooth, about 1 minute. Fold in 300g tightly packed grated fresh carrots and 70g of the toasted chopped walnuts, reserving the remaining 30g walnuts for garnish.

Step 3
step3:Mix wet batter base
4

Bake the carrot cake

Fold the wet carrot mixture into the dry ingredient bowl just until no dry flour streaks remain (do not overmix), then pour the batter into the prepared pan, smoothing the top with a spatula. Bake on the middle oven rack for 32 to 35 minutes, until a toothpick inserted into the center comes out with 2-3 moist crumbs attached and no wet batter.

Step 4
step4:Bake the carrot cake
5

Cool cake completely

Remove the baked cake from the oven and let it rest in the pan on a wire rack for 15 minutes, then run a thin knife around the pan edge, turn the cake out onto the rack, and let it cool fully to room temperature (about 60 minutes total cooling time) before frosting; warm cake will melt cream cheese frosting.

Step 5
step5:Cool cake completely
6

Make cream cheese frosting

In a large bowl, beat 226g softened full-fat block cream cheese and 113g softened unsalted butter with an electric mixer on medium speed for 2 minutes until completely smooth and lump-free. Reduce mixer speed to low, gradually add 240g sifted powdered sugar and 1 teaspoon vanilla extract, then beat on medium for 1 more minute until light and spreadable.

Step 6
step6:Make cream cheese frosting
7

Frost and garnish cake

Set the fully 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. Sprinkle the reserved 30g toasted chopped walnuts decoratively around the top edge, then slice and serve, or chill for 30 minutes for a firmer frosting texture.

Step 7
step7:Frost and garnish cake

Tips

1.Avoid pre-shredded bagged carrots for this recipe: they are drier and coated in anti-caking starch that results in a less moist, dense cake; grate fresh carrots with a box grater or food processor for the best tender texture.
2.Do not overmix the cake batter once wet and dry ingredients are combined—overmixing develops gluten in the flour, leading to a tough, chewy crumb instead of the desired soft, tender texture.
3.Ensure cream cheese and butter are softened to cool room temperature (not melted) before making frosting; cold ingredients create lumpy frosting, while melted ingredients result in a runny, greasy texture that won’t set properly.

✨ 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.8
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.7
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.7
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.8
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.9
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.6

Carrot Cake:Frequently Asked Questions

1.Why is this carrot cake so much moister than other dry, crumbly carrot cake recipes I’ve tried?
That perfect tender crumb comes from three intentional choices: we use neutral canola oil instead of solid butter (oil stays liquid at cool temps so the cake never firms up dry), freshly grated carrots that release natural juice as they bake, and we avoid overmixing the all-purpose flour, which would create tough, dry gluten. Just pull it out as soon as a toothpick has a couple moist crumbs attached to avoid overbaking.
2.Can I use pre-shredded bagged carrots from the grocery store instead of grating fresh carrots myself?
I don’t recommend it for the best texture! Pre-shredded bagged carrots are coated in a light dehydrating preservative to extend shelf life, so they’re drier and often cut thicker, leading to chewy, less moist cake. Grab whole fresh carrots and grate them on the small holes of a box grater or food processor shredding attachment right before mixing for the best, sweetest result.
3.Why do you call for full-fat block cream cheese for the frosting instead of whipped or low-fat tub cream cheese?
Whipped or low-fat tub cream cheese has extra added water, stabilizers, and pumped-in air to make it spreadable straight from the fridge, which will leave your frosting runny, watery, and lacking that rich tangy flavor. Full-fat block cream cheese is dense, smooth, and additive-free, so it whips up into a thick, velvety frosting that holds its shape perfectly.
4.What size eggs work best for this recipe, and do they need to be at room temperature before mixing?
This recipe is tested for large eggs, the standard baking size in most American grocery stores, and yes, they should be room temperature! Cold eggs don’t emulsify smoothly into the canola oil and sugar batter, which can lead to a dense, uneven crumb. Set eggs on the counter 30 minutes before baking, or submerge them in warm tap water for 5 minutes if you’re short on time.
5.Can I make this cake ahead of time for a gathering, and how should I store leftovers?
Absolutely! This cake actually tastes better the second day as the warm spices meld and the crumb sets. Once frosted, store it covered in the fridge for up to 5 days—just let it sit at room temperature for 20 minutes before serving so the frosting softens and the cake’s cozy spice notes come through. It holds up beautifully for potlucks and birthday parties.
6.Why does my cream cheese frosting turn out lumpy no matter what I do?
Lumpy frosting almost always comes from using cold cream cheese or cold butter! Make sure your full-fat block cream cheese and any butter you use in the frosting are fully softened to around 65°F before you start whipping. Sift your powdered sugar too to avoid dry clumps, and mix on low speed first before cranking it up to get a perfectly smooth finish.
7.Can I swap the canola oil for another fat, like melted butter or extra-virgin olive oil?
You can swap canola for another neutral oil like vegetable, grapeseed, or light olive oil without changing the flavor, but I don’t recommend melted butter. Butter solidifies as the cake cools, which will make the crumb firmer and less moist over time. Strongly flavored oils like extra-virgin olive oil will overpower the warm spice and sweet carrot flavor, so skip those.
8.Do I need to peel my carrots before grating them for the cake?
It’s totally up to you, but I recommend peeling for the best texture. Carrot skins are slightly bitter and have a tougher, chewier texture that won’t break down fully as the cake bakes, which can leave little tough flecks in your tender crumb. If you’re short on time, you can scrub unpeeled carrots very thoroughly, but peeling takes just a minute and makes a noticeable difference.
9.Do I need to add crushed pineapple to this carrot cake to keep it moist?
Crushed pineapple is a popular add-in for extra moisture and sweetness, but this classic version doesn’t need it! The fresh grated carrots and canola oil already give the cake plenty of tender, long-lasting moisture, and skipping pineapple lets the warm, cozy spice and bright carrot flavor take center stage. You can stir in ½ cup well-drained crushed pineapple if you love that fruity twist, though.
10.Can I bake this as a sheet cake instead of layered round cakes for easier serving?
Absolutely! This recipe works beautifully as a 9x13-inch sheet cake—just pour all the batter into a greased, parchment-lined 9x13 pan, add 5 to 10 minutes to the bake time, and test doneness with a toothpick in the center. Let it cool completely, slather the cream cheese frosting right on top, and cut squares for easy, no-fuss serving at casual gatherings.

Comments (5)

2 days ago

OMG this carrot cake is a total game changer! I made it for my kid’s soccer team potluck last weekend and every single person asked for the recipe. It stayed so moist even after sitting out for a couple hours, and the cream cheese frosting is perfectly tangy, not too sweet. 10/10 will be making this for every family holiday from now on!

yesterday

So glad this was a hit at the soccer potluck! Pro tip for next time: you can toss in a half cup of chopped pecans or golden raisins if your crowd likes extra mix-ins, it pairs perfectly with the tangy cream cheese frosting and moist crumb.

1 week ago

Tried this for my wife’s birthday since carrot cake is her favorite, and let me tell you—she said it’s better than the fancy bakery version we usually pay $40 for! I was worried it’d be too fussy for a medium difficulty recipe since I mostly grill, but the steps were super straightforward. Only change I made was adding a little extra cinnamon because we love that warm spice kick.

5 days ago

Happy birthday to your wife! Extra cinnamon is such a cozy, delicious call—sometimes I add a pinch of fresh nutmeg too for extra depth of flavor, it works so well with the sweet carrots.

3 days ago

Made this in my tiny dorm oven for my roommate’s graduation party and it turned out perfect! I didn’t have a fancy round cake pan so I baked it in a 9x13 dish and it still cooked evenly in about the same time. The frosting came out so silky, I even added a little orange zest on top for extra brightness. SO good, even the people who say they hate carrot cake went back for seconds.

5 days ago

This is my third time making this recipe in a month! I brought it to my office potluck, my book club, and my sister’s baby shower, and it’s gotten rave reviews every single time. My only note is that the cook time was about 10 minutes shorter for me at high altitude, so I’d recommend checking with a toothpick a little early if you live up in the mountains.

3 days ago

Thank you so much for the high altitude heads up! I’m in Denver and I always mess up carrot cake because I follow the cook time exactly and it ends up dry. Can’t wait to test this out this weekend for my family dinner!

2 days ago

That’s such a helpful tip for our mountain bakers! Oven temperatures and elevation vary so much, that toothpick test (looking for a couple moist crumbs, not wet batter) is always the most reliable way to nail that perfect moist texture every time.

2 weeks ago

Wait has anyone tried making this with gluten free all purpose flour? I had a slice of this cake at a friend’s house last week and it was literally the best carrot cake I’ve ever had! My son has a gluten sensitivity and I want to make this for his birthday next week, but I’m nervous about swapping the flour messing up that perfect moist texture. It looks too good to pass up!

1 week ago

I made it last week with Cup4Cup gluten free 1:1 flour and it turned out exactly the same! No dry texture at all, my whole family (none of whom eat gluten free most of the time) couldn’t tell the difference. Just make sure you don’t pack the flour into the measuring cup, spoon and level it for best results!

5 days ago

So happy you loved the cake at your friend’s place! I’ve tested this recipe with several 1:1 gluten free all purpose flour blends (the ones with xanthan gum already added) and it works perfectly, no other adjustments needed. Hope your son has the best birthday, I’m sure he’ll love the cake!