Print

The Best Ever Moist Carrot Cake Recipe with Cream Cheese Frosting

Close-up of a tall, moist slice of carrot cake recipe layered with thick cream cheese frosting and topped with chopped nuts.

5 Stars 4 Stars 3 Stars 2 Stars 1 Star

No reviews

This is the classic carrot cake recipe you need. It delivers a moist, flavorful spiced cake guaranteed to impress, topped with rich cream cheese frosting. This recipe translates professional secrets for home success.

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 allspice
  • 1 cup granulated sugar
  • 1 cup packed light brown sugar
  • 1 cup vegetable oil
  • 4 large eggs
  • 3 cups grated carrots (about 1 pound)
  • 1 cup chopped pecans or walnuts (optional)
  • 1/2 cup crushed pineapple, drained (optional, for extra moisture)
  • For the Cream Cheese Frosting:
  • 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 them with parchment paper.
  2. In a large bowl, whisk together the flour, baking soda, baking powder, salt, cinnamon, nutmeg, and allspice. This combines your dry structure and spice base.
  3. In a separate bowl, whisk together the granulated sugar, brown sugar, and vegetable oil until combined.
  4. Beat in the eggs one at a time until the mixture is smooth. This builds the wet foundation.
  5. Gradually add the dry ingredients to the wet ingredients, mixing on low speed until just combined. Do not overmix; stop when you see no more streaks of flour.
  6. Fold in the grated carrots, pecans/walnuts, and drained pineapple (if using). The carrots add the essential moisture.
  7. Divide the batter evenly between the prepared pans.
  8. Bake for 30 to 35 minutes, or until a wooden pick inserted into the center comes out clean.
  9. Let the cakes cool in the pans for 10 minutes before inverting them onto a wire rack to cool completely.
  10. While the cakes cool, make the frosting: Beat the softened cream cheese and butter together until smooth and creamy.
  11. Gradually add the sifted powdered sugar, mixing until fully incorporated.
  12. Beat in the vanilla extract and lemon juice until the frosting is light and fluffy.
  13. Once the cakes are completely cool, frost and stack them.

Notes

  • For the moistest cake, make sure you do not squeeze the moisture out of the grated carrots. Let them go straight from the grater into the batter.
  • If you skip the optional pineapple, add 1/4 cup of buttermilk to the wet ingredients to maintain moisture balance.
  • To achieve a professional look, chill the frosted cake for 20 minutes before slicing.

Nutrition