Moist Carrot Cake Recipe: Soft Layers, Rich Frosting, and a Tender Crumb

Posted on April 7, 2026

Slice of moist carrot cake recipe with cream cheese frosting and chopped nuts on a plate beside coffee

Difficulty

Prep time

Cooking time

Total time

Servings

A moist carrot cake recipe should give you soft layers, balanced spice, and cream cheese frosting that holds its shape without feeling heavy. This version keeps the batter simple, uses everyday ingredients, and bakes into a cake that stays tender for days, making it a strong choice for holidays, birthdays, or weekend baking.

Prep Map

Why This Moist Carrot Cake Recipe Works

This moist carrot cake recipe gets its soft texture from oil, brown sugar, fresh grated carrots, and crushed pineapple that adds gentle moisture without making the batter loose. The spice stays warm but not overpowering, and the cream cheese frosting brings richness that matches the cake instead of covering it up.

It also holds well in the fridge, which makes it a smart make-ahead dessert. For more carrot cake ideas, see these related recipes:

Ingredients for Moist Carrot Cake Recipe

For the cake

  • 2 cups all-purpose flour
  • 2 teaspoons baking powder
  • 1 teaspoon baking soda
  • 1/2 teaspoon fine salt
  • 2 teaspoons ground cinnamon
  • 1/2 teaspoon ground nutmeg
  • 1 cup granulated sugar
  • 1 cup light brown sugar
  • 1 1/4 cups neutral oil
  • 4 large eggs
  • 2 teaspoons vanilla extract
  • 3 cups finely grated carrots
  • 3/4 cup chopped pecans or walnuts
  • 1/2 cup crushed pineapple, drained well

For the frosting

  • 16 ounces cream cheese, softened
  • 1 cup unsalted butter, softened
  • 4 cups powdered sugar
  • 2 teaspoons vanilla extract
  • Pinch of salt

How to Make This Moist Carrot Cake Recipe

1. Prep the pans

Heat the oven to 350°F. Grease two 9-inch round cake pans, line the bottoms with parchment, and lightly grease the parchment. Good pan prep helps the layers release cleanly.

2. Mix the dry ingredients

In a medium bowl, whisk together the flour, baking powder, baking soda, salt, cinnamon, and nutmeg. This gives the batter an even rise and steady flavor.

3. Mix the wet ingredients

In a large bowl, whisk the granulated sugar, brown sugar, oil, eggs, and vanilla until smooth and glossy.

4. Build the batter

Add the dry ingredients to the wet mixture and stir just until combined. Fold in the grated carrots, chopped nuts, and drained pineapple. Do not keep mixing once the flour disappears. That step matters in a moist carrot cake recipe because too much mixing can make the crumb tighter.

5. Bake

Divide the batter evenly between the pans. Bake for 30 to 36 minutes, or until the centers spring back lightly and a tester comes out with a few moist crumbs. Let the cakes cool in the pans for 15 minutes, then turn them out onto racks to cool fully.

6. Make the frosting

Beat the cream cheese and butter until smooth. Add the powdered sugar in batches, then mix in the vanilla and salt. Beat until creamy and spreadable. If it feels too soft, chill it for 10 to 15 minutes.

7. Assemble the cake

Set one layer on a cake stand or plate. Spread frosting over the top, add the second layer, then frost the top and sides. Finish with chopped nuts on top if you want a little texture and contrast. Chill the cake for 20 to 30 minutes before slicing for cleaner pieces.

Tips for the Best Moist Carrot Cake Recipe

Grate the carrots finely

Fine shreds soften into the crumb better than thick pieces. That keeps the texture even and helps this moist carrot cake recipe stay tender.

Drain the pineapple

Pineapple gives the cake extra softness, but too much liquid can weigh down the layers. Press out the excess juice before adding it.

Use oil instead of butter in the batter

Oil helps cakes stay soft longer, which is one reason this moist carrot cake recipe keeps well after the first day.

Mix gently

Once the flour goes in, stir only until the batter comes together. That small choice can make a big difference in cake texture.

Frost only when cool

Warm cake will soften the frosting too much. Cool layers give you clean assembly and a neater finish.

Storage and Make-Ahead Notes

Store this moist carrot cake recipe covered in the refrigerator for up to 5 days. Let slices sit at room temperature for about 15 to 20 minutes before serving so the frosting softens slightly.

You can bake the layers one day ahead, wrap them well, and chill them until ready to frost. Unfrosted layers also freeze well for up to 2 months. Thaw in the refrigerator before assembling.

People Also Ask

What’s the secret to a super moist carrot cake?

The secret to a super moist carrot cake is using ingredients that hold moisture well, like oil, brown sugar, fresh grated carrots, and a small amount of drained pineapple. Gentle mixing also helps keep the crumb soft instead of heavy.

What is the secret ingredient in carrot cake?

For many bakers, the secret ingredient in carrot cake is crushed pineapple. It adds moisture and subtle sweetness while helping the cake stay tender for longer. In this moist carrot cake recipe, it supports the texture without making the flavor too fruity.

What is the trick to making a moist cake?

The trick to making a moist cake is balancing the fat, sugar, and liquid while avoiding overmixing and overbaking. Measuring carefully, using oil when a softer crumb matters, and pulling the cake once a tester shows moist crumbs all help.

What is a secret ingredient to moisten cakes?

A strong ingredient for moist cakes is oil because it keeps the crumb soft even after chilling. Other useful ingredients include applesauce, sour cream, yogurt, or crushed pineapple, depending on the style of cake.

Follow Us for more recipes on and Pinterest

Print

Moist Carrot Cake Recipe: Soft Layers, Rich Frosting, and a Tender Crumb

5 Stars 4 Stars 3 Stars 2 Stars 1 Star

No reviews

This moist carrot cake recipe makes soft layers with fresh grated carrots, warm spices, chopped nuts, crushed pineapple, and cream cheese frosting. It is easy to bake, simple to frost, and works well for holidays, birthdays, and everyday dessert.

  • Author: Dominika Zawadzka
  • Prep Time: 25M
  • Cook Time: 35M
  • Total Time: 2H
  • Yield: 12 slices 1x
  • Category: Dessert
  • Method: Baking
  • Cuisine: American
  • Diet: Vegetarian

Ingredients

Scale

2 cups all-purpose flour

2 teaspoons baking powder

1 teaspoon baking soda

1/2 teaspoon salt

2 teaspoons ground cinnamon

1/2 teaspoon ground nutmeg

1 cup granulated sugar

1 cup light brown sugar

1 1/4 cups neutral oil

4 large eggs

2 teaspoons vanilla extract

3 cups finely grated carrots

3/4 cup chopped pecans or walnuts

1/2 cup crushed pineapple, drained well

16 ounces cream cheese, softened

1 cup unsalted butter, softened

4 cups powdered sugar

2 teaspoons vanilla extract

Pinch of salt

Instructions

1. Heat the oven to 350°F and grease two 9-inch round cake pans. Line the bottoms with parchment paper.

2. Whisk the flour, baking powder, baking soda, salt, cinnamon, and nutmeg in a medium bowl.

3. Whisk the granulated sugar, brown sugar, oil, eggs, and vanilla in a large bowl until smooth.

4. Add the dry ingredients to the wet ingredients and stir just until combined.

5. Fold in the grated carrots, chopped nuts, and drained pineapple.

6. Divide the batter evenly between the prepared pans and bake for 30 to 36 minutes, or until a tester comes out with a few moist crumbs.

7. Cool the cakes in the pans for 15 minutes, then turn them out onto wire racks and cool completely.

8. Beat the cream cheese and butter until smooth. Add the powdered sugar, vanilla, and salt, then beat until creamy.

9. Place one cake layer on a serving plate, spread frosting over the top, add the second layer, then frost the top and sides.

10. Chill the cake for 20 to 30 minutes before slicing and serving.

Notes

Grate the carrots finely for the best crumb. Drain the crushed pineapple well so the batter stays balanced. Mix gently once the flour goes in. Store the finished cake covered in the refrigerator for up to 5 days.

Nutrition

  • Serving Size: 1 slice
  • Calories: 640
  • Sugar: 48g
  • Sodium: 320mg
  • Fat: 36g
  • Saturated Fat: 11g
  • Unsaturated Fat: 22g
  • Trans Fat: 0g
  • Carbohydrates: 76g
  • Fiber: 2g
  • Protein: 6g
  • Cholesterol: 95mg

Did you make this recipe?

Share a photo and tag us — we can’t wait to see what you’ve made!

Tags:

You might also like these recipes

Leave a Comment

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star