Baking Resources
Home › Guides

Moist Carrot Cake Recipe (With Cream Cheese Frosting)

Baking Resources Editorial · Reviewed by Joan Ramos · Updated November 2026 · 6 min read

Carrot Cake Recipe: Moist Two Layer Cake + Frosting

The best moist carrot cake recipe is a spiced oil batter with brown and white sugar, four eggs and three cups of finely grated carrots, baked in two 9 inch pans and frosted with thick, tangy cream cheese frosting. It's soft, moist, warmly spiced and stays fresh for days.

It takes about 30 minutes of hands-on work (most of it grating), about 35 minutes to bake, and makes a two-layer cake that serves about 14. It's the classic Easter cake, but it's just as welcome at birthdays and winter gatherings.

The card is set for two 9 inch layers and includes the frosting. Want a 9x13 sheet cake or cupcakes? Pick it on the card. After the card you'll find how to grate carrots, add-ins, and make-ahead tips.

Jump to the recipe card ↓

Recipe card

Moist Carrot Cake with Cream Cheese Frosting recipe

Pick your pan and how many you need. Every amount, the bake time and your start time update for you.

What makes carrot cake so moist?

How to grate carrots for carrot cake

Use the small holes of a box grater, or a food processor with the fine shredding disk. Finely grated carrots melt into the cake. Coarse shreds stay chewy and can make the cake wet in spots.

Skip pre-shredded bagged carrots. They're thick and dry, and they don't bake into the cake the same way. You'll need about 5 to 6 medium carrots, or roughly 1 pound before peeling, for 3 cups.

Carrot cake add-ins

Add-inAmountTip
Walnuts or pecans1 cup, choppedToast them first for more flavor. See how to toast nuts.
Raisins1/2 cupSoak them in hot water for 10 minutes, then drain, so they stay plump
Crushed pineapple1/2 cup, well drainedMakes it extra moist; bake a few minutes longer
Shredded coconut1/2 cupSweetened or unsweetened
Orange zest1 tspBrightens the spices

Baking for a nut-free crowd? Skip the nuts entirely; the cake is just as good.

Carrot cake pan sizes and bake times

PanTime at 350°FFrosting needed
Two 9 inch rounds30 to 38 minutesAbout 4 1/2 cups (the card's frosting)
Three 8 inch rounds25 to 30 minutesAbout 6 cups
9 x 13 sheet cake40 to 45 minutesAbout 3 cups (top only)
Cupcakes (about 24)20 to 24 minutesAbout 3 to 4 1/2 cups
Bundt pan, 10 to 12 cup45 to 55 minutesA glaze or about 2 cups

For any other pan, the cake pan converter works out the batter, and our cake pan substitution guide shows how bake times change.

Free toolCake Pan Converter: Will Your Batter Fit?Get my number → Baking guideHow to Substitute Cake Pan Sizes and Adjust Bake TimeWhat can I use? →

Cream cheese frosting for carrot cake

The card's frosting makes about 4 1/2 cups, enough to fill and frost two 9 inch layers generously. Want more detail on getting it thick and pipeable, or other flavors like brown butter and cinnamon? See our full cream cheese frosting recipe.

A pretty finish: press chopped toasted pecans around the bottom edge of the cake, or pipe little frosting carrots on top with orange-tinted frosting and a bit of green.

How to frost a layer cake neatly

  1. Cool the layers completely. Level any domed tops with a serrated knife.
  2. Brush away loose crumbs.
  3. Spread a thin "crumb coat" of frosting all over and chill 20 minutes.
  4. Add the final, thicker layer of frosting and smooth it with an offset spatula.

Our guide on how to frost a cake covers every step.

Baking guideHow to Frost a Cake: The Crumb Coat Method, Step by StepRead the step by step →

Make-ahead carrot cake

Carrot cake is one of the best cakes to make ahead, because it gets even more moist and flavorful after a day. Bake the layers up to 2 days ahead and keep them wrapped at room temperature, or freeze them for up to 3 months. Frost the day before serving, and keep the frosted cake in the fridge for 3 to 5 days. Let it sit out 30 minutes before serving.

What each ingredient does

Carrot cake cupcakes

Pick the cupcake setting on the card. Fill 24 lined cups about two thirds full and bake at 350°F for 20 to 24 minutes. Frost with a swirl of cream cheese frosting and top each with a pecan half or a tiny piped carrot. They're a great choice for spring parties and Easter brunch, and easier to serve than a layer cake.

Carrot cake for a crowd

For a party, a 9x13 carrot sheet cake serves about 20 and only needs about 3 cups of frosting on top, so you can use 2/3 of the card's frosting. For a bigger crowd, double the recipe in a 12 x 18 inch pan. The sheet cake pan sizes guide shows servings for each pan.

Baking guideSheet Cake Pan Sizes: Quarter, Half and Full Sheet ChartsSee the sizes →

Moist Carrot Cake with Cream Cheese Frosting ingredients in grams

Weighing is the most reliable way to bake, especially for flour. Here are the weights for one batch (small amounts like spices are easiest measured with spoons):

IngredientUS measureWeight
all-purpose flour2 cups250 g
baking powder2 tsp8 g
baking soda1 1/2 tsp9 g
salt1 tsp6 g
ground cinnamon2 tsp5 g
large eggs, room temperature4 large200 g
vegetable oil1 1/4 cups273 g
granulated sugar1 cup200 g
brown sugar, packed1 cup213 g
vanilla extract2 tsp8 g
finely grated carrots3 cups300 g
chopped walnuts or pecans (optional)1 cup115 g
raisins (optional)1/2 cup75 g
cream cheese (8 oz blocks), softened but cool1 1/2340 g
unsalted butter, softened3/4 cup170 g
powdered sugar5 cups600 g
vanilla extract2 tsp8 g

Want to convert your own recipes? The grams to cups converter does it ingredient by ingredient.

Free toolGrams to Cups Converter (Ingredient-Aware)Run my numbers →

Common carrot cake mistakes

Questions people ask

What makes carrot cake moist?

Oil instead of butter, finely grated fresh carrots, brown sugar, and not overbaking. Carrot cake also gets moister after a day.

How many carrots do I need for carrot cake?

About 5 to 6 medium carrots, or roughly 1 pound before peeling, to make 3 cups finely grated.

Can I use pre-shredded carrots?

It's better not to. Bagged shredded carrots are thick and dry and don't melt into the cake. Grate fresh carrots on the small holes of a box grater.

How long do you bake carrot cake?

About 30 to 38 minutes at 350°F for two 9 inch layers, 40 to 45 minutes for a 9x13 sheet cake, and 20 to 24 minutes for cupcakes.

Does carrot cake need to be refrigerated?

Yes, once it's frosted with cream cheese frosting. Keep it in the fridge for 3 to 5 days, and let it sit out about 30 minutes before serving.

Can I make carrot cake ahead of time?

Yes. Bake the layers up to 2 days ahead, or freeze them up to 3 months. Frost the cake the day before serving.