Carrot Cake with Cream Cheese Frosting

This carrot cake with cream cheese frosting is one of those recipes that never gets old. It’s moist, perfectly spiced, and topped with the creamiest frosting you can imagine.

Spiced carrot cake with cream cheese frosting

I’ve made this cake more times than I can count, and it always turns out great. Whether it’s for a birthday, a holiday, or just because you feel like baking something special.

The cake itself is soft and full of warm cinnamon and nutmeg flavor. The grated carrots keep everything incredibly moist, and the pecans add a nice little crunch.

Rich carrot cake with cream cheese frosting

And then there’s the cream cheese frosting. It’s sweet, tangy, and honestly the perfect match for this cake. You’ll want to put it on everything.

The whole recipe is really straightforward. No fancy techniques or hard-to-find ingredients, just simple baking that gives you an amazing result every time.

Why You’ll Love It

Incredibly Moist – The combination of vegetable oil and finely grated carrots makes this cake unbelievably moist and tender in every single bite.

Perfectly Spiced – Cinnamon and nutmeg give this cake a warm cozy flavor that hits just right without being too strong.

Tender carrot cake with cream cheese frosting

The Frosting Is Unreal – This tangy cream cheese frosting is silky smooth and balances the sweetness of the cake perfectly.

Beautiful Layered Presentation – Two frosted layers with rustic swirls make this cake look bakery-worthy and absolutely stunning on any table.

Recipe Ingredients

For the Cake

  • 2 cups All-Purpose Flour
  • 2 tsp Baking Soda
  • 2 tsp Ground Cinnamon
  • 1/2 tsp Ground Nutmeg
  • 1/2 tsp Salt
  • 1 1/4 cups Vegetable Oil
  • 1 cup Granulated Sugar
  • 1/2 cup Light Brown Sugar (packed)
  • 4 Large Eggs
  • 1 tsp Vanilla Extract
  • 3 cups Finely Grated Carrots
  • 1/2 cup Chopped Pecans

For the Frosting

  • 8 oz Cream Cheese (softened)
  • 1/2 cup Unsalted Butter (softened)
  • 3 cups Powdered Sugar
  • 1 tsp Vanilla Extract

Directions

Step 1

Preheat your oven to 350°F (175°C). Grease two 9-inch round cake pans and line the bottoms with parchment paper rounds.

Step 2

In a medium bowl, whisk together the flour, baking soda, cinnamon, nutmeg, and salt. Set aside.

Step 3

In a large bowl, whisk the vegetable oil, granulated sugar, brown sugar, eggs, and vanilla extract until smooth and well combined.

Step 4

Add the dry ingredients to the wet ingredients and stir until just combined. Fold in the grated carrots and chopped pecans until evenly distributed throughout the batter.

Step 5

Divide the batter evenly between the two prepared pans. Bake for 30 to 35 minutes, until a toothpick inserted into the center comes out clean.

Step 6

Let the cakes cool in the pans for 10 minutes, then turn them out onto wire racks. Remove the parchment paper and let the layers cool completely before frosting.

Step 7

Make the frosting by beating the cream cheese and butter together on medium speed until light and fluffy, about 2 minutes. Add the powdered sugar and vanilla extract, then beat on low speed until combined. Increase to medium-high and beat for another minute until smooth and creamy.

Step 8

Place one cake layer on a serving plate and spread a thick, even layer of frosting on top. Set the second layer on top and frost the top and sides generously. For a rustic look, use the back of a spoon to create gentle swirls in the frosting.

Classic carrot cake with cream cheese frosting

My Tips

Use the Fine Side of the Grater

Grate your carrots on the finest holes of a box grater, not the large shredding side. Finely grated carrots break down more during baking and create a smoother, more moist cake.

Large shreds don’t soften as much in the oven, so you end up with chewy carrot pieces throughout the cake instead of that smooth, tender texture you want.

It takes a little more effort, but it makes a big difference in how the final cake feels in every bite.

Squeeze the Moisture Out of the Carrots

After you grate the carrots, spread them on a paper towel or clean kitchen towel and press down to remove some of the excess moisture. Carrots hold a lot of water, and too much liquid can make the center of the cake dense and gummy.

Layered carrot cake with cream cheese frosting

You don’t need to wring them completely dry. Just a good press to get rid of the surface moisture is enough. This helps the batter hold together better and bake more evenly.

The Cream Cheese and Butter Must Be Properly Softened

Leave the cream cheese and butter on the counter for about an hour before making the frosting. They should be soft enough that you can easily press a finger into them, but not warm or melty.

If they’re still cold, the frosting will be lumpy and no amount of beating will fully smooth it out. If they’re too warm, the frosting will be runny and won’t hold its shape on the cake.

A good test is to press the butter with your finger. If it gives easily without being greasy or squishy, it’s ready.

More Recipes

Frequently Asked Questions

Can I make this carrot cake without pecans or swap them for something else?

Absolutely. You can leave the pecans out entirely and the cake will still turn out moist and delicious. The pecans add a nice crunch but they’re not essential to the structure of the cake.

If you’d like a substitute, walnuts work perfectly here and are the most common swap. You could also try shredded coconut or raisins for a different twist.

Carrot Cake with Cream Cheese Frosting

This classic carrot cake is wonderfully moist and warmly spiced, topped with rich cream cheese frosting. It's a timeless favorite perfect for any celebration.
Carrot Cake with Cream Cheese Frosting
Prep Time 25 minutes
Cook Time 35 minutes
Total Time 1 hour
Course Dessert
Cuisine American
Servings 12 slices
Calories 611 kcal

Equipment

  • 9-inch round cake pans
  • wire racks
  • electric mixer

Ingredients  

For the Cake

  • 2 cups All-Purpose Flour
  • 2 tsp Baking Soda
  • 2 tsp Ground Cinnamon
  • 1/2 tsp Ground Nutmeg
  • 1/2 tsp Salt
  • 1 1/4 cups Vegetable Oil
  • 1 cup Granulated Sugar
  • 1/2 cup Light Brown Sugar (packed)
  • 4 Large Eggs
  • 1 tsp Vanilla Extract
  • 3 cups Finely Grated Carrots
  • 1/2 cup Chopped Pecans

For the Frosting

  • 8 oz Cream Cheese (softened)
  • 1/2 cup Unsalted Butter (softened)
  • 3 cups Powdered Sugar
  • 1 tsp Vanilla Extract

Instructions 

  1. Preheat your oven to 350°F (175°C). Grease two 9-inch round cake pans and line the bottoms with parchment paper rounds.
  2. In a medium bowl, whisk together the flour, baking soda, cinnamon, nutmeg, and salt. Set aside.
  3. In a large bowl, whisk the vegetable oil, granulated sugar, brown sugar, eggs, and vanilla extract until smooth and well combined.
  4. Add the dry ingredients to the wet ingredients and stir until just combined. Fold in the grated carrots and chopped pecans until evenly distributed throughout the batter.
  5. Divide the batter evenly between the two prepared pans. Bake for 30 to 35 minutes, until a toothpick inserted into the center comes out clean.
  6. Let the cakes cool in the pans for 10 minutes, then turn them out onto wire racks. Remove the parchment paper and let the layers cool completely before frosting.
  7. Make the frosting by beating the cream cheese and butter together on medium speed until light and fluffy, about 2 minutes. Add the powdered sugar and vanilla extract, then beat on low speed until combined. Increase to medium-high and beat for another minute until smooth and creamy.
  8. Place one cake layer on a serving plate and spread a thick, even layer of frosting on top. Set the second layer on top and frost the top and sides generously. For a rustic look, use the back of a spoon to create gentle swirls in the frosting.

Nutrition

Serving: 1servingCalories: 611kcalCarbohydrates: 68gProtein: 5gFat: 35g
Keyword carrot cake, carrot cake recipe, cream cheese frosting, homemade carrot cake

Tried this recipe?

Let us know how it turned out!

Leave a Comment

Recipe Rating