The BEST Carrot Cake Recipe
This is my favorite recipe for homemade carrot cake! 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. Not only is this cake easy to make, but it’s so incredibly moist and full of flavor that it’s almost impossible to stop at one piece.
Once you realize how easy it is to make a carrot cake from scratch, you’ll want to make it over and over again.
To make this carrot cake, you’ll start by mixing up your dry ingredients. One important thing when measuring out your dry ingredients is to make sure to spoon and level your flour.
You want to avoid packing the flour into the measuring cup, otherwise, you’ll end up with too much in your recipe. Or if you have a food scale, you can also weigh your ingredients to get an accurate measurement.
I also really love some spice in my carrot cake so I use some ground cinnamon, ginger, and nutmeg. All three spices add such a wonderful flavor to this cake, but aren’t too overpowering. They really take this cake from good to absolutely amazing, trust me.
For the wet ingredients, you’ll be using some oil, eggs, vanilla, brown sugar, granulated sugar, and applesauce. The amount of oil and applesauce in this recipe adds the perfect amount of moisture, so you end up with a moist cake that isn’t oily.
As always, I use a bit more brown sugar than granulated sugar because it adds more moisture and flavor to this carrot cake. And of course, you’ll also be mixing in some grated carrots. I don’t like to skimp on the carrots when it comes to this recipe, so I use 3 cups of grated carrots.
I know some carrot cake recipes call for raisins or nuts, but I prefer to leave them out because I know that not everyone is a fan of them. However, if you love either one (or both!) feel free to mix some into the batter.
Then it’s all topped off with my favorite cream cheese frosting. Have you tried it yet?! It’s so good and a few of you have already made it and loved it. The store-bought frosting doesn’t even compare to this homemade frosting recipe.
And speaking of the frosting, it makes enough to frost the carrot cake like you see in the pictures. If you really love frosting, then I suggest making a bit more. Enjoy!
Baking Tips for Carrot Cake
- 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.
- Feel free to use chopped walnuts or pecans in this carrot cake, I suggest using about 3/4-1 cup. If you love raisins in your carrot cake, you may also use 1/2 cup.

The BEST Carrot Cake with Cream Cheese Frosting
Ingredients
For the carrot cake:
- 2 cups (250 grams) all-purpose flour (spooned & leveled)
- 2 teaspoons baking powder
- 1 teaspoon baking soda
- 1 and 1/2 teaspoons ground cinnamon
- 1/2 teaspoon ground ginger
- 1/4 teaspoon ground nutmeg
- 1/2 teaspoon salt
- 3/4 cup (180ml) canola or vegetable oil
- 4 large eggs room temperature
- 1 and 1/2 cups (300 grams) light brown sugar
- 1/2 cup (100 grams) granulated sugar
- 1/2 cup (125 grams) unsweetened applesauce
- 1 teaspoon pure vanilla extract
- 3 cups (300 grams) grated carrots, lightly packed
For the cream cheese frosting:
- 1 (8-ounce) package brick style cream cheese, softened to room temperature
- ½ cup (115 grams) unsalted butter, softened to room temperature
- 2 cups (240 grams) powdered sugar
- 1 teaspoon pure vanilla extract
Instructions
To make the carrot cake:
- Preheat oven to 350°F (177°C). Spray two 9-inch round cake pans well with non stick cooking spray (you can also line the bottom of each pan with parchment paper for easier removal) and 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 into 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 at 350°F for 30-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 about 20-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-1 minute until well combined and smooth. Add in the powdered sugar and vanilla extract and continue mixing until fully combined, scraping 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 cakes 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 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
To make cupcakes instead of a cake:
Bake at 350°F for 20-25 minutes. The full recipe will make 24 cupcakes or you can cut the recipe in half to make 12 cupcakes.
If you love pineapple, here’s my favorite recipe for Pineapple Carrot Cake!
The cake look turned out great :). We have just covered it with the icing. Thank you for this recepie – I don’t bake at all and with you it is nice and easy. This is my second bake with you after brownies :). Thank you will try next something else :).
So happy to hear that the cake turned out great, Magdalena! I’d love to hear if you try any other recipes! 🙂
The cake turned out to be really moist and delicious. Thankyou for this wonderful recipe
Happy to hear that you liked the cake, Marie!
I’d like to make this carrot cake in a 9×13 pan, instead of round 2 cake pans. Will it be ok??
I haven’t tried it yet, but I imagine that it would be fine. I’m just not sure on the baking time though. If the top becomes too dark before the center is finished baking, you can tent with aluminum foil until a toothpick inserted into the center comes out clean.
How well would this recipe work with gluten free flour?
I haven’t tested this recipe with gluten-free flour, so I’m not quite sure. If you’ve had success substituting a certain brand of gluten-free flour 1:1 in other recipes, then it may work okay.
Hi I’m looking for a carrot cake recipe without nuts so I’m going to give this one a try prior to making it for a friends wedding…. would it work with vanilla buttercream as I don’t want to use cream cheese on the wedding cake?
I really think this pairs best with cream cheese frosting, but I do think vanilla buttercream would work fine. I have a basic vanilla buttercream frosting recipe here: http://www.livewellbakeoften.com/how-to-make-buttercream-frosting/.
Just made cupcakes for a work potluck tomorrow…added 1 cup of chopped pecans to dry ingredients, and 1 tsp of cinnamon to frosting….also a bit more powdered sugar cause I wanted to pipe frosting. My husband ate 3!! Or maybe 4….said they were my best ever (I have made other recipes) so yummy!! Can’t wait to share with my colleagues. Thank you for sharing!!
So happy to hear that, Jennifer! I’m planning to make this for Easter, I’ll definitely have to try adding some cinnamon to the frosting.
Can I bake this cake in one pan? I’m about to make it. If so what size pan do you recommend?
That should be fine, Pam. This should be enough for a 9×13 pan. I haven’t tried it in one yet so I’m not sure on the baking time, but I would *guess* 40-55 minutes. A large bundt pan should also work as well. Hope you enjoy the cake!
Thanks for your tip, Danielle, my carrot cake came out perfect in the one pan, and moist but baked to perfection at 40 minutes! (i made it without the frosting, and it was still delicious!)
So glad to hear that it turned out great, Pam!
I was craving carrot cake so I googled recipes. This one had such great reviews and by looking at the ingredients compared to other carrot cake recipes, I knew it was going to above average. Finally baked it yesterday and it came out AMAZING! It hit the spot! I was worried about the ginger and nutmeg because I’m not a huge fan of either, but there is just the right amount of each to really bring out the flavor without being too “spice-y”. Next time I’ll probably bake the pecans inside the cake because I just love pecans! I am so excited to share this cake with my friends and family. I’ve never made a cake from scratch before so the fact that this cake came out tasting great made me feel so good and like I might be able to pass it off like I actually know how to bake haha bookmarked this recipe for future use and can’t wait to make it again!
Thank you, Lexi! You can certainly add pecans to the batter too (or even walnuts and some raisins). I’m glad to hear that it turned out great for you 🙂
Made myself this carrot cake for afternoon tea (just halved the recipe), and absolutely delicious!! Thank you for sharing
I’m so glad you enjoyed the carrot cake, Hannah!
Hi! The cake was great. But I have a question the sides cooked very dark in a 6in pan. How can I fix this issue?
Hi, Lauree! Baking soda causes baked goods to brown more, so that’s likely why the edges were darker. The edges of mine tend to be a little dark in a 9-inch pan, but you can’t really tell once the cake is frosted. Did you have to bake it longer in the 6-inch pan?
Can I use brown sugar and omit granulated sugar for the cake?
Also,can I make it eggless and not use eggs at all?
You can use all brown sugar in this cake. I would not suggest omitting the eggs all together otherwise the cake will not turn out right. You may be able to use an egg substitute, but I’ve never personally tested one with this cake.
How many people is this supposed to serve???
If I go by the “makes 24 cupcakes” I ‘d guess serves 12.
Having to guess is not a great way to start….
Hi, Anne. It depends on the size of the slices. This recipe makes a 9-inch layered cake, so I usually cut it into 12 servings.
Thanks for the recipe! Super delicious cake!!
Gabi
Thank you, Gabi! I’m glad you liked the carrot cake!
This is a great recipe, Danielle! I made it as a sheet cake for a celebration of life. I made it the night before and it was perfectly moist. I wanted a recipe to match the Whole Foods recipe but I think your recipe is even better. With the help of my niece, I want to make the cupcakes for the fireman in our local firehouse. Thank you!
Thank you, Mary Anne! I’m glad to hear that it turned out great as a sheet cake. I hope you and your niece enjoy making the cupcakes as well! 🙂
I made this delicious recipe of yours for family and neighbors since my husband is the only one in the house who can eat gluten. I followed the recipe to a T! I did make it into mini muffins being easier to share. I was really worried if they would still turn out so I babysat them while baking. Amazing and delicious and moist! Thank you for sharing your yummy recipe! =)
So glad they turned out great for you, Jessica! 🙂
Hi, this is more of a question before I make it. Is this icing really creamy, as in not pipable? I have made a yummy cream cheese buttercream in the past for red velvet cupcakes so I am debating if I should stick to a regular cream cheese frosting of a cream cheese buttercream. I plan on making a reguale cake but just wanted to pipe some decorations on top Any thoughts?
The frosting in this recipe pipes pretty well, here’s an example of what it looks like in this post: http://www.livewellbakeoften.com/cream-cheese-frosting-recipe/. It is a little softer than buttercream, but still pipes good.
If I baked the cake in two 9x5x3 inch loaf pans how long do you think the bake time would be and do you think it would work?
I think it would be fine to bake this recipe in two 9×5 loaf pans. I’m not sure on the baking time, but I would guess somewhere between 40-60 minutes at 350°F. If the tops become too dark, just cover loosely with aluminum foil until a toothpick comes out clean.
Any idea on the nutritional facts? Sugar/carbs/calories. Need to know for Grandma’s insulin pump.
Hi, Sabrina! I’m not sure on the nutritional info, but you can plug the ingredients into a website like My Fitness Pal to get an estimate.
How many does this feed?
It depends on how you slice the cake, I usually do 12 slices.
it feeds 3 lol
I would like to make this cake in two 10″ pans for a large crowd at Easter. Should I one and a half or double the amounts in the recipe and any idea how long to bake?
I’ve never tried it in 10-inch cake pans, so I’m not quite sure. I think doubling this recipe would be too much, so I would probably do 1.5x the recipe. I’m not sure on baking time, I would just check them with a toothpick once the tops are set. If you have any leftover batter, you can also make a few cupcakes.
Could I use fresh pineapple instead of canned?
That would probably be fine, I would just replace the applesauce with 1/2 cup of crushed pineapple.
Thank you so much for posting such a great recipe! It was so easy to make and absolutely delicious! The icing was amazing and really complimented the cake perfectly! I doubled the icing recipe because my family is big into icing haha and it was a huge hit! Everyone loved it and this is a recipe I will keep in our recipe book as a staple now. Thanks so much for sharing!
Definitely nothing wrong with adding more frosting, Megan! I’m glad to hear that everyone loved the cake 🙂
Hi Danielle!
Thanks for posting this recipe. Having read a few comments, it looks really good and I’m looking forward to baking this carrot cake for my family this Easter.
I didn’t read all the comments (there are loads of them 🙂 ) but I’ve seen that if we plan to make it the day before, you recommend to refrigerate it and take it to room temperature before frosting it.
It may be a dumb quetsion but I wanted to know if it would be ok to do the whole cake (baking + frosting) the day before, refrigerate it and take it to room temperature before serving. I don’t think I’ll have time to do the frosting and assemble the cake before lunch. I’m not used to working with that kind of frosting or recipe (I’m in Belgium, I never tried that kind of pastry), so I wanted to make sure it would be ok.
Thank you for your help! 🙂
Hi, Stephanie! Yes, absolutely! You can frost the cake and assemble it ahead of time, then just leave it on the counter for a little bit to come to room temperature.
Hi! I was just wondering if anyone has tried this with coconut oil or any other type of oil. Do you think coconut oil would work? Thanks so much!
Coconut oil would be fine, Kari. Just make sure to measure 1/2 cup of melted coconut oil and that your eggs are at room temperature so the oil doesn’t solidify.
Thank you!!! ??
I mean 3/4 cup of melted coconut oil! 🙂
I always use coconut oil 1/2 cup melted (you can now purchase the coconut oil in liquid form as well) I’ve not tried the liquid, but see no reason why it wouldn’t work. I use my eggs straight from the fridge and have never had a problem with it solidifying.
This is the best recipe!
Thanks for sharing, Kimberly! Glad you liked the carrot cake too!
this cake looks amazing! but i dont have applesauce – can i just omit it, or do i have to replace it with something? thank you
You would need to replace the applesauce with something else. I’ve tried crushed pineapple and that works really well in this recipe. I think plain Greek yogurt/sour cream may work fine, but I haven’t tried it yet.
I’m planning on serving this cake Easter Sunday. Today is Friday and I just put it in the oven. Can I prepare and Frost cake today and put it in the fridge until Sunday?
That would be fine, Lauren! The cake will stay good in the refrigerator for about 4 days.
Could I put this in a bundt pan?
Yes, absolutely! I’m not sure on the exact baking time I would guess 45-60 minutes at 350°F. If the top begins to brown too much, just tent with aluminum foil.
I plan to half the recipe and make cupcakes. Would you recommend cutting the icing recipe in half too? I plan to pipe the icing onto the cupcakes.
Hi, Kristen! It depends on how much frosting you like on your cupcakes. If you prefer more frosting, I would use the full frosting recipe. The cupcake picture right below the recipe has a taller swirl of frosting and I used the full recipe for a batch of 12 cupcakes. If you prefer less, you can cut it in half.
I know this is redundant at this point, but wow, I’m so glad I picked this recipe out of the myriad of carrot cake recipes I had considered baking -it’s awesome! While it seems there is certainly a commonality shared by the recipes; it seems it’s some minor alterations that make this one really stand out.
I was so worried about an oily cake or a too sweet cake, and this one delivered what I had hoped – moist, but not oily (some recipes had pictures where it looked like you could squeeze the cake and get oil to drip out of it), sweetness but not cloying (don’t get me wrong – I like sweet!). I’m kind of going on here, but I’m keeping this one as my carrot cake recipe going forward.
I know some don’t like when a person modifies an original recipe and then rates it, but I read all the comments before I made this and got a couple of ideas along with the possible modifications/add-ins mentioned in the recipe to make a few tweaks.
I used a 1/2 cup of pear “sauce” instead of applesauce (I simply chopped and cooked down a pear with a TBSP of water, mashed it with skin on) and added in some freshly grated ginger in addition to the powdered ginger, I soaked a 1/2 cup of raisins in hot water with some orange liqueur, and added 3/4 cup of toasted chopped pecans, I used only brown sugar and not quite the amount called for, also a little less oil than called for. I added orange zest and maybe 1/2 tsp of orange extract in frosting. I added an extra cup of powdered sugar to the frosting. I was concerned it wouldn’t be enough as I like my frosting, but I do believe the original amounts would be plenty for next time. NUMMY!
Thanks for a great recipe and well written, too. I’ve bookmarked your site for other baking information and recipes. So helpful!
I’m so glad you enjoyed the carrot cake, Jean! Your modifications sound wonderful too, I love the idea of soaking the raisins in the hot water and orange liqueur!