I know, I know… Carrot cake is controversial. For a long time, I couldn’t wrap my head around vegetables in cake. But this homemade carrot cake recipe changed my mind, and I think it’ll change yours too! This moist 3-layered cake is covered with the most delicious cream cheese frosting and I promise you, everyone will be asking for the recipe!

slice of carrot cake on plate

This post may include affiliate links that earn us a small commission from your purchases at no extra cost to you.

What’s in This Carrot Cake Recipe?

I’m so excited to share this delicious homemade carrot cake recipe with you, it will easily rival any bakery-bought cake! Three fabulous layers of the most moist and flavorful cake are covered in my favorite cream cheese frosting for a really indulgent and delicious treat!

  • Self-Rising Flour: A premade mixture of all-purpose flour, baking powder, and salt. It makes this recipe super simple.
  • Spices: A combination of ground cinnamon, nutmeg, cloves, ginger, and allspice richly flavors this cake and enhances the natural sweetness of the carrots.
  • Baking Soda: Gives this cake an extra bit of lift!
  • Sugar: I like to use both granulated white and dark brown sugar to sweeten the cake, add depth of flavor, and increase the moisture content.
  • Vegetable Oil: Makes this cake moist, rich, and tender. Other options that work well include canola oil and melted coconut oil.
  • Vanilla Extract: Enhances the sweetness of the cake and the warm spices.
  • Eggs: Give the cake structure and help bind everything together.
  • Carrots: I ended up using 9 medium-sized carrots, but you may need more or less depending on the size of the carrots you get.
  • Pineapple: This is my secret ingredient for a super moist, super flavorful carrot cake. It adds just a touch of balancing acidity and extra moisture so this cake is never dry!
  • Pecans: I love adding nuts to my cake, but you can of course leave them out if you’re not a fan. Or sub walnuts if you prefer.

Frosting Variations

I absolutely adore the contrast of the rich and sweet carrot cake with the tangy cream cheese frosting, but I know it’s not everyone’s cup of tea. If you’d prefer a different frosting, I have quite a few I think you’ll love. Classic vanilla frosting works super well here, or try stabilized whipped cream for a lighter take. To really play up the spiced flavor, my pumpkin spice whipped cream is a treat!

overhead image of carrot cake
Email This Recipe
Enter your email and we’ll send the recipe directly to you!
Please enable JavaScript in your browser to complete this form.

How to Store 

Once the cake is fully frosted, I have found that it keeps well in the fridge for 4-5 days, but I do like to serve it on the day that it’s frosted so that it’s perfectly fresh and moist. Because it’s frosted with cream cheese, I never leave carrot cake out of the refrigerator for more than 2 hours.

How to Freeze 

This carrot cake is easy to freeze whole or cut into individual slices. I like to freeze it for an hour or two to set the frosting, then tightly wrap the cake or slices in 2 layers of plastic wrap and 1 layer of aluminum foil to store for up to 1 month. Let thaw overnight in the refrigerator before enjoying.

slice of carrot cake

Serving Suggestions

For me, there’s nothing better with a slice of moist carrot cake than a chai latte. The spices play so well together, and I really find no need for any ice cream or extra fluff. I do sometimes like to sprinkle some sweetened shredded coconut on top for a pretty garnish and a nice sweet flavor, though!

Notes from the Test Kitchen

If you don’t have any self-raising flour on hand, don’t fret! You can make your own by using 2½ cups of all-purpose flour whisked together with 3¾ teaspoons of baking powder and ⅝ teaspoon of kosher salt in this carrot cake recipe. This tip has saved me on more than one occasion!

Recipe Card

Homemade Carrot Cake Recipe

4.60 from 60 votes
Prep: 30 minutes
Cook: 40 minutes
Chilling time: 1 hour
Total: 2 hours 10 minutes
Servings: 16 slices
Author: Becky Hardin
slice of carrot cake on plate
This homemade carrot cake recipe is covered with the most delicious cream cheese frosting. Everyone will be asking for the recipe!
Step-by-step photos can be seen below the recipe card.
Save this recipe!
Enter your email and we’ll send the recipe directly to you, plus new recipes weekly!
Please enable JavaScript in your browser to complete this form.

Equipment

  • Kitchen Scale (optional)
  • 3 8-inch Round Cake Pan OR
  • 9×13 Baking Pan
  • Stand Mixer

Ingredients 

For the Cake

  • cups self-rising flour 300 grams
  • teaspoons ground cinnamon 5 grams
  • ½ teaspoon ground nutmeg
  • ½ teaspoon ground cloves
  • ½ teaspoon ground ginger
  • ¼ teaspoon ground allspice
  • 1 teaspoon kosher salt 3 grams
  • 1 teaspoon baking soda 6 grams
  • cups granulated sugar 300 grams
  • ½ cup dark brown sugar 107 grams
  • 1 cup vegetable oil 200 grams
  • 1 tablespoon pure vanilla extract 12 grams (or vanilla paste)
  • 4 large eggs 200 grams
  • 3 cups grated carrots 270 grams (from about 9 carrots)
  • ½ cup crushed pineapple 85 grams
  • 1 cup chopped toasted pecans 114 grams, plus more for decorating (optional)

For the Frosting

Instructions 

For the Cake:

  • Preheat oven to 350°F and line the bottoms of three 8-inch round cake pans or one 9×13-inch baking pan. Spray the pan(s) with cooking spray and, if desired, lightly cover the insides with coarse raw sugar.
  • In a large bowl, whisk together flour, cinnamon, nutmeg, cloves, ginger, allspice, salt, and baking soda; set aside.
    2½ cups self-rising flour, 1½ teaspoons ground cinnamon, ½ teaspoon ground nutmeg, ½ teaspoon ground cloves, ½ teaspoon ground ginger, ¼ teaspoon ground allspice, 1 teaspoon kosher salt, 1 teaspoon baking soda
    dry ingredients in a glass bowl.
  • In the bowl of a stand mixer fitted with the paddle attachment, mix the granulated sugar and brown sugar together on low speed. Add the oil and vanilla and beat on medium speed until well incorporated, about 1 minute. Add the eggs, one at a time, mixing well after each addition.
    1½ cups granulated sugar, ½ cup dark brown sugar, 1 cup vegetable oil, 1 tablespoon pure vanilla extract, 4 large eggs
    wet ingredients in a glass bowl.
  • Set mixer to low and add the flour in ½ cup increments.
    cake batter being mixed with a rubber spatula in a glass bowl.
  • Fold in the carrots, pineapple and, if using, nuts.
    3 cups grated carrots, ½ cup crushed pineapple, 1 cup chopped toasted pecans
    carrot cake batter in a glass bowl.
  • Divide the batter evenly between the 3 cake pans (about 536 grams per pan) or spread in the 9×13.
    carrot cake batter in a round cake pan.
  • Bake, on the middle rack, for 30-40 minutes or until a toothpick inserted in the center comes out clean. The internal temperature in the middle of each cake layer should register 200°F-205°F on an instant-read thermometer.
  • Transfer cakes to a wire rack and cool in the pans for 10 minutes. Remove cakes from pans and return to cooling racks to cool completely.

For the Frosting

  • Make a double batch of The Best Cream Cheese Frosting, <– click for recipe
    Double recipe of The Best Cream Cheese Frosting
  • Stack the cake layers with about ½-inch of frosting between each layer. Cover the cake with a Crumb Coating (click for instructions) and refrigerate the cake at least 1-2 hours.
    3 layers of stacked carrot cake with cream cheese frosting in between.
  • When the crumb coating feels dry, finish icing and decorating the cake as you wish.
    sprinkling chopped pecans over frosted carrot cake.

Video

Becky’s Tips

Yield: One (8-inch) 3-layer cake or One 9×13-inch cake
  • Spray the cake pans with cooking spray before adding the cake batter so that the layers are easy to remove from the tins.
  • It’s easiest to use an electric mixer to make the cake batter, but you can mix it by hand as well, it will just take a little longer.
  • Let the layers cool completely before stacking and frosting them. If the cake is still warm, the frosting will slide off.
  • The carrot cake layers will take about 30-40 minutes to bake. Check they are done by either inserting a toothpick, which should come out clean, or by using an instant-read thermometer which should register at 200-205°F.
  • The elements of this cake can be made ahead of time. The carrot cake layers can be made 3 to 4 days ahead of time, wrap them well in plastic wrap AND foil to keep them moist and store in the fridge.
Storage: Store carrot cake in an airtight container in the refrigerator for up to 5 days or in the freezer for up to 4 months.
Serving: 1sliceCalories: 725kcalCarbohydrates: 102gProtein: 5gFat: 35gSaturated Fat: 7gPolyunsaturated Fat: 15gMonounsaturated Fat: 10gTrans Fat: 1gCholesterol: 47mgSodium: 413mgPotassium: 194mgFiber: 2gSugar: 82gVitamin A: 4086IUVitamin C: 2mgCalcium: 35mgIron: 1mg

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

Did you make this? Leave a comment!

How to Make Carrot Cake Step by Step

Mix the Dry Ingredients: Preheat your oven to 350°F and line the bottoms of three 8-inch round cake pans or one 9×13-inch baking pan. Spray the pan(s) with cooking spray and, if desired, lightly cover the insides with coarse raw sugar. In a large bowl, whisk 2½ cups of self-rising flour, 1½ teaspoons of ground cinnamon, ½ teaspoon of ground nutmeg, ½ teaspoon of ground cloves, ½ teaspoon of ground ginger, ¼ teaspoon of ground allspice, 1 teaspoon of kosher salt, and 1 teaspoon of baking soda together; set aside.

dry ingredients in a glass bowl.

Whisk the Wet Ingredients: In the bowl of a stand mixer fitted with the paddle attachment, mix 1½ cups of granulated sugar and ½ cup of dark brown sugar together on low speed. Add 1 cup of vegetable oil and 1 tablespoon of pure vanilla extract and beat on medium speed until well incorporated, about 1 minute. Add 4 large eggs, one at a time, mixing well after each addition.

wet ingredients in a glass bowl.

Mix the Batter Together: Set the mixer to low and add the flour mixture to the wet ingredients in ½ cup increments.

cake batter being mixed with a rubber spatula in a glass bowl.

Fold in the Carrots: Fold in 3 cups of grated carrots, ½ cup of crushed pineapple and, if using, 1 cup of chopped toasted pecans.

carrot cake batter in a glass bowl.

Bake the Cake Layers: Divide the batter evenly between the 3 cake pans or spread in the 9×13. Bake, on the middle rack, for 30-40 minutes or until a toothpick inserted in the center comes out clean. The internal temperature in the middle of each cake layer should register 200°F-205°F on an instant-read thermometer. Transfer the cake(s) to a wire rack and cool in the pans for 10 minutes. Remove cakes from pans and return to cooling racks to cool completely.

carrot cake batter in a round cake pan.

Frost the Cake: While the cakes cool, make a double batch of the Best Cream Cheese Frosting (click for recipe). Stack the cake layers with about ½-inch of frosting between each layer. Cover the cake with a Crumb Coating (click for instructions) and refrigerate the cake at least 1-2 hours.

3 layers of stacked carrot cake with cream cheese frosting in between.

Decorate the Cake: When the crumb coating feels dry, finish icing and decorating the cake as you wish.

sprinkling chopped pecans over frosted carrot cake.

More Cake Recipes To Try

Meet Becky Hardin

Becky Hardin is a wife and mother living in Saint Louis Missouri. She founded The Cookie Rookie in 2012 as a creative way to share recipes. Now, she is a trusted resource for easy cooking around the world, being featured in Taste of Home, The Kitchn, ABC’s Home and Family, and more. Here at The Cookie Rookie she is the editor in chief of all recipes and continues to enjoy sharing her passion for cooking for busy families. She has since founded two additional food blogs, Easy Chicken Recipes and Easy Dessert Recipes.

4.60 from 60 votes (60 ratings without comment)
Subscribe
Notify of
guest
Recipe Rating




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

0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments