Cooking ScientistGet the app

Carrot Cake with Cream Cheese Frosting

Carrot cake is a moist, warmly spiced cake studded with grated carrots and crunchy nuts, topped with a thick layer of tangy cream cheese frosting. It stays soft for days.

  • 1 h 10 minTotal time
  • 12Servings
  • 560kcal / serving
  • 6 gProtein
↓ Jump to recipe
Carrot Cake with Cream Cheese Frosting

This recipe is mixed by hand in two bowls. Finely grated carrots melt into the crumb, and oil keeps the cake moist, so the layers are always tender.

The science: why this works

  • Oil keeps the crumb moist and soft even after the cake is chilled.
  • Finely grated carrots release moisture and sugar as the cake bakes, so they stay tender and sweet.
  • Brown sugar plus white sugar gives both moisture and a light caramel flavor.
  • Cinnamon and nutmeg add warmth that balances the sweetness of the carrots and frosting.
  • Cooling the layers fully means the cream cheese frosting spreads without melting.
1

Why oil beats butter here

Oil is pure liquid fat and stays liquid when the cake is cold, so the crumb feels moist and soft. Butter firms up in the fridge and makes cake taste drier. With heavy mix-ins like carrots and nuts, oil also holds them evenly.

Learn: Oil cake vs. butter cake →
2

Why grate the carrots finely

Fine shreds soften and nearly dissolve during baking. They add moisture and natural sweetness without leaving chewy strands. Large shreds stay firm and can make the cake wet in streaks and heavy at the bottom.

3

Why the cream cheese stays firm

Cream cheese frosting is soft because it has a lot of moisture and little structure. Room temperature butter and cream cheese blend smoothly, and chilling the cake sets the fat so the frosting holds its shape.

Learn: Serving cheese at room temperature →

Carrot Cake with Cream Cheese Frosting

1 h 10 min · 12 servings · American · Dessert

Ingredients

Makes 12 servings

  • 250 gall-purpose flour (2 cups)
  • 2 tspbaking powder
  • 1 tspbaking soda
  • 1 tspfine salt
  • 2 tspground cinnamon
  • ½ tspground nutmeg
  • 4large eggs, room temperature
  • 200 ggranulated sugar (1 cup)
  • 150 glight brown sugar (3/4 cup packed)
  • 240 mlneutral oil (1 cup)
  • 2 tspvanilla extract
  • 400 gcarrots, peeled and finely grated (about 4 medium)
  • 100 gchopped walnuts or pecans, toasted
  • 450 gcream cheese, softened, for frosting
  • 120 gunsalted butter, softened, for frosting
  • 360 gpowdered sugar, sifted (3 cups)
  • 1 tspvanilla extract, for frosting

Method

Tap a step to tick it off.

560 kcal6 g proteinper serving, estimated

Tips for the best result

  • Grate the carrots on the small holes of a box grater for a fine, even texture.
  • Toast the nuts for 8 minutes at 350°F (175°C) for more flavor.
  • Beat the frosting only until smooth, or it turns runny.

Mistakes to avoid

  • Using pre-shredded carrots leaves dry, stringy bits, so grate fresh carrots.
  • Frosting a warm cake melts the frosting off, so cool the layers completely.
  • Overmixing after adding the flour makes the cake dense, so fold gently.

Variations and swaps

  • Add 100 g crushed pineapple, well drained, to the batter.
  • Fold in 75 g raisins or shredded coconut.
  • Bake the batter in a 9x13 pan for 38 to 42 minutes and frost the top.
  • Swap walnuts for pecans or leave the nuts out for a nut-free cake.
  • Swap half the oil for unsweetened applesauce for a lighter cake.
  • Swap cream cheese frosting for a simple vanilla buttercream if you prefer less tang.

Storing and reheating

Refrigerate the frosted cake, covered, for up to 5 days and let slices sit 20 minutes before serving. Freeze unfrosted layers wrapped tightly for up to 2 months.

Carrot Cake with Cream Cheese Frosting: questions

How do I keep carrot cake moist?

Use oil instead of butter, grate the carrots finely and do not overbake. A toothpick should come out clean but not dry. The cake also gets moister after a day in the fridge.

Do I have to use nuts in carrot cake?

No. The nuts add crunch, but the cake is just as good without them. Leave them out for a nut-free version.

Why is my carrot cake dense?

It was likely overmixed or the carrots were too coarse and wet. Fold the flour in gently and use finely grated carrots.

Can I make carrot cake in a 9x13 pan?

Yes. Bake at 350°F (175°C) for 38 to 42 minutes, until a toothpick comes out clean. Frost the top after the cake cools completely.

Does carrot cake need to be refrigerated?

Yes, because of the cream cheese frosting. Keep it in the fridge, covered, and take it out 20 minutes before serving.

Cook this step by step with Chef Fizz

One step at a time on screen, built-in timers, and a coach to ask when something looks off. Add it to your week and the grocery list writes itself.

Download on theApp Store

Learn the moves in this recipe

Make it a meal

More recipes like this