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 whipped cream cheese frosting 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



Im using this recipe for 3 years now. Its the best recipe ever!
Can you bake this cake in a Bundt pan?
Yes! The baking time should be about 45 to 50 minutes at 350°F or you can use my carrot bundt cake recipe instead.
Best cake ever
Recipe is great but it took me considerably longer than 30 min. to get the cakes cooked through.
Rave reviews from family members. Moist and flavourful cake! The amount of frosting was JUST enough to frost a 2-layer 9″ cake when using a thinner layer around the sides and a bit more on the top. I chopped toasted pecans and used them around the sides of the cake to make up for thinner frosting.
Next time I make it i will make 1.5X the amount of frosting just so there’s a bit more to work with.
This will be my go to recipe for carrot cake from now on. Thanks!
I made this cake – twice. Why? Because the first time it sank in the middle. I am certain it was because I grated the carrots on a “regular” grater and I think the moisture from those bigger pieces literally sank my cake. So, on round 2, I grated them with the smaller (smallest) disc in my food processor. I was still concerned they might be too big, so I popped in the blade and pulsed them into a “fine” grate. Perfect cakes! This was the ONLY difference – same pans, same oven, etc. (And I use a separate thermometer in my oven to ensure the right temp.) This cake came out SO moist and delicious! I did not add raisins or nuts (I love them but others do not). I have subbed applesauce for oil in things like brownies – I’d like to know if anyone has tried increasing the applesauce in this to sub out the oil. I might try this myself, since I have a COSTCO bag of carrots! The frosting: it was “okay” – a little thin, even after adding more powdered sugar. I like a nice thick frosting – this was not that. I had to refrigerate it and firm it up a little. (Note: I cut the first cake that sank horizontally and lo and behold, it was fine inside, I just would have had a lake of frosting in the middle had I used it!)
My husband loves carrot cake and requested it for his birthday this year. I’m going to try this recipe. But…we will be out of town for two days before his birthday. Can I make the cake in advance, wrap it tightly, and store it in the fridge for two days? Then I would simply frost it when we get home.
Yes, that would be okay!
My gosh, Danielle, this was fantastic. Thank you for this recipe. I followed the recipe as is EXCEPT I made the cake as one layer and omitted the frosting. Also, added walnuts. Oh, and I made it all in my toaster oven. Thank you, Danielle.
Hi, where I live we don’t have applesauce or light brown sugar. Can I use shredded apples ? And we have mascabado sugar or cane sugar that has some molasses in it.
I’d recommend replacing the applesauce with yogurt/sour cream. It should be okay to use muscovado sugar, but I also have a brown sugar substitute here that you can use instead.
Cake turned out perfect but my icing was a mess. It was runny and so when icing the cake it ran everywhere. But taste perfect. Made for my boyfriends birthday. Guess appearance doesn’t matter as long as it taste good.
Hi Chelsea, mine was runny as well. I am the UK and I believe our cream cheese is different from American cream cheese. I found Mary Berry’s recipe to work out ok. I add the cream cheese right at the end and don’t mix that much. Other than that everyone who has tasted this carrot cake has raved about it “best carrot cake I have ever eaten”.
I used 4 cups of powdered sugar in the frosting.
Can you make this in a Bundt pan
Yes! The baking time should be about 45 to 50 minutes at 350°F or you could use my carrot bundt cake recipe instead.
Another 5 star here! I used your recipe for my hubby’s 40th birthday party, using buttercream frosting. All compliments, and one friend in particular described it as the softest carrot cake he had ever had!
Thank you for sharing it with us!
Hi. Do you happen to know the baking time for an 8 inch pan? I would like to try this but I am without 9 inch pans.
Yes, the baking time for two 8-inch round pans is 35 to 40 minutes at 350°F.
I’ve made this recipe before, it turned out wonderfully. Would you say you could pipe those frosting? I was thinking about giving it a try
Yes, you can! You can see what it looks like piped on cupcakes in this post.
Super moist, was a big hit!
I tried this the first time and it was so delicious! Been using this recipe since! Thank you
I’d like to make this as a one layer 10” cake. Is this enough batter?
Yes! You will have some batter left over, but you could use it to make some cupcakes or a smaller cake.
Unfortunately, my cake didn’t turn out quite perfect, the layers were too moist on the inside. I baked them separately, but the result was the same. I’ve used other recipes several times and had much better results.
Wonderful carrot cake!!!!!
I made this cake before everyone loved it . Can you make into cupcakes?
So happy to hear that, Ann! I covered how to make cupcakes in the post, but I’ll share it here in case you’re having trouble finding it “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.”
Recipe was so easy and came out great. Made this for a family birthday dinner. Everyone loved it! Said it was the best carrot cake they’ve ever had and tasted professionally made. Will definitely make this again. Highly recommend this recipe!!
This is a delicious carrot cake, easy to make. The cream cheese frosting is really very good. I only used 1 cup of powdered sugar. I now get requests from family members for this cake. Everyone that tries it, loves it!! Thank you for sharing the recipe. It is definitely a keeper!
I first copied this recipe in 2023, it is the BEST carrot cake, family and friends agree. I had put it in a plastic page cover and placed in my cookbooks. Pull it out each time I want to make it. All was well until yesterday when I spilled some of the oil onto it and it soaked in about half of the page… Today I checked and hurray the recipe is still on your site! Copied again and this time taped the open edge to protect it! Thank you again for the recipe!
Can I use 1/2 cup of oil instead of 3/4 cup? I have 1/2 cup of canola oil and 1/2cup of vegetable oil. Can I mix them up?
I’d recommend using 3/4 cup of oil, but you can mix them to get 3/4 cup.
One of our best cakes EVER, thank you!
I made this for a birthday this week and was told it was the best carrot cake they had ever had… Carrot cake is their favorite and have had many over 50 years
Hi! Just wanted to see if this recipe would work with a 1:1 gluten free flour replacement. Thank you!
I haven’t tried it, but if it’s a gluten free flour that substitutes 1:1 for all-purpose flour I think it may work.
I made this for my boyfriend’s birthday and it was a huge hit! Everyone loved it and now I am in charge of making the carrot cakes from now on… but I’m so happy for it because this cake is delicious!!
Can you add walnuts to the batter?
Yes, you can add 3/4 to 1 cup of chopped walnuts.
Does it have to be stored in the refrigerator, or would a cool room (65 degrees max) be ok?
If you frost the cake with the cream cheese frosting, it does need be stored in the fridge.