Go Back
Two-layer easy carrot cake with cream cheese frosting on a white cake stand, garnished with chopped pecans and piped cream swirls.

Carrot Cake

This easy carrot cake with cream cheese frosting is a moist, flavorful dessert packed with freshly grated carrots, pecans, and sweet raisins. Perfect for beginners, this classic carrot cake includes a simple cream cheese frosting, delivering a rich and delicious treat that is sure to impress. Enjoy this traditional carrot cake for birthdays, family gatherings, or any special occasion!
Prep Time 20 minutes
Cook Time 40 minutes
Total Time 1 hour
Course Dessert
Cuisine American
Servings 12 slices

Ingredients
  

  • 2 cups all-purpose flour spooned and leveled
  • 2 teaspoons baking soda
  • ½ teaspoon fine sea salt
  • 1 ½ teaspoons ground cinnamon
  • 1 ¼ cups vegetable oil
  • 1 cup granulated sugar
  • 1 cup lightly packed brown sugar
  • 1 teaspoon vanilla extract
  • 4 large eggs at room temperature
  • 3 cups grated peeled carrots about 5 to 6 medium carrots
  • 1 cup coarsely chopped pecans
  • ½ cup raisins
  • 8 ounces block cream cheese at room temperature
  • 2 teaspoons cornstarch (optional)
  • 1 ¼ cups powdered sugar
  • cup cold heavy cream
  • ½ cup coarsely chopped pecans for topping

Instructions
 

  • Preheat your oven to 350°F (180°C). Grease two 9-inch round cake pans, line the bottoms with parchment paper, then grease the paper for easy release. You can also flour the pans if you prefer.
  • In a medium bowl, whisk together the flour, baking soda, salt, and cinnamon until well combined.
  • In a separate large bowl, whisk together the vegetable oil, granulated sugar, brown sugar, and vanilla extract. Add the eggs one at a time, whisking after each addition until fully incorporated.
  • Add the dry ingredients to the wet ingredients in three parts, gently stirring with a spatula until smooth. Fold in the grated carrots, chopped pecans, and raisins until evenly distributed.
  • Divide the batter evenly between the prepared pans. Bake for 35-45 minutes, or until the tops spring back when touched and a toothpick inserted into the center comes out clean. Let the cakes cool in the pans for 15 minutes, then transfer to a wire rack to cool completely.
  • In a large bowl, beat the cream cheese until creamy using a handheld mixer. Gradually add the powdered sugar (and cornstarch, if using) on low speed, then increase to medium-high speed and whip until smooth. Pour in the heavy cream and beat for another 2-3 minutes or until the frosting is light and fluffy.
  • Once the cake layers are completely cool, frost the top of one layer and place the second layer on top. Spread the remaining frosting over the top and garnish with chopped pecans. Leave the sides unfrosted for a rustic look, or cover completely if you prefer!