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
How would you adjust for high altitude? Greater than 6,000 ft?
I don’t have any experience with high altitude baking, but King Arthur Flour has a great guide on their site for how to adjust recipes for high altitude. Hope that helps!
Delicious and eastbound to make. It was a bit dry and perhaps due to my addition of chopped pecans. I would probably add a small can of crushed pineapple next time to add moisture and a little texture, but this recipe is very good and everyone enjoyed it. Thanks for sharing!
Tried this over the weekend and absolutely amazing! Thank you so much.
How many apples do I need to make 125 g of applesauce for that recipe?
I’m unsure of how many apples you would need. You can use store-bought applesauce or replace it with one 8-ounce can of crushed pineapple that’s been drained.
Can I make this in a 9×12 Pyrex rectangular dish? Would it affect cook time?
Yes, baking time is about 35-45 minutes.
I’d love to try yur recipe out for this carrot cake, but I’d love to have pineapples in mine. So without meaning Any disrespect to u or the recipe, would u have any suggestions as to incorporating pineapple into this recipe for me? Its just for my own personal preference. Thank you!
You can replace the applesauce with one 8-ounce can of crushed pineapple that’s been drained. I also linked to my pineapple carrot cake a little below the recipe. Hope that helps!
Hi Danielle
I have made your cake many times and various time and it has been great each time. Just wanted to let you know I took it to my local county fair and it won best of show in spite of having to substitute the cream cheese frosting with buttercream frosting due to the cream cheese. I have sent many people to this website for the cake. Thanks again!
So happy to hear that, Sue. Thank you!
Absolutely DELICIOUS!!! I made the 12 cupcakes, they came out PERFECT! I wish I made the full recipe! I will be making these again soon. Readers, just follow the directions and it’ll be perfect! Thank You for such a great recipe!
Hi! Last night I made this cake for my husbands birthday! EVERYONE LOVED IT! It’s soooo good!
I did have to cook it a touch longer in my gas oven, but it was moist and perfect!
Thanks for sharing!
Hello,
I’m making this cake for my nephew’s birthday. There will be around 20 plus people. Should I double the amount of the recipe? I’m used to making cake box mix and I double the amount. Thank you!
Yes, I would double it. One cake will serve about 10 people, so you could make two of them.
Over the past few years, I’ve tried a few different carrot cake recipes. Your recipe blows them all away. Thank you for sharing!! Seriously the best carrot cake ever!!
How far ahead can I make frosting
You can make it 2-3 days in advance, cover tightly, and store in the refrigerator. Just bring to room temperature and mix well before frosting the cake.
Oops also I’m going to make this on Friday and frost and serve on Sunday. How should I store in between?
I would just wrap it tightly and store it in the refrigerator until you’re ready to frost it.
Made this for a birthday ? outstanding! If using three 9 inch pans is the baking time different? Also you had said increase the recipe 1.5? Why not double it?
Glad you liked it! The recipe uses 2 pans, so increasing it by 1.5 would be enough for 3 pans. It would probably be fine to double it though and just have taller layers. If you double it and use three pans, you’ll want to increase the baking time.
Can you give an estimate for baking time if you do 3 9″ pans? Thanks!
I would guess maybe 15-20 minutes. If you do make three layers with this recipe, they will be pretty thin.
Great recipe! I added orange zest and a shake of ginger to the frosting. YUM!
Dear Danielle,
Excellent excellent cake recipe. I have in-laws visiting and made this for Sunday evening tea after dinner, oh my, I got such lovely compliments. This is the best homemade cake recipe ever.
Thank you so much
Ini
I made a triple batch and froze portions of batter in the freezer. Defrosted and baked at 180c / 160c fan for 20 min.
Amazing! Make mess once and have fresh cake whenever you want it. I also added a zest of orange which made it hum! Delicious!! Light and fluffy!
Hi Danielle. Been a while since i made this, but wondering about baking time if I use a 13 x 9 glass pan instead of the rounds. Think this would work? Or, I have a 9-1/2″ (across the top) tube pan as well. Gonna make it this afternoon. What do you think?
Also, Danielle, do you think I could replace half of the flour with white whole wheat?
I think that would be fine!
Either one will work! Baking time for a 9×13 pan is 35-45 minutes and for a bundt/tube pan it would be about 45-60.
Can I make a three layer with this recipe?
Yes, absolutely! You can bake this recipe in three 8-inch cake pans or multiply the recipe by 1.5 and bake it 3 9-inch pans.
I just made this recipe ( first ever made carrot cake). It smell so good baking in the oven. When the cake came out of the oven, I of course tasted a crumb and it was delicious!!!!. I’m so excited to finish this off. Oh, and I love that this does not have nuts! We have a son that is deathly allergic and a son that hates nuts! Works for us! Thanks for this recipe!
This is going to be my new Carrot Cake recipe! It is delicious and very flavorful. Thank you for sharing.
What size if pan do I use for the carrot cake
I used 9-inch round cake pans for this cake, it’s listed in the recipe as well 🙂
Hi Danielle.
I made your recipe this weekend.
I made two cakes in fact.
The first looked just like yours and my family loved it.
The second, I missed the ginger quantity up, so adjusted the cinnamon, nutmeg and salt accordlingly, and it came out dencer but so flavoursome and spicey. It being winter here in South Africa now that’s a perfect wintery cozy taste for a Sunday afternoon.
I sent this one off with my husband to his sisters’ birthday party – for the chefs and cake masters of the family to try…and got 5 stars!!!!
For the middle though, I used dulce de leche micxed with the creame cheese icing to also add a bit of caramel (as my sister in law loves caramel) and that gave it a really nice break too.
It was so much fun making the cakes, and enjoyed by everyone!!!
Thanks for the best carrot cake recipe ever!!
Sada.
The dulce de leche sounds like a wonderful addition! Glad you liked the cake, Sada!
I measured the brown sugar but also weighed it. The amounts were substantially different. The weighed sugar gave me nearly 2 full cups, even packed down. Because I hadn’t weighed the flour (usually I do either all weighed ingredients or all measured in a recipe) I split the difference and reduced the sugar to 275 gms. Do you recommend weighing ingredients over measuring them? I always find this confusing with baking.
Also, because of the cream cheese, does the cake need to be refrigerated?
I made it before but it was devoured before that became a question.
An excellent cake!
That’s strange, when I weigh out 1 and 1/2 cups of brown sugar I get right at 300 grams each time. I would always recommend weighing ingredients if a recipe lists them to get the best results. The cake does need to be refrigerated too because of the cream cheese in the frosting. Glad you liked it!
I had canned carrots I needed to use up so tried them in this recipe. The only change I made was to scoop the floor instead of spoon to account for the increase moisture and slightly mashed the carrots right in the can before adding to wet ingredients. My family loves loves LOVES the cake and frosting!
It turned out delicious as a cake and as cupcakes. I got lots of compliments. I added a little bit less sugar, it’s just my personal taste. Thank you for a great recipe!
The first time I made the cake, I forgot the brown sugar. I made it again and got all the ingredients in this time. It was delicious! Family devoured it in two days. My father doesn’t eat cake (how even) but he loved this cake- without the frosting! His cake is that good without the frosting! Extra frosting for me (yay!) Thanks for sharing.
So glad the cake turned out great for you this time, Almaz!
Hi – can I use pre-packaged shredded carrots like from Trader Joe’s? Or would that texture be too thick and is grating to a more thin texture necessary? Thanks!
I would recommend using freshly grated carrots just because the pre-packaged ones are drier and won’t keep the cake as moist and they’re thicker too.
Will this recipe work in a bundt pan? I know I’ll have to adjust the baking time but will all the ingredients quantities be the same? Thank you very much! Looking very forward to trying this!
Yes, it will work in a bundt pan! Baking time should be about 45-60 minutes.
Hi Danielle
I’ve attempted your recipe twice and each time the cake has turned out gloupy instead of crumbly. Could it be that the batter is too wet.
Sorry to hear that, Peter. I’m not quite sure what you mean by gloupy though? Did you make any adjustments to the recipe? Was the cake fully baked when you removed it from the oven?
So I chose to make the frosting with 2 and a HALF cups of
powdered sugar because the gloominess needed it otherwise about to try it out!
If you can try to weigh your flour, your sugar, your carrots. The flour can measure in a cup but weight wise be very much different. A scale is a worthwhile investment for anyone serious about baking.
You will be able to make subtle adjustments and gain much more control over your recipes and your results. It worked for me and is the best ‘secret’ I know of.