Layers of light and moist cake made with shredded carrots and the perfect balance of warm spices are topped with a tangy homemade cream cheese frosting. This really is the Best Carrot Cake Recipe ever!

There is nothing like homemade cake for celebrating! If you love carrot cake, be sure to try my German Chocolate Cake, Red Velvet Cake, Sour Cream Pound Cake, and Vanilla Cupcakes.

An image of a carrot cake frosted with homemade cream cheese frosting.


This is the best recipe for Carrot Cake

I didn't always love carrot cake. In fact, growing up I hated it. Carrots have been and still are my least favorite vegetable and I swore that I could taste the carrots in carrot cake, despite always being told otherwise.

And then there is the matter of the wide variety in carrot cake recipes where some call for pineapple or raisins or pecans or coconut to be mixed into the batter.

It was just too risky to try a slice, no matter how much cream cheese frosting it was topped with.

An image looking down onto the top of a carrot cake decorated with piped carrots made from frosting.

However, as I was researching carrot cake and it's many forms to find the perfect recipe for this site, I came to the realization that I actually quite like carrot cake if it's done a certain way. And that means no raisins. Or pineapple or coconut or pecans or any of the other mix-ins that people sometimes add to carrot cake. Even though I like all of those ingredients, I personally don't believe they belong in carrot cake.

If you like carrot cake that way, then definitely go for it and add them to the cake batter! But for me, I like a classic carrot-only carrot cake. One that is soft and light and fluffy cake with nary a bite of stray fruit or nut to interfere. My one and only exception is a sprinkle of chopped pecans on the outside of the carrot cake for decoration and a little crunch.

Ingredients for the Best Carrot Cake Recipe

Cake

  • Oil - the oil helps the cake stay moist and tender.
  • Applesauce - adds moisture but also helps bind the ingredients together and adds a little bit of texture to the batter.
  • Sugar - You will need both granulated and brown sugar for this carrot cake recipe.
  • Eggs
  • Vanilla extract
  • Finely shredded carrots - I find that the finely shredded carrots bake better in the cake than carrots shredded using the larger holes in the grater. Use freshly grated and do not use packaged pre-shredded carrots.
  • All purpose flour
  • Baking powder & baking soda - These two leavening agents work together to lift what is a heavier-than-normal cake batter filled with shredded carrots.
  • Salt
  • Spices - A combination of ground cinnamon, ground nutmeg, ground ginger, and ground cloves adds a level of warmth to the cake.

Frosting

  • Cream cheese at room temperature
  • Salted butter at room temperature
  • Vanilla extract
  • Coconut extract
  • Powdered sugar
  • Chopped walnuts for garnish

How to grate carrots for carrot cake

As I was recipe testing for this post, I discovered that there is a big difference in the finished cake based on whether you grate the carrots in the larger holes of a box grater or the small ones.

An image of finely shredded carrots in front of a box grater.

The smaller holes resulted in much thinner carrot shreds that baked into the cake much better than the bigger ones and weren't nearly as noticeable after the cake was baked.

There is no need to peel the carrots first either. Just be sure to wash the outside of the carrots well before shredding them.

Turns out, people weren't lying to me about this all along and I really couldn't taste the carrot flavor when they were finely shredded like this. Instead they just imparted moisture to the cake and a wonderful non-carroty flavor that balances out perfectly with a blend of warming spices like cinnamon, ginger, nutmeg, and cloves.

Even though you can by grated carrots in bags at the grocery store, I highly recommend using freshly grated carrots. Not only are the ones at the store too thick, but they also just don't have enough moisture left in them for carrot cake and won't work nearly as well as fresh shredded carrots.

Can I use butter instead of oil in carrot cake?

Yes, you can replace the oil with butter in this recipe, if you prefer. However, the main reason for doing this would probably be flavor, and in carrot cake with the amount of spices and quantity of shredded carrots, you can't actually tell a difference flavor-wise between butter and oil.

And oil actually helps the cake stay moist and tender better than butter does, which is why I recommend it for this cake recipe.

An image of slices of carrot cake on plates with forks.
An image of a slice of moist homemade carrot cake on a plate.

How to make the Best Carrot Cake

  1. Mix the wet ingredients. In a large bowl, beat the granulated sugar, brown sugar, applesauce, oil, eggs, and vanilla on medium-high speed until combined.
  2. Stir in the shredded carrots. You can even do this by hand but a mixer makes it easier.
  3. Add dry ingredients. Add the flour, baking powder, baking soda, salt, cinnamon, nutmeg, ginger, and cloves. You can always whisk these together in a separate bowl first, which is what a lot of bakers do, but I feel like if you sprinkle the spices over the flower instead of dumping them, you can save yourself a bowl and a step and they will mix in just fine without any clumps of cinnamon or cloves.
  4. Divide between three 8-inch cake pans. Be sure to line your cake pans with parchment paper circles or grease and flour the bottoms and sides well.
  5. Bake for 20-25 minutes at 350 degrees F until a toothpick inserted into the center of the cakes comes out clean. Let the cakes cool in the pan for a few minutes before turning them out onto a wire cooling rack and cooling completely.
  6. Make the frosting. Beat the butter and cream cheese in a bowl until smooth and creamy. This is way easier if both are softened almost to room temperature. Then add the powdered sugar and vanilla and beat until smooth.
  7. Assemble the cake. Once the cake layers are completely cooled, layer them with a generous amount of frosting between the layers, then use the rest of the frosting around the edges. Because cream cheese frosting is much softer than buttercream, I make sure not to lay it on too thick around the sides as it has a tendency to want to slump off the cake otherwise.
  8. Decorate with chopped pecans and leftover frosting. This step is completely optional, but I love a sprinkle of chopped pecans around the top of the cake. If you really love lots of pecans, you could even cover the sides of the cake with them. I piped a few frosting "carrots" on the top of the cake for decoration.
A collage of images showing how to make carrot cake.
An image of carrot cake batter divided between three 8-inch cake pans.

Cream cheese frosting for carrot cake

Although you could use an American buttercream or a Swiss meringue buttercream frosting, the classic choice for carrot cake is cream cheese frosting.

It's sweet and tangy and much softer than a regular buttercream frosting so cream cheese frosting doesn't work very well for piping fancy designs. But if you reserve just a little of the frosting you can add orange and green food coloring (affiliate link) to different parts and use a medium round piping tip to pipe carrots laying on top of the cake and a small round piping tip to pipe carrot leaves.

An image of carrot cake without raisins, coconut, or pineapple.

This is the same cream cheese frosting recipe that I use on my popular red velvet cake and it's made by beating softened butter and cream cheese until light and smooth, which takes about 2-3 minutes in a stand mixer or using an electric mixer. Then add the powdered sugar and vanilla and mix just until smooth.

Unlike buttercream frosting where I recommend beating it for a few minutes after adding the powdered sugar, that doesn't seem to help with cream cheese frosting. In fact, I feel like it makes the frosting it even more difficult to work with. So just beat until everything is combined, then use it to frost the cake.

You should have just enough cream cheese frosting as written in the recipe below to frost three layers and the outside of an 8-inch carrot cake.

An image of a three-layer Easter carrot cake that has been sliced into.

How to serve Homemade Carrot Cake

Do you eat carrot cake warm or cold?

You can eat carrot cake hot, cold, warm, or even room temperature. I love a slightly warm slice but this cake is also incredibly delicious chilled with the cake having the best texture when chilled! Also, with the cream cheese frosting it is best to keep the cake chilled.

Moist Carrot Cake recipe storage

You can make both the cake and the cream cheese frosting in advance and freeze them separately for up to 3 months. Just thaw completely before assembling the cake.

Do you refrigerate carrot cake with cream cheese icing?

If you have leftover carrot cake, you can leave it out at room temperature for 1-2 days, even with the cream cheese frosting as long as the cake is covered and it isn't too hot in your house. The sugar in the frosting actually helps preserve the cream cheese. But if it is going to take longer than a day or two to finish off leftover pieces of cake, I recommend refrigerating it for 5-7 days.

An image of slices of spiced carrot cake on plates.

Homemade Carrot Cake Recipe FAQs

Why does my carrot cake stick to the pan?

If you are having problems with your cake layers sticking, I have a few suggestions. First, trace the bottom of your pans onto parchment paper and cut out circles to line the bottom inside of your pans.
Second, spray the parchment paper circle and sides of the pan with baking spray, not cooking spray. Baking spray has flour in it that will help the cake layers release more easily from the sides of the pan.
Finally, wait a couple of minutes before turning your cake layers out onto a wire rack to cool. Run a sharp, thin knife around the inside edges of the pan to separate the cake from it. Using these steps should help your cake layers fall right out without pieces of it getting stuck to the pans.

What is the difference between carrot cake and spice cake?

Carrot cake and spice cake are very similar with the main difference being the addition of carrots. The carrots add a level of sweetness and moisture to the cake. Spice cake can have some addition of different spices, but there are very few differences between the two!

Why is carrot cake so moist?

The oil in the cake makes this cake very moist! Also, the addition of the carrots adds moisture and an amazing flavor to the cake. The brown sugar and the applesauce in this recipe also helps keep the cake extra moist!

Why do carrots turn green in carrot cake?

If there is too much baking soda or when the soda isn’t evenly mixed into the batter, it can make the carrots turn green. Some pigments in carrots will change because of the pH balance sensitivity to the baking soda.

More cake recipes you'll love!

Be sure to FOLLOW ME on INSTAGRAMPINTERESTFACEBOOK, and TWITTER for more great recipe tips and ideas!

Moist Carrot Cake Recipe

5 from 8 votes
Amy Nash
Prep Time 25 minutes
Cook Time 20 minutes
Additional Time 1 hour
Total Time 1 hour 45 minutes
Course Cake
Cuisine American
Servings 12 -16 Servings
Layers of light and moist cake made with shredded carrots and the perfect balance of warm spices, and topped with a tangy homemade cream cheese frosting, this really is the Best Carrot Cake Recipe ever!

Ingredients
  

Cake

  • 1 ¼ cups oil
  • ¼ cup applesauce
  • 1 cup brown sugar
  • 1 cup granulated sugar
  • 4 large eggs room temperature
  • 2 teaspoons vanilla extract
  • 3 cups finely shredded carrots about 6-7 medium carrots
  • 2 ½ cups all-purpose flour
  • 2 teaspoons baking powder
  • 1 teaspoon baking soda
  • 1 teaspoon salt
  • 1 teaspoon ground cinnamon
  • ½ teaspoon ground nutmeg
  • ½ teaspoon ground ginger
  • ¼ teaspoon ground cloves

Frosting

  • 16 ounces cream cheese at room temperature
  • 1 cup salted butter at room temperature
  • 2 teaspoons vanilla extract
  • ½ teaspoon coconut extract
  • 4-6 cups powdered sugar
  • 1 cup chopped pecans or walnuts for garnish

Instructions
 

Make the cake

  • Preheat oven to 350 degrees F. Line three 8-inch pans with parchment paper circles.
  • In a large bowl, beat the granulated sugar, brown sugar, applesauce, oil, eggs, and vanilla on medium-high speed until combined. Stir in the shredded carrots.
  • Add the flour, baking powder, baking soda, salt, cinnamon, nutmeg, ginger, and cloves. You can always whisk these together in a separate bowl first, which is what a lot of bakers do, but I feel like if you sprinkle the spices over the flower instead of dumping them, you can save yourself a bowl and a step and they will mix in just fine without any clumps of cinnamon or cloves.
  • Divide the batter evenly between the prepared cake pans.
  • Bake for 20-25 minutes until a toothpick inserted into the center of the cake comes out clean with just a few crumbs on it. Cool for a few minutes in the pans before turning them out onto a wire cooling rack to cool completely.

Make the frosting

  • Beat the butter and cream cheese in a bowl until smooth and creamy.
  • Add the powdered sugar and vanilla. Beat until smooth.

Assembly

  • Set one layer on a cake stand or serving plate. Frost with about ¾ cup of the frosting. Repeat with the second layer, then top with the final cake layer. Spread the remaining frosting on the top and around the sides of the cake, reserving ½-¾ cup for decorating with piped carrots.
  • Sprinkle chopped pecans in a ring around the top.
  • In a small bowl, mix â…” of the reserved frosting with orange food coloring (affiliate link). Transfer to a piping bag fitted with a medium round tip. Pipe from the outside edge of the cake in toward the center, stopping and starting a couple of times to create ridges in the "carrots" and easing up pressure toward the middle so the frosting comes to a point.
  • In another small bowl, mix the remaining frosting with green food coloring (affiliate link). Transfer to a piping bag fitted with a small round tip. Pipe a few lines from the edge of each carrot to create the carrot greens.

Notes

  • OPTIONAL: 1 cup chopped walnuts or pecans can be added to the cake batter. Personally, I don't love nuts in my carrot cake, just on the outside of it.
  • OPTIONAL: 1 cup shredded coconut can be added to the batter as well.
  • Sheet Cake Version: You can bake this as a sheet cake in a 9x13-inch rectangular baking dish for 40-50 minutes.
  • Storing Instructions: This cake will keep at room temperature for 1-2 days. Or you can store leftover slices in the refrigerator for up to 5 days. I do not recommend freezing the cake once it has been assembled, but unfrosted layers can be wrapped in plastic wrap and stored for up to 3 months.

Nutrition

Calories: 964kcal | Carbohydrates: 102g | Protein: 8g | Fat: 60g | Saturated Fat: 20g | Polyunsaturated Fat: 10g | Monounsaturated Fat: 26g | Trans Fat: 1g | Cholesterol: 144mg | Sodium: 665mg | Potassium: 281mg | Fiber: 3g | Sugar: 77g | Vitamin A: 6424IU | Vitamin C: 2mg | Calcium: 129mg | Iron: 2mg
Tried this recipe? Show me on Instagram!Mention @HouseOfNashEats or tag #houseofnasheats!

Share This With the World

PinYummly

Related Recipes

About the author

Hi, I'm Amy

I enjoy exploring the world through food, culture, and travel and sharing the adventure with mostly from-scratch, family friendly recipes that I think of as modern comfort cooking.

Leave a comment

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

How many stars would you give this recipe?




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

Reader questions and reviews

  1. I adore carrot cake, but I am like you, don't add a bunch of stuff (especially raisins) and this one doesn't disappoint!

  2. Amazing texture and delicious flavor! The perfect moisture in this cake! I just wish I could make mine as beautiful as yours! Delish!

  3. Carrot cake is my jam and I can't thank you enough for a recipe that doesn't have raisins in it!!

  4. We had this last Sunday for our family dinner dessert - it was utterly AMAZING!! I always know your recipes will never disappoint! Thanks for another winner!

  5. I love your recipes. I would like to make carrot cupcakes out of this recipe. Is there any changes you would recommend?

  6. Hi - I noticed someone else had the same question as I do but it has not been answered. How can this carrot cake recipe be converted to cupcakes? Thank you!

    1. Yes! You really don't need to change a thing! Line a pan with cupcake wrappers and pour the batter right in. Bake at 350 for 20-25 minutes. I would guess this amount of batter makes 24 cupcakes. Enjoy!

  7. 5 stars
    This turned out amazing for my mother in laws birthday cake! And I was a tad worried bc I didn’t use the fine holes on my grater and I didn’t realize it til after I grated the carrots 😆 so just know it will still be amazing if you use the large grater holes. Thank you for another great recipe, I was so happy to see you had a carrot cake recipe when I decided I wanted to make one from scratch.