Carrot Cake with Cream Cheese Frosting

Carrot cake with cream cheese frosting is one of those recipes that shows up every spring and somehow disappears faster than anything else on the dessert table. I started making this version a few years ago when I wanted something that felt a little more special than the standard box mix but wasn’t a weekend-long project.

The yogurt and maple syrup keep the crumb incredibly moist, and the warm spices make the whole kitchen smell like something good is happening. It’s the kind of cake that works for an Easter brunch, a birthday, or honestly a random Tuesday when you have a bag of carrots and some ambition.

Ingredients

For the Cake Batter

  • 2 cups (284g) all-purpose flour, spooned and leveled
  • 1 teaspoon baking powder
  • ¾ teaspoon baking soda
  • ½ teaspoon fine salt
  • 1 teaspoon ground cinnamon
  • ¼ teaspoon ground allspice
  • ¼ teaspoon ground nutmeg
  • ¼ teaspoon ground ginger
  • ⅔ cup (145g) packed light brown sugar
  • ½ cup (100g) granulated sugar
  • 3 large eggs, at room temperature
  • ⅔ cup (160ml) sunflower oil
  • ½ cup (120ml) plain full-fat yogurt, at room temperature
  • ⅓ cup (80ml) pure maple syrup
  • 2 cups (240g) finely grated carrots (from about 3 medium carrots)
  • ½ cup (50g) coarsely chopped walnuts
  • ½ cup (70g) raisins, soaked in warm water for 10 minutes and drained (optional)

For the Cream Cheese Frosting

  • 8 oz (225g) full-fat cream cheese, softened to room temperature
  • ½ cup (115g) unsalted butter, softened to room temperature
  • 2 cups (240g) powdered sugar, sifted
  • 1 teaspoon pure vanilla extract
  • Pinch of salt

How To Make Carrot Cake with Cream Cheese Frosting

  1. Preheat your oven to 350°F (175°C). Grease two 8-inch round cake pans and line the bottoms with parchment paper.
  2. Whisk the dry ingredients in a large bowl: flour, baking powder, baking soda, salt, cinnamon, allspice, nutmeg, and ginger. Set aside.
  3. Grate the carrots on the fine side of a box grater. You want them finely grated so they melt into the batter rather than creating chunky bits. Measure out 2 cups and set aside.
  4. Beat the sugars, eggs, oil, yogurt, and maple syrup together in a separate large bowl until well combined and slightly pale, about 2 minutes by hand or 1 minute with a hand mixer.
  5. Add the dry ingredients to the wet ingredients and fold gently with a spatula until just combined. Don’t overmix at this stage or the cake can turn tough.
  6. Fold in the grated carrots, walnuts, and raisins (if using) until evenly distributed throughout the batter.
  7. Divide the batter evenly between the two prepared pans and smooth the tops with your spatula.
  8. Bake for 30 to 35 minutes, or until a toothpick inserted in the center comes out clean and the edges have just started pulling away from the sides of the pan.
  9. Cool the cakes in the pans for 10 minutes, then turn them out onto a wire rack. Let them cool completely before frosting (at least 1 hour).
  10. Make the cream cheese frosting by beating the softened cream cheese and butter together until smooth and fluffy, about 2 minutes. Add the sifted powdered sugar, vanilla, and salt, then beat on low until incorporated, then on medium-high until light and creamy.
  11. Assemble the cake by placing one layer on your serving plate, spreading a generous amount of frosting on top, then stacking the second layer. Frost the top and sides as you like. For a rustic look, don’t fuss over perfectly smooth sides.
  12. Refrigerate for at least 30 minutes before slicing so the frosting sets and the layers hold together cleanly.
slice Carrot Cake with Cream Cheese Frosting

Why This Carrot Cake Works So Well

Most carrot cake recipes rely on vegetable oil alone to keep things moist, which is fine but doesn’t add much flavor. This version swaps some of that oil for full-fat yogurt and pure maple syrup, and those two additions make a real difference. The yogurt gives the crumb a tender, almost velvety texture, and the maple syrup adds a subtle warmth that plays beautifully against the cinnamon and ginger.

Finely grating the carrots is also key. Coarsely grated carrots can make the cake feel heavy or wet in spots, while finely grated ones basically dissolve into the batter as it bakes, leaving moisture and sweetness without any stringy texture. It’s a small step that’s worth the extra minute at the grater.

Tips for the Best Cream Cheese Frosting

The biggest mistake people make with cream cheese frosting is starting with cold cream cheese. Cold cream cheese won’t blend smoothly, and you’ll end up with a lumpy frosting no matter how long you beat it. Pull it out of the fridge at least an hour before you start. Same goes for the butter.

Once you’ve beaten the cream cheese and butter until fluffy, add the powdered sugar gradually and start the mixer on low. If you dump it all in at once and crank up the speed, you’ll be covered in a cloud of sugar. Beyond that, the frosting comes together quickly and you can adjust sweetness by adding more sugar or brightness with a small squeeze of lemon juice.

If your kitchen is warm and the frosting feels too soft to spread cleanly, pop it in the fridge for 15 to 20 minutes before using it. It firms up nicely and is much easier to work with.

Variations Worth Trying

One of the best things about carrot cake is how well it adapts to what you have on hand. Don’t love raisins? Leave them out entirely or swap in dried cranberries for a bit of tartness. No walnuts? Pecans work just as well, or you can skip the nuts altogether for a smoother crumb.

You can also bake this as a 9×13-inch sheet cake instead of two round layers. Spread all the frosting on top and slice into squares. It’s easier to transport, easier to serve, and honestly just as good. Baking time will be similar, around 30 to 35 minutes, but start checking at 28.

For a spice boost, some people add a half teaspoon of cardamom alongside the other spices. It’s not traditional, but it gives the cake a slightly more complex, almost floral note that pairs really well with the cream cheese frosting.

Notes

  • Room temperature ingredients matter. Cold eggs and yogurt can cause the batter to seize slightly and won’t incorporate as smoothly. Give them 30 to 60 minutes on the counter before you start.
  • Don’t skip lining the pans with parchment. Even with greased pans, carrot cake layers can stick because of the sugar content. Parchment is cheap insurance.
  • Make-ahead: The cake layers can be baked a day ahead, wrapped tightly in plastic wrap, and stored at room temperature. The frosting can also be made a day ahead and refrigerated. Bring it to room temperature and give it a quick beat before spreading.
  • Storage: Keep the frosted cake covered in the refrigerator for up to 5 days. Let slices come to room temperature for 15 minutes before serving for the best texture.
  • Freezing: Unfrosted layers freeze well for up to 2 months. Wrap each layer tightly in plastic, then foil. Thaw overnight in the refrigerator before frosting.
  • Scaling: This recipe doubles well for a four-layer celebration cake. Keep baking times the same and bake in batches.

Frequently Asked Questions

Can I use pre-shredded carrots from the bag? You can, but it’s not ideal. Bagged shredded carrots are often drier and cut thicker than freshly grated ones. The difference in moisture and texture does show up in the final cake, so fresh grated carrots are worth the extra few minutes.

Why did my cake come out dense? A few things can cause a dense carrot cake. Overmixing the batter once the flour goes in is the most common culprit, since it develops too much gluten. Old baking powder or baking soda that’s lost its potency is another one. It’s worth testing yours: drop a teaspoon of baking soda into a bit of vinegar or a teaspoon of baking powder into hot water. If it doesn’t bubble vigorously, it’s time for a new container.

Can I make this as cupcakes? Yes, this batter works great as cupcakes. Fill lined muffin tins about two-thirds full and bake at 350°F (175°C) for 18 to 22 minutes. You’ll get approximately 18 to 20 cupcakes from this batch.

How do I know when the cake is done? The toothpick test is your most reliable tool. Insert it in the center of the cake and it should come out clean or with just a few moist crumbs. Also look for the edges pulling slightly away from the sides of the pan and a top that springs back lightly when pressed.

Can I freeze the frosted cake? You can, though cream cheese frosting can change slightly in texture after freezing and thawing. If you need to freeze it, do so in slices on a parchment-lined baking sheet until solid, then wrap individually. Thaw in the refrigerator overnight.

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 with Cream Cheese Frosting

Carrot Cake with Cream Cheese Frosting


5 Stars 4 Stars 3 Stars 2 Stars 1 Star

No reviews

  • Author: Olivia Harper
  • Total Time: 60 minutes
  • Yield: 12 servings 1x
  • Diet: Vegetarian

Ingredients

Scale

For the Cake Batter

  • 2 cups (284g) all-purpose flour, spooned and leveled
  • 1 teaspoon baking powder
  • ¾ teaspoon baking soda
  • ½ teaspoon fine salt
  • 1 teaspoon ground cinnamon
  • ¼ teaspoon ground allspice
  • ¼ teaspoon ground nutmeg
  • ¼ teaspoon ground ginger
  • ⅔ cup (145g) packed light brown sugar
  • ½ cup (100g) granulated sugar
  • 3 large eggs, at room temperature
  • ⅔ cup (160ml) sunflower oil
  • ½ cup (120ml) plain full-fat yogurt, at room temperature
  • ⅓ cup (80ml) pure maple syrup
  • 2 cups (240g) finely grated carrots (from about 3 medium carrots)
  • ½ cup (50g) coarsely chopped walnuts
  • ½ cup (70g) raisins, soaked in warm water for 10 minutes and drained (optional)

For the Cream Cheese Frosting

  • 8 oz (225g) full-fat cream cheese, softened to room temperature
  • ½ cup (115g) unsalted butter, softened to room temperature
  • 2 cups (240g) powdered sugar, sifted
  • 1 teaspoon pure vanilla extract
  • Pinch of salt

Instructions

  1. Preheat your oven to 350°F (175°C). Grease two 8-inch round cake pans and line the bottoms with parchment paper.
  2. Whisk the dry ingredients in a large bowl: flour, baking powder, baking soda, salt, cinnamon, allspice, nutmeg, and ginger. Set aside.
  3. Grate the carrots on the fine side of a box grater. You want them finely grated so they melt into the batter rather than creating chunky bits. Measure out 2 cups and set aside.
  4. Beat the sugars, eggs, oil, yogurt, and maple syrup together in a separate large bowl until well combined and slightly pale, about 2 minutes by hand or 1 minute with a hand mixer.
  5. Add the dry ingredients to the wet ingredients and fold gently with a spatula until just combined. Don’t overmix at this stage or the cake can turn tough.
  6. Fold in the grated carrots, walnuts, and raisins (if using) until evenly distributed throughout the batter.
  7. Divide the batter evenly between the two prepared pans and smooth the tops with your spatula.
  8. Bake for 30 to 35 minutes, or until a toothpick inserted in the center comes out clean and the edges have just started pulling away from the sides of the pan.
  9. Cool the cakes in the pans for 10 minutes, then turn them out onto a wire rack. Let them cool completely before frosting (at least 1 hour).
  10. Make the cream cheese frosting by beating the softened cream cheese and butter together until smooth and fluffy, about 2 minutes. Add the sifted powdered sugar, vanilla, and salt, then beat on low until incorporated, then on medium-high until light and creamy.
  11. Assemble the cake by placing one layer on your serving plate, spreading a generous amount of frosting on top, then stacking the second layer. Frost the top and sides as you like. For a rustic look, don’t fuss over perfectly smooth sides.
  12. Refrigerate for at least 30 minutes before slicing so the frosting sets and the layers hold together cleanly.

Notes

  • Room temperature ingredients matter. Cold eggs and yogurt can cause the batter to seize slightly and won’t incorporate as smoothly. Give them 30 to 60 minutes on the counter before you start.
  • Don’t skip lining the pans with parchment. Even with greased pans, carrot cake layers can stick because of the sugar content. Parchment is cheap insurance.
  • Make-ahead: The cake layers can be baked a day ahead, wrapped tightly in plastic wrap, and stored at room temperature. The frosting can also be made a day ahead and refrigerated. Bring it to room temperature and give it a quick beat before spreading.
  • Storage: Keep the frosted cake covered in the refrigerator for up to 5 days. Let slices come to room temperature for 15 minutes before serving for the best texture.
  • Freezing: Unfrosted layers freeze well for up to 2 months. Wrap each layer tightly in plastic, then foil. Thaw overnight in the refrigerator before frosting.
  • Scaling: This recipe doubles well for a four-layer celebration cake. Keep baking times the same and bake in batches.
  • Prep Time: 20 minutes
  • Cook Time: 40 minutes
  • Category: Dessert
  • Method: Baking
  • Cuisine: American

Nutrition

  • Serving Size: 1 slice
  • Calories: 480 kcal
  • Sugar: 40 g
  • Sodium: 350 mg
  • Fat: 26 g
  • Saturated Fat: 10 g
  • Unsaturated Fat: 15 g
  • Trans Fat: 0.5 g
  • Carbohydrates: 55 g
  • Fiber: 3 g
  • Protein: 6 g
  • Cholesterol: 75 mg

More Cake Recipes You’ll Love

Leave a Comment

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