A wonderfully moist, perfectly spiced carrot cake recipe. This cake is surprisingly simple to make and includes a step-by-step video for no-fail results every time. Top everything off with my simple cream cheese frosting for what truly might be the perfect cake.
Today I’m re-sharing an old favorite recipe! Considering current events I was hesitant to re-share this cake as originally planned. I’ve mostly been focusing on recipes that use pantry staples, but with Easter right around the corner I wanted to share it as a small gesture of celebration (even though Easter is going to be different for a lot of us). Back to basics later this week!
If I had to choose a favorite cake recipe on my blog, I think this carrot cake recipe would be it.
Maybe I’m biased, but even though I’m wildly in love with my white cake, vanilla cake (a reader favorite!) and chocolate cake, this carrot cake is hands-down the one I will reach for first every time.
There’s something about its deliriously moist crumb, the perfect amount of spices, and yes, that all-time favorite cream cheese frosting of mine. It’s sweet without being too sweet, carefully crafted with both butter and oil and just the right amount of carrots –the flavor is so good that even Zach reached for a second piece.
I think you guys are going to love this one just as much, so let’s dig in.
How to Grate Carrots
My carrot cake recipe uses 3 cups of finely grated carrots. This is usually about 4 large carrots for me and I always peel my carrots before grating them. You can use a box grater to grate your carrots, but I prefer to use my food processor.
To use the food processor, I’ll first use the “shred” blade, but I’ve found that this doesn’t get my carrots as fine as I’d like them to be, so I’ll then switch to the standard blade and briefly pulse the carrots until they’re fine pieces. Don’t overdo this step or you’ll end up with carrot puree (this is also why I start by using the shred blade on my processor, I’ve found that just tossing the carrots in with my standard blade quickly breaks down the carrots too much for my liking).
One thing you definitely want to avoid is store-bought shredded carrots (or “matchstick” carrots). Those are way too thick to use here, unless you like biting into discernible chunks of carrot (I do not).

Can I make this into Cupcakes?
While you could, I personally found this carrot cake to be a bit too heavy for cupcakes. Because of that I developed a carrot cake cupcake recipe that I would recommend using instead. It’s still flavorful and delicious, but not so moist that it requires a fork for eating.
Oh, and if you’re interested in more carrot cake variations, I also have a carrot cake cookie recipe you can try out, too.
How to Store
If you’re eating this cake the same day it is made or within 48 hours of making it and are able to store it somewhere cool and dry you do not have to refrigerate it, though you do want to store it in an airtight container. However, any longer than that and I recommend storing refrigerated in an airtight container, where it will keep for about 5 days. I generally don’t like to keep cakes in the refrigerator (like my caramel cake) because the refrigerator can dry them out, but this carrot cake is so moist it holds up quite well in the fridge.
Before I let you watch the video below the recipe I need to talk to you about my cake decorating skills. I am not a cake decorator, but I can usually modestly frost a cake so that it looks at least presentable. The frosting job you’re about to see in this video is not an example of my finest work, at all!
My pride compels me to inform you that this was my sloppiest frosting job ever. I had to turn off the air conditioning in my house to shoot the video (my microphone picks up the noise and it sounds awful if we don’t) and at the time I shot this (it’s an old video) it was a 90+ degree day outside. I pulled the cream cheese frosting out of the fridge too far in advance and between the hot lights that I use for filming, the lack of AC, and the fact that I was right in front of my 350F oven, everything was a melty disaster, so while I’m not a cake decorator things aren’t usually that bad!
Alright I feel better now getting that off my chest 😉Enjoy!
More Recipes You Might Like:
Are you more of a visual learner? Check out my YouTube channel where I show you exactly how I make this recipe step-by-step in my own kitchen.

The Best Carrot Cake Recipe
Ingredients
- 2 1/2 cups all-purpose flour (315g)
- 1 cup granulated sugar (200g)
- 1 cup light or dark brown sugar* tightly packed (200g)
- 1 1/2 teaspoon baking soda
- 1 teaspoon baking powder
- 1 teaspoon salt
- 2 teaspoons ground cinnamon
- 1/2 teaspoon nutmeg
- 1 cup canola or vegetable oil (235ml)
- 1/2 cup or 1 stick unsalted butter melted (113g)
- 4 large eggs room temperature
- 1 Tablespoon vanilla extract
- 3 cups grated carrots** (340g)
- 1 cup chopped walnuts or pecans optional (125g)
Cream Cheese Frosting***
- 1/2 cup (1 stick) unsalted butter softened (113g)
- 8 oz cream cheese softened (brick-style, not spreadable) (226g)
- 1 teaspoon vanilla extract
- 1/4 teaspoon salt
- 4 cups powdered sugar (500g)
Instructions
- Preheat oven to 350F (175C) and prepare two 8-inch pans**** by lining the bottoms with parchment paper and lightly greasing and flouring the sides.
- In a large bowl, whisk together your flour, sugars, baking powder, baking soda, salt, cinnamon, and nutmeg.
- Add your canola oil and melted butter and stir well (batter will be pretty stiff and thick at this point, I usually use an electric mixer or my stand mixer to combine everything nicely).
- Add eggs, one at a time, stirring well after each addition.
- Stir in vanilla extract.
- Stir in carrots and nuts (if using) until ingredients are well-combined.
- Evenly divide carrot cake batter into prepared baking pans and bake on 350F (175C) for 40 minutes (toothpick inserted in center should come out mostly clean with only few moist crumbs).
- Allow carrot cake to cool in the pans for 10 minutes, then run a knife around the edge and invert onto cooling rack to cool completely.
- Allow cake to cool completely before covering with cream cheese frosting.
Cream Cheese Frosting
- Combine butter and cream cheese in a large bowl and use an electric mixer to beat until creamy, well-combined, and lump-free.
- Add vanilla extract and sprinkle salt into the bowl and stir well to combine.
- With mixer on low, gradually add powdered sugar until ingredients are completely combined (be sure to scrape the sides and bottom of the bowl with a spatula).
- Once your cake has cooled completely, cover with frosting.
Notes
Nutrition

Treat yourself to a FREE E-BOOK!
This recipe was originally published August 22nd 2018.
Marie-Claude Albert says
This cake is so good.
I used 4, 6 inch pans and baked for 40 minutes. Turned out perfect.
I also added a salted caramel filling between cake layers! So good!!!
Sam says
I’m so glad you enjoyed it so much! Thank you for your feedback using the smaller pans. 🙂
Cheryl says
Can you add pineapple (drained) thank you
Sam says
Hi Cheryl! Others have done it with success. 🙂
Alaina says
This is one of the best carrot cakes I have ever eaten. Your videos help make everything easy to follow and turn out perfectly. I have become a regular on your website and youtube channel and my son loves picking out a new recipe and watching the video. Everything we have made has been loved by everyone. We have been baking many of your cakes and cookies. Thank you so much for all your wonderful recipes.
Sam says
I am so glad you and your son have enjoyed everything so much, Alaina! 🙂
Jade Ally says
Hi! Amazing recipe, can you add buttermilk to it?
Sam says
Hi Jade! I wouldn’t add anymore liquid to this recipe. It has enough moisture as it is. 🙂
Carmen says
The best recipe, do you know if I can use this recipe in 3 – 6” pans ?
Thanks a lot, I’m going to try another recipe of this blog.
Greetings from México
Sam says
Hi Carmen! You can make it in 3 6 inch pans, but you may have a little excess batter. Make sure to not overfill the pans. 🙂
Dorthy Dharmasena says
I baked your carrot cake and it is delicious. Could you let me know how long does it take to bake a carrot cake in a 2 kg pan (10×10×4). Thanks.
Sam says
I’m so glad you enjoyed it so much, Dorthy! Unfortunately I haven’t made it in that size pan so I’m not sure how long it would take to bake. Just keep an eye on it. 🙂
Nana says
Hi Sam. I made this cake following the recipe a week ago. It turned out really nice. I want to make it this Saturday for my sons birthday but I bought cake and pastry flour thinking it might turn out better. Now I am worried it might not rise enough? Will this flour be okay instead of the l purpose or no?
Sam says
Hi! Truthfully I have not tried this recipe with cake flour, if you substitute it properly (I believe the substitute is 1 cup + 2 Tbsp of cake flour for every cup of all purpose flour) then I don’t see why it wouldn’t work. It will most likely result in a lighter crumb, which isn’t my preference with carrot cake which I prefer a bit more dense, but I think the cake would still turn out quite well 🙂 Would love to know how it works for you if you try it!
Nana says
I made it with cake flour and although it wasn’t bad, it was much more crumbly/drier. I definitely should have went with all purpose!
Sam says
Thanks for the feedback! 🙂
Emmalee says
Hey, Sam! I was wondering how many cups of batter this cake yields. I was going to use this recipe for a Thanksgiving carrot bundt cake and I wanted to see if my bundt pan would be a good size. Thank you for posting this recipe!😊
Sam says
Hi Emmalee! It should make about 8 cups of batter. 🙂
Emmalee says
Thanks, Sam!