Go Back
A slice of freshly baked moist carrot cake with cream cheese frosting sits on a plate, ready to be enjoyed.

Ultimate Moist Carrot Cake

This is the definitive recipe for a supremely moist and tender carrot cake, perfected through culinary science. It features a perfect balance of oil, brown sugar, and well-drained crushed pineapple for unbeatable texture, all wrapped in a smooth, fluffy cream cheese frosting. The result is a deeply spiced, legendary cake that stays fresh for days.
Prep Time 30 minutes
Cook Time 35 minutes
Total Time 1 hour 5 minutes
Servings: 12
Course: Dessert
Cuisine: American
Calories: 550

Ingredients
  

  • 2 teaspoons baking soda
  • 1 ½ teaspoons ground cinnamon
  • ½ teaspoon ground ginger
  • ¼ teaspoon ground nutmeg
  • 1 teaspoon fine sea salt
  • 1 ¼ cups 250ml) neutral oil (like avocado or grapeseed
  • 4 large eggs, at room temperature
  • 1 teaspoon pure vanilla extract
  • ½ cup 120g
  • ½ cup 50g) chopped walnuts or pecans (optional
  • ½ cup 115g
  • 1 teaspoon pure vanilla extract
  • ¼ teaspoon fine sea salt

Equipment

  • Two 9-inch round cake pans or one 9x13-inch pan
  • Parchment paper
  • Mixing bowls (medium and large)
  • Whisk
  • Rubber spatula
  • Box grater
  • Fine-mesh strainer
  • Measuring cups and spoons
  • Toothpick or cake tester
  • Wire cooling rack
  • Hand mixer or stand mixer

Method
 

  1. Preheat oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line a 9x13-inch pan with parchment paper.
  2. In a medium bowl, whisk together the flour, baking soda, cinnamon, ginger, nutmeg, and salt. Set aside.
  3. In a large bowl, whisk the granulated sugar, brown sugar, and oil until well combined.
  4. Add the eggs one at a time, whisking thoroughly after each addition. Stir in the 1 teaspoon of vanilla extract.
  5. Add the dry ingredients to the wet ingredients in two additions, folding with a spatula until just a few streaks of flour remain.
  6. Fold in the grated carrots, drained pineapple, and nuts (if using) until the batter is uniform. Do not overmix.
  7. Divide the batter evenly between the prepared pans. Bake for 30-35 minutes (or 40-45 for a 9x13 pan), until a toothpick inserted into the center comes out clean.
  8. Cool the cakes in the pans for 15 minutes, then turn out onto a wire rack to cool completely before frosting.
  9. For the Frosting: Using a hand mixer or stand mixer, beat the cream cheese and butter on medium speed until completely smooth and creamy, about 2 minutes.
  10. Beat in the 1 teaspoon of vanilla extract and the ¼ teaspoon of salt.
  11. With the mixer on low, gradually add the sifted powdered sugar until incorporated.
  12. Increase the mixer speed to medium-high and beat for 2 more minutes until the frosting is light and fluffy.
  13. Frost the completely cooled cake layers with the cream cheese frosting.

Notes

For the best texture, use the fine holes on your grater for the carrots and ensure the pineapple is very well-drained. The cake layers must be completely cool before frosting to prevent melting. Store the frosted cake, covered, in the refrigerator for up to 5 days. For a nut-free version, simply omit the walnuts/pecans. You can add ½ cup of raisins or shredded coconut for variation. Allow the cake to sit at room temperature for 30 minutes before serving for optimal flavor and texture.