This Carrot Cake recipe is made from scratch, tender, and moist with a delicious homemade cream cheese frosting. Perfect for Easter or anytime!

Looking for more delicious cake recipes? I think you’ll love my Chocolate Cake, White Cake, and my Vanilla Cake.

Carrot Cake recipe topped with cream cheese frosting, pecans on a clear glass cake stand.

Based on my Grandmother’s Carrot Cake recipe, this delicious recipe has become a family favorite for Easter, spring get-togethers, and family celebrations throughout the year.

This carrot cake is incredibly moist and is the standard by which my family compares every carrot cake! Flavorful and rich from the grated carrots, brown sugar, and the perfect balance of spices, this truly is the ultimate carrot cake recipe! My recipe includes toasted pecans, which also give amazing flavor. Each delicious, tender bite is perfectly moist and sticks to the fork while still being fluffy and luscious.

How to Make the BEST Carrot Cake Recipe

Ingredients

Be sure to see the recipe card below for the full listing of ingredients, instructions, notes, and estimated nutritional information.

To make this carrot cake recipe, you’ll need the following ingredients.

Ingredients used to make my favorite carrot cake recipe.
  • Butter – softened to room temperature.
  • Coconut oil  – I love to use coconut oil in this recipe. You can also substitute it with vegetable oil or canola oil.
  • Granulated sugar – I use both granulated and brown sugar in my recipe.
  • Brown sugar – the brown sugar deepens the flavor of this cake and makes it taste amazing.
  • Vanilla extract – I love to use my homemade vanilla extract, but if using store-bought, be sure to use the highest quality you can. I don’t recommend using imitation vanilla flavoring as it can leave a bitter aftertaste, in my opinion.
  • Eggs – this recipe uses 3 whole eggs plus 2 egg yolks.
  • Flour – this recipe uses all-purpose flour. The all-purpose flour that I use is light and lower in protein. You can also use cake flour.
  • Baking powder – my recipe uses both baking powder and baking soda as leavening to help the cake rise properly.
  • Baking soda – see the note above in baking powder.
  • Spices – I use ground cinnamon and ground ginger to spice my carrot cake. They both add so much flavor and give my carrot cake its signature flavor.
  • Salt – a little salt in sweet recipes helps to balance
  • Buttermilk – You will need to use buttermilk in my recipe for the acid to help activate the leavening for the cake to rise. If you don’t already have buttermilk on hand, use my simple tip on how to make buttermilk substitute.
  • Carrots – I prefer to grate my own carrots for this cake rather than buying bags of grated carrots. I find that the texture of the cake is much better in my opinion. You can grate them in your food processor or with a standard box or flat grater.
  • Toasted pecans – The toasted pecans add depth of flavor and additional texture to the cake. If you don’t care for pecans or nuts, you can omit them.
  • Cream Cheese Frosting Recipe – THE signature frosting for carrot cake. It is a must for this recipe. ♡
Photo of carrot cake topped with cream cheese frosting and toasted pecans.

Step-by-Step Instructions

Photo of beginning to make carrot cake batter.

Mix together butter, coconut oil, granulated sugar, and brown sugar in a large bowl with an electric mixer until well combined. Mix in vanilla extract until well incorporated. Add eggs one at a time, beating well after each addition before adding the next.

Photo of making carrot cake batter by adding egg yolks.

Add egg yolk, making sure well combined.

Photo of mixing together the dry ingredients for carrot cake.

Whisk together the dry ingredients in a large bowl.

Photo of adding dry ingredients to cake batter.

Add half of the flour mixture to the butter and sugar mixture and beat until well incorporated.

Photo of buttermilk being added to carrot cake batter.

Add buttermilk, beating until just combined before stirring in remaining flour mixture.

Photo of carrot cake batter once all flour added to the batter.

Add the remaining dry ingredient mixture to the cake batter and stir until combined.

Photo of grated carrots added to cake batter.

Fold in the grated carrots and 1 cup of the pecans, if using.

Photo of carrot cake batter in two cake pans.

Divide the cake batter between two prepared cake pans. Bake until cakes spring back when gently touched in the center and the edges begin to turn loose from the sides of the pan, about 30 – 40 minutes. You can follow my tips for how to tell when your cake is done.

Photo of baked carrot cake layers.

Remove from the oven and allow to cool in the pans on a wire rack for about 5 minutes. Turn out of pans and allow to cool completely on a wire rack.

Photo of carrot cake with cream cheese frosting and pecans.

Storage Tips

I love to make this carrot cake in advance. The flavors seem to become even richer and the cream cheese frosting and the cake meld together for the most incredible cake.

To make ahead. Prepare the cake according to the recipe. Frost with the cream cheese frosting, cover, and store in the refrigerator for 5 to 6 days.

To freeze. Prepare the cake layers through baking and cooling. Allow the cake layers to cool completely, wrap them well in plastic wrap and carefully place each layer into a gallon zip-top freezer bag. Place the layers flat in your freezer (I like to place them onto a sheet pan.) Freeze the cake layers for up to one month. To frost the cake, simply remove it from the freezer and allow it to thaw in the refrigerator with the wrapping intact. Then, frost the cake once it has completely thawed.

Here’s my Favorite Carrot Cake Recipe. I hope you love it as much as we do!

The Best Carrot Cake Recipe Ever

5 from 15 votes
This Carrot Cake recipe is made from scratch, tender, and moist with a delicious homemade cream cheese frosting. Perfect for Easter or anytime! My favorite carrot cake recipe!
Prep Time: 15 minutes
Cook Time: 30 minutes
Total Time: 45 minutes
Servings: 24

Ingredients 

  • 4 tablespoons (56.5 g) butter, softened
  • 5 tablespoons (70.6 g) coconut oil, vegetable oil, or canola oil
  • 1/2 cup (99 g) granulated sugar
  • 1 cup (213 g) packed brown sugar
  • 1 1/2 teaspoons (7 g) vanilla extract
  • 3 large (150 g) eggs
  • 2 large (28 g) egg yolks
  • 2 cups (240 g) all-purpose flour
  • 2 teaspoons (8 g) baking powder
  • 1/2 teaspoon (3 g) baking soda
  • 2 teaspoons (5.2 g) ground cinnamon
  • 1/2 teaspoon (0.9 g) ground ginger
  • 1 teaspoon (2.8 g) kosher salt
  • 1/3 cup (75.6 g) buttermilk
  • 3 cups (297 g) grated carrots, (about 6 medium)
  • 1 1/2 cups (171 g) roasted pecans, divided (optional)
  • Cream Cheese Frosting Recipe

Instructions 

  • Preheat oven 350º F. Coat two 8-inch cake pans with butter or shortening and lightly dust with flour to prevent cake from sticking while baking. Alternately, coat well with baking spray.
  • Mix together butter, coconut oil, granulated sugar, and brown sugar in a large bowl with an electric mixer until well combined. Mix in vanilla extract until well incorporated. Add eggs one at a time, beating well after each addition before adding the next. Add egg yolk making sure well combined.
    Photo of making carrot cake batter by adding egg yolks.
  • Whisk together flour, baking powder, baking soda, cinnamon, ginger and salt in a medium bowl.
    Photo of mixing together the dry ingredients for carrot cake.
  • Add half of the flour mixture to the butter and sugar mixture and beat until well incorporated. Add buttermilk, beating until just combined before stirring in remaining flour mixture.
    Photo of adding dry ingredients to cake batter.
  • Fold in carrots, 1 cup of pecans and divide the batter between the two prepared cake pans.
    Photo of grated carrots added to cake batter.
  • Bake until cakes spring back when gently touched in the center and the edges begin to turn loose from the sides of the pan, about 30 – 40 minutes. You can follow my tips for how to tell when your cake is done.
    Photo of carrot cake batter in two cake pans.
  • Remove from the oven and allow to cool in the pans on a wire rack for about 5 minutes. Turn out of pans and allow to cool completely on a wire rack.
    Photo of baked carrot cake layers.
  • Frost cake with cream cheese frosting.
    Photo of carrot cake with cream cheese frosting and pecans.

Notes

1 – I use White Lily all-purpose flour, which is made of 100% soft winter wheat. If White Lily flour is unavailable, you may want to use cake flour instead.
2 – Additional mix-ins may be included or used instead of the 1 cup of pecans. I would recommend coconut, raisins, walnuts, or even pineapple. The total amount of mix-ins should not exceed 1 cup.
3 – I only used half of the cream cheese frosting recipe for the cake photographed and did not spread frosting on the sides of the cake. Nutritional information is estimated based on using the entire cream cheese frosting recipe.

Nutrition

Calories: 258kcal | Carbohydrates: 34g | Protein: 4g | Fat: 13g | Saturated Fat: 4g | Polyunsaturated Fat: 2g | Monounsaturated Fat: 4g | Trans Fat: 0.1g | Cholesterol: 44mg | Sodium: 162mg | Potassium: 151mg | Fiber: 1g | Sugar: 14g | Vitamin A: 2795IU | Vitamin C: 1mg | Calcium: 45mg | Iron: 1mg

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

Enjoy!
Robyn xo

Welcome to Add A Pinch

About Robyn

Robyn Stone is a cookbook author, wife, mom, and passionate home cook. Her tested and trusted recipes give readers the confidence to cook recipes the whole family will love. Robyn has been featured on Food Network, People, Southern Living, and more.

Leave a comment

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

Recipe Review




58 Comments

  1. This recipe is amazing, the cake is fluffy and moist, simply perfect. First, you made me a fan with the chocolate cake but with this I’m hooked! You made me into a baker! Thanks so much❤️

  2. 5 stars
    Hi Robyn
    Had a go at this one last night after last week’s chocolate cake success.
    And… it’s another winner, thanks so much 🙂
    I substituted the pecans for peeled sunflower seeds which I dry-toasted quickly in a very hot frying pan. Pecans and walnuts – and ALL nuts really – are crazy expensive here in Finland, for some reason. I know they’re about 1/4 of the price in Poland..
    So there are your three interesting facts for today.
    😀
    Matt

    1. I’m so glad to hear you enjoyed this one too, Matt! This is another one of our favorites too!
      I am glad to know about the sunflower seeds!
      Thanks so much! 🙂

  3. I made this carrot cake this past week and followed the recipe very closely and have to it was magnificent. My wife has now given baking as I’ve made this and the chocolate cakes and both a huge success, I’m just not allowed to make them every week???

    1. I just love that you’ve made these cakes and now are the baker of the house! So happy you enjoyed this and the chocolate cakes – thanks so much for sharing with me! 🙂

  4. Hi I am planning on making your carrot cake for my nephew’s 6th birthday. I was just curious if I Wanted to divide it up into three cake pans do you think it would still come out just as delicious as the two layer version? Also, do I need to modify my cooking time/temp?

  5. 5 stars
    Robyn,

    I made this cake and was told it was delicious. (I don’t actually eat carrot cake)

    I had a small problem with the cake being dense on the bottom. Is there any way to fix that?

    Barbara

  6. Robyn,
    I’m in the midst of making this cake, and I just realized that there isn’t a measurement for the vanilla. Help!

    Shannon

    1. I am so sorry about that, Shannon. It is teaspoons. I’ve updated the recipe to include that measurement. Thanks so much for catching that and letting me know! I hope you love the cake! xo

    1. Hi Jessica,
      I’ve not used either coconut flour or tapioca flour for this cake and can’t answer with personal experience. If you convert it to coconut flour or even tapioca flour, I’m sure others would love to know your changes if you wouldn’t mind sharing! Thanks so much! xo