Carrot Cake Recipe

A classic Carrot Cake with Cream Cheese Frosting that’s easy to bake and decorate. The addition of pecans in the frosting and cake makes this carrot cake recipe extra delicious!

Carrot Cake slice with cream cheese frosting and chopped pecans on white plate

Yesterday, a good friend of mine came over to spend some time in my kitchen. It was her husband’s birthday and she wanted to surprise him with his all-time favorite cake–Carrot Cake. 

It had been years since I’d baked carrot cake and I’d almost forgotten how much I like it. I hadn’t planned originally on making a carrot cake for our family too but it sounded so good I went with it!

We mixed up two batches of the batter and doubled the frosting so we’d have enough for both cakes.

Carrot Cake Recipe

Made with fresh grated carrots and spiced with cinnamon, this carrot cake recipe also includes pecans folded into the frosting. The nutty flavor and crunch are a perfect fit for carrot cake. I love biting into a slice of moist cake and getting a delightful bite of pecan, too.

That said, if you’re not a fan of pecans or prefer your cake without them, simply omit the nuts. The cake tastes amazing either way!

This recipe works beautifully in a 9 x 13 cake pan but my personal favorite way to bake it is as a double layer cake! Layered cake means more frosting per bite and, trust me, you’re going to want to enjoy AS MUCH of this tasty cream cheese frosting as possible.

Step by step instructions for making carrot cake

Carrot Cake Recipe

Carrot cake is an easy enough recipe for even beginning bakers!

STEP 1. Make a Cake Batter.

Mix the sugar, oil and eggs in a large bowl or stand mixer. Add the flour, baking soda, baking powder, and cinnamon. Beat for 2-3 minutes until fully combined and fluffy.

STEP 2. Add carrots. 

Fold shredded carrots into the cake batter.

STEP 3. Bake. 

Pour the batter into two well-greased and floured 9 inch cake pans or one 9 x 13 inch pan. Bake for 30 minutes in a 350 degree oven. Let cool.

When the cake is fully cooled, prepare the frosting.

How do you grate carrots for carrot cake?

You can grate carrots for carrot cake using either a box grater or a food processor. Make sure to start with washed, peeled carrots.

If using a box grater, place the carrot against the side of the grater and run the carrot downward to grate. When you use a food processor, use the smallest setting on your grating attachment. You want the pieces very fine without turning into a puree.

Can you make carrot cake ahead of time?

This moist cake can be made up to two days in advance of serving if stored properly in an airtight container. For best taste, bake the cake and store it (un-frosted) wrapped tightly in plastic wrap. Frost the cake when you’re ready to serve.

Overhead view of carrot cake with two slices on white plates.

Can you freeze carrot cake?

If you need to make your carrot cake more than a day or two ahead of serving it freezes wonderfully–with or without the cream cheese frosting on top. Unlike other icings, this sturdy frosting holds up well to freezing.

Cut the cake into slices and store in freezer bags or airtight containers. Let thaw completely in the fridge or at room temperature before serving.

How to Make Cream Cheese Frosting

STEP 1. Combine the Butter and Cream Cheese. 

Use a hand mixer or the whisk attachment on a stand mixer to cream together the butter and cream cheese. Beat until well combined, about 3 minutes.

STEP 2. Add Powdered Sugar.

Beat in the powdered sugar along with the vanilla extract. Fold in the pecans.

STEP 3. Frost the Cake!

  • To make a layer cake: Spread frosting over the flat side of one of the layers. Place the other layer on top then spread icing evenly over the whole cake.
  • To make a sheet cake: Spread frosting evenly over the entire cake.

Decorate your cake with more icing or pecans, or serve it just as is! Either way, everyone loves this carrot cake.

Can you make cream cheese frosting ahead of time?

Yes, cream cheese frosting can be made in advance. Store it covered in an airtight container in the fridge for up to a week.

Tips for Making Carrot Cake

  • Let your cake cool for about 10 minutes in the pan after baking before removing them. This helps keep the cake from sticking and falling apart as you try to take it out of the pan!
  • I like to use Bake Even Strips in my layer cakes. These handy little tools help the layers stay even while baking which makes for an ideal taste and appearance.
  • Make sure the cake is completely cool before you add the frosting. Patience is a virtue here; even a slightly warm cake will make your frosting runny.

MORE Carrot Cake Recipes

Try these delicious spins on moist and flavorful carrot cake.

MORE Cake Recipes

Yield: 16 servings

Carrot Cake

Prep Time 15 minutes
Cook Time 30 minutes
Additional Time 15 minutes
Total Time 1 hour

A classic Carrot Cake with Cream Cheese Frosting that's easy to bake and decorate. The addition of pecans in the frosting and cake makes this carrot cake recipe extra delicious! 


For the Cake:

  • 2 cups granulated sugar
  • 1 cup vegetable oil
  • 4 large eggs
  • 2 cups all-purpose flour
  • 1 tsp baking soda
  • 1 tsp baking powder
  • 2 tsp ground cinnamon
  • 2 cups grated carrots, or finely shredded

For the frosting:

  • 1/2 cup unsalted butter, softened
  • 8oz cream cheese, softened
  • 1 Tbsp vanilla extract
  • 3 1/2 cups powdered sugar
  • 1 cup pecans, chopped


  1. Mix sugar, oil and eggs. Add flour, baking soda, baking powder, and cinnamon. Beat for 2-3 minutes until fully combined and fluffy.
  2. Fold in carrots.
  3. Preheat oven to 350 degrees. In well greased and floured 9 inch cake pans, pour batter. (I like to use bake even strips on my cake pans to keep the cakes level) Bake for 30 minutes.
  4. When cake is cooled, cream together butter and cream cheese (about 3 minutes). Add vanilla, powdered sugar and mix well. Fold in pecans. Spread over cake and enjoy!


*Use my cake release recipe instead of flour and grease on the pans.

Nutrition Information:



Serving Size:

1 slice

Amount Per Serving: Calories: 544Total Fat: 31gSaturated Fat: 8gTrans Fat: 0gUnsaturated Fat: 21gCholesterol: 76mgSodium: 229mgCarbohydrates: 65gFiber: 2gSugar: 50gProtein: 5g
*Nutrition facts are an estimate and not guaranteed to be accurate. Please see a registered dietitian for special diet advice.

Recipe originally published March 22, 2011. Photos updated 2020.

Spread with rich and sweet cream cheese frosting, this classic carrot cake recipe is as easy as it is delicious. 


About Aimee

Aimee is a dessert lover (specifically rice krispie treats), workout enthusiast, self-taught foodie, and recipe creator.

Learn more about Aimee.

Affiliate Disclosure:**There may be affiliate links in this post! By clicking on them, or purchasing recommended items I may receive a small compensation. However, I only recommend products I love! Thank you for supporting Shugary Sweets! See my disclosure policy for more info**

Get My Free Email Course
Become a Better Baker—no more box mixes! Discovery your new “signature” desserts!


Posted on January 9, 2020

Comments & Reviews

  1. I was not able to find the complete recipe for this Carrot Cake Cheesecake cake recipe. I did find the carrot cake part and was able to see the frosting part (cream cheese, sugar, 2 eggs, sour cream, cream – but not the amounts of this recipe. would appreciate it if I could have the recipe.

  2. This is a wonderful cake, I add instant vanilla pudding and extra carrots. I also add the walnuts to the cake mix. My favorite!!!

  3. Yeah, I am so glad your back for another “round”! 🙂

    This has my hubby’s name written all over it. Thanks for linking up to
    “Made it on Monday”


Leave a Reply

Your email address will not be published.