Sloppy Kitchen
Jump to recipeDessert · Cakes

Spiced Carrot Cake with Cream Cheese Frosting

A warmly spiced, tender carrot cake relies on fine shreds, toasted nuts, and a careful cool-down before its tangy cream-cheese finish.
A frosted two-layer carrot cake with toasted walnuts is shown with a slice revealing its orange-flecked crumb.

This is the classic two-layer carrot cake: tender rather than oily, warmly spiced, and built around the sweet moisture of freshly grated carrots. Toasted walnuts or pecans add a welcome crunch without weighing down the crumb.

The most important pause comes after baking. Letting the layers cool all the way through gives the cream-cheese frosting a stable surface and keeps every slice tidy.

Choose fine carrot shreds

Fine shreds disperse through the batter and soften as the cake bakes, giving moisture without long strands in each bite. Skip squeezing the carrots: that natural moisture is part of what keeps the crumb tender.

Fold with a light hand

Whisk the eggs, sugar, and oil until unified before the flour goes in, then fold only until the last dry streak disappears. Adding toasted nuts at that same point keeps them evenly distributed without overworking the batter.

Fine carrot shreds and toasted chopped walnuts are folded into spiced cake batter in a mixing bowl.
Fine carrot shreds and toasted nuts are folded gently through the warmly spiced batter.

Read the center, not just the clock

The layers are ready when their centers spring back and a toothpick brings out a few moist crumbs instead of wet batter. That cue prevents an underbaked middle while protecting the cake from drying out at the edges.

Frost only a cool cake

Cream-cheese frosting is soft by design, so it needs cake layers that are completely at room temperature. If the cake still feels warm at its center, wait; the frosting will otherwise loosen and slide.

A close carrot cake slice shows tender carrot-flecked crumb, toasted nuts, and thick cream cheese frosting.
A close slice shows a tender orange-flecked crumb, toasted nuts, and a thick tangy frosting layer.

Spiced Carrot Cake with Cream Cheese Frosting

12 slices
150 minutes total

Ingredients

  • •  2 cups all-purpose flour
  • •  2 tsp baking powder
  • •  1 tsp baking soda
  • •  2 tsp ground cinnamon
  • •  1 tsp fine salt
  • •  4 large eggs, room temperature
  • •  1 1/4 cups packed light brown sugar
  • •  3/4 cup neutral oil
  • •  3 cups finely grated carrots
  • • 
  • •  12 oz full-fat cream cheese, softened
  • •  6 tbsp unsalted butter, softened
  • •  3 cups powdered sugar
  • •  1 tsp vanilla extract

Method

  1. Prepare the pans

    Set a rack in the center of the oven and heat it to 350 F. Grease two 9-inch round cake pans, line their bottoms with parchment, and grease the parchment. Use walnuts by default; use pecans if preferred.

    Look for: Both pans have a smooth, fully greased parchment round on the bottom.

  2. Shred the carrots

    Finely grate the carrots on the small holes of a box grater; use the loose, feathery shreds as they fall and do not squeeze them dry.

    Look for: The carrot shreds are fine and tender-looking, not thick ribbons or wet clumps.

  3. Mix the dry ingredients

    Whisk the flour with the baking powder, baking soda, cinnamon, and salt until the leaveners and spice are evenly dispersed.

    Look for: The flour mixture is uniformly warm brown with no visible pockets of baking soda.

  4. Whisk the batter

    Whisk the eggs and brown sugar until smooth and slightly thickened, then stream in the oil while whisking until the mixture is glossy.

    Look for: The brown sugar is mostly dissolved and the batter looks cohesive rather than oily.

  5. Fold in carrots and nuts

    Fold the dry ingredients into the egg mixture just until a few flour streaks remain, then fold in the grated carrots and toasted chopped walnuts or pecans until evenly distributed.

    Look for: No dry flour remains, and carrot shreds and nuts are spread evenly without a thin, overmixed batter.

  6. Bake the layers

    Divide the batter evenly between the prepared pans and bake at 350 F until the centers spring back and a toothpick comes out with a few moist crumbs, not wet batter.

    Look for: The layers are lightly domed, pull slightly from the pan edges, and pass the moist-crumb toothpick test.

  7. Cool completely

    Cool the layers in their pans for 15 minutes, turn them onto a rack, remove the parchment, and cool until completely room temperature before frosting.

    Look for: The cake layers feel cool at their centers and release no warmth when held in your palm.

  8. Make the frosting

    Beat the softened cream cheese and butter until smooth, then beat in the powdered sugar and vanilla extract until fluffy and spreadable.

    Look for: The frosting is smooth, pale, and holds a soft peak without visible cream cheese lumps.

  9. Frost and slice

    Set one fully cool layer on a plate, spread over frosting, stack the second layer, and frost the top and sides before slicing into 12 portions.

    Look for: The frosting stays firm and smooth rather than melting or sliding from the cake.