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

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’s, 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
Save this post!
Enter your email address and we’ll send it straight to your inbox. Plus, you’ll receive our once-per-month newsletter!

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 a strong flavor 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:

YouTube video

Have I Convinced You to Make This Recipe?

I hope you make this recipe and put some food on your table. Leave a comment and share a star rating so you can let others know how much you love this recipe. This helps show others that this is a recipe they, too, can make, enjoy, and love!

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: 20 minutes
Cook: 45 minutes
Total: 1 hour 5 minutes
Servings: 16 servings
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!

Ingredients

For the cake

  • ½ cup light brown sugar
  • 1 cup granulated sugar
  • 4 large eggs
  • 1 ¼ cups neutral oil
  • 1 ½ tsp vanilla extract
  • 2 ½ cups all-purpose flour
  • 1 tsp baking powder
  • 1 tsp baking soda
  • 1 ½ tsp ground cinnamon
  • ¼ tsp ground 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 (1 stick) unsalted butter room temperature
  • 2 tbsp sour cream
  • 2 tsp vanilla extract
  • 3 ½ cups sifted powdered sugar

Instructions 

  • 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, granulated sugar, eggs, oil, and vanilla extract. Mix on medium speed until combined, 3 minutes.
    ½ cup light brown sugar, 1 cup granulated sugar, 4 large eggs, 1 ¼ cups neutral oil, 1 ½ tsp vanilla extract
  • 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.
    2 ½ cups all-purpose flour, 1 tsp baking powder, 1 tsp baking soda, 1 ½ tsp ground cinnamon, ¼ tsp ground nutmeg, 3 cups grated carrots, 1 cup toasted 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.
    8 oz cream cheese, 8 tbsp (1 stick) unsalted butter
  • Add the sour cream and mix to incorporate, 1 minute. Add the vanilla extract and powdered sugar. Mix on low until the sugar is incorporated and then mix on medium until smooth, 3-4 minutes.
    2 tbsp sour cream, 2 tsp vanilla extract, 3 ½ cups sifted powdered sugar

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.

Video

YouTube video

Notes

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

Nutrition

Serving: 1 servingCalories: 515 kcal

Nutrition information is automatically calculated, so should only be used as an approximation.

Did you make this? Leave a comment below!

Kaleb Wyse is a New York Times bestselling author behind the popular Wyse Guide website. Living on his fourth-generation Iowa farm, he loves sharing recipes and gardening tips that come from traditions that feel comfortably familiar. His down-to-earth style makes sustainable living and farm life feel like home!

You May Also Like

Strawberry Poke Cake

Strawberry poke cake is one of those desserts that just feels like summer. It's light, fruit-flavored, and a little bit retro, all in the best way.

Sour Cream Coffee Cake

The ideal coffee companion, this sour cream coffee cake utilizes sour cream to create a moist and dense crumb. A…

Peach Upside-Down Cake

With a cake that’s all made in one bowl, this peach upside-down cake couldn’t be a better dessert for summer! Peach slices are lined on the bottom of a pan, an easy caramel sauce is drizzled on top, and the batter is spread over everything. Once baked, the cake is inverted, and a more beautiful dessert couldn’t be found. Plus, it’s super easy to make!

Rhubarb Buttermilk Cake

When rhubarb is in season, there are innumerable ways to use it. But this easy-to-make rhubarb buttermilk cake may be one of the best ways! With bite-sized pieces of rhubarb and a sweet cinnamon sugar topping, the batter comes together quickly with little fuss. Once baked, the cake puffs up slightly to form the perfect spring dessert.

2025 Holiday Guide

This year's holiday guide is back and ready to order. Plus, it's better than ever!

Cover of the 2025 Wyse Guide holiday guide.
4.08 from 42 votes (29 ratings without comment)

Leave a comment

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

Recipe Rating:




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

27 Comments

  1. Mary says:

    I need to make this for a large crowd, can I just double this recipe and use a half sheet pan?

  2. Paula says:

    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!

  3. Bernice Scholze says:

    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