Go Back
Two-layer carrot cake frosted with creamy cream cheese frosting and topped with chopped pecans on a white cake stand.

Moist Carrot Cake with Cream Cheese Frosting

A beautifully moist carrot cake featuring a rich cream cheese frosting, perfect for celebrations and gatherings.
Prep Time 30 minutes
Cook Time 35 minutes
Total Time 2 hours
Course Dessert
Cuisine American
Servings 18 servings
Calories 575 kcal

Ingredients
  

Main Ingredients (Cake)

  • 4 pieces eggs
  • 1.25 cups vegetable oil
  • 2 cups white sugar
  • 3 tsp vanilla extract Use 2 tsp in batter, 1 tsp in frosting
  • 2 cups all-purpose flour
  • 2 tsp baking powder
  • 2 tsp baking soda
  • 2 tsp cinnamon
  • 0.5 tsp salt
  • 3 cups finely grated carrots (about 4 large carrots)
  • 2 cups chopped pecans divided

Cream Cheese Frosting

  • 0.5 cups butter, softened
  • 1 package cream cheese, softened (8-oz)
  • 4 cups powdered sugar

Optional Ingredients

  • 0.5 tsp ground ginger (extra warmth)
  • 0.25 tsp nutmeg (deeper spice)
  • 0.5 cups raisins (classic add-in)
  • Orange zest (bright, fresh flavor)

Instructions
 

Preparation

  • Preheat oven to 350°F (175°C). Line two 9-inch cake pans with parchment paper, then grease and flour the parchment and sides. (Alternative: grease and flour a 9x13-inch pan.)
  • Grate the carrots and chop the pecans so everything is ready to go.

Mixing / Assembling

  • In a large bowl, whisk the eggs until blended. Add vegetable oil, sugar, and 2 tsp vanilla. Mix until smooth and glossy.
  • Add flour, baking powder, baking soda, cinnamon, and salt. Stir just until you don’t see dry flour. The batter will be thick.
  • Fold in the grated carrots and 1 cup of the chopped pecans. (Save the other cup for topping.)

Cooking / Baking

  • Divide batter evenly between the two prepared pans.
  • Bake for 30–35 minutes, or until a toothpick inserted into the center comes out clean. For a 9x13-inch pan, bake 40–50 minutes.
  • Cool cakes in pans for 10 minutes, then turn out onto a wire rack to cool completely.

Resting / Finishing

  • To make frosting, beat butter and cream cheese until smooth. Add powdered sugar and the remaining 1 tsp vanilla and beat until creamy and spreadable.
  • Place one cake layer on a plate. Frost the top evenly. Add the second layer and frost the top and sides. Sprinkle with the remaining 1 cup chopped pecans.
  • For cleaner slices, chill the frosted cake for 20–30 minutes before cutting.

Notes

For best texture, grate carrots finely. Toasting pecans lightly can enhance flavor. Avoid overmixing the flour.
Keyword Baking Recipe, Carrot Cake, Celebration Cake, Cream Cheese Frosting, Moist Cake