Bright, warmly spiced, and impossibly moist — this carrot cake is the kind you dream about. It’s simple enough for a weekday bake and show-stopping for gatherings.
The layers stay tender, the frosting is rich and tangy, and the crumb holds just the right amount of carrot texture. Try it with a cup of tea or bring it to your next potluck for instant applause.
If you love desserts with cream cheese frosting, you might also enjoy my take on London Fog cookies with lavender cream cheese frosting for a delicate pairing. Try the lavender-scented cookies here.
Why You’ll Love This Ultimate Moist Carrot Cake with Cream Cheese Frosting
- Deeply moist crumb that keeps for days.
- Balanced sweetness with warm spice notes.
- Classic tangy cream cheese frosting that isn’t too sweet.
- Easy, pantry-friendly ingredients.
- Versatile — add nuts, pineapple, or coconut.
- Reliable baking times for two 9-inch layers.
The cake delivers a tender, moist crumb supported by vegetable oil and eggs, while the cinnamon and nutmeg give a cozy aroma. The cream cheese frosting is smooth and slightly tangy, cutting the sweetness and giving a silky finish.
"5 stars — I made this for my family and everyone raved. The texture was perfect and the frosting was dreamy. Will bake again!" — A happy reader
Key Ingredients for Ultimate Moist Carrot Cake with Cream Cheese Frosting
Grated fresh carrots (3 cups) are the backbone of this cake. Freshly grated carrots release moisture and natural sweetness that keep the crumb tender; buy firm, bright carrots and grate them yourself for the best texture. If you substitute canned carrots or pre-shredded, the cake may be drier or the texture less fresh.
Vegetable oil (1.25 cups) provides uninterrupted moistness through baking. Oil stays liquid at room temperature and gives a softer crumb than butter; choose a neutral oil like canola or sunflower for subtle flavor. If you swap in melted butter, expect a slightly firmer and more buttery crumb.
Large eggs (4, room temperature) are key for structure and richness. Room-temperature eggs emulsify better with sugars and oil, creating a smooth batter and stable rise. Replacing eggs with flax or chia will change texture and may require binders or adjustments.
Full-fat cream cheese (8 oz) makes the frosting creamy and tangy. Use block-style cream cheese (not spreadable tubs) and bring it to room temperature for a lump-free frosting. Low-fat or non-dairy alternatives will alter consistency and tang; you may need to reduce powdered sugar or add stabilizer.
Full Ingredient List for Ultimate Moist Carrot Cake with Cream Cheese Frosting
- 2 cups all-purpose flour
- 2 tsp baking soda
- 1 tsp baking powder
- 1/2 tsp salt
- 2 tsp ground cinnamon
- 1/2 tsp ground nutmeg
- 1.5 cups granulated sugar
- 0.5 cup brown sugar
- 1.25 cups vegetable oil
- 4 large eggs (room temperature)
- 3 cups grated fresh carrots (about 5–6 medium carrots)
- 1 cup chopped walnuts or pecans (optional)
- 8 oz full-fat cream cheese, softened
- 1/2 cup unsalted butter, softened
- 4 cups powdered sugar
- 1 tsp vanilla extract
Step-by-Step Instructions for Ultimate Moist Carrot Cake with Cream Cheese Frosting
Step 1: Preheat and prepare pans
Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans and line the bottoms with parchment for easy release.
Pro Tip: The pans should feel warm to the touch and the parchment should sit flat; the batter will spread evenly.
Step 2: Mix dry ingredients
In a medium bowl, whisk together the flour, baking soda, baking powder, salt, cinnamon, and nutmeg until fully combined. Sifting isn’t necessary but helps eliminate small lumps.
Pro Tip: The dry mix should look uniformly tan and smell of warm spices.
Step 3: Combine sugars and eggs
In a large bowl, beat the granulated sugar, brown sugar, and eggs until well combined and slightly thickened. The mixture should be glossy and cohesive before oil is added.
Pro Tip: Look for a pale, ribbon-like texture when you lift the beaters.
Step 4: Add the oil
Slowly pour in the vegetable oil while mixing on low speed to create a stable emulsion with the eggs and sugars. This prevents separation and ensures an even crumb.
Pro Tip: The batter should feel smooth and slightly loose, not greasy.
Step 5: Add dry ingredients to wet
Gradually add the dry ingredients to the wet ingredients, mixing until just combined. Avoid overmixing to keep the cake tender.
Pro Tip: Stop when you no longer see streaks of flour; the batter will be thick but pourable.
Step 6: Fold in carrots and nuts
Fold in grated carrots and chopped walnuts or pecans if using. Mix gently to distribute without deflating the batter.
Pro Tip: The batter will have visible flecks of carrot and a slightly textured look.
Step 7: Divide and bake
Divide the batter evenly between the two prepared pans and bake for 35–40 minutes, or until a toothpick comes out clean. Rotate pans halfway if your oven has hot spots.
Pro Tip: The cakes should be golden at the edges and spring back when lightly pressed.
Step 8: Cool the cakes
Allow cakes to cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely before frosting. Cooling prevents the frosting from melting.
Pro Tip: The cake tops should feel set and slightly elastic, not warm.
Step 9: Make the frosting
For the frosting, beat the softened cream cheese and butter until smooth. Add vanilla, then gradually beat in powdered sugar until fluffy and spreadable.
Pro Tip: The frosting should be silky, slightly glossy, and hold soft peaks when lifted with a spatula. You can reference a simple cream cheese frosting technique for texture tips from a related cream cheese recipe.
Step 10: Assemble and frost
Frost the cooled cakes, stacking them and covering with remaining frosting. Chill briefly if you want cleaner slices before serving.
Pro Tip: The finished cake should have smooth, even layers and a creamy frosting that holds shape when sliced.

Expert Tips for Ultimate Moist Carrot Cake with Cream Cheese Frosting
- Keep eggs at room temperature for better emulsification and rise.
- Use freshly grated carrots — they release more moisture than pre-shredded.
- Measure flour by spooning into the cup and leveling; too much flour dries the cake.
- If the cake cracks or domes, gently level with a serrated knife after cooling.
- For ultra-smooth frosting, beat cream cheese and butter until completely lump-free before adding sugar.
- Use an offset spatula and chilled cake layers for neat frosting edges.
- Cool layers fully to prevent runny frosting; if frosting softens, chill the cake briefly.
- Avoid overbaking; remove when a toothpick is mostly clean with a few moist crumbs.
You might also find layering and frosting techniques in my caramel apple cheesecake bars post for visual guidance on clean edges. See how to get tidy layers.
Storage & Freezing for Ultimate Moist Carrot Cake with Cream Cheese Frosting
Fridge storage: Keep frosted cake covered in the refrigerator for up to 4 days. Use an airtight cake carrier or wrap with plastic wrap to prevent odors.
Freezer storage: Freeze unfrosted layers wrapped tightly in plastic and foil for up to 3 months. For a fully frosted cake, flash-freeze on a tray then wrap the chilled cake to avoid frosting damage.
Thawing: Thaw frozen layers in the refrigerator overnight before frosting. Thaw a whole frozen, frosted cake overnight in the fridge to preserve texture.
Reheating: Serve chilled or bring slices to room temperature for 30–60 minutes; avoid microwaving whole slices as frosting can split. Use shallow airtight containers for individual slices.
Variations & Substitutions for Ultimate Moist Carrot Cake with Cream Cheese Frosting
Add crushed pineapple: Fold 1 cup of well-drained crushed pineapple into the batter for extra moisture and sweetness. Expect a brighter, tropical flavor and a moister crumb that keeps longer.
Coconut and rum twist: Stir 1/2 cup shredded coconut and 2 tbsp dark rum into the batter; omit nuts if desired. The cake will gain a tropical nuttiness and deeper aroma.
Maple-cream cheese frosting: Replace 1/2 cup of powdered sugar with 1/3 cup pure maple syrup and reduce powdered sugar slightly. Result: a softer frosting with warm maple notes — chill briefly to firm up.
Vegan option: Use a commercial egg replacer or flax eggs, replace oil with coconut oil, and use dairy-free cream cheese for frosting. Texture will be denser and slightly different in tang, but still very enjoyable. You can find creamy dairy-free strategies in other recipe experiments like my savory noodle bowls for technique inspiration. Check texture tips here.
Frequently Asked Questions About Ultimate Moist Carrot Cake with Cream Cheese Frosting
Q: Can I make this carrot cake in one 9×13 pan instead of two 9-inch rounds?
A: Yes. Bake at 350°F (175°C) but check sooner — start testing at 30 minutes. The cake will be thicker and may need 40–50 minutes. Use the toothpick test and watch for a gentle spring to touch.
Q: How do I prevent the frosting from being too sweet?
A: Reduce powdered sugar by 1/2 cup and add a teaspoon more vanilla or a tablespoon of lemon juice for tang. Taste as you go and chill the frosting briefly to judge final sweetness.
Q: Can I substitute applesauce for some oil to reduce fat?
A: Substitute up to half the oil with unsweetened applesauce for a lighter cake. Expect a slightly different crumb — a touch denser and less tender than full-oil batter.
Q: Why did my cake sink in the center?
A: Common causes are underbaked center, too much leavening, or opening the oven door mid-bake. Ensure accurate oven temps and measure baking soda/powder precisely.
Q: How do I get the carrot texture right — not too mushy, not too dry?
A: Grate carrots finely but not into a puree. Excess liquid from overly wet carrots can be patted dry. Freshly grated works best and yields balanced texture every time.

Final Thoughts on Ultimate Moist Carrot Cake with Cream Cheese Frosting
This is a dependable, crowd-pleasing carrot cake with a moist interior and silky cream cheese frosting.
If you try it, please leave a star rating in the recipe card below and pin it to Pinterest.
Conclusion: Ultimate Moist Carrot Cake with Cream Cheese Frosting
For more baking inspiration, I recommend this well-loved version which helped shape many modern carrot cake takes: The BEST Carrot Cake Recipe from Live Well Bake Often.
If you want a different but equally indulgent take on moist carrot cake and frosting technique, see this detailed guide: THE BEST Carrot Cake with FLUFFY Cream Cheese Frosting.
And for frosting technique and troubleshooting, this cream cheese frosting tutorial is a great companion: The Best Cream Cheese Frosting Recipe at Sugar Spun Run.

Ultimate Moist Carrot Cake with Cream Cheese Frosting
Ingredients
Dry Ingredients
- 2 cups all-purpose flour
- 2 tsp baking soda
- 1 tsp baking powder
- 1/2 tsp salt
- 2 tsp ground cinnamon
- 1/2 tsp ground nutmeg
Sugars
- 1.5 cups granulated sugar
- 1/2 cup brown sugar
Wet Ingredients
- 1.25 cups vegetable oil Choose a neutral oil for subtle flavor.
- 4 large eggs, room temperature Important for structure and richness.
- 3 cups grated fresh carrots About 5–6 medium carrots.
Optional Ingredients
- 1 cup chopped walnuts or pecans Add if desired.
Frosting Ingredients
- 8 oz full-fat cream cheese, softened Use block-style cream cheese.
- 1/2 cup unsalted butter, softened
- 4 cups powdered sugar
- 1 tsp vanilla extract
Instructions
Preparation
- Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans and line the bottoms with parchment.
- In a medium bowl, whisk together the flour, baking soda, baking powder, salt, cinnamon, and nutmeg until fully combined.
- In a large bowl, beat the granulated sugar, brown sugar, and eggs until well combined and slightly thickened.
- Slowly pour in the vegetable oil while mixing on low speed to create a stable emulsion.
- Gradually add the dry ingredients to the wet ingredients, mixing until just combined.
- Fold in grated carrots and chopped walnuts or pecans if using.
Baking
- Divide the batter evenly between the two prepared pans and bake for 35–40 minutes, or until a toothpick comes out clean.
- Allow cakes to cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely before frosting.
Frosting
- For the frosting, beat the softened cream cheese and butter until smooth. Add vanilla and gradually beat in powdered sugar until fluffy and spreadable.
Assembly
- Frost the cooled cakes, stacking them and covering with remaining frosting. Chill briefly for cleaner slices.




