Desserts / Cakes & cheesecakes

Carrot Cake with Tangy Cream Cheese Frosting

Jump to recipe
A two-layer carrot cake covered in cream cheese frosting and chopped pecans, with one slice cut to show the flecks of carrot.

Two tall layers, warm spices, toasted pecans and a tangy cream cheese frosting. It's the birthday cake somebody in the family asks for every year. Cool it completely before you frost, which is harder than it sounds.

The short version

Beat the sugars and eggs, stream in oil, fold in flour, spices and shredded carrots, then bake in two 9-inch pans at 350°F for about 32 minutes. Cool completely and frost with cream cheese frosting.

What makes ours better

the tricks Nonna pretends she never taught me

  • Stream the oil in slowly. Adding the oil in a thin stream while the mixer runs emulsifies the batter, so the cake comes out tender and even instead of greasy.

  • Use white and brown sugar. Brown sugar adds moisture and a light caramel note that goes well with the spices.

  • Toast the pecans. Five minutes in the oven turns the nuts crunchy and nutty, so they stay crisp against the soft crumb.

  • Add sour cream to the frosting. A spoonful cuts the sweetness and keeps the frosting tangy and soft without being cloying.

What you need

the cast, in order of appearance

  • All-purpose flour2½ cups
  • Ground cinnamon1¼ teaspoons
  • Freshly grated nutmeg½ teaspoon
  • Carrots1 pound
  • Granulated sugar1½ cups
  • Packed light brown sugar½ cup
  • Cream cheese16 ounces
  • Sour cream2 tablespoons

Full ingredient list ↓

Prep
35 min
Bake
32 min
Total
2 hr 37 min incl. 1 hr 30 min hands-off (go sit down)
Makes
one 9-inch two-layer cake, 14 to 16 slices

Ingredients

Makes 14 slices

Cake

Cream cheese frosting

yes, all of the butter

Steps

deep breath. you’ve got this.

  1. Heat the oven, prep pans

    Set a rack in the center of the oven and heat it to 350°F. Grease two 9-inch round cake pans, line the bottoms with parchment circles, and grease the parchment. If using pecans, toast them on a sheet pan for 5 to 7 minutes until fragrant, then cool and chop.

  2. Mix the dry ingredients

    In a medium bowl, whisk the flour, baking powder, baking soda, cinnamon, nutmeg and salt. Set aside.

  3. Shred the carrots

    Shred the carrots on the large holes of a box grater or with a food processor shredding disk. You need about 3 cups, loosely packed.

  4. Beat the sugars and eggs

    In a large bowl, beat both sugars and the eggs on medium-high for about 45 seconds, until pale and slightly thick.

  5. Stream in the oil

    With the mixer on medium, pour in the oil in a slow, steady stream. Then beat on high for 45 to 60 seconds, until the batter is pale and thick.

    Pour slowly. Dumping the oil in all at once leaves the batter greasy.

  6. Fold in carrots and flour

    Using a spatula, fold in the carrots, then the flour mixture, and the pecans if using. Stop as soon as no dry flour is visible. The batter will be thick and speckled.

    Fold by hand. A mixer at this stage makes the cake tough.

  7. Bake

    Divide the batter evenly between the pans. Bake until a toothpick in the center comes out clean and the tops spring back lightly, 30 to 35 minutes.

    About 30 min. Cook mode has a timer for this step.

  8. Cool completely

    Cool the layers in the pans for 10 minutes. Run a knife around the edges, turn them out onto a rack, peel off the parchment and cool until completely cold, about 1 hour.

    Warm cake melts cream cheese frosting. Wait.

    About 60 min. Cook mode has a timer for this step.

  9. Make the frosting

    Beat the cream cheese, butter, sour cream and vanilla for about 30 seconds, until smooth. Add the powdered sugar and beat for 1 to 2 minutes, until fluffy. Chill the frosting for 15 minutes if it feels soft.

  10. Fill and frost

    Spread about a cup of frosting over one layer, set the second layer on top, and frost the top and sides. Sprinkle with chopped pecans if you like. Chill 30 minutes before slicing.

Good to know

the stuff I’d tell you over the phone

  • Cold cream cheese makes lumpy frosting. Soften the cream cheese and butter on the counter for about an hour.
  • The frosting is tangy rather than very sweet. Beat in up to ½ cup more powdered sugar if you want it sweeter and firmer. For another frosting recipe, see cream cheese frosting that holds its shape.
  • The cake is better the next day. Frost it, refrigerate, and bring it out a few hours before serving.
  • For a 9×13-inch cake, use the same batter and bake about 40 minutes. Halve the frosting.
  • Storage. Covered in the fridge, 5 days; let slices come to room temperature before serving. Unfrosted layers wrapped well freeze for 3 months.

Questions, answered

the questions my cousins text me

Do I have to peel the carrots?

No. Scrub them well and shred them with the skins on. The skins disappear into the crumb.

Can I add raisins or pineapple?

Yes. Fold in up to 1 cup of raisins or ½ cup of well-drained crushed pineapple with the carrots. Both keep the cake extra moist.

Why is my carrot cake greasy?

The oil was added too fast or the batter was not beaten enough to emulsify. Stream the oil in slowly and beat for the full 45 to 60 seconds afterward.

Can I use applesauce instead of some of the oil?

Yes. Replace half the oil with ¾ cup of unsweetened applesauce. The cake will be slightly denser but still moist.

Can I make it ahead?

Yes. Bake and frost the cake a day or two ahead and refrigerate it. Take it out a few hours before serving so the crumb softens.

From the table

Made it? Tell me everything. Especially if somebody said it was better than their mother’s. I’ll keep your secret.

Find it in

Flour on your hands? Big steps, screen stays on.

Step 1 of 10