Print

Homemade Carrot Cake Recipe with Cream Cheese Frosting

5 Stars 4 Stars 3 Stars 2 Stars 1 Star

No reviews

A moist and flavorful homemade carrot cake loaded with warm spices and fresh grated carrots, topped with rich and tangy cream cheese frosting — a classic dessert for any occasion.

Ingredients

Scale
  • 2 cups all-purpose flour
  • 2 cups granulated sugar
  • 1 1/2 teaspoons baking powder
  • 1 teaspoon baking soda
  • 1/2 teaspoon salt
  • 2 teaspoons ground cinnamon
  • 1/2 teaspoon ground nutmeg
  • 1/2 teaspoon ground ginger
  • 1 cup vegetable oil
  • 4 large eggs
  • 2 cups grated carrots
  • 1 cup crushed pineapple, drained
  • 1 cup chopped walnuts or pecans (optional)
  • 8 ounces cream cheese, softened
  • 1/2 cup unsalted butter, softened
  • 4 cups powdered sugar
  • 1 teaspoon vanilla extract

Instructions

  1. Preheat oven to 350°F (175°C). Grease and flour two 9-inch round cake pans or line with parchment paper.
  2. In a large bowl, whisk together flour, sugar, baking powder, baking soda, salt, cinnamon, nutmeg, and ginger.
  3. In another bowl, beat together oil and eggs until well combined. Stir in grated carrots and crushed pineapple.
  4. Pour the wet ingredients into the dry ingredients and mix until just combined. Fold in nuts if using.
  5. Divide the batter evenly between the prepared pans and smooth the tops.
  6. Bake for 30-35 minutes, or until a toothpick inserted in the center comes out clean.
  7. Cool the cakes in the pans for 10 minutes, then transfer to a wire rack to cool completely.
  8. For the frosting, beat cream cheese and butter together until smooth and creamy. Add powdered sugar gradually and beat until fluffy. Mix in vanilla extract.
  9. Frost the cooled cakes and stack if making a layered cake. Garnish with extra nuts if desired.

Notes

  • Use freshly grated carrots for the best texture — pre-shredded carrots can be too dry.
  • Store cake covered in the refrigerator for up to 5 days.
  • This recipe can also be made as cupcakes or in a 9×13-inch pan.

Nutrition