Table of Contents
  1. What is carrot cake?
  2. What makes a carrot cake?
  3. Why use oil in the cake instead of butter?
  4. Watch how to make this carrot cake:
  5. Classic Carrot Cake Recipe

This post may contain affiliate links. If you make a purchase through links on our site, we may earn a commission.

Julia Child said it best when she made the point that a party without a cake is just a meeting. My takeaway from that is you never need a reason or an excuse to have a cake. I think we sometimes worry that a homemade cake will not be perfect, won’t look as professional as a bakery, and will be less delicious than one that was purchased.

I think that’s the point! I want it to look homemade and I want it to show the love, care, and work that went into it. The best part is that cake doesn’t have to be difficult. In fact, growing up, it was one of the first things I baked on my own. Follow this recipe and you will have a perfectly delicious carrot cake!

What is carrot cake?

The beginnings of carrot cake have a lot of folklore and differing opinions, but I like the stories that think it was born from a time when sugar was exotic and expensive and carrots were a cheap, alternate way to sweeten a cake. Sugar may not be exotic today, but carrots do have a high sugar content and more so, the ability to keep a cake moist. I go for a carrot cake that is heavy on the carrots. Why have false advertising? Instead, pile in plenty of carrots and just enough sugar to complement but not overpower the flavor.

At this point, carrot cake is like a cult classic, with a group of followers that absolutely love it. And with good reason. What’s not to love?

Big slice of carrot cake with two layers and white cream cheese frosting in between layers sitting on green colored place with fork

What makes a carrot cake?

When writing a recipe, my first step is to look for all the recipes I may have around: church cookbooks and family recipes, among others. Carrot cakes can have a large list of ingredients, some of them unique: pineapple, various nuts, bananas, and more. Pineapple should be reserved for a hummingbird cake, but pecans are essential in a carrot cake.

The most important step to including pecans is to make sure they are toasted first. Raw nuts become soggy. Toasting the nuts before adding them to the cake brings out the flavor and helps them keep their texture once baked.

Spices also create the perfect carrot cake. For me, that means adding cinnamon and nutmeg, which help enhance the flavor of the carrots.

Close up view of inside of orange colored carrot cake topped with cream cheese frosting sitting on white cake plate with white background

Why use oil in the cake instead of butter?

Oftentimes, cakes are made by creaming soft butter with sugar. This is the standard method, and usually, butter contributes to the flavor of cakes when there is no prominent spice or flavor.

Carrot cake uses oil, which is 100% fat as opposed to 80% in butter. The fat keeps the cake extremely moist, which means it freezes well and tastes fresh when defrosted. Since carrot cake has strong flavors due to the added cinnamon and nutmeg, the butter flavor would be overpowered. Butter is also heavier than oil and with the addition of carrots, the finished cake would be too dense if made with butter. The oil gives the finished cake an amazingly soft and light texture, which is the perfect carrier for cream cheese frosting!

Hand holding green colored plate with slice of carrot cake with fork slicing into cake with rest of cake in front
Is it important to chill the frosting before icing the cake?

Yes, very important! Since the cream cheese can warm up while the frosting is mixing, it’s important to follow the 20-minute chilling step for the frosting. This way, the frosting will not be too runny while frosting.

Watch how to make this carrot cake:

Slice of layered carrot cake sitting on green plate on a white countertop with a white cake plate in background

Classic Carrot Cake

4.08 from 42 votes
This layered carrot cake will be your new go-to recipe! Topped with a cream cheese frosting, this spongy cake is truly a classic!
Prep Time 20 minutes
Cook Time 45 minutes
Total Time 1 hour 5 minutes
Servings 16 servings


For the cake

  • ½ cup brown sugar
  • 1 cup white sugar
  • 4 large eggs
  • 1 ¼ cups neutral oil
  • 1 ½ tsp vanilla extract
  • 2 ½ cups flour
  • 1 tsp baking powder
  • 1 tsp baking soda
  • 1 ½ tsp cinnamon
  • ¼ tsp nutmeg freshly ground
  • 3 cups grated carrots lightly packed
  • 1 cup toasted pecans chopped

For the cream cheese frosting

  • 8 oz cream cheese room temperature
  • 8 tbsp unsalted butter room temperature
  • 2 tbsp sour cream
  • 2 tsp vanilla extract
  • 3 ½ cups powdered sugar sifted


  • Preheat oven to 350°F.
  • Grease two 9-inch round cake pans. Line bottoms with parchment paper and grease the paper. Set aside.
  • In the bowl of an electric mixer, combine the brown sugar, white sugar, eggs, oil, and vanilla. Mix on medium speed until combined, 3 minutes.
  • Add flour, baking powder, baking soda, cinnamon, and nutmeg. Mix until just combined and only a few streaks of dry ingredients remain. Fold in carrots and prepared pecans.
  • Pour into prepared cake pans and bake in preheated oven until a skewer inserted into the middle of the cake comes out clean, 35-45 minutes.
  • Remove from oven and cool in pans for 10 minutes. Then remove from the pans and cool completely before frosting.

For the frosting

  • While the cake is cooling, in the bowl of an electric mixture, mix the cream cheese on medium until smooth. Add in the butter and continue mixing until the cream cheese and butter are smooth and combined with no lumps, 3 minutes. The sides of the bowl may need to be scraped periodically while mixing.
  • Add the sour cream and mix to incorporate, 1 minute. Add the vanilla and powdered sugar. Mix on low until the sugar is incorporated and then mix on medium until smooth, 3-4 minutes.

To assemble the cake

  • Spread 1 cup of frosting on top of one 9-inch cake. Add the second cake and frost around the sides and top to cover the cakes. Serve immediately or store in the refrigerator to keep the frosting from getting too soft.


  • I like to make the frosting while the cake cools and chill in the refrigerator for up to two hours before frosting the cake.


Serving: 1servingCalories: 515kcalCarbohydrates: 48.3gProtein: 5.5gFat: 34.2gSaturated Fat: 9.1gPolyunsaturated Fat: 14.2gMonounsaturated Fat: 9gTrans Fat: 0gCholesterol: 76.6mgSodium: 162.6mgPotassium: 241.7mgFiber: 2gSugar: 30.5gVitamin A: 314.6IUVitamin C: 1.5mgCalcium: 75.8mgIron: 1.5mg
Course Dessert
Cuisine American
Difficulty Intermediate
Method Baking

You May Also Like

Never miss a post by signing up for my newsletter.
Avatar for Kaleb


I’m Kaleb! I'm not a chef, professional baker, landscaper, or designer, but I like to play each on Knollgate Farm. Come join me on my journey and let's learn together!

Learn more about me
4.08 from 42 votes (29 ratings without comment)

Leave a Comment

Recipe Rating:

This site uses Akismet to reduce spam. Learn how your comment data is processed.


    1. Hello! Any oil with no flavor, grape seed and safflower are my favorite, canola or vegetable also works!

  1. I made carrot cake today and it turned out beautiful! The frosting however is another story. Your recipe was too wet for frosting. I have a cream cheese frosting that I use for pumpkin bars that had a little less cream cheese, butter and vanilla and called for 4 cups for powdered sugar. You may want to review that recipe again. I was able to correct it just fine to put on my cake. Thank you Kaleb, I really enjoy your videos! Happy Easter!

    1. Hello! So glad you enjoyed the cake! The frosting could vary on powdered sugar to taste. I do think the step I have in the instructions of chilling the frosting for at least 20 minutes is essential. This allows a set frosting without extra sugar!

  2. 5 stars
    Delicious, I accidentally added a tbsp. Of vanilla to the cake. I used avocado oil and it worked great. Love this recipe and definitely will make it again.

  3. 5 stars
    I made this for our ‘quaranteam’ Easter party and it was AMAZING! I was sure to note your step of chilling the frosting and I can see how this helped it to thicken and set. Delicious and so easy! Thank you for showing this on your stories, because watching you helped me get excited to make it!

  4. I made a Carrot Cake today for my Easter Dinner tomorrow. I make carrot cake every year for Easter. My recipe is very similar to the one posted. I never toast my pecans and they are not soggy. My special ingredient is Muscovado Sugar and golden raisins. Happy Easter!!!!!

    1. 5 stars
      My Mom made a Carrot Cake 24+ years ago. I used the recipe she had and have made it many times. Took it to a Home Makers meeting and it was a hit and got request for the recipe. It has been a while since I made one so now I am craving to make it again. I don’t recall adding golden raisins to mine but another viewer commented on it I want to add them next time. Golden raisins add a touch of citrus on other recipes so why not! Thanks Kalab

  5. Have you ever tried adding golden raisins ?
    Probably 3/4 C. For this amount of batter would
    Be plenty.

  6. 5 stars
    We made this cake for Easter Sunday. Absolutely amazing! We will definately be making this again. Thank you for sharing.

  7. I made this cake three times during the Easter week. It’s a perfect recipe and tastes delicious. The recipe is a keeper. On the third cake, I reduced the carrots to 2 1/2 cups and added an 8 oz can of pineapple, drained. It was great also. I also took your advice and chilled the frosting. I really enjoy all your videos.
    Thank you.

  8. 5 stars
    I made this cake for our family Mother’s Day brunch, which we do the day before so everyone can actually chill on Mother’s Day. I made the cake 2 weeks ago, froze it, defrosted it yesterday and made the frosting today.
    It was simply amazing! My entire family enjoyed it.
    Great recipe and it made me believe in making a homemade cake again! Thanks, Kaleb!

  9. 5 stars
    It is the best carrot cake I have eaten, easy, healthy, cheap, and delicious.

  10. I absolutely love all your videos on cooking, gardening you are a joy to watch keep up the fantastic work. Also your kitchen & utensils are fab . You are a real home maker thank you for sharing everything with us .
    Marlene x

  11. 5 stars
    Ok. Seriously. This is an absolute hands down amazing recipe. I made this tonight and….omg! The only thing different is I chopped my pecans super fine as I don’t like huge chucks on pecans in my cake. I like the softness if the nutty taste, just enough to go “hmmm.”. But I followed exact and it was Perfecto! I am stunned that this rating was not higher. But whatevs. I loved it and my boys, who are hard to please, also did. So winner and definitely keeping in my “go-to” recipes.Thank you so much for sharing this wonderful recipe! ❤️

  12. 5 stars
    This was absolutely delicious! I made it for Easter and everyone loved it. I made it as a three layer with 6″ pans. Today I am making it again for my daughter and her fiance’s engagement gathering. This time I will make it two layer using 8″ pans. I can’t wait to share it with everyone. Thank you for sharing this recipe (as well as all of your recipes)!

  13. 5 stars
    I absolutely loved this cake! The only thing I did different is finely chop the pecans as I don’t like chunks in my cake. This cake was devoured in one day by my boys. This is definitely on my favs list! Great recipe!

  14. 4 stars
    I made this recipe, as I have made many of your great recipes. I followed your directions, but it came out dry. The frosting was delicious, however. I will definitely try it again, but not sure what went wrong.

  15. 4 stars
    Cake was wonderful but the frosting is too wet , even after chilling for couple hours.
    What a mess, added more icing sugar. My cake definitely did not look as good as yours, but we did enjoy it

  16. 5 stars
    Oh dear, only had 3/4 cup grapeseed oil, used avocado for the rest and it turned out great. Pecans burnt to a crisp after 6 minutes, did over and realized my stove likely runs hot so baked the cakes at 325. Took the two layers out of the oven, and realize there is no way my oven is level, they both were high on the same side. Hard to have a level floor in a 234 year old house! At any rate, cake was a tad homely but delish nevertheless!