Moist Spiced Carrot Cake (Print Version)

Moist spiced carrot cake with nuts, pineapple, and cream cheese frosting delivers rich, comforting flavors.

# What You Need:

→ Cake

01 - 2 cups all-purpose flour
02 - 2 teaspoons ground cinnamon
03 - 1/2 teaspoon ground nutmeg
04 - 1/2 teaspoon ground ginger
05 - 1 1/2 teaspoons baking powder
06 - 1 teaspoon baking soda
07 - 1/2 teaspoon salt
08 - 1 cup granulated sugar
09 - 1/2 cup light brown sugar, packed
10 - 1 cup vegetable oil
11 - 4 large eggs
12 - 2 teaspoons vanilla extract
13 - 2 cups grated carrots (about 3 to 4 medium carrots)
14 - 1 cup chopped walnuts or pecans
15 - 1 cup crushed pineapple, well-drained
16 - 1/2 cup raisins (optional)

→ Cream Cheese Frosting

17 - 8 ounces cream cheese, softened
18 - 1/2 cup unsalted butter, softened
19 - 2 1/2 cups powdered sugar, sifted
20 - 1 teaspoon vanilla extract
21 - Pinch of salt

# Directions:

01 - Preheat oven to 350°F. Grease and flour two 9-inch round cake pans or line them with parchment paper.
02 - Whisk together flour, cinnamon, nutmeg, ginger, baking powder, baking soda, and salt in a large bowl.
03 - In a separate bowl, beat granulated sugar, brown sugar, and vegetable oil until well blended.
04 - Add eggs one at a time to the sugar-oil mixture, beating well after each addition. Stir in vanilla extract.
05 - Gradually add the dry ingredients to the wet mixture, stirring until just combined.
06 - Gently fold grated carrots, chopped nuts, crushed pineapple, and raisins if using, into the batter.
07 - Divide batter evenly between the prepared pans.
08 - Bake for 35 to 40 minutes, or until a toothpick inserted into the center comes out clean.
09 - Allow cakes to cool in the pans for 10 minutes, then invert onto wire racks to cool completely.
10 - Beat cream cheese and butter until smooth. Gradually add powdered sugar, vanilla, and salt, beating until light and fluffy.
11 - Once cakes are fully cooled, spread frosting between layers, then over the top and sides.
12 - Optionally, decorate with extra chopped nuts or grated carrot.

# Expert Suggestions:

01 -
  • The texture stays impossibly moist for days, even without frosting, because of the oil and pineapple doing their quiet magic.
  • Those warm spices—cinnamon, nutmeg, ginger—make people guess what's in it, and when they learn it's carrots, something clicks.
  • The cream cheese frosting is tangy enough to cut through the sweetness, so it never feels heavy or cloying.
02 -
  • Don't skip draining the pineapple—I learned this the hard way when my batter became too wet and my cake came out dense and sunken in the middle.
  • Cream cheese frosting breaks if you overmix it, so stop as soon as it looks fluffy and hold back on the mixer speed in the last stage.
  • This cake is actually better the next day after the flavors have had time to meld and the crumb has settled.
03 -
  • Room temperature ingredients mix more smoothly and create a more uniform batter—set everything out 30 minutes before you start.
  • The secret to keeping this cake moist is not overbaking it; start checking at 35 minutes and pull it out the moment the toothpick test passes.
Go Back