Moist carrot cake

Featured in: Desserts & Baking
This moist carrot cake is a timeless favorite, featuring freshly grated carrots and pineapple for exceptional moisture and a tender crumb. Topped with a rich, tangy cream cheese frosting, it's the ultimate dessert for any occasion and guarantees a perfectly moist carrot cake every time.
A classic carrot cake with thick cream cheese frosting and chopped walnuts on a rustic stand Pin it
A classic carrot cake with thick cream cheese frosting and chopped walnuts on a rustic stand | traditionalmeals.com

This moist carrot cake has been the star of countless family celebrations in my kitchen, and it never fails to earn rave reviews. That perfect texture comes from the classic American tradition of using oil and adding crushed pineapple for an extra tender crumb that stays soft for days. It’s the warmth of cinnamon and the tangy cream cheese frosting that makes it a timeless dessert you’ll want to make again and again. You can taste the care in every bite, a true testament to simple ingredients done right.

Ingredients You’ll Need

  • All-purpose flour: the reliable structure for a tender cake that rises beautifully, spoon and level it for the perfect measure.
  • Baking soda: your leavening agent that reacts with the pineapple’s acidity to give the cake its perfect lift and airy crumb.
  • Salt: just enough to balance all the sweetness and enhance the warm spices in the batter.
  • Ground cinnamon: the essential warm spice that defines a classic carrot cake, use a fresh jar for the best aroma.
  • Large eggs: bind everything together and contribute to the cake’s rich texture and golden color, room temperature is key.
  • Vegetable oil: the secret to an incredibly moist carrot cake that stays tender for days, a neutral oil works best.
  • Granulated sugar: provides sweetness and helps create a delicate crumb structure in your final cake.
  • Light brown sugar: adds a subtle molasses flavor and extra moisture, pack it firmly into your measuring cup.
  • Vanilla extract: rounds out all the flavors with its warm, fragrant notes, pure extract makes a noticeable difference.
  • Finely grated carrots: the star of the show, fresh carrots give the best flavor and moisture, skip the pre-shredded bags.
  • Crushed pineapple, well-drained: the magic ingredient for next-level moisture and a hint of tropical sweetness, squeeze it dry.
  • Chopped walnuts: add wonderful texture and a toasty flavor that complements the spices perfectly.
  • Cream cheese, softened: the base of that iconic frosting, full-fat block cheese gives the best stability and rich tang.
  • Unsalted butter, softened: whipped with the cream cheese for a silky, spreadable frosting that holds its shape.
  • Powdered sugar, sifted: sweetens and thickens the frosting, sifting prevents lumps for a perfectly smooth finish.
  • Vanilla extract: a splash in the frosting ties all the sweet and tangy elements together beautifully.

How to Make It

Preheat and Prepare Your Pans:
Start by preheating your oven to 350°F so it’s perfectly hot when your batter is ready. Grease and flour your chosen pan, either a 9×13-inch rectangle or two round cake pans, to ensure your cake releases cleanly after baking. This simple step is non-negotiable for success.

Whisk the Dry Ingredients:
In a medium bowl, whisk together the flour, baking soda, salt, and cinnamon. Doing this first ensures the leavening and spices are evenly distributed throughout your batter, which means every bite is consistent. Just whisk until you don’t see any streaks.

Combine the Wet Ingredients:
In a large bowl, beat the eggs until they look frothy and light. Then pour in the oil, both sugars, and vanilla. Beat everything on medium speed until it’s completely smooth and well-blended. This mixture will look glossy and thick, which is exactly what you want.

Bring the Batter Together:
Gradually add your bowl of dry ingredients into the wet mixture, mixing on low speed just until the flour disappears. The key here is to stop the moment you no longer see dry streaks; overmixing leads to a tough cake.

Fold in the Goodies:
Now, use a spatula to gently fold in the grated carrots, thoroughly drained pineapple, and chopped walnuts. You want everything evenly distributed without deflating the air you just incorporated. The batter will be thick and packed with texture.

Bake to Perfection:
Pour the batter into your prepared pan(s) and smooth the top. Bake as directed, but start checking a few minutes early. You’ll know it’s done when the top springs back lightly and a toothpick poked in the center comes out clean.

Cool Completely:
Let the cake cool in its pan on a wire rack for just 10 minutes. Then, carefully turn it out onto the rack to cool all the way to room temperature. This takes about an hour and is crucial for frosting, or your frosting will melt right off.

Make the Cream Cheese Frosting:
While the cake cools, beat the softened cream cheese and butter together until perfectly smooth and creamy. Gradually add the sifted powdered sugar on low speed to avoid a cloud of sugar, then add the vanilla and beat on high until it’s fluffy and dreamy.

Frost and Garnish:
Once your cake is completely cool, spread that luscious frosting all over the top and sides if you’re feeling fancy. For a simple finish, just pile it on top. Sprinkle with extra walnuts or a few carrot curls for that professional bakery touch before you slice.

Close-up slice of moist carrot cake showing specks of carrot, pineapple, and walnuts

Storage Tips

Store your frosted cake covered tightly in the fridge where it’ll stay perfect for up to five days. I like to let it sit out for about 30 minutes before serving to take the chill off and let the frosting soften up. If you want to get ahead, you can wrap the cooled, unfrosted cake layers tightly in plastic wrap and then foil and freeze them for up to three months. Just thaw them overnight in the fridge or at room temperature before you frost and serve.

Ingredient Substitutions

If you’re out of walnuts, pecans make a fantastic swap with their buttery flavor, or you can simply leave nuts out entirely for an allergy-friendly version. For a gluten-free moist carrot cake, use a trusted cup-for-cup gluten-free flour blend in the same amount as the all-purpose flour. In the frosting, you can use a plant-based cream cheese and butter alternative, though the texture might be a bit softer. While fresh pineapple is ideal, canned crushed pineapple in juice (not syrup) drained very well works perfectly in a pinch.

Serving Suggestions

This cake is absolutely perfect with a hot cup of coffee or a glass of cold milk, the kind of simple pairing that feels like a warm hug. For a special brunch or afternoon tea, slice it into smaller squares and serve alongside fresh fruit salad to cut through the richness. It’s also a guaranteed showstopper as the grand finale to any dinner party, especially during the holidays or spring gatherings when its spiced warmth feels just right.

Cultural Context

This moist carrot cake is a true American classic, with roots that some trace back to the resourceful home bakers of the Great Depression who used sweet carrots to extend sugar supplies. It really soared in popularity during the 1970s when cream cheese frosting became its iconic partner, securing its place as a staple at potlucks, family reunions, and birthday celebrations across the country. Unlike the denser, spicier versions you might find in European baking, this style prioritizes a supremely tender, moist crumb and that unmistakable tangy-sweet frosting we all know and love, making it a dessert that feels both nostalgic and timeless.

Finished carrot cake with cream cheese frosting and a decorative carrot curl on top

Frequently Asked Questions

What type of carrots work best for moist carrot cake?

Fresh, whole carrots that you grate yourself yield the best texture and moisture for this moist carrot cake. Pre-packaged shredded carrots are often too dry and thick. Finely grating about 4-5 medium carrots gives you the ideal 3 cups for perfect moisture distribution and a tender bite.

Can I make this moist carrot cake ahead of time?

Absolutely! This moist carrot cake actually tastes even better the next day as the flavors meld. You can bake the cake layers up to two days in advance. Wrap them tightly in plastic wrap and store at room temperature. Frost the cake the day you plan to serve it for the freshest texture and appearance.

What can I substitute for walnuts in this moist carrot cake?

If you’re not a fan of walnuts, you can easily omit them or substitute with an equal amount of pecans, raisins, or shredded coconut. Any of these alternatives will add great texture and complement the flavors of the carrots and pineapple in this classic moist carrot cake.

How do I know when the moist carrot cake is ready?

The moist carrot cake is done when a toothpick inserted into the center comes out clean or with just a few moist crumbs attached. The edges should also start pulling away from the sides of the pan. Since ovens vary, start checking at the 30-minute mark for the listed 35-minute bake time.

What should I serve with moist carrot cake?

This rich, American-style moist carrot cake is fantastic on its own, but a cup of coffee or a glass of cold milk makes a perfect pairing. For a special brunch or dessert spread, it complements other treats like fruit salad or a scoop of vanilla ice cream beautifully.

Rate This Recipe

How would you rate this recipe?

Classic Moist Carrot Cake with Cream Cheese Frosting

This moist carrot cake is a timeless favorite, featuring freshly grated carrots and pineapple for exceptional moisture and a tender crumb. Topped with a rich, tangy cream cheese frosting, it's the ultimate dessert for any occasion and guarantees a perfectly moist carrot cake every time.

Prep Time
20 Minutes
Cook Time
35 Minutes
Total Time
55 Minutes
4.5
(281 reviews)
By: Jenny Mae Sullivan
Category: Desserts & Baking
Difficulty: Medium
Cuisine: American
Yield: 12 Servings

Ingredients

  1. 01 2 cups all-purpose flour
  2. 02 2 teaspoons baking soda
  3. 03 1/2 teaspoon salt
  4. 04 2 teaspoons ground cinnamon
  5. 05 4 large eggs
  6. 06 1 cup vegetable oil
  7. 07 1 cup granulated sugar
  8. 08 1 cup packed light brown sugar
  9. 09 2 teaspoons vanilla extract
  10. 10 3 cups finely grated carrots (from about 4-5 medium carrots)
  11. 11 1 cup crushed pineapple, well-drained
  12. 12 1 cup chopped walnuts
  13. 13 8 ounces cream cheese, softened to room temperature
  14. 14 1/2 cup unsalted butter, softened to room temperature
  15. 15 4 cups powdered sugar, sifted
  16. 16 1 teaspoon vanilla extract

Instructions

Step 01

Preheat your oven to 350°F (175°C). Grease and flour a 9x13 inch baking pan or two 9-inch round cake pans.

Step 02

In a medium bowl, whisk together the flour, baking soda, salt, and cinnamon. Set aside.

Step 03

In a large bowl, beat the eggs until frothy. Add the vegetable oil, granulated sugar, brown sugar, and 2 teaspoons vanilla extract. Beat until well combined and smooth.

Step 04

Gradually add the dry ingredients to the wet ingredients, mixing just until incorporated. Be careful not to overmix.

Step 05

Fold in the grated carrots, drained crushed pineapple, and chopped walnuts until evenly distributed throughout the batter.

Step 06

Pour the batter into the prepared pan(s). Bake for 30-35 minutes for round pans or 35-40 minutes for a 9x13 pan, or until a toothpick inserted into the center comes out clean.

Step 07

Allow the cake to cool in the pan for 10 minutes, then turn out onto a wire rack to cool completely before frosting, about 1 hour.

Step 08

To make the cream cheese frosting: In a large bowl, beat the softened cream cheese and butter together on medium speed until smooth and creamy, about 2 minutes.

Step 09

Gradually add the sifted powdered sugar, one cup at a time, beating on low speed until incorporated. Then add 1 teaspoon vanilla extract and beat on medium-high until fluffy, about 1-2 minutes.

Step 10

Once the cake is completely cool, spread the frosting evenly over the top. For layer cakes, frost between layers and then the top and sides.

Step 11

Garnish with additional chopped walnuts or carrot curls if desired.

Step 12

Slice and serve. For best results, let the frosted cake sit at room temperature for 30 minutes before serving.

Notes

This cake tastes even better the next day as the flavors fully meld, so don't be afraid to bake it ahead. If your frosting seems too soft after mixing, just pop the bowl in the fridge for 15 minutes to firm it up before spreading. Remember, the garnish is your chance to make it your own, so have fun with it.

Tools You'll Need

  • Two mixing bowls
  • Whisk
  • Electric mixer
  • 9x13 inch baking pan or two 9-inch round cake pans
  • Wire cooling rack
  • Spatula

Allergy Information

Contains gluten, dairy, eggs, and tree nuts (walnuts). For a nut-free version, omit walnuts. For gluten-free, use a 1:1 gluten-free flour blend.

Nutrition Facts (Per Serving)

Calories
480
Protein
6g
Carbohydrates
62g
Fat
24g