Print

Best Ever Moist Classic Carrot Cake Recipe with Cream Cheese Frosting

A thick slice of moist carrot cake recipe layered with cream cheese frosting, sitting on a white plate.

5 Stars 4 Stars 3 Stars 2 Stars 1 Star

No reviews

This is the definitive recipe for a moist, flavorful, and perfectly spiced carrot cake, topped with rich, tangy cream cheese frosting. Follow these simple steps for a guaranteed delicious layered cake.

Ingredients

Scale
  • 2 cups all-purpose flour
  • 2 teaspoons baking soda
  • 1 teaspoon baking powder
  • 1 teaspoon salt
  • 2 teaspoons ground cinnamon
  • 1 teaspoon ground nutmeg
  • 1/2 teaspoon ground ginger
  • 1 cup granulated sugar
  • 1 cup packed light brown sugar
  • 1 cup vegetable oil
  • 4 large eggs
  • 3 cups grated carrots (about 45 medium carrots)
  • 1 cup chopped pecans or walnuts (optional)
  • 1/2 cup crushed pineapple, drained (optional, for extra moisture)
  • 8 ounces cream cheese, softened
  • 1/2 cup unsalted butter, softened
  • 4 cups powdered sugar, sifted
  • 1 teaspoon vanilla extract
  • 1 tablespoon fresh lemon juice

Instructions

  1. Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line the bottoms with parchment paper.
  2. In a medium bowl, whisk together the flour, baking soda, baking powder, salt, cinnamon, nutmeg, and ginger. Set aside.
  3. In a large bowl, whisk together the granulated sugar, brown sugar, and vegetable oil until combined.
  4. Beat in the eggs one at a time, mixing well after each addition.
  5. Gradually add the dry ingredients to the wet ingredients, mixing on low speed until just combined. Do not overmix.
  6. Fold in the grated carrots, pecans/walnuts, and drained pineapple, if using.
  7. Divide the batter evenly between the prepared cake pans.
  8. Bake for 30 to 35 minutes, or until a wooden skewer inserted into the center comes out clean.
  9. Let the cakes cool in the pans for 15 minutes before inverting them onto a wire rack to cool completely.
  10. Prepare the frosting: In a large bowl, beat the softened cream cheese and butter together until smooth and creamy.
  11. Gradually add the sifted powdered sugar, beating until fully incorporated.
  12. Mix in the vanilla extract and lemon juice until the frosting is light and fluffy.
  13. Once the cakes are completely cool, place one layer on a serving plate. Spread about one-third of the frosting over the top. Place the second layer on top and frost the top and sides of the entire cake.

Notes

  • For the moistest cake, use fresh carrots grated finely. Do not use pre-shredded carrots from a bag.
  • If you skip the optional pineapple, add 1/4 cup of buttermilk to the batter for added moisture.
  • To make this cake ahead of time, wrap the cooled layers tightly in plastic wrap and freeze for up to one month. Thaw before frosting.

Nutrition