Moist Carrot Cake with Cream Cheese Frosting

Featured in: Simple Baking Projects

This classic carrot cake delivers exceptional moistness from freshly grated carrots and crushed pineapple, while warm spices like cinnamon, nutmeg, and ginger create depth. The tender crumb comes from the perfect balance of oil and eggs, while chopped walnuts or pecans add satisfying crunch throughout. The star of the show is undoubtedly the velvety cream cheese frosting—tangy, sweet, and incredibly smooth.

What makes this version special is the combination of fruit and nuts, which not only enhances texture but also keeps the cake fresh for days. The batter comes together quickly without requiring any special equipment beyond standard mixing bowls and pans.

Baking at 350°F ensures even rising, and the 35-40 minute cook time yields perfectly cooked layers that don't dry out. Let the cakes cool completely before frosting—this step is crucial for that professional-looking finish.

Updated on Wed, 14 Jan 2026 15:31:00 GMT
A close-up of frosted carrot cake slices revealing moist crumb and chopped nuts. Save
A close-up of frosted carrot cake slices revealing moist crumb and chopped nuts. | casaafer.com

The first time I attempted carrot cake, I stood over my box grater with three carrots and wondered if my arms would give out before the batter was ready. My kitchen filled with the sweet earthy scent of freshly grated carrots while cinnamon and nutmeg danced through the air. That afternoon taught me that some cakes are worth the extra effort, and this particular recipe has become the one I turn to for birthdays, potlucks, and Tuesdays that need a little celebration.

I brought this cake to my neighbor's housewarming last spring and watched her eyes widen when she saw the layers stacked on her counter. By the end of the evening, she was asking for the recipe and I was promising to teach her my grater technique over coffee the next week. Something about the combination of sweet pineapple and toasted walnuts makes people feel instantly at home.

What's for Dinner Tonight? 🤔

Stop stressing. Get 10 fast recipes that actually work on busy nights.

Free. No spam. Just easy meals.

Ingredients

  • 2 cups all-purpose flour: The structure that holds all those beautiful add-ins together without becoming heavy or dense
  • 2 tsp ground cinnamon plus nutmeg and ginger: This warm spice trio is what makes carrot cake taste like comfort and conversation
  • 1 1/2 tsp baking powder and 1 tsp baking soda: Both leavening agents work together to give the cake lift while the heavy ingredients weigh it down
  • 1 cup granulated sugar and 1/2 cup brown sugar: The combination creates depth while brown sugar adds a subtle caramel note that white sugar alone cannot achieve
  • 1 cup vegetable oil: Oil keeps the cake incredibly moist longer than butter would and creates the most tender crumb imaginable
  • 4 large eggs: These provide structure and richness so the cake can support all those glorious mix-ins without falling
  • 2 tsp vanilla extract: Pure vanilla enhances all the other flavors and rounds out the spice profile beautifully
  • 2 cups grated carrots: Freshly grated carrots release moisture during baking and create those signature orange flecks throughout the crumb
  • 1 cup chopped walnuts or pecans: Toasted nuts add crunch and earthiness that balance the sweet frosting perfectly
  • 1 cup crushed pineapple well-drained: The secret ingredient that makes this cake exceptionally moist and adds tropical sweetness
  • 8 oz cream cheese and 1/2 cup butter for frosting: Room temperature ingredients are non-negotiable here for that silky smooth texture
  • 2 1/2 cups powdered sugar: Sifted twice to prevent any lumps in your frosting

Tired of Takeout? 🥡

Get 10 meals you can make faster than delivery arrives. Seriously.

One email. No spam. Unsubscribe anytime.

Instructions

Preheat your oven to 350°F and prepare your pans:
Grease and flour two 9-inch round cake pans thoroughly or line them with parchment paper circles for easy release later
Whisk together your dry ingredients:
In a large bowl combine flour cinnamon nutmeg ginger baking powder baking soda and salt until everything is evenly distributed
Beat the sugars and oil together:
Mix granulated sugar brown sugar and oil in another bowl until well combined then add eggs one at a time beating well after each addition before stirring in vanilla
Combine the wet and dry mixtures:
Gradually add the dry ingredients to the wet mixture mixing only until just combined to avoid developing too much gluten
Fold in all the good stuff:
Gently incorporate grated carrots nuts drained pineapple and raisins if using until evenly distributed throughout the batter
Bake until perfectly done:
Divide batter between prepared pans and bake for 35 to 40 minutes until a toothpick inserted into the center comes out clean
Cool completely before frosting:
Let cakes rest in pans for 10 minutes then turn them onto a wire rack to cool entirely which prevents the frosting from melting
Make the frosting:
Beat softened cream cheese and butter until smooth then gradually add sifted powdered sugar vanilla and pinch of salt beating until light and fluffy
Assemble and decorate:
Spread frosting between layers and over the top and sides of the completely cooled cake then garnish with extra nuts or grated carrot if desired
Freshly baked carrot cake layers with cream cheese frosting and walnut garnish on a plate. Save
Freshly baked carrot cake layers with cream cheese frosting and walnut garnish on a plate. | casaafer.com

Last summer my daughter helped me make this for her 8th birthday and she insisted on grating all the carrots herself. Standing side by side at the counter with orange-stained hands she told me this was the best cake ever and I had to agree that some moments just taste sweeter with shared effort.

Still Scrolling? You'll Love This 👇

Our best 20-minute dinners in one free pack — tried and tested by thousands.

Trusted by 10,000+ home cooks.

Getting The Texture Right

Do not overmix the batter once you add the dry ingredients or the cake will become tough instead of tender. A few streaks of flour are better than an overworked batter and the folding step for the mix-ins should be gentle to maintain airiness.

Frosting Like A Pro

Apply a thin crumb coat of frosting first and chill the cake for 15 minutes before adding the final layer. This simple step catches any loose crumbs and gives your finished cake that bakery-perfect smooth appearance.

Make Ahead And Storage

The cake layers actually develop more flavor if wrapped tightly and refrigerated overnight before frosting. This recipe stays moist in the refrigerator for up to five days and the frosted cake can be frozen for up to three months if you need to get ahead.

  • Bring the cake to room temperature for about 30 minutes before serving for the best texture and flavor
  • Press walnuts into the sides of the frosted cake immediately after frosting so they adhere properly
  • Place toothpicks in the top of the cake and drape plastic wrap over them when refrigerating to protect the frosting
A rustic carrot cake slice topped with grated carrots and walnuts, served beside hot coffee. Save
A rustic carrot cake slice topped with grated carrots and walnuts, served beside hot coffee. | casaafer.com

Whether you are celebrating something big or just making a regular Tuesday feel special this carrot cake has a way of making any moment memorable.

Recipe FAQs

Why is my carrot cake dry?

Dry carrot cake usually results from overbaking or using too little oil. This version uses a full cup of vegetable oil and includes crushed pineapple, both of which ensure exceptional moistness. Always test with a toothpick and remove from the oven as soon as it comes out clean.

Can I make carrot cake ahead of time?

Absolutely. In fact, carrot cake often tastes better the next day as flavors meld together. You can bake the layers up to 2 days in advance, wrap them tightly in plastic, and store at room temperature. Frost just before serving for the freshest texture.

What's the purpose of pineapple in carrot cake?

Crushed pineapple adds natural sweetness and extra moisture without making the cake soggy. The fruit's enzymes also help tenderize the crumb. Be sure to drain it well to maintain the proper batter consistency.

Should carrots be peeled before grating?

While not strictly necessary, peeling carrots removes any bitter skin and ensures a sweeter, more uniform appearance in the finished cake. Use the fine side of a box grater or a food processor for consistent texture.

How do I prevent cream cheese frosting from melting?

Always start with room temperature ingredients but avoid overbeating, which can cause the frosting to become too soft. If your kitchen is warm, chill the frosted cake for 15-30 minutes to set the frosting before serving.

Can I substitute the oil in carrot cake?

While melted butter adds flavor, it won't provide the same moistness as vegetable oil. For the best texture, stick with neutral oils like canola or vegetable. If you prefer coconut oil, ensure it's melted but not hot when combining with eggs.

20-Minute Dinner Pack — Free Download 📥

10 recipes, 1 shopping list. Everything you need for a week of easy dinners.

Instant access. No signup hassle.

Moist Carrot Cake with Cream Cheese Frosting

A moist, spiced cake loaded with fresh carrots, nuts, and pineapple, finished with rich cream cheese frosting.

Prep Time
25 mins
Cook Time
40 mins
Time Required
65 mins
Recipe by Patrick OBrien


Skill Level Medium

Cuisine American

Makes 12 Portions

Dietary info Vegetarian-Friendly

What You'll Need

Cake Dry Ingredients

01 2 cups all-purpose flour
02 2 tsp ground cinnamon
03 1/2 tsp ground nutmeg
04 1/2 tsp ground ginger
05 1 1/2 tsp baking powder
06 1 tsp baking soda
07 1/2 tsp salt
08 1 cup granulated sugar
09 1/2 cup light brown sugar, packed

Cake Wet Ingredients

01 1 cup vegetable oil
02 4 large eggs
03 2 tsp vanilla extract

Cake Add-ins

01 2 cups grated carrots (3–4 medium carrots)
02 1 cup chopped walnuts or pecans
03 1 cup crushed pineapple, well-drained
04 1/2 cup raisins (optional)

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 tsp vanilla extract
05 Pinch of salt

Preparation Steps

Step 01

Prepare Oven and 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 until evenly blended.

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 thoroughly after each addition. Stir in vanilla extract.

Step 04

Combine Batter: Gradually add the dry ingredients to the wet mixture and mix until just combined. Do not overmix.

Step 05

Fold in Add-ins: Gently fold in grated carrots, chopped nuts, pineapple, and raisins (if using) until evenly distributed throughout the batter.

Step 06

Fill Pans: Divide the batter evenly between the prepared pans, smoothing the tops with a spatula.

Step 07

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

Step 08

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

Step 09

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

Step 10

Frost 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.

You Just Made Something Great 👏

Want more like this? Get my best easy recipes — free, straight to your inbox.

Join 10,000+ home cooks. No spam.

Tools Needed

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

Allergy information

Be sure to review each component for allergens and talk with your doctor if you're unsure.
  • 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.

Nutrition Info (each serving)

This data helps inform you, but isn't a substitute for advice from your healthcare provider.
  • kcal: 430
  • Fats: 26 g
  • Carbohydrates: 48 g
  • Proteins: 5 g

Cooking Shouldn't Be Hard ❤️

Get a free recipe pack that makes weeknight dinners effortless. Real food, real fast.

Free forever. Unsubscribe anytime.