This Ultimate Moist Carrot Cake is everything a classic American carrot cake should be: exceptionally moist, tender, warmly spiced, and packed with freshly grated carrots and crunchy pecans. The generous amount of carrots keeps the cake soft for days, while brown sugar adds a deeper caramel-like sweetness.
The cake is finished with a thick layer of tangy cream cheese frosting, which balances the sweetness and warm cinnamon-nutmeg flavor beautifully. Chopped pecans add just enough crunch without making the cake feel heavy.
It’s an ideal celebration cake for Easter, Thanksgiving, birthdays, Mother's Day, spring gatherings, or any occasion that calls for a classic homemade layer cake.
Ingredients

For the Carrot Cake
- 2 cups (250g) all-purpose flour
- 2 teaspoons baking soda
- 1 teaspoon baking powder
- 2 teaspoons ground cinnamon
- ½ teaspoon ground nutmeg
- ½ teaspoon salt
- 1 cup (200g) granulated sugar
- 1 cup (200g) packed light brown sugar
- 1¼ cups (300ml) vegetable or canola oil
- 4 large eggs, room temperature
- 1 teaspoon pure vanilla extract
- 3 cups (about 300g) finely grated fresh carrots
- 1 cup (100g) chopped pecans
- Extra chopped pecans, for decorating
For the Cream Cheese Frosting
- 16 ounces (450g) full-fat brick cream cheese, softened
- ½ cup (115g) unsalted butter, softened
- 4 cups (500g) powdered sugar
- 1½ teaspoons pure vanilla extract
- Pinch of salt
How to Make Ultimate Moist Carrot Cake
Step 1 – Prepare the Pans
Preheat the oven to 350°F (175°C).
Grease two 9-inch round cake pans. Line the bottoms with parchment paper, then lightly grease the parchment.
For extra insurance against sticking, dust the sides lightly with flour.
Step 2 – Toast the Pecans
Spread the chopped pecans onto a baking sheet.
Toast for approximately 5–7 minutes, until fragrant.
Allow them to cool completely.
This small extra step gives the finished cake a noticeably deeper nutty flavor.
Step 3 – Combine the Dry Ingredients
In a medium bowl, whisk together:
- Flour
- Baking soda
- Baking powder
- Cinnamon
- Nutmeg
- Salt
Set aside.
Step 4 – Combine the Sugars & Oil
In a large mixing bowl, whisk together the granulated sugar, brown sugar, and vegetable oil.
The mixture will look glossy and slightly thick.
Using oil rather than butter is one of the reasons this carrot cake stays exceptionally moist.
Step 5 – Add the Eggs
Add the eggs one at a time, whisking well after each addition.
Add the vanilla and mix until smooth.
Step 6 – Add the Dry Ingredients
Add the flour mixture to the wet ingredients.
Using a rubber spatula, gently fold until the batter is almost combined.
Don't continue mixing until perfectly smooth at this point.
Step 7 – Add the Carrots & Pecans
Fold in the freshly grated carrots and toasted pecans.
Continue folding just until everything is evenly distributed and no dry flour remains.
The batter will be thick and loaded with carrots.
Don't overmix.
Bake the Cake
Step 8 – Divide the Batter
Divide the batter evenly between the prepared cake pans.
For perfectly even layers, weigh the filled pans with a kitchen scale.
Smooth the tops gently.
Step 9 – Bake
Bake at 350°F (175°C) for approximately 30–38 minutes.
The cakes are ready when:
- The tops spring back lightly when touched
- The edges begin pulling slightly away from the pans
- A toothpick inserted into the center comes out with a few moist crumbs but no wet batter
Avoid overbaking.
Step 10 – Cool
Let the cakes cool in their pans for approximately 15 minutes.
Run a thin knife around the edges if necessary, then carefully turn the cakes onto wire racks.
Remove the parchment and let the layers cool completely before frosting.
Never frost a warm carrot cake—the cream cheese frosting will melt.
Make the Cream Cheese Frosting
Step 11 – Beat the Butter
Place the softened butter in a large bowl.
Beat for approximately 1–2 minutes, until smooth and creamy.
Step 12 – Add the Cream Cheese
Add the softened cream cheese.
Beat on medium-low speed just until smooth and combined.
Avoid excessively whipping cream cheese frosting, which can make it too soft.
Step 13 – Add Powdered Sugar
Add the powdered sugar gradually, approximately 1 cup at a time.
Mix on low speed after each addition.
Add the vanilla and salt.
Continue mixing only until the frosting is smooth, creamy, and spreadable.
If it becomes too soft, refrigerate it for 15–30 minutes before assembling the cake.
Assemble the Carrot Cake
Step 14 – Add the First Frosting Layer
Place one completely cooled cake layer on a serving plate or cake stand.
Spread a generous layer of cream cheese frosting over the top.
Step 15 – Add the Second Cake Layer
Place the second cake layer over the frosting.
Gently press it into position.
Spread cream cheese frosting over the top and sides of the cake.
You can make the frosting perfectly smooth or create soft rustic swirls with an offset spatula.
Step 16 – Decorate with Pecans
Press chopped toasted pecans around the lower edge, sides, or back portion of the cake, depending on your preferred presentation.
For a classic bakery finish, pipe several cream cheese frosting swirls around the top and sprinkle each with a few chopped pecans.
Refrigerate the finished cake for approximately 30–60 minutes before slicing.
Chef's Tips for the Moistest Carrot Cake
- Grate fresh carrots yourself. Packaged shredded carrots are usually too thick and dry.
- Use the fine or medium holes of a box grater.
- Don't squeeze moisture from the grated carrots.
- Use a neutral oil such as vegetable or canola oil.
- Measure the flour carefully.
- Pack the brown sugar when measuring.
- Use room-temperature eggs.
- Toast the pecans for stronger flavor.
- Don't overmix after adding flour.
- Don't overbake the cake.
- Cool the layers completely before frosting.
- Use full-fat brick cream cheese—not cream cheese spread from a tub.
- Don't excessively beat the finished cream cheese frosting.
The Secret to an Exceptionally Moist Carrot Cake
Three ingredients do most of the work: oil, brown sugar, and fresh carrots.
Oil remains liquid at room temperature, so the cake stays softer than many butter-based cakes even after refrigeration.
Brown sugar contains molasses, which contributes additional moisture and a deeper flavor.
And those 3 full cups of freshly grated carrots release moisture as the cake bakes.
The result is a cake that should feel rich and moist without becoming gummy or greasy.
The Secret to Better Carrot Texture
Avoid buying bags of thick pre-shredded carrots.
Those are excellent for salads, but they're usually too coarse and dry for a tender carrot cake.
Instead, peel whole carrots and grate them immediately before making the batter.
Finely grated carrots distribute throughout the cake and soften beautifully during baking, giving you carrot flavor and moisture without large crunchy pieces.
How to Keep Cream Cheese Frosting Thick
Cream cheese frosting can quickly become runny if it's overmixed.
For a more stable frosting:
- Use full-fat brick cream cheese.
- Let it soften, but don't let it become warm.
- Beat the butter first.
- Add cream cheese and mix only until combined.
- Add powdered sugar gradually.
- Don't whip the finished frosting excessively.
If your kitchen is warm, refrigerate the frosting for 15–30 minutes before decorating.
Delicious Variations
Pineapple Carrot Cake
Fold ¾ cup well-drained crushed pineapple into the batter.
Because pineapple introduces extra moisture, drain it thoroughly.
Raisin Carrot Cake
Add ¾ cup raisins along with the carrots and pecans.
Walnut Carrot Cake
Replace the pecans with an equal amount of toasted walnuts.
Coconut Carrot Cake
Add ¾ cup sweetened shredded coconut.
Orange Carrot Cake
Add 1 tablespoon finely grated orange zest to the batter and 1 teaspoon zest to the frosting.
Three-Layer Carrot Cake
Divide the batter among three 8-inch pans.
Begin checking for doneness earlier because thinner layers bake more quickly.
What to Serve With Carrot Cake
Carrot cake pairs especially well with:
- Hot coffee
- Espresso
- Black tea
- Chai
- Cold milk
- Fresh berries
- Vanilla ice cream
For Easter or a spring celebration, serve it after a savory meal with fresh strawberries and hot coffee.
Make-Ahead Tips
The cake layers can be baked 1–2 days ahead.
Cool them completely, wrap tightly in plastic wrap, and refrigerate.
You can also freeze unfrosted layers for up to 2 months.
The cream cheese frosting can be prepared about 2 days ahead and refrigerated in an airtight container. Let it soften slightly and gently stir before using.
The fully assembled cake is actually excellent after an overnight rest in the refrigerator because the flavors have more time to develop.
Storage
Refrigerator
Because of the cream cheese frosting, store the finished cake covered in the refrigerator.
It will keep well for approximately 4–5 days.
For the best texture, take individual slices out of the refrigerator about 20–30 minutes before serving.
Freezer
Unfrosted cake layers freeze particularly well.
Wrap each cooled layer tightly in plastic wrap and then foil.
Freeze for up to 2 months.
The assembled cake can also be frozen in individual slices.
Notes
- This recipe makes one two-layer 9-inch carrot cake, approximately 10–12 servings.
- Use freshly grated carrots for the best moisture and texture.
- Toasting the pecans is optional but highly recommended.
- For even more pronounced spice, increase the cinnamon to 2½ teaspoons or add a small pinch of ground ginger.
- Don't judge doneness by color alone; carrot cake naturally becomes deeply golden because of the brown sugar and spices.
- A toothpick should have a few moist crumbs rather than wet batter. Waiting until the cake looks extremely dry is likely to result in overbaking.
- The cake tastes especially good after resting overnight, making it a convenient dessert for entertaining.
- Ultimate Moist Carrot Cake is perfect for Easter, Thanksgiving, Mother's Day, birthdays, spring celebrations, Sunday dinners, or anytime you want an old-fashioned American layer cake with plenty of cream cheese frosting.