Carrot Cake With Cream Cheese Icing

Jump Pin Save
1 hour 15 minutes

This post may contain affiliate links. As an Amazon Associate, I earn from qualifying purchases.

This made-from-scratch Carrot Cake With Cream Cheese Icing is moist, warmly spiced, and filled with freshly grated carrots and toasted nuts. Finished with sweet homemade cream cheese icing, it’s the kind of layer cake that’s perfect for any party or celebration.

Originally published March 2022 – Updated March 2026

Carrot Cake With Cream Cheese Frosting

Carrot cake usually gets its big moment around Easter, but I’ve never understood why it doesn’t show up more often. When a cake is this easy to make from scratch and turns out this good, it deserves a spot on the table all year long.

I use freshly grated carrots, toasted nuts, and warm spices to create the cake layers. Then I finish it with homemade cream cheese icing for that sweet tanginess everyone loves in a traditional carrot cake.

I wasn’t looking for shortcuts when I created this recipe. I wanted it to taste like it was made from scratch, with real ingredients the old-fashioned way. It bakes up super moist and full of flavor, with the perfect balance of spice and sweetness. It truly is a classic.

With this carrot cake on the table, you’ve got dessert covered. If you still need ideas for Easter dinner, you cannot go wrong with this Brown Sugar Glazed Ham. Add these Maple Glazed Carrots (SO good) and Garlic Rosemary Mashed Potatoes and you’ve got the perfect Easter dinner!

Subscription Form – New Recipe

Save this recipe for later! Sign up to have this link sent directly to your inbox.

A sliced carrot cake topped with cream cheese frosting and chopped pecans on a white plate, with a green cloth and carrots partially visible nearby.

Why We Love This Recipe

  • It’s easy yet impressive: This moist carrot cake looks like it came from a bakery, but it’s surprisingly simple to make at home.
  • It’s a crowd favorite: Packed with carrots, nuts, warm spices, and creamy cream cheese frosting, every bite is full of flavor.
  • Taste great for days – Thanks to the fresh carrots, this cake stays soft and delicious even the next day (and beyond).

Ingredients

Ingredients for carrot cake are arranged on a marble surface, including flour, eggs, brown sugar, cream cheese, carrots, oil, pecans, and spices, each labeled with text.

For The Cake Layers

  • All-purpose flour: Forms the base of the cake batter and gives the carrot cake structure.
  • Baking powder: Helps the cake rise and creates a soft, fluffy cake layer.
  • Cinnamon: Adds warm spice flavor that pairs perfectly with carrot cake.
  • Nutmeg: A small amount deepens the spice cake flavor.
  • Salt: Balances the sweetness and enhances the other flavors.
  • Brown sugar: Adds moisture and a deep caramel sweetness to the cake.
  • Sugar: Sweetens the cake and helps create a tender crumb.
  • Vegetable oil: Keeps the carrot cake incredibly moist and soft.
  • Eggs: Provide structure and richness to the cake batter.
  • Vanilla: Adds a warm background flavor to the cake.
  • Grated carrots: Gives carrot cake its signature flavor and moisture.
  • Chopped pecans: Adds texture to the cake and a crunchy topping.

For The Cream Cheese Icing

  • Heavy whipping cream: Whips up to create fluffy cream cheese frosting.
  • Cream cheese: Creates the tangy base for the cream cheese frosting.
  • Powdered sugar: Sweetens the frosting and helps it hold structure.
  • Vanilla extract: Adds extra flavor to the frosting.

How to Make The Best Carrot Cake

For The Cake

Step 1. Preheat oven to 350 degrees. Line two round 9-inch cake pans with parchment paper, then lightly spray with non-stick cooking spray.

Step 2. In a large bowl, whisk together all-purpose flour, baking powder, cinnamon, nutmeg, and salt.

Step 3. Using another large mixing bowl, whisk vegetable oil, vanilla, eggs, brown sugar, and white sugar until the ingredients are combined. Set aside.

A glass bowl with flour and other dry ingredients being whisked together on a white marble surface.
A glass bowl containing raw eggs, sugar, and wet ingredients with a metal whisk on a marble countertop.

Step 4. Slowly add the dry ingredients to the wet ingredients a little at a time, mixing between each addition. Mix until the flour mixture is just incorporated, being careful not to over mix.

Step 5. Fold grated carrots and one cup of pecans into the cake batter.

A glass bowl contains wet and dry ingredients being mixed with a metal whisk on a marble countertop.
A glass bowl containing cake batter, shredded carrots, and chopped pecans on a white marble surface.

Step 6. Pour batter into the prepared pans and bake for 35-40 minutes. The cake will be finished baking when a toothpick inserted into the middle of the pans comes out clean. Remove the cake from the oven and place it on a wire rack to until it cools completely to room temperature.

Step 7. While the cake layers are cooling, place one cup of chopped pecans on a rimmed baking sheet and bake for 4-5 minutes until toasted. Set aside.

Two round cakes in metal pans cooling on a wire rack, placed on a white marble surface.
A baking sheet lined with parchment paper, topped with evenly spread toasted pecan pieces on a marble surface.

For The Icing

Step 1. To make the frosting, cream together powdered sugar and cream cheese using a stand or hand mixer. Continue until the mixture is light and fluffy.

Step 2. Add vanilla and continue to mix until combined.

A metal mixing bowl containing a block of butter and powdered sugar on a white marble surface.
A metal mixing bowl with creamed butter and sugar, with a paddle attachment resting inside, sits on a white marble countertop.

Step 3: Pour heavy whipping cream into a separate bowl. Beat on medium speed for 2-3 minutes, until peaks begin to form. Add to the whipped cream cheese mixture.

Step 4: Use a spatula to fold the whipped cream into the cream cheese mixture until well incorporated.

A metal mixing bowl with a wire whisk attachment contains whipped cream on a marble countertop.
A glass bowl containing cream cheese icing with a wooden spatula, placed on a white marble surface.

Step 5. Frost the cake as desired, then sprinkle the toasted pecans on top.

A round, unfrosted cake rests on parchment paper atop a white plate, with a bowl of white frosting and a tray of chopped nuts nearby on a marble surface.
A round carrot cake topped with chopped pecans on a white plate, surrounded by whole carrots, eggs, pecans, a sugar bowl, forks, and plates on a marble surface.

Storage Instructions

Because this cake has cream cheese frosting, you’ll need to refrigerate leftovers in a covered container. It should stay fresh for up to 4 days in the refrigerator.

You can also freeze it for up to 4-6 months. For the best results, chill the cake in the fridge first tot give the frosting time to harden. Then wrap it in plastic wrap, followed by aluminum foil or a freezer bag.

Tip: Slice the cake before freezing and wrap each slice individually. This makes it easy to grab just a slice or two without having to thaw the entire cake.

A round carrot cake with white frosting and chopped pecans on top sits on a marble cake stand, surrounded by eggs, carrots, a glass of milk, and a green napkin.

Tips & Tricks

A few simple tips can make a big difference when baking carrot cake from scratch. These quick pointers will help you get soft, flavorful cake layers and smooth cream cheese icing every time.

  • If you’re short on time, you can buy a bag of pre-shredded carrots and give them a quick chop before stirring them into your cake batter. But keep in mind that freshly grated carrots tend to have a bit more flavor and moisture, so it’s best to grate them if you have the time.
  • Don’t overmix the cake batter once the flour mixture is added. Stir until the ingredients are just combined. It’s okay if the batter seems little lumpy but there shouldn’t be any pockets of dry flour mixture.
  • When assembling your cake layers, it helps to carefully slice off the top rounded portion with a cake leveler or serrated knife, so they’re flat on top. This allows your layers to stack neatly and make your cake easier to frost.
  • To get a smooth and creamy frosting, be sure that your cream cheese is room temperature before mixing. Otherwise you may have little lumps of unblended cream cheese.
A slice of carrot cake with cream cheese frosting and pecans on a plate with forks, next to a glass of milk, whole carrots, and more cake in the background.

Variations And Add-ins

One of the things I love about carrot cake is how easy it is to customize. Here are a few simple ways to switch things up or add a little extra flavor while keeping the cake every bit as delicious.

  • Crushed pineapple: Fold ½ cup drained crushed pineapple into the cake batter for extra moisture and a slightly sweeter carrot cake.
  • Walnuts: Swap pecans for walnut pieces if you prefer a traditional walnut carrot cake.
  • Carrot cake cupcakes: This carrot cake recipe also works well for carrot cake cupcakes. Bake in cupcake liners for about 18 to 22 minutes.
  • Extra spice cake flavor: Add a pinch of ginger or allspice to the dry ingredients if you enjoy a slightly bolder spice cake flavor.
  • Raisins: Some people love adding ½ cup raisins to homemade carrot cake batter for extra texture.
  • Zucchini: Replace one cup of carrot with grated zucchini for a carrot zucchini cake variation.
A slice of carrot cake with cream cheese frosting and pecans sits on a stack of plates, with a fork inserted into the cake; a whole cake is in the background.

FAQs

Why did my carrot cake sink in the middle?

This can happen if the oven temperature is too low or the cake layers were removed before they finished baking.

How do I know when carrot cake is done baking?

Insert a toothpick into the center of the cake. If it comes out clean, the cake is ready.

Can I bake this in different cake pans?

Two 8 inch round cake pans or a 9 x 13 baking dish will work with slight baking time adjustments.

Do you taste the carrots in this cake?

Yes, but not in the way you might expect. The freshly grated carrots add moisture, texture, and a subtle sweetness rather than a strong carrot flavor. Once the cake bakes with the warm spices and brown sugar, the carrots blend right in and help create the tender texture that carrot cake is known for.

A slice of carrot cake with cream cheese frosting and pecans on a plate, next to whole carrots, a green napkin, pecans, and a glass of milk.

Want More Tasty Dessert Recipes?

A slice of frosted carrot cake topped with chopped pecans is being lifted from the whole cake; brown eggs and carrot shreds are visible in the background.
5 from 1 vote

Carrot Cake With Cream Cheese Icing


Course desserts
Cuisine American
Prep Time 30 minutes
Cook Time 45 minutes
Total Time 1 hour 15 minutes
This homemade carrot cake is moist, perfectly spiced, and topped with rich cream cheese frosting, making it an easy, crowd-pleasing dessert for any occasion.

Equipment

Ingredients
 

  • 2 cups all purpose flour
  • 1 1/2 teaspoons baking powder
  • 1 teaspoon cinnamon
  • 1/4 teaspoon nutmeg
  • 1/2 teaspoon salt
  • 1 1/2 cups brown sugar
  • 1 cup sugar
  • 1 1/4 cups vegetable oil
  • 4 large eggs
  • 1 teaspoon vanilla
  • 2 cups grated carrots
  • 2 cups chopped pecans divided

For The Frosting

  • 2 cups powdered sugar
  • 8 ounces cream cheese softened
  • 1 teaspoon vanilla extract
  • 1 1/2 cups heavy whipping cream

Instructions

For The Cake

  • Preheat oven to 350 degrees. Line two round 9-inch cake pans with parchment paper. Lightly spray with non-stick cooking spray.
  • In a large bowl, whisk together all-purpose flour, baking powder, cinnamon, nutmeg, and salt.
    2 cups all purpose flour, 1 1/2 teaspoons baking powder, 1 teaspoon cinnamon, 1/4 teaspoon nutmeg, 1/2 teaspoon salt
  • Using another large mixing bowl, whisk brown sugar, white sugar, vegetable oil, eggs and vanilla extract until the ingredients are combined. Set aside.
    1 1/2 cups brown sugar, 1 cup sugar, 1 1/4 cups vegetable oil, 4 large eggs, 1 teaspoon vanilla
  • Slowly add the dry ingredients to the wet ingredients a little at a time, mixing between each addition. Mix until the flour mixture is just incorporated, taking care not to over mix.
  • Fold grated carrots and one cup of pecans into the cake batter.
    2 cups grated carrots, 2 cups chopped pecans
  • Pour batter into the prepared pans and bake for 35-40 minutes. The cake will be finished baking when a toothpick inserted into the middle of the pans comes out clean. Place cake on wire rack and let cool to room temperature.
  • While the cake layers are cooling, place one cup of chopped pecans on a rimmed baking sheet and bake for 4-5 minutes until toasted. Set aside.
    2 cups chopped pecans

For The Frosting

  • To make the frosting, cream together powdered sugar and cream cheese using a stand or hand mixer, continuing until the mixture is light and fluffy.
    2 cups powdered sugar, 8 ounces cream cheese
  • Add vanilla extract and continue to mix until combined.
    1 teaspoon vanilla extract
  • Pour heavy whipping cream into a separate bowl. Beat on medium speed for 2-3 minutes, until peaks begin to form. Add to the cream cheese mixture.
    1 1/2 cups heavy whipping cream
  • Use a spatula to fold the whipped cream into the cream cheese mixture until well incorporated.
  • Frost the cake as desired, then sprinkle the toasted pecans on top.
    2 cups chopped pecans

Notes

  • Because this cake has cream cheese frosting, you’ll need to refrigerate leftovers in a covered container. It should stay fresh for up to 4 days in the refrigerator.
  • You can freeze this cake for up to 4-6 months. For the best results, be sure the cake has been chilled first in the fridge to allow the frosting to harden. Then wrap first in plastic wrap, followed by aluminum foil or a freezer bag.
  • If you don’t want to grate your own carrots, you can buy a bag of pre-shredded carrots and give them a quick chop before stirring them into your cake batter. But keep in mind that freshly grated carrots tend to have a bit more flavor and moisture, so it’s preferable to grate them if you have the time.
  • Don’t overmix the cake batter once the flour mixture is added. Stir until the ingredients are just combined. It’s okay if the batter seems little lumpy but there should not be any pockets of dry flour mixture.
  • When assembling your cake layers, it helps to carefully slice off the top rounded portion with a cake leveler or serrated knife, so they’re flat on top. This allows your layers to stack neatly and make your cake easier to frost.
  • To get a smooth and creamy frosting, be sure that your cream cheese is room temperature before mixing. Otherwise you may have little lumps of unblended cream cheese.

Nutrition

Serving: 1g | Calories: 620kcal | Carbohydrates: 60g | Protein: 6g | Fat: 41g | Saturated Fat: 11g | Polyunsaturated Fat: 28g | Trans Fat: 1g | Cholesterol: 86mg | Sodium: 195mg | Fiber: 2g | Sugar: 45g
The nutrition information provided is an estimate and can vary based on cooking methods and ingredients used.

Did You Make This Recipe?

Share it with me on Instagram @funmoneymom and follow on Pinterest @funmoneymom for more!

Let’s be friends!

Did you love this post? Make sure to comment below and let me know your thoughts! And don’t forget to follow on your favorite social network below!

Fun in your inbox

Get the latest recipes, crafts and more straight to your inbox

    Lisa, author of Fun Money Mom, standing in front of a kitchen counter with a cupcake.

    About Lisa O’Driscoll

    Lisa O’Driscoll is a lifestyle and parenting expert, cookbook author, and the creative force behind Fun Money Mom, a popular blog she’s run since 2014. She’s the author of the children’s cookbook Roll It, Slice It, Mash It, Dice It, designed to get kids excited about cooking. With multiple TV appearances under her belt, she loves sharing her expertise on family-friendly recipes, creative DIYs, and party planning and is always on a mission to inspire and entertain!

    5 from 1 vote (1 rating without comment)

    Leave a Reply

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

    Recipe Rating




    2 Comments

    1. Mrs Kramer says:

      My sons don’t like nuts. I assume they add to the moisture level of the cake. How would I change the recipe to make up for leaving out the nuts?

      1. Hi there! Leaving the nuts out will not affect the moisture level of the cake, though it may make the cake a bit smaller and more dense.

    Similar Posts