Go Back
Carrot Cake with Cream Cheese Frosting

Carrot Cake with Cream Cheese Frosting

This classic carrot cake strikes the perfect balance between moist and light, with warm spices complementing the natural sweetness of carrots. Topped with silky cream cheese frosting, it's an impressive dessert that tastes like it came from a high-end bakery.
Total Time 1 hour 15 minutes
Course Dessert
Cuisine American
Servings 12

Equipment

  • Two 9-inch round cake pans
  • Box grater or food processor
  • Electric mixer
  • Mixing bowls
  • Rubber spatula
  • Cooling rack

Ingredients
  

For the Cake

  • 2½ cups all-purpose flour
  • 2 tsp baking powder
  • 1 tsp baking soda
  • 2 tsp ground cinnamon
  • ½ tsp ground nutmeg
  • ½ tsp ground ginger
  • ¼ tsp ground cloves
  • ½ tsp salt
  • 1 cup granulated sugar
  • 1 cup light brown sugar, packed
  • 1 cup vegetable oil
  • 4 large eggs, room temperature
  • 2 tsp vanilla extract
  • 3 cups finely grated carrots (about 6 medium carrots)
  • 1 cup chopped walnuts or pecans (plus extra for garnish)
  • ½ cup crushed pineapple, drained
  • ½ cup raisins (optional, but recommended)

For the Cream Cheese Frosting

  • 16 oz cream cheese, softened (two 8-oz blocks)
  • ½ cup unsalted butter, softened (1 stick)
  • 4 cups powdered sugar, sifted
  • 2 tsp vanilla extract
  • Pinch of salt

Instructions
 

  • Prep your battlestation. Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line them with parchment paper. A stuck cake is a sad cake.
  • Mix the dry team. In a medium bowl, whisk together flour, baking powder, baking soda, cinnamon, nutmeg, ginger, cloves, and salt. Set aside. (I know, this step seems boring, but proper distribution of leavening agents and spices is what separates good carrot cake from great carrot cake.)
  • Blend the wet squad. In a large bowl, beat together granulated sugar, brown sugar, and oil until well combined. Add eggs one at a time, beating well after each. Stir in vanilla extract. Your mixture should look like a golden, glossy dream.
  • Unite the ingredients. Gradually add the dry ingredients to the wet ingredients, mixing just until combined. No overmixing! That leads to tough cake, and we want tender cake.
  • Fold in the fun stuff. Gently fold in the grated carrots, nuts, drained pineapple, and raisins (if using). The batter will be thick and textured – that's exactly what you want.
  • Divide and conquer. Distribute the batter evenly between your prepared pans. Give them a gentle tap on the counter to remove air bubbles.
  • Bake to perfection. Slide those pans into the oven and bake for 30-35 minutes, or until a toothpick inserted in the center comes out clean or with a few moist crumbs. The tops should spring back when lightly pressed.
  • Cool your jets. Allow cakes to cool in pans for 15 minutes, then turn out onto wire racks to cool completely. Patience is a virtue here – frosting a warm cake is a disaster waiting to happen.
  • Make that heavenly frosting. In a large bowl, beat cream cheese and butter until smooth and creamy, about 2 minutes. Add powdered sugar one cup at a time, beating well after each addition. Mix in vanilla and salt. Beat for an additional 2-3 minutes until fluffy and smooth. Try not to face-plant directly into the bowl.
  • Assemble your masterpiece. Place one cake layer on your serving plate. Spread a generous layer of frosting on top. Place the second cake layer on top and frost the top and sides of the cake. Get creative with swirls and peaks, or go for a smooth finish. Decorate the sides with extra chopped nuts if desired.

Notes

  • The carrot question: Hand-grate for texture, food processor for speed. Just don't use pre-shredded carrots – they're too dry.
  • Make ahead: The cake layers can be baked a day ahead, wrapped tightly, and stored at room temperature. The frosting can be made a day ahead and refrigerated – just let it come to room temperature before using.
  • For extra moisture: Don't squeeze the pineapple completely dry – a little juice adds wonderful moisture to the cake.
  • Cream cheese tip: For the smoothest frosting, make sure your cream cheese and butter are properly softened but not melted. About 1 hour at room temperature is perfect.