Moist Spiced Carrot Cake

Featured in: Easy Baking Projects

This classic American dessert features a tender, aromatic cake loaded with freshly grated carrots, toasted walnuts or pecans, and sweet crushed pineapple. The warm spices of cinnamon, nutmeg, and ginger create a comforting flavor profile that pairs beautifully with the tangy, rich cream cheese frosting. Perfect for celebrations, holidays, or afternoon tea, this cake delivers the ideal balance of sweetness and spice. The moist texture keeps well for days, making it an excellent make-ahead treat for gatherings.

Updated on Wed, 14 Jan 2026 08:27:00 GMT
A slice of homemade carrot cake with cream cheese frosting, showcasing moist crumbs and pineapple bits. Save
A slice of homemade carrot cake with cream cheese frosting, showcasing moist crumbs and pineapple bits. | claroamezruy.com

The first time I made carrot cake, I stood in my kitchen covered in flour, seriously questioning why anyone would put vegetables in dessert. My grandmother had been raving about her version for years, and I finally caved. One bite into that spiced, creamy slice and I completely understood what all the fuss was about. Now it is the one cake that disappears faster than any other at family gatherings.

I brought this cake to a potluck last spring, and my friend Sarah who claims to hate vegetables took three slices. She stood there guarding the serving table, genuinely shocked that the carrots she could taste were not just acceptable but actually delicious. Her husband texted me the next day asking for the recipe because she had not stopped talking about it.

Ingredients

  • All-purpose flour: The structure builder, do not pack it down when measuring
  • Ground cinnamon: Two teaspoons might seem like a lot but trust the warmth it brings
  • Ground nutmeg and ginger: These spices work together to create that classic carrot cake depth
  • Baking powder and baking soda: Both are necessary here for proper lift and texture
  • Salt: Just a half teaspoon to make all the flavors pop
  • Granulated and brown sugar: The combination gives sweetness plus subtle caramel notes from the brown sugar
  • Vegetable oil: Oil keeps the cake moist much longer than butter would
  • Large eggs: Room temperature eggs incorporate better into the batter
  • Vanilla extract: Do not skip this, it rounds out all the spices beautifully
  • Grated carrots: Freshly grate them yourself for the best texture and moisture
  • Chopped walnuts or pecans: Toast them first for an incredible nutty flavor throughout
  • Crushed pineapple: Drain it really well or your cake will be too dense
  • Raisins: Optional but add little bursts of sweetness if you like them
  • Cream cheese: Make sure it is completely softened for smooth frosting
  • Unsalted butter: Also softened, this helps the frosting hold its shape
  • Powdered sugar: Sifting it first prevents lumps in your frosting

Instructions

Product image
Quickly air fry vegetables, roast proteins, bake snacks, and reheat leftovers for easy everyday meals.
Check price on Amazon
Preheat your oven and prepare the pans:
Set your oven to 350°F and get your cake pans ready with grease and flour or parchment paper so nothing sticks later.
Whisk the dry ingredients together:
In a large bowl, combine all the flour, spices, baking powder, baking soda, and salt until everything is evenly distributed.
Beat the sugars and oil:
Mix the granulated sugar, brown sugar, and oil until combined, then add eggs one at a time, mixing well after each.
Combine the mixtures:
Gradually stir your dry ingredients into the wet mixture, being careful not to overmix once the flour disappears.
Add all the good stuff:
Fold in those grated carrots, toasted nuts, drained pineapple, and raisins if you are using them.
Bake until perfect:
Divide batter between your pans and bake for 35 to 40 minutes until a toothpick comes out clean.
Let them cool completely:
Give the pans 10 minutes to rest, then turn cakes onto a wire rack to cool entirely before frosting.
Make the frosting:
Beat softened cream cheese and butter until smooth, then gradually add powdered sugar, vanilla, and pinch of salt.
Frost your cake:
Once cakes are completely cool, spread that frosting between layers and all over the top and sides.
Product image
Quickly air fry vegetables, roast proteins, bake snacks, and reheat leftovers for easy everyday meals.
Check price on Amazon
Freshly baked carrot cake layers stacked high, frosted with rich cream cheese icing and walnut pieces. Save
Freshly baked carrot cake layers stacked high, frosted with rich cream cheese icing and walnut pieces. | claroamezruy.com

Last Easter, my dad who usually skips dessert went back for a second slice and actually asked if there was any left to take home. Watching him carefully scrape every bit of frosting off his plate was the moment I knew this recipe had earned its permanent place in my collection.

Making It Ahead

You can bake the cake layers a day ahead and wrap them tightly in plastic wrap at room temperature. The frosting actually spreads easier on slightly chilled cake layers, so this works out perfectly.

Texture Secrets

Grating your own carrots instead of buying pre-grated makes a noticeable difference in moisture and texture. The finer you grate them, the more evenly they distribute throughout the crumb.

Serving Suggestions

This cake is rich enough to stand on its own, but a cup of hot coffee or cold milk pairs beautifully. For special occasions, try adding a handful of toasted coconut to the top of the frosting.

  • Cover and refrigerate any leftovers for up to five days
  • Let refrigerated cake come to room temperature for best texture
  • The flavors deepen and improve after the first day
Product image
Quickly chop vegetables, mince herbs, and blend sauces for faster, everyday meal preparation.
Check price on Amazon
A close-up of carrot cake plated beside a hot beverage, highlighting its moist texture and warm spices. Save
A close-up of carrot cake plated beside a hot beverage, highlighting its moist texture and warm spices. | claroamezruy.com

There is something deeply satisfying about serving a cake that makes people forget they are eating vegetables. Happy baking.

Recipe FAQs

How do I keep my carrot cake moist?

The moisture comes from grated carrots, crushed pineapple, and vegetable oil. Avoid overbaking and store covered to maintain tenderness.

Can I make carrot cake ahead of time?

Yes! The layers can be baked and wrapped in plastic for up to 2 days before frosting. The finished cake keeps refrigerated for 5 days.

Why is my carrot cake dense?

Dense texture usually results from overmixing the batter or using too much flour. Mix until just combined and measure flour accurately.

Can I freeze carrot cake?

Wrap unfrosted layers tightly in plastic and freeze for up to 3 months. Thaw overnight before frosting and serving.

What nuts work best in carrot cake?

Walnuts and pecans are traditional choices. Toast them lightly before adding to enhance their nutty flavor and crunchy texture.

Can I substitute oil in carrot cake?

Vegetable oil creates the moistest texture. Melted coconut oil works as a substitute, though butter makes a slightly denser cake.

Moist Spiced Carrot Cake

A moist, spiced cake packed with carrots, nuts, and pineapple topped with creamy frosting

Prep Time
25 min
Time to Cook
40 min
Total Duration
65 min
Created by Elaine Schwartz


Skill Level Medium

Cuisine American

Portion Size 12 Serves

Diet Preferences Meat-Free

What You Need

For the 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–4 medium carrots)
14 1 cup chopped walnuts or pecans
15 1 cup crushed pineapple, well-drained
16 1/2 cup raisins (optional)

For the Cream Cheese Frosting

01 8 oz cream cheese, softened
02 1/2 cup unsalted butter, softened
03 2 1/2 cups powdered sugar, sifted
04 1 teaspoon vanilla extract
05 Pinch of salt

How To Make

Step 01

Preheat and Prepare Pans: Preheat oven to 350°F. Grease and flour two 9-inch round cake pans, or line with parchment paper.

Step 02

Combine Dry Ingredients: In a large bowl, whisk together flour, cinnamon, nutmeg, ginger, baking powder, baking soda, and salt.

Step 03

Mix Wet Ingredients: In another bowl, beat together granulated sugar, brown sugar, and oil until well combined. Add eggs one at a time, beating well after each addition. Stir in vanilla extract.

Step 04

Combine Mixtures: Gradually add the dry ingredients to the wet mixture and mix until just combined.

Step 05

Fold in Add-ins: Fold in grated carrots, chopped nuts, pineapple, and raisins (if using).

Step 06

Fill Pans: Divide the batter evenly between the prepared pans.

Step 07

Bake: Bake for 35–40 minutes, or until a toothpick inserted into the center comes out clean.

Step 08

Cool: Let cakes cool in pans for 10 minutes, then turn out onto a wire rack to cool completely.

Step 09

Prepare Frosting: Beat cream cheese and butter until smooth. Gradually add powdered sugar, vanilla extract, and salt; beat until light and fluffy.

Step 10

Frost the Cake: Once cakes are completely cool, spread frosting between layers and over the top and sides of the cake. Garnish with extra nuts or grated carrot, if desired.

Tools Needed

  • Mixing bowls
  • Electric mixer or whisk
  • Box grater
  • Measuring cups & spoons
  • Two 9-inch cake pans
  • Cooling rack
  • Spatula

Allergy Info

Always look over ingredients for allergens. When unsure, ask your healthcare provider.
  • Contains eggs, wheat (gluten), tree nuts, and dairy.
  • For nut-free version, omit nuts and ensure no cross-contamination.
  • Always check ingredient labels for hidden allergens.

Per Serving Nutrition

These nutrition details are for reference only—talk to your doctor for personal advice.
  • Kcal: 430
  • Fats: 26 g
  • Carbohydrates: 48 g
  • Proteins: 5 g