Print

Carrot Cake

Home-cook, taken with iPhone 15 Pro. Close-up slight angle of freshly prepared carrot cake on white plate. Mouthwatering --ar 4:3 --style raw --s 230

A moist and flavorful carrot cake made with fresh grated carrots, warm spices, and a creamy cream cheese frosting, perfect for dessert or celebrations.

Ingredients

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

Instructions

  1. Preheat the oven to 350°F (175°C). Grease and flour two 9-inch round cake pans.
  2. In a medium bowl, whisk together the flour, baking powder, baking soda, cinnamon, nutmeg, and salt.
  3. In a large bowl, beat together the granulated sugar, brown sugar, and oil until well combined.
  4. Add the eggs one at a time, beating well after each addition.
  5. Mix in the vanilla extract.
  6. Gradually add the dry ingredients to the wet ingredients, mixing just until combined.
  7. Fold in the grated carrots, nuts, and crushed pineapple if using.
  8. Divide the batter evenly between the prepared pans and smooth the tops.
  9. Bake for 30–35 minutes, or until a toothpick inserted into the center comes out clean.
  10. Allow the cakes to cool in the pans for 10 minutes, then turn out onto wire racks to cool completely.
  11. For the frosting, beat the cream cheese and butter together until smooth and creamy.
  12. Gradually add the powdered sugar and vanilla extract, beating until light and fluffy.
  13. Once the cakes are completely cooled, spread frosting on one layer, top with the second layer, and frost the top and sides of the cake.

Notes

For extra flavor, sprinkle chopped toasted walnuts on top of the frosting just before serving.