The BEST Carrot Cake Recipe
This is my favorite homemade carrot cake recipe! This cake is so easy to make, perfectly moist, and topped with an easy homemade cream cheese frosting.
I feel like carrot cake is a dessert most people tend to only make around Easter. But honestly, carrot cake is such an incredible dessert and I think it should be enjoyed all year long. Especially when it comes to this recipe!
I know it can be a bold statement to call a recipe the best, but I truly mean it with this one. In fact, over the last 6 years this recipe has received nearly 600 5-star reviews – and counting!
Originally posted in 2017, I decided it was finally time to update this popular recipe with more step-by-step photos and tips to ensure that it turns out perfectly for you. I guarantee that once you learn how simple it is to make your own carrot cake from scratch, you’ll want to make it over and over again.
What You Will Need
While there are quite a few ingredients in this recipe, I promise it’s fairly simple. I won’t cover every single ingredient, but I wanted to touch on a few important ones:
- Spices: There’s a mix of ground cinnamon, ginger, and nutmeg. All three spices add such a wonderful flavor to this cake, but aren’t too overpowering. Feel free to add more spices, if you prefer though.
- Oil: Any kind of neutral-flavored oil is fine to use here, but I typically use vegetable or canola oil. You may also use melted coconut oil, just make sure all of your other ingredients are at room temperature so that it doesn’t solidify.
- Applesauce: This adds the perfect amount of moisture, so you end up with a moist cake that isn’t greasy. I always use unsweetened applesauce whenever I make this recipe. If you can only find sweetened applesauce, just reduce the granulated sugar by 2 to 3 tablespoons.
- Sugar: I use a bit more brown sugar than granulated sugar because it adds more moisture and flavor to this carrot cake.
- Carrots: I don’t like to skimp on the carrots when it comes to this recipe, so there’s 3 cups of grated carrots. Make sure to use freshly grated carrots here too. Avoid using a bag of pre-shredded carrots as they are often too dry and thick for carrot cake.
- Cream Cheese: Make sure to use a block of cream cheese. Avoid using cream cheese that’s either whipped or in a tub, it’s typically too thin and will result in a runny frosting.
How To Make A Carrot Cake
Make The Cake Layers
- Preheat your oven to 350°F (180°C). Spray two 9-inch round cake pans well with nonstick cooking spray, then line the bottoms of each pan with a parchment paper circle. This will make it much easier to remove your cake layers from the pan!
- Add the flour, baking powder, baking soda, spices, and salt to a large mixing bowl and give it a good whisk.
- In a separate large mixing bowl, whisk together your oil, eggs, brown sugar, granulated sugar, applesauce, and vanilla extract.
- Add the grated carrots to the wet ingredients and stir to combine. Adding them at this point will ensure that they are fully incorporated into your batter and prevent you from over mixing it later on.
- Combine the wet and dry ingredients and mix until just combined. Make sure not to over mix your batter! This can overdevelop the gluten and cause the cake to turn out dense/gummy. Trust me, no one wants that.
- Divide the cake batter evenly between both cake pans. Tip: If you want to get perfectly even cake layers, I recommend using a food scale to weigh your cake batter.
- Bake for 30 to 35 minutes or until the tops of the cakes are set and a toothpick inserted into the center comes out clean. Allow to cool slightly in the pans, then remove the cake layers from the pans and transfer them to a wire rack to cool completely.
Mix Together The Cream Cheese Frosting
- Beat the cream cheese until smooth, then add the butter and continue mixing until well combined.
- Lastly, mix in the powdered sugar and vanilla extract. If needed, stop and scrape down the sides of your mixing bowl to ensure that all of the frosting ingredients are thoroughly mixed together.
Assemble & Frost The Cake
- Level the tops of each cake layer. You may use either a large knife or a cake leveler for this step, I personally love this cake leveler. It’s a great option for beginners too!
- Place one of the layers on a cake stand and scoop a little over 1/2 cup of the frosting on top, then smooth it out evenly.
- Place the other cake layer on top and use the remaining frosting to frost the top and sides of the cake. An angled spatula or even the back of a spoon works great for this step! If you want to add a little something extra, feel free to toast some chopped pecans or walnuts and sprinkle them around the top of the cake.
Frequently Asked Questions
Yes, if you frost the cake with the cream cheese frosting it does need to be refrigerated. It will keep for 3 to 4 days in an airtight container in the fridge.
Of course! You can wrap individual slices with plastic wrap and freeze them in a large freezer bag.
The cake layers and frosting can also be frozen separately for up to 3 months. I do suggest wrapping the cake layers tightly with plastic wrap before freezing them.
The easiest method is to use a box grater and grate the carrots just like a block of cheese. If you have a food processor with a grater attachment, that works too.
I also recommend peeling your carrots and removing any brown spots or blemishes before grating them.
Absolutely! Chopped walnuts or pecans would be fantastic in this recipe, I suggest using about 3/4 to 1 cup. If you love raisins, you may also add 1/2 cup.
Adjusting Your Pan Size
One of the most common questions is whether or not this recipe can be baked in another pan. The answer is YES!
Here are a few more commonly used baking pans that you can bake this cake in:
- 9×13: Pour the batter into a greased 9×13 pan and bake for 35 to 45 minutes.
- 8-inch round pan: Grease two 8-inch round cake pans and line the bottom of each pan with a parchment paper circle. Pour the batter evenly between the two pans and bake for 35 to 40 minutes.
- Cupcakes: The full recipe will make 28 cupcakes. Only fill each liner about 2/3 of the way full so that they don’t overflow and bake for 16 to 20 minutes. I also recommend doubling the frosting to have enough to cover all of the cupcakes. If you prefer a smaller batch, try my carrot cake cupcakes instead.
Baking Tips
- When measuring your flour, don’t scoop it out of the container with the measuring cup. Instead, stir the flour around, spoon it into your measuring cup, and level it off with the back of a knife. I have a whole post that explains the spoon & level method.
- Don’t have any applesauce? You may replace it with 1/2 cup of plain Greek yogurt, sour cream, or one 8-ounce can of crushed pineapple that’s been drained.
- I opted to stick with my favorite cream cheese frosting. It makes enough to frost the carrot cake like you see in the pictures. If you really love frosting, then I suggest increasing the recipe by half.
- Additional frosting options: If you want to try another frosting, my vanilla buttercream frosting, ermine frosting, or the whipped honey mascarpone frosting I used on my Pistachio Cake recipe would be delicious too.
Video Tutorial
The BEST Carrot Cake with Cream Cheese Frosting
Ingredients
For the carrot cake:
- 2 cups all-purpose flour spooned & leveled (250 grams)
- 2 teaspoons baking powder
- 1 teaspoon baking soda
- 1 ½ teaspoons ground cinnamon
- ½ teaspoon ground ginger
- ¼ teaspoon ground nutmeg
- ½ teaspoon salt
- ¾ cup canola or vegetable oil (180ml)
- 4 large eggs at room temperature
- 1 ½ cups packed light brown sugar (300 grams)
- ½ cup granulated sugar (100 grams)
- ½ cup unsweetened applesauce (125 grams)
- 1 teaspoon pure vanilla extract
- 3 cups lightly packed grated carrots (300 grams)
For the cream cheese frosting:
- 1 (8-ounce) package brick style cream cheese (226 grams) softened
- ½ cup unsalted butter (115 grams) softened
- 2 cups powdered sugar (240 grams)
- 1 teaspoon pure vanilla extract
Instructions
- To make the carrot cake: Preheat the oven to 350°F (180°C). Spray two 9-inch round cake pans well with non stick cooking spray and line the bottom of each pan with a parchment paper circle. Set aside.
- In a large mixing bowl, whisk together the flour, baking powder, baking soda, cinnamon, ginger, nutmeg, and salt until well combined. Set aside.
- In a separate large mixing bowl, whisk together the oil, eggs, brown sugar, granulated sugar, applesauce, and vanilla extract until fully combined. Add the grated carrots to the wet ingredients and mix until well combined.
- Pour the wet ingredients into the dry ingredients and mix with a whisk or rubber spatula until just combined, making sure not to over mix the batter.
- Pour the cake batter evenly between both prepared cake pans. Bake for 30 to 35 minutes or until the tops of the cakes are set and a toothpick inserted into the center of each one comes out clean.
- Remove from the oven, transfer to a wire rack, and allow to cool in the pans for 20 to 25 minutes. Once the cakes have cooled, remove from the pans and return the cakes to the wire rack to finish cooling.
- To make the cream cheese frosting: In the bowl of a stand mixer fitted with the paddle attachment, or in a large mixing bowl using a hand-held mixer, beat the cream cheese until smooth. Add the butter and mix for about 30 seconds to 1 minute until well combined and smooth.
- Add in the powdered sugar and vanilla extract and continue mixing until fully combined, stopping to scrape down the sides of the bowl as needed.
- To assemble the cake: Level the tops of each cake with a knife or cake leveler. Place one of the cake layers on a cake stand, top with a little over 1/2 cup of the frosting, and smooth it out into one even layer. Place the other cake layer on top and use the remaining frosting to frost the top and sides of the cake. Top with pecans or other toppings of choice, if desired.
Notes
Adapted from Better Homes & Garden
Hi! What can I replace the unseeetened applesauce with? Will the taste be compromised? Can I bake a whole cake in an 8″ round tin? What is the baking time? Thanks
Plain Greek yogurt or one 8-ounce can of crushed pineapple that’s been drained. It won’t affect the taste too much, the crushed pineapple will add a little pineapple flavor though. As long as your pan is deep enough it may be okay, I’m unsure of the baking time though.
How long would you bake a 9×13 cake?
35-45 minutes at 350°F.
SUPER delicious cake. Thank you!!
TQ for such an easy and lovely recipe. I cut down on the sugar and added 1 cup walnuts and 1/2 cup raisins. For the frostings I halfed the sugar as well. It was well received by everyone especially my grandma who is very picky on food nowadays. ? I’m now making the 2nd one.
So glad everyone enjoyed the carrot cake!
Hello Danielle,
This recipe looks very good. I really want to make it, but I am allergic to eggs so I would like to know if you have a suggestion for me to make this recipe and substitute eggs with something else. I would really appreciate if you could. I have been baking cakes and cupcakes with sweetened condensed milk. If I do use condensed milk – what will be the measurement?
Thank you!!
I’ve never used an egg substitute in this cake, so it’s hard to give suggestions. Flax eggs may work, but I haven’t personally tried them. Also, I wouldn’t suggest sweetened condensed milk for this cake.
Is this cake best eaten on the day, or would it be ok to make a day or 2 ahead?
It’s okay to make it a day or two ahead of time, just make sure to refrigerate the cake. You can place it on the counter before you plan to serve it to bring it to room temperature.
Could I use 2 8” square glass pans, to make the two layers? How long should it be in the oven then?
Yes, that would be fine. I’m not sure on baking time, but I would guess it would be pretty similar maybe a few minutes longer.
Would like to try this recipe today. Can this be cooked in a bundt pan?
Yes, that would be fine! Baking time should be about 45-60 minutes.
Could walnuts or pecans be used in cake?
Yes, absolutely! I have a note in the baking tips section for how much to use, about 3/4-1 cup.
Fantastic recipe!
Thank you, Whitney!
I just made your carrot cake recipe and it turned out great! I followed your instructions except I used 5 eggs because they were small. I also used gluten free flour and it turned out great! I definitely plan to make it again. This was a practice run for my son’s requested carrot cake for his birthday. Thanks!
So happy the cake turned out great for you, Lisa!
Hi! How can I replace the applesauce?
Thanks,
Laura
You can use 1/2 cup Greek yogurt or one 8-ounce can of crushed pineapple that’s been drained.
I’ve made this cake a few times now. It is by far my favorite carrot cake recipe. Like others, I often use homemade apple sauce.
My daughter, aged two, loves it. I’m wondering what your thoughts are on cutting back the sugar to make carrot muffins for her. Would cutting the sugar by half not be sweet enough? I’m willing to experiment, but I don’t want to make something inedible. I will probably half the recipe to make small batches in case it doesn’t work.
Seriously though, everyone thinks I’m some sort of cake genius now. I’m becoming the person known for their carrot cake, and I’m not mad about it.
So happy to hear that, Katie! You could definitely cut the sugar down by 1/2 cup without noticing much of a difference. You may be able to cut it down more, but it just kind of depends. The recipe does need some sugar to give it the right taste and texture.
I’m not a baker but I love a good carrot cake so I decided to try this. Followed the instruction to the letter – well almost – I added golden raisins at the end and used a 9 x 13″ pyrex dish because I didn’t have cake pans. (see, I told you I’m not a baker). Let me tell you this is without a doubt the best cake I’ve ever made. Took me a while as I’m not fast in the kitchen but what great rewards. My husband isn’t a fan of cream cheese frosting so I made it half with buttercream and half with cream cheese. He was in hog heaven. Needless to say, it was so good I’m making it again today because we finished the first one in a heartbeat. Thank you so much for posting this recipe. Now to share it with everyone I know.
That’s wonderful to hear, Terry! So glad you both liked the cake!
I made this cake today and it turned out amazing. I had to make a few changes for people with blood sugar problems I used a mix of coconut flour vanilla protein powder oat fiber and a little gluten free flour in place if the regular flour I used coconut sugar for the brown sugar only a half cup the rest I used swerve granulated sugar and a few drops of liquid Splenda I used 1/2 cup butter and I didn’t have apple sauce so I used a coconut pinapple no calorie ice beverage!! The frosting I just used swerve confectionery sugar! This cake was the best I’ve ever made!! Oh and I added 1/2 teaspoon cloves and added a bit more cinnamon as I love spice! Thank you
Glad the cake turned out great for you, Miara!
I am not a fan of box mixes or canned frosting, yuck. I always do scratch cakes but moisture is a hard balance to find in a recipe. Just made these for a co workers bday, and made a couple extra for testing. The moisture level is unreal, best recipe for carrot cake I’ve used yet!
Thank you, Kira! Glad you liked the cake!
Absolutely delicious!!! I will definitely make this again.
Thank you, Tracy!
Amazing recipe – made it for my husband’s birthday and he said it was the best cake he’d ever tasted. Thank you for sharing!
So happy to hear that, Allison!
Will it make a difference if I use baby carrots in the cake? Or should I just stick to regular carrots?
Baby carrots will be fine, they will take longer to grate though since you’ll need to use quite a few.
I’ve only made a cake from scratch once and it was okay. However, I could take any boxed cake and turn it into an amazing recipe with some additional ingredients. It’s been about 4 years since my last cake and my family volunteered me to make my Mom a Gluten free Carrot Cake with cream cheese frosting. I was a little anxious but fine since I could find a gluten free boxed cake mix. No problem, except the store I went to decided to only have a funfetti gluten free mix and Bob’s Red Mill 1 to 1 Baking Powder (Gluten Free). Using your recipe, I decided to go for it and try to make a gluten free cake exactly as you made it except using Bob’s Red Mill 1 to 1 gluten free flour. I even got a little daring and ground both golden raisins and walnuts together to add to the wet mixture.
Seriously, thanks to you and your easy to follow ingredients and directions the cakes turned out beautifully! I will definitely start following your website from now on and see what else I can try my hand at.
Thank you for such a kind comment, Emily! I’m glad to hear the cake turned out great with the gluten-free flour!
Hi there, I wanted to try and make this carrot cake recipe. What do you think the bake time would be if I made cupcakes instead of cake?
I have a note right below the recipe, it’s 20-25 minutes 🙂
So I made this for my boyfriends birthday and it was delicious. I did add pecans and I only used a thin layer of frosting between layers and all over outside of cake because I’m not a huge fan of frosting. However, NEXT TIME, I’ll will frost the HECK out of it. I did add about 1/8 tsp of salt and a good amount of ALLSPICE to the frosting (about 1/4 tsp or so). It was SO fantastic!!! And I DONT LIKE FROSTING!! This stuff is SO good that I could have eaten it with a tablespoon. In my opinion, it was the star of the show! Also, I sprinkled pecans around the top edge of cake just like you did (although yours might have been walnuts). Those pecans on top are also a must for me next time too because of the perfect crunch it adds. I pre-heated my oven for a good half hour prior to baking, and when I checked (2 9-inch round) cakes at 28 minutes, the toothpick came out totally clean. I’m making this for the holidays for sure!!!
So glad you enjoyed the cake and frosting, Susan!
I want to use an 8 inch pan as I don’t have a 9 inch. How long would I have to bake it for? Thank you
I’m not sure on baking time for 8-inch pans. If you make 2 layers, you would need to increase the baking time. I would keep an eye on them and check them with a toothpick to make sure they’re done.
I am wanting to use this cake as a top tier and I was wondering if the cream cheese frosting will set hard in the fridge to decorate? Otherwise I will have to cover in white choc ganache like the bottom tier, which I think would taste ok.
It does firm up in the fridge, but not quite as much as buttercream.
I cut this recipe in half and made cupcakes with it. It was sooo good and moist! Its my husbands favorite cake so I made it for him on his bday. Never made a cake from scratch before, always used boxed mixes. I will always make this from scratch now, using this recipe! Thank you!
So glad you enjoyed the carrot cake!
Have always dreaded making carrot cake. But this recipe is perfect. Made the cake using a 8×8 square pan. Made it in just one layer. Made my own applesauce by steaming 2 apples. Turned out beautiful and moist. Thank you!
Thank you, Gayle! Glad you liked the carrot cake!
Can I use a 9×13 inch pan?
Yes, baking time is 35-45 minutes.
Hi Danielle
I’d love to make this cake again but for a 10in cake pan. How would I scale the recipe for a bigger pan pan
I’m not quite sure because I haven’t tried it. You could try multiplying the recipe by 1 and 1/2, but I think it may be a little too much batter. If so, you could always make cupcakes with any extra batter. This post may be helpful for you too: https://food52.com/blog/13239-how-to-make-your-baking-recipe-fit-your-pan-size.
Hi Danielle, I have to make applesauce from scratch, hopefully this won’t change too much- what do you think? Oh and how would you feel about substituting the ginger powder with fresh ginger? Would it even work? I hate to be one of those difficult people and am not aiming to change your recipe (which sounds great and I can’t wait to make it) – I just currently find myself in a country where some ingredients are a bit more difficult to get 🙂 Thank you!
Hi, Natalia! As long as your homemade applesauce is a similar consistency to what you would buy at the store, I think that would be fine. Also, I haven’t tried fresh ginger in this cake but I think that would be fine as well. 1/4 teaspoon ground ginger is equal to about 1 teaspoon of freshly grated ginger. You may try 1-2 teaspoons of fresh ginger, depending on how strong a taste you prefer.
Just wanted to let you know that it turned out delicious (save for the frosting problem addressed in the frosting recipe comments). The moisture of this cake is just unreal! Thanks again for your prompt replies earlier
So glad the cake turned out great for you, Natalia! You could also try this with a buttercream frosting if you want to avoid any issues again with the cream cheese frosting. I have a post for how to make a few different flavors here: https://www.livewellbakeoften.com/how-to-make-buttercream-frosting/.
I made this carrot cake (my first time making carrot cake) and it was an absolute hit. Everyone at the party loved it and so did I. Now I am making it for Thanksgiving because my family is begging for it again! Thanks for sharing this recipe!
So glad to hear that, Anthony!
Used your recipe and substituted sweet potato for carrots and made a Thanksgiving style cake… delicious! Thanks!
Glad to hear that the sweet potatoes worked well for you, Jeremy!