Moist Carrot Cake With Cream Cheese Frosting

5 from 4 votes

My two-layered Carrot Cake with Cream Cheese Icing is perfect for any celebration. Between the moist and fluffy crumb, crunchy nuts, warm spices, and tangy frosting, each bite is a symphony of sweet scrumptiousness!  

A close-up of a slice of carrot cake with cream cheese frosting and a pecan on top, served on a white plate. The whole cake is visible in the background on a cake stand.

I originally published this recipe in 2019 and have since updated it with new photos, improved instructions, and extra success tips.

No party is complete without a slice of birthday cake, and this to-die-for carrot cake is always a winner. For anyone who isn’t sure about mixing veggies and dessert, let me ease your fears: it’s so good, I can’t help but lick the plate! And, unlike many recipes out there with controversial add-ins, I make my carrot cake without raisins or pineapple. It’s a guaranteed crowd-pleaser!

A sliced carrot cake with cream cheese frosting and pecans on top sits on a white cake stand. One slice is slightly pulled out, showing moist cake layers with nuts and carrot pieces inside.

Ingredients & Substitutions

Baking ingredients on a marble surface labeled: brown sugar, white sugar, flour, baking powder, baking soda, nutmeg, vanilla, pecans, oil, eggs, cinnamon, and whole carrots.
  • All-Purpose Flour – Also known as “plain flour.” If needed, you can swap in cake flour for a more tender crumb. Or, use self-rising flour but omit the added baking powder and salt.
  • Baking Powder & Baking Soda – You’ll need both kinds of leavener to ensure your carrot cake rises to its full, fluffy potential.
  • Ground Cinnamon & Nutmeg – This warming pair is a classic. If possible, grate your nutmeg fresh for the most potent flavor.
  • Large Eggs – If you’re using a different size or liquid eggs, note that each large egg is a scant ¼ cup.
  • Brown Sugar, White Sugar & Powdered Sugar – You’ll use brown and white sugar in the cake layers, and powdered sugar for making silky smooth cream cheese frosting. Only have granulated sugar on hand? You can make brown sugar by mixing white sugar with molasses in a 1 cup to 1-2 tablespoon ratio. Then, make powdered sugar by blitzing white sugar and cornstarch in a food processor using a 1 cup to 1 tablespoon ratio. 
  • Vegetable Oil – Any neutral-flavored oil will work here!
  • Vanilla Extract – For aromatic warmth and sweetness. Feel free to use an equal amount of vanilla paste (but note that it will leave black flecks in your frosting).
  • Grated Carrots – Make sure to grate your own on a box grater or using a food processor with the grating blade. Pre-shredded carrots from the store are too thick and dry for making a fluffy carrot cake.
  • Walnuts/Pecans – I love the slightly bitter flavor of toasted walnuts in the cake, but sweet pecans make for a prettier garnish. 
  • Butter – If possible, reach for European-style butter for an extra creamy-dreamy frosting.
  • Cream Cheese – Use full-fat block-style cream cheese or slightly lighter Neufchatel cheese for the best results. 
  • Heavy Cream – While you want the butter and cream cheese to be soft, make sure your cream is still cold from the fridge for the best icing texture.

Carrot Cake Mix-Ins: What You Can Add (and Why)

Carrot cake is one of those wonderfully flexible desserts that welcomes all kinds of add-ins, depending on the flavor and texture you like. My basic carrot cake recipe keeps things simple with chopped walnuts or pecans for a bit of crunch, but there are plenty of other mix-ins you can play with to make the cake your own.

  • Dried Fruit: Raisins, golden raisins, or chopped dates are traditional additions that bring natural sweetness and moisture. If you want the fruit to stay extra plump, soak it in warm water (or rum?!?) for 10 minutes before folding it in.
  • Coconut: Shredded coconut—sweetened or unsweetened—adds chewiness and a subtle tropical flavor. It also helps make an exceptionally moist carrot cake. If you prefer more texture, try toasting it first.
  • Pineapple: Crushed pineapple is popular in Southern-style carrot cakes. It adds juicy sweetness and a tender crumb, but be sure to drain it well and pat it dry so the cake doesn’t become too wet. (Don’t toss the pineapple juice, though! It’s great for adding to my strawberry sangria.)
  • Spices: If you prefer your carrot cake a little bolder, feel free to add extra warm spices like ginger, cloves, or cardamom.
  • Chocolate Chips: Not traditional, but definitely delicious! A great addition if you’re sharing the cake with kids.
  • Orange Zest: A teaspoon or two of freshly grated orange zest brightens the cake and pairs beautifully with the warm spices and carrots.
  • Seeds: For a subtle nutty flavor and crunch, try adding sunflower seeds or pumpkin seeds (pepitas). They’re great alternatives for anyone avoiding tree nuts.
A hand reaches into a glass bowl filled with cake batter, shredded carrots, and chopped pecans, ready to be mixed. Two whole carrots lie on the marble countertop beside the bowl.

Whatever mix-ins you choose, try not to overload the batter, about 1 to 1½ cups total add-ins is usually the sweet spot. This keeps the texture light, moist, and perfectly sliceable while still adding plenty of personality.


How to Make Carrot Cake From Scratch

Watch the full video to learn how to make the BEST Carrot Cake recipe. This step-by-step tutorial simplifies the process, offering tips and tricks to guarantee perfect results every time.

Prefer the written recipe? Scroll down to the recipe box👇


Optional Variations & Dietary Adaptations

  • Nut-Free: Simply omit the walnuts or pecans. You can replace them with sunflower seeds, pumpkin seeds, shredded coconut, or skip the mix-ins entirely.
  • Dairy-Free: The cake itself contains no dairy, so the swaps are easy! Just use dairy-free cream cheese and butter for the frosting.
  • Egg-Free: Replace the eggs with flax eggs (1 tablespoon ground flax + 3 tablespoons water per egg). The cake will be slightly denser but still flavorful and tender.
  • Lower Sugar: Reduce both sugars in the cake batter by up to ¼ cup each if you prefer a less sweet cake. The texture will still be moist, thanks to the oil and carrots. Alternatively, swap in your favorite cup-for-cup sugar replacements for some or all of the sugar.
A pile of freshly grated carrots sits on a wooden cutting board next to a whole carrot and a metal box grater.

Expert Tips & Tricks 

  • Finely grate the carrots. Use the small holes on a box grater or the fine shredding disc of a food processor. Larger pieces don’t soften as well and can create uneven pockets in the cake.
  • Measure flour correctly. Too much flour leads to a dense, dry cake. Don’t scoop directly from the bag! Use the spoon-and-level method or a kitchen scale to keep the crumb tender and moist.
  • Use room-temperature eggs. They blend more easily into the batter, helping prevent overmixing.
  • Don’t overmix. Once the flour goes in, stir just until combined. Overmixing develops gluten, which can make the cake tough.
  • Drain any add-ins well. If you’re adding pineapple or soaked raisins, make sure to squeeze out excess liquid so the batter doesn’t become overly wet.
  • Line your pans for easy release. Carrot cake is moist and delicate. Grease the pans and line the bottoms with parchment to prevent sticking.
  • Check for doneness with a toothpick. If it comes out with a few moist crumbs, it’s ready. Don’t wait for it to be completely clean or you may accidentally overbake.
  • Cool completely before frosting. Cream cheese frosting melts easily, so make sure the layers are fully cooled (even slightly chilled) before spreading.
  • Chill the frosted cake for cleaner slices. A short chill helps set the frosting and makes slicing neat, bakery-style pieces much easier.
Two round cake pans filled with unbaked carrot cake batter containing visible shredded carrots and nuts, placed on a white marble surface.
Two round, golden-brown cake layers are cooling on a black wire rack placed on a white marble surface. The cakes have a slightly textured surface.

How To Decorate A Carrot Cake with Cream Cheese Frosting

A person spreads white frosting on a round, unfrosted cake using an offset spatula. The cake sits on parchment paper atop a wooden surface.
A hand places a pecan on a white frosted cake, which is decorated with a ring of pecans along the edge, leaving part of the circle unfinished. The cake sits on a light wooden surface.

Carrot cake is charming on its own, but a little decoration can turn it into a real showstopper. The most classic option is a smooth layer of cream cheese frosting, finished with a simple border of piped swirls and pecan halves around the edges. 

Can’t get a smooth finish on your frosting? Press chopped nuts or coconut around the sides of the cake for extra crunch and a bakery-style finish that’ll hide all of your sins. Or, if you’d like to lighten things up a bit, consider using a naked-cake effect, thinly frosted sides that let the layers peek through.

For something a bit more casual, try creating swoopy, textured patterns in the frosting with the back of a spoon or an offset spatula. This unfussy style pairs beautifully with a topping of chopped or halved pecans, toasted coconut flakes, a sprinkle of cinnamon, or a light dusting of orange zest for brightness and a hint of color.

For something more playful, pipe small cream cheese “carrots” on top using orange and green-tinted frosting. To take it a step further, pipe the frosting in a “basketweave” pattern. This is especially fun for Easter or spring-themed celebrations. For a bright, bold, all-natural topping, dried pineapple “flowers” and/or edible flowers are beautiful.

A round cake with white frosting, decorated with a ring of whole pecans around the top edge, sits on a white pedestal cake stand against a light background.
A round carrot cake with white cream cheese frosting, topped with whole pecans around the edge. A slice is being lifted from the cake, revealing the moist, nut-filled interior. The cake sits on a white cake stand.

How to Store Carrot Cake

  • Refrigeration: Because carrot cake is frosted with cream cheese icing, it should be stored in the refrigerator. Keep it covered or in an airtight container, and it will stay fresh for 4–5 days. For the best texture, let slices sit at room temperature for about 20–30 minutes before serving so the frosting softens and the flavors shine.
  • Freezing Frosted Cake: Carrot cake freezes exceptionally well. You can freeze the entire cake or individual slices. Freeze until the frosting hardens (about an hour), wrap tightly in plastic wrap, then in foil, or place in a freezer-safe container. It will keep for up to 2-3 months. Thaw overnight in the fridge, then bring to room temperature before serving.
  • Freezing the Layers: If you want to get ahead on making this celebration cake, bake the layers and freeze them unfrosted. Wrap each layer in plastic wrap and foil, then freeze. Frost while still slightly chilled for clean, smooth edges.
  • Leftover Frosting: Cream cheese frosting can be refrigerated in an airtight container for 3-4 days or frozen for up to 1 month. Give it a quick whip after thawing to restore its fluffiness. It’s great spread on gluten-free graham crackers for a quick after-school treat!
A piece of frosted cake on a plate.
A close-up of a slice of carrot cake with cream cheese frosting, topped with pecans, sitting on a white plate. The cake is moist with visible pieces of carrot and nuts.
A slice of carrot cake with cream cheese frosting and a pecan on top, served on a white plate. A whole frosted cake and another slice are visible in the background.

Moist Carrot Cake With Cream Cheese Frosting

This super moist carrot cake with cream cheese frosting is easy to make from scratch and packed with warm spices and grated carrots.
5 from 4 votes
Prep Time 25 minutes
Cook Time 35 minutes
Frosting & assembly: 15 minutes
Total Time 1 hour 15 minutes
DIFFICULTY Medium
Course celebration, Dessert
Cuisine American
Servings 14
Calories 609 kcal

Ingredients
 

For the cake:

  • cups (280 g) All-purpose flour
  • teaspoons Baking powder
  • ½ teaspoon Baking soda
  • teaspoons Cinnamon
  • ¼ teaspoon Nutmeg
  • ¼ teaspoon Salt
  • 4 Eggs large
  • ¾ cup (150 g) Brown sugar
  • ¾ cup (150 g) White sugar
  • cup (300 ml) Vegetable oil
  • 1 teaspoon Vanilla extract
  • 3 cups (300 g) Carrots, grated (about 5-6 medium carrots)
  • 1 cup (120 g) Walnuts/pecans chopped

For the frosting:

  • ½ cup (115 g) Butter softened
  • 2 cups (450 g) Cream cheese 16 oz
  • 1 cup (130 g) Powdered sugar
  • 1 teaspoon Vanilla extract
  • cup (80 ml) Heavy cream cold

For decoration:

  • Pecans

Instructions
 

  • Prep pans: Grease two 9-inch (23cm) round cake pans and line the bottoms with parchment paper. Set aside.
  • Mix dry: In a large bowl, stir together flour, baking powder, baking soda, cinnamon, nutmeg, and salt.
  • Mix wet: In another bowl, whisk oil, granulated sugar, brown sugar, eggs, and vanilla for 2–3 minutes until well combined and slightly lighter.
  • Combine: Add the dry ingredients in 3 additions, stirring gently each time just until the flour disappears (don’t overmix). Fold in grated carrots and nuts until evenly distributed.
  • Bake: Divide batter evenly between pans. Bake 30–35 minutes, until a toothpick comes out clean or with a few moist crumbs.
  • Make the frosting: Beat softened butter and sifted powdered sugar until smooth. Add cream cheese and mix briefly just until smooth (avoid overmixing). Add vanilla and cold heavy cream, then whip 1–2 minutes until fluffy and spreadable.
  • Assemble: If needed, level the tops of the cakes. Place the first layer on a serving plate/cake stand. Spread a generous layer of frosting on top.
  • Add the second layer upside down (flat side up) for a cleaner, sharper top. Frost the top and sides. Decorate with pecans.
  • Chill: Refrigerate 3–4 hours (overnight is best) before slicing.

Video

Notes

  • For the moistest cake: Don’t overmix after adding flour. Mix only until the flour disappears, then fold in carrots/nuts.
  • Carrots: Finely grated carrots melt into the crumb and keep it tender. Avoid big shreds.
  • If the frosting is too runny: This usually means the cream cheese or butter was too warm, or the frosting was slightly overmixed. Refrigerate the frosting for 1–2 hours to help it firm up, then give it a quick stir or short re-whip before frosting the cake.
  • Make ahead
    • Cake layers can be baked, cooled, wrapped well, and refrigerated 2 days or frozen up to 2 months.
    • Frosting can be made 1–2 days ahead and refrigerated. Let it soften slightly, then re-whip briefly before using.
  • Storage: Store the frosted cake covered in the fridge for up to 4–5 days. Let slices sit at room temp 15–20 minutes for best texture.

Nutrition

Calories: 609kcalCarbohydrates: 53gProtein: 7gFat: 46gSaturated Fat: 16gPolyunsaturated Fat: 16gMonounsaturated Fat: 11gTrans Fat: 0.4gCholesterol: 103mgSodium: 322mgPotassium: 231mgFiber: 2gSugar: 25gVitamin A: 5374IUVitamin C: 2mgCalcium: 102mgIron: 2mg
Nutrition information is automatically generated and thus we can not guarantee it is 100% accurate.
Keyword cake, carrot, cream cheese frosting

FAQs

Can I use pre-shredded carrots to make carrot cake?

It’s not recommended. Store-bought shredded carrots are thicker and drier, which can result in a dense cake. Freshly grated carrots melt into the batter and create a softer, moister crumb.

How finely should I grate the carrots for carrot cake?

Finely grated carrots work best. Use the small holes on a box grater or the fine shredding blade of a food processor. Very fine shreds blend into the batter, keeping the cake moist and evenly textured. Large carrot pieces don’t soften as well and can make the crumb uneven.

Why is my cream cheese frosting too soft or runny?

Cream cheese frosting can become too soft if the butter or cream cheese is too warm or if it’s overmixed. If this happens, refrigerate the frosting for 1–2 hours to help it firm up, then briefly re-whip before frosting the cake.

Can I bake this carrot cake in a single pan instead of two layers?

Yes. You can bake the batter in a 9×13-inch (23×33cm) pan instead. The baking time will increase to about 40–45 minutes. Check for doneness with a toothpick inserted in the center.

Why does carrot cake taste better the next day?

Carrot cake often tastes even better the next day because the flavors have time to meld and the cake stays incredibly moist. Chilling also helps the cream cheese frosting set, making the cake easier to slice.

13 Comments

  1. 5 stars
    Very nice recipe chef 👍👌👏 . Thank you for your effort AND A HAPPY NEW YEAR 2026 TO YOU AND YOUR FAMILY 🌞😎

    January 14, 2026
  2. Deborah Chiasson says:

    5 stars
    Can this recipe be used for a sheet cake

    January 13, 2026
    1. This carrot cake recipe works very well as a sheet cake.

      You can bake the batter in a 9×13-inch (23×33 cm) pan. Keep the oven temperature the same, and start checking for doneness after 35–40 minutes. The cake is ready when a toothpick inserted into the center comes out clean or with a few moist crumbs.

      January 14, 2026
  3. Can I add drained crushed pineapple without the extra moisture affecting the cake’s texture?

    July 28, 2025
    1. Yes, you can! Just make sure to thoroughly drain the crushed pineapple—press out as much liquid as possible. About ½ cup works well. It adds moisture and flavor without making the cake soggy. Fold it in with the carrots and nuts.

      July 29, 2025
  4. Anonymous says:

    5 stars
    Best carrot cake i made, definetly doing again!

    February 16, 2025
  5. in the video it said 250g of cream cheese but in the written recipe it says 450g
    which is it please?

    December 18, 2024
    1. Oh so sorry about that. The correct amount is 450 (2 cups) and not 250.
      Thanks for letting me know. I will put it in the recipe notes right now.

      December 18, 2024
  6. Christine Yumul says:

    Hi, can you please share the measurements if I only want to do one layer cake?
    Thanks

    May 9, 2020
    1. The Cooking Foodie says:

      Just use half of the ingredients.

      May 10, 2020
      1. 5 stars
        Best carrot cake recipe ever! I skipped the nuts and it was still good.

        December 15, 2024
  7. Hello I have a question. Sadly i can’t find typical Cream cheese in my country .There is way to replace Cream cheese , with some other kind ? Like mascarpone will fit ?

    December 18, 2019
    1. The Cooking Foodie says:

      Yes, mascarpone will fit.

      December 26, 2019
5 from 4 votes

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating




The maximum upload file size: 2 GB. You can upload: image. Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded. Drop files here