My Favorite Carrot Cake Recipe

My Favorite Carrot Cake Recipe: Moist, Spiced & Topped with Cream Cheese Frosting

This is the carrot cake that ends your search for the perfect recipe — impossibly moist, deeply spiced with cinnamon and nutmeg, loaded with grated carrots and toasted walnuts, and covered in thick, tangy cream cheese frosting. It’s the kind of cake that makes people genuinely emotional because it tastes exactly like the one they remember from their childhood, but better.

The moisture comes from three sources working together: grated carrots (which release water during baking), vegetable oil (which keeps the cake moist far longer than butter), and brown sugar (which is hygroscopic — it pulls moisture from the air). These three ingredients mean this cake actually gets better over 2–3 days as the flavors deepen and the crumb becomes even more tender. The cream cheese frosting is the non-negotiable partner — tangy, sweet, and thick enough to pipe or spread. Makes a stunning 2-layer 9-inch cake that serves 12–16.

Key Takeaways

  • Oil, not butter: Keeps the cake moist for days (butter cakes dry out faster)
  • 3 cups grated carrots: The natural moisture engine of this cake
  • Warm spices: Cinnamon, nutmeg, ginger, and cloves for depth
  • Cream cheese frosting: Must be thick — cold cream cheese + cold butter
  • Cool layers completely: Warm cake melts the frosting instantly
  • Serves 12–16: Two 9-inch layers, impressive presentation
Two-layer carrot cake with cream cheese frosting slice being removed

Why Oil-Based Cakes Stay Moist Longer Than Butter Cakes

This isn’t opinion — it’s food science. Butter is only about 80% fat (the rest is water and milk solids). Oil is 100% fat, which means it coats the flour proteins more completely, producing a more tender crumb that stays moist for days. Butter also solidifies when cool, which is why butter cakes can taste dry the next day. Oil stays liquid at any temperature, keeping the cake perpetually soft and moist.


The tradeoff: butter has better flavor. But in carrot cake, the carrots, spices, and brown sugar provide all the flavor you need. Oil is the right choice here — it’s why this cake tastes amazing on day three while a butter-based version would be passable at best.

Carrot Cake Nutrition Facts

NutrientPer Slice (1/16)Per Cake% Daily Value
Calories485 kcal7,760 kcal24%
Protein6g96g12%
Total Fat28g448g36%
Saturated Fat8g128g40%
Carbohydrates56g896g20%
Sugar40g640g
Fiber2g32g7%
Sodium310mg4,960mg13%

Essential Ingredients for Carrot Cake

For the Cake

IngredientAmountPurposeSubstitution
All-purpose flour2 cups (250g)Structure1:1 GF blend
Vegetable oil1 cup (240ml)Moisture, tender crumbCanola or light olive oil
Brown sugar (packed)1 cup (200g)Moisture, caramel depth
Granulated sugar½ cup (100g)Sweetness, structure
Eggs4 largeStructure, richness
Grated carrots3 cups (about 4 large)Moisture, flavor, texture
Cinnamon2 tspWarm spice backbone
Nutmeg½ tspWarm complexity
Ground ginger½ tspBright warmth
Ground cloves¼ tspDeep, aromatic warmthAllspice
Baking soda2 tspLeavening (reacts with brown sugar acid)
Baking powder½ tspAdditional lift
Salt1 tspFlavor balance
Vanilla extract2 tspFlavor depth
Toasted walnuts1 cup, choppedCrunch, nuttinessPecans (classic Southern swap)
Carrot cake ingredients with grated carrots, spices, and walnuts

For the Cream Cheese Frosting

IngredientAmountPurposeSubstitution
Cream cheese (full fat)16 oz (2 blocks), coldTangy base, structureNever use low-fat (too thin)
Unsalted butter½ cup (115g), coldRichness, spreadability
Powdered sugar3 cups (360g)Sweetness, thick texture
Vanilla extract2 tspFlavor

Step-by-Step: How to Make Carrot Cake

Step 1: Prep the Dry Ingredients (5 Minutes)

Preheat oven to 350°F (175°C). Grease and line two 9-inch round cake pans with parchment paper. Whisk flour, baking soda, baking powder, salt, cinnamon, nutmeg, ginger, and cloves in a large bowl. Whisking blends the leaveners and spices evenly — lumps of baking soda cause bitter spots in the cake. Set aside.

Step 2: Mix Wet Ingredients (5 Minutes)

In another large bowl, whisk oil, brown sugar, granulated sugar, eggs, and vanilla until smooth and well combined. The mixture should look glossy and slightly thickened. Don’t worry about over-mixing at this stage — there’s no flour yet, so gluten isn’t a concern.

Step 3: Combine and Fold (3 Minutes)

Pour dry ingredients into wet and fold with a spatula until just combined — stop when the last streak of flour disappears. Over-mixing develops gluten and makes the cake tough instead of tender. Fold in grated carrots and toasted walnuts. The batter will be thick and heavy — that’s correct.

Pouring carrot cake batter with carrots and walnuts into cake pan

Step 4: Bake (30–35 Minutes)

Divide batter evenly between the two prepared pans. Bake at 350°F for 30–35 minutes until a toothpick inserted in the center comes out with just a few moist crumbs (not wet batter). Don’t open the oven door during the first 25 minutes — the sudden temperature drop can cause the cake to sink. Cool in pans 10 minutes, then invert onto wire racks to cool completely (at least 1 hour).

Close-up of moist carrot cake slice showing carrots, walnuts, and frosting

Step 5: Make the Frosting (10 Minutes)

Beat cold cream cheese and cold butter with an electric mixer on medium speed until smooth — about 2 minutes. Cold ingredients are critical — room temperature cream cheese makes runny frosting. Add powdered sugar one cup at a time, beating on low after each addition. Add vanilla, then beat on medium-high for 1 minute until thick, fluffy, and spreadable. If too thin, refrigerate 15 minutes.

Step 6: Assemble and Frost

Place one cake layer on a serving plate or cake board. Spread about 1 cup of frosting on top — evenly, edge to edge. Place the second layer on top. Apply a thin crumb coat (very thin layer of frosting over the entire cake) and refrigerate 15 minutes to set. Then apply the final thick layer of frosting. Decorate with extra walnuts, carrot curls, or a cinnamon dusting.

Carrot Cake Add-In Comparison

Add-InAmountFlavor ContributionInclude?
Walnuts (This Recipe)1 cup, toastedEarthy crunch, classic pairingYes — recommended
Pecans1 cup, toastedButtery, slightly sweeter than walnutsExcellent alternative
Raisins¾ cupChewy sweetness, traditionalOptional — love/hate ingredient
Crushed pineapple½ cup, drained wellTropical sweetness, extra moistureOptional — drain thoroughly
Coconut flakes½ cupSweet, tropical, textural contrastOptional — not traditional
Carrot cake slice with cream cheese frosting on dessert plate

How to Store Carrot Cake

MethodDurationContainerNotes
Refrigerator (frosted)5 daysCovered cake plate or airtight containerBring to room temp 30 min before serving
Freezer (unfrosted layers)3 monthsWrap in plastic + foilThaw in fridge overnight, frost day-of
Freezer (frosted)2 monthsFreeze uncovered 1 hour, then wrap tightlyThaw in fridge 4+ hours
Room temperature2 hours maxCream cheese frosting requires refrigeration

Expert Tips for the Best Carrot Cake

Grate Carrots on the Small Holes

Fine grating creates carrots that melt into the cake, releasing maximum moisture. Large shreds create visible pockets and a stringy texture. If you have a food processor with a fine grating disc, use it — it’s faster and more consistent. You need about 4 large carrots for 3 cups grated. Don’t use baby carrots — they have less moisture and flavor.

Toast Your Walnuts

Raw walnuts taste flat and slightly bitter in cake. Toasting for 8 minutes at 350°F transforms them — they become nutty, aromatic, and crunchy. Spread on a sheet pan in a single layer, bake until fragrant and slightly darker. Let cool before folding into batter. This single step elevates the entire cake.

Cold Cream Cheese = Thick Frosting

The #1 mistake with cream cheese frosting: using room-temperature cream cheese. It becomes too soft and the frosting turns runny and won’t hold its shape. Start with cold cream cheese straight from the fridge and cold butter. It takes slightly longer to beat smooth, but the result is thick, pipeable frosting that stays put on the cake. This is the foundation of any really good dessert — the same principle applies to our M&M cookies requiring cold dough.

Birthday celebration with beautiful carrot cake and candles
Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon

Carrot Cake


5 Stars 4 Stars 3 Stars 2 Stars 1 Star

No reviews

  • Author: anna
  • Total Time: 1 hour
  • Yield: 1 cups 1x
  • Diet: Vegetarian

Description

Moist, spiced carrot cake with cream cheese frosting. Loaded with freshly grated carrots, warm spices, and topped with the creamiest frosting.


Ingredients

Scale
  • 2 cups (250g) All-purpose flour
  • 1 cup (240ml) Vegetable oil
  • 1 cup (200g) Brown sugar (packed)
  • ½ cup (100g) Granulated sugar
  • 4 large Eggs
  • 3 cups (about 4 large) Grated carrots
  • 2 tsp Cinnamon
  • ½ tsp Nutmeg
  • ½ tsp Ground ginger
  • ¼ tsp Ground cloves
  • 2 tsp Baking soda
  • ½ tsp Baking powder
  • 1 tsp Salt
  • 2 tsp Vanilla extract
  • 1 cup, chopped Toasted walnuts

Instructions

  1. Prep the Dry Ingredients (5 Minutes) — Preheat oven to 350°F (175°C). Grease and line two 9-inch round cake pans with parchment paper. Whisk flour, baking soda, baking powder, salt, cinnamon, nutmeg, ginger, and cloves in a large bowl. Whisking blends the leaveners and spices evenly — lumps of baking soda cause bitter spots in the cake. Set aside.
  2. Mix Wet Ingredients (5 Minutes) — In another large bowl, whisk oil, brown sugar, granulated sugar, eggs, and vanilla until smooth and well combined. The mixture should look glossy and slightly thickened. Don’t worry about over-mixing at this stage — there’s no flour yet, so gluten isn’t a concern.
  3. Combine and Fold (3 Minutes) — Pour dry ingredients into wet and fold with a spatula until just combined — stop when the last streak of flour disappears. Over-mixing develops gluten and makes the cake tough instead of tender. Fold in grated carrots and toasted walnuts. The batter will be thick and heavy — that’s correct.
  4. Bake (30–35 Minutes) — Divide batter evenly between the two prepared pans. Bake at 350°F for 30–35 minutes until a toothpick inserted in the center comes out with just a few moist crumbs (not wet batter). Don’t open the oven door during the first 25 minutes — the sudden temperature drop can cause the cake to sink. Cool in pans 10 minutes, then invert onto wire racks to cool completely (at least 1 hour).
  5. Make the Frosting (10 Minutes) — Beat cold cream cheese and cold butter with an electric mixer on medium speed until smooth — about 2 minutes. Cold ingredients are critical — room temperature cream cheese makes runny frosting. Add powdered sugar one cup at a time, beating on low after each addition. Add vanilla, then beat on medium-high for 1 minute until thick, fluffy, and spreadable. If too thin, refrigerate 15 minutes.
  6. Assemble and Frost — Place one cake layer on a serving plate or cake board. Spread about 1 cup of frosting on top — evenly, edge to edge. Place the second layer on top. Apply a thin crumb coat (very thin layer of frosting over the entire cake) and refrigerate 15 minutes to set. Then apply the final thick layer of frosting. Decorate with extra walnuts, carrot curls, or a cinnamon dusting.
  • Prep Time: 25 minutes
  • Cook Time: 35 minutes
  • Category: Dessert
  • Method: Baking
  • Cuisine: American

Nutrition

  • Serving Size: 1 serving
  • Calories: 485
  • Sugar: 40g
  • Sodium: 310mg
  • Fat: 28g
  • Saturated Fat: 8g
  • Carbohydrates: 56g
  • Fiber: 2g
  • Protein: 6g

Frequently Asked Questions

Can I make carrot cake without nuts?

Yes — simply omit the walnuts. The cake is wonderful without them, especially for those with nut allergies. The texture will be slightly softer without the crunch. You can add ¾ cup raisins instead for a different textural element.

Why is my carrot cake dense and heavy?

Three likely causes: (1) too much flour — measure by weight or use the spoon-and-level method, (2) over-mixing the batter, developing too much gluten, (3) old baking soda that’s lost its leavening power. Test baking soda by dropping some in vinegar — if it doesn’t fizz vigorously, replace it.

Do I have to refrigerate carrot cake?

Yes — cream cheese frosting must be refrigerated. It’s a dairy product that can spoil at room temperature. The cake can sit out for 2 hours during serving, but store leftovers in the fridge. Bring to room temperature 30 minutes before serving for the best texture and flavor.

Can I make this as cupcakes?

Yes — this recipe makes 24 cupcakes. Fill liners ¾ full, bake at 350°F for 20–22 minutes. Reduce bake time by 10–12 minutes compared to the layer cake. The frosting recipe makes enough for generous piping on all 24 cupcakes.

Can I make the cake layers ahead of time?

Yes — baked, cooled cake layers can be wrapped tightly in plastic wrap and stored in the fridge for 2 days or frozen for 3 months. Frost them the day you’re serving. Cold layers are actually easier to frost because they don’t crumble.

Why does my cream cheese frosting turn runny?

Room-temperature cream cheese is the culprit. Always use cold cream cheese and cold butter. If your frosting is already made and too thin, refrigerate it for 30 minutes and re-beat — it often firms up enough. If still too thin, add ½ cup more powdered sugar.




Recipe by Anna — Le Cordon Bleu-trained chef and recipe developer at Chef Johns Gourmet. This carrot cake recipe has been my go-to for over a decade and never fails to impress.

Related posts:

Chef Anna

Written by Chef Anna

I'm Anna - a Le Cordon Bleu-trained chef, recipe developer, and the voice behind Chef Johns Gourmet. After a decade in professional kitchens, I now spend my mornings testing recipes and my afternoons writing them down so you can make them perfectly in your own kitchen. Every one of the 1,100+ recipes on this site has been personally cooked, tasted, and refined. I write like I'm standing next to you, walking you through every step. Simple recipes. Bold flavors. Made for real kitchens.

Leave a Comment

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