Moist Homemade Carrot Cake with Walnuts
As an Amazon Associate, I earn from qualifying purchases. Read the full disclosure here.
Incredibly moist and flavorful carrot cake filled with crunchy walnuts and covered in a smooth and creamy cream cheese frosting. Make them into cupcakes next!
![slice of carrot walnut cake on a white plate](https://freshaprilflours.com/wp-content/uploads/2021/03/carrot-cake-6.jpg)
This Homemade Carrot Cake Recipe is perfection
This homemade carrot cake recipe has been a very long time coming, my friends. Very long as in folks have been asking for it since I started my blog in April 2014. And with very good reason.
Prior to starting my blog, I made custom cakes for people– birthdays, showers, weddings, parties. And since I was still working a full time job outside of the house back then (still a dream I get to do THIS as a full time job now!), I made a lot of cakes for coworkers and lunch events.
Whenever I made this carrot cake (or turned it into cupcakes), people went nuts.
![slice of carrot walnut cake on a white plate](https://freshaprilflours.com/wp-content/uploads/2021/03/carrot-cake-4.jpg)
In fact, a coworker’s husband was a pastry chef, and every year, he requested my carrot walnut cake for his birthday. Flattered, shocked, proud– I was all of the things!
I stewed for many years over whether or not to share my beloved recipe for carrot walnut cake with my readers (and the rest of the internet) because I worked so hard to achieve perfection (a bold statement, I know).
But the more I thought about it, the more I wanted those folks who loved eating my cake to continue to be able to eat it. And this is the best way I know how to share my love of baked goods with the world.
![slice of carrot walnut cake on a white plate with a fork](https://freshaprilflours.com/wp-content/uploads/2021/03/carrot-cake-3.jpg)
This Moist Carrot Cake Recipe has rave reviews
Since I know just how good this cake is, I distributed it to many taste testers. I had 12 adult taste testers in total and 1 toddler (the other toddler refused because the cake was orange, but he sure did love the frosting!).
All around rave reviews. One self-proclaimed non-carrot cake lover even hesitated to take a piece, but I asked her to just try it and see if maybe it was other recipes she didn’t like and whether or not my very best carrot walnut cake recipe to ever exist was the missing piece. And it was.
![slice of carrot walnut cake on a white plate](https://freshaprilflours.com/wp-content/uploads/2021/03/carrot-cake-6-678x1024.jpg)
![carrot walnut cake on a cake stand and cuts made for a slice to serve](https://freshaprilflours.com/wp-content/uploads/2021/03/carrot-cake-9-678x1024.jpg)
I asked for her honest opinion and she said “I have never in my life had a carrot cake that tasted like that.” I told her that it was perfectly fine to live the rest of her life “not liking carrot cake except Lynn’s.”
There is truly a piece of my heart here on my blog with this carrot walnut cake recipe.
I hope that you will invite it into your kitchen and love it as much as we and so many others have. I’ve always said my blog and my cookbook were my first babies, but sometimes I wonder if perhaps this recipe was.
Homemade Carrot Cake Ingredients
I have always liked my carrot cake with nuts (specifically walnuts), without raisins, and without coconut. To me, those last 2 are borderline sacrilegious, and while I do love me some raisins in my cookies, they do not belong in cake (carrot or otherwise).
Save ’em for the cookies.
CARROT WALNUT CAKE
• all-purpose flour
• baking soda
• ground cinnamon
• ground nutmeg
• ground allspice
• salt
• granulated sugar
• vegetable oil
• large eggs
• carrots
• walnuts
CREAM CHEESE FROSTING
• cream cheese
• unsalted butter
• powdered sugar
• vanilla extract
• salt
How to Prepare Carrots for Carrot Cake
First of all, we’re using an entire pound of carrots for one cake. It might seem like a lot, and it is, but this isn’t just a sort of carrot cake. This is a full blown carrot cake with walnuts and the carrots really are the star of the show. The walnuts are the secondary star.
The secret to preparing the carrots is to not just shred them, but also finely process them.
![](https://freshaprilflours.com/wp-content/uploads/2023/01/Fresh-tip.png)
For the best texture of carrots, shred them in a food processor, switch out the shredder for the standard blade, and pulse a few times.
![shredded carrots in a food processor](https://freshaprilflours.com/wp-content/uploads/2021/03/carrot-cake-13.jpg)
This will insure that you have some very small and fine carrot bits that will get themselves into every nook and cranny of your carrot walnut cake.
The batter will be very orange, and you might start to question “1 pound” of carrots. It is not a typo. I promise, this is where it gets amazing.
![aerial photo of carrot walnut cake batter in baking pans](https://freshaprilflours.com/wp-content/uploads/2021/03/carrot-cake-11.jpg)
The same idea applies to the walnuts– you’ll want to chop them very fine so that they distribute through the cake nicely. There is also no need to toast them prior to putting them into the cake. They will toast all on their own while the cakes bake.
How to make Carrot Cake with Cream Cheese
STEP #1
Start by whisking together the flour, baking soda, cinnamon, nutmeg, allspice, and salt, then set this mixture aside.
STEP #2
Next, whisk together the sugar and vegetable oil until completely combined. Whisk in the eggs one at a time until everything is incorporated.
STEP #3
Pour the dry ingredients into the wet ingredients and stir with a spatula until batter starts to come together. Add the carrots and the walnuts and continue to mix until everything is evenly combined.
STEP #4
Pour the batter into the prepared pans and bake, then remove from oven and allow cakes to cool in the pans completely on a wire rack before removing and assembling.
STEP #5
Start the frosting by beating the cream cheese and butter together on high speed until smooth and creamy.
STEP #6
With the mixer on low, add the powdered sugar, vanilla, and salt, then increase the mixer speed to medium-high and beat for 2 minutes.
STEP #7
Trim the cooled cake layers, then stack and frost the cake as desired.
Top off this Carrot Cake with Cream Cheese Frosting
And of course, last but not least, the cream cheese frosting that goes on top is one you’ve seen before.
![aerial photo of carrot walnut cake in baking pans](https://freshaprilflours.com/wp-content/uploads/2021/03/carrot-cake-10-678x1024.jpg)
![cream cheese frosting in a glass bowl](https://freshaprilflours.com/wp-content/uploads/2021/03/carrot-cake-12-678x1024.jpg)
I first brought it with my red velvet cupcakes, and it has since been on top of many cakes and cupcakes since. It’s very simple and straightforward and that tang and creaminess makes an excellent complement to all that spice and texture.
I will offer a word of caution: this is an incredibly moist cake. I typically trim each of my 8″ layers in half so I have 4 layers of cake. This carrot walnut cake always makes me work a little harder because it is so moist.
![a slice of carrot walnut cake being lifted out from the cake to serve](https://freshaprilflours.com/wp-content/uploads/2021/03/carrot-cake-8.jpg)
If you aren’t super comfortable with trimming and making multi-layer cakes, just stick to the 2 layers. I just prefer the way 4 layers looks in photos!
![aerial photo of a carrot walnut cake with a slice taken out of it](https://freshaprilflours.com/wp-content/uploads/2021/03/carrot-cake-7.jpg)
How to store Carrot and Walnut Cake
Cover cake tightly so any exposed crumbs do not dry out. It can be left at room temperature for 2-3 days, but does best in the refrigerator.
![aerial photo of two slices of carrot walnut cake on plates and one has a fork digging into it for a bite](https://freshaprilflours.com/wp-content/uploads/2021/03/carrot-cake-2.jpg)
DOES CARROT CAKE NEED TO BE REFRIGERATED?
This tends to be a very moist cake, so I prefer to keep it in the refrigerator for freshness and to prevent any bacterial growth in the moist environment. Also, this cake holds up best when chilled since the cream cheese softens significantly at room temperature. I do not suggest leaving this particular cake out at room temperature longer than 2-3 days.
![two slices of carrot walnut cake on plates and one has a fork digging into it](https://freshaprilflours.com/wp-content/uploads/2021/03/carrot-cake.jpg)
I am so confident that this is the best homemade carrot cake recipe you’ll ever find… And I can’t wait for you to try it!
Love carrot cake as much as I do? Try my carrot cake cupcakes, carrot cake baked oatmeal, carrot cake coconut macaroons, or carrot cake waffles next!
![carrot cake cupcakes with cream cheese frosting with shredded carrots and pecans on top](https://freshaprilflours.com/wp-content/uploads/2021/09/carrot-cupcakes-6.jpg)
![carrot cake baked oatmeal in a bowl with a spoon](https://freshaprilflours.com/wp-content/uploads/2022/10/carrot-cake-baked-oatmeal-7.jpg)
![carrot cake coconut macaroons on a plate](https://freshaprilflours.com/wp-content/uploads/2015/12/carrot-cake-macaroons-4.jpg)
![carrot cake waffle with a pat of butter and syrup on it](https://freshaprilflours.com/wp-content/uploads/2021/08/carrot-cake-waffles-5.jpg)
More Favorites from Fresh April Flours
Homemade Carrot Cake Recipe with Cream Cheese Frosting
Ingredients
CARROT WALNUT CAKE
- 1 and ½ cups (180g) all-purpose flour be sure to measure properly
- 1 and ½ teaspoons baking soda
- 1 and ½ teaspoons ground cinnamon
- ¾ teaspoon ground nutmeg
- ¾ teaspoon ground allspice
- ¼ teaspoon salt
- 1 and ½ cups (300g) granulated sugar
- 1 cup + 2 Tablespoons (245g) vegetable oil
- 3 large eggs
- 1 pound (454g) carrots peeled and shredded/finely processed1
- 3 ounces walnuts finely chopped
CREAM CHEESE FROSTING
- 8 ounces (225g) full fat block cream cheese softened to room temperature
- ½ cup (113g) unsalted butter softened to room temperature
- 3 and ½ cups (420g) powdered sugar
- 2 teaspoons vanilla extract
- ⅛ teaspoon salt
Instructions
CARROT WALNUT CAKE
- Preheat the oven to 350ºF (177ºC). Grease and flour two 8" round cake pans, or use homemade cake release. Set aside.
- In a medium size bowl, whisk together the flour, baking soda, cinnamon, nutmeg, allspice, and salt. Set aside.
- In a large bowl, whisk together the sugar and vegetable oil until completely combined. Whisk in the eggs one at a time until everything is incorporated.
- Pour the dry ingredients into the wet ingredients and stir with a spatula until batter starts to come together. Add the carrots and the walnuts and continue to mix until everything is evenly combined.
- Pour the batter into the prepared pans and bake for 30-34 minutes, or until a toothpick inserted in the center of the cake comes out clean. Remove from oven and allow cakes to cool in the pans completely on a wire rack before removing and assembling.
CREAM CHEESE FROSTING
- In a large bowl with a handheld mixer or the bowl of a stand mixer fitted with the paddle attachment, beat the cream cheese and butter together on high speed until smooth and creamy.
- With the mixer on low, add the powdered sugar, vanilla, and salt, then increase the mixer speed to medium-high and beat for 2 minutes.
- For more buttercream troubleshooting tips, see my book, The Home Baker's Guide to Basic Buttercream.
ASSEMBLE THE CAKE
- For a 2 layer cake: place one layer, bottom side up, on a plate or cake stand. Using a spatula or knife, spread an even layer of frosting4 over the entire surface. Place the second layer on top, bottom side down, and press down on the top lightly. Spread the rest of the frosting on the cake, beginning with the top and working your way down the sides. Decorate2 as desired.
- For a 4 layer3 cake: split each layer into two smaller layers using a cake leveler or serrated knife and repeat steps for 2 layer cake. Cake stays fresh covered at room temperature for up to 4 days. Cake may be covered and refrigerated for up to 7 days.
- Make ahead: prepare cakes and frosting up to 1 day in advance. Cover cakes tightly and keep at room temperature or in the refrigerator until ready to assemble. Refrigerate prepared frosting in an airtight container until ready to use. Unfrosted cake layers may be frozen, wrapped tightly, up to 2 months. Thaw overnight in the refrigerator before assembling. Frosted cake can be frozen, wrapped tightly, up to 2 months. Thaw overnight in the refrigerator and bring to room temperature before serving.
Notes
- Carrots: I like to use a food processor to shred the carrots, then replace the shredder with the blade and pulse a few times to turn some of the shreds into finely processed carrots. This brings the best moisture and texture to the cake.
- Decorating the cake: if you want extra frosting for piping borders or designs, I suggest doing 1.5x the cream cheese frosting recipe.
- Four layer cake: this is a very moist cake, which makes splitting the two layers in half a bit tricky. If you are not comfortable with cake trimming and multi-layered cakes, I suggest sticking to just the 2 layers.
- Frosting: I also recommend my maple cinnamon cream cheese frosting for this cake.
- Cupcakes: this recipe yields about 24 standard cupcakes. Bake time is 20-24 minutes. If you only want 12 cupcakes, use my carrot cake cupcakes recipe.
- To make 8×8 carrot cake: cut the recipe for the cake and the frosting in half. Bake time is approximately 30-32 minutes. To use half of an egg, break it into a bowl, whisk it like you’re going to scramble it, and use 2 Tablespoons.
Nutrition Disclosure
All nutritional values are approximate and provided to the reader as a courtesy. Changing ingredients and/or quantities will alter the estimated nutritional calculations.
What a recipe! I tried it for the very first time for my husband’s birthday party yesterday. Was wiped out completely. Everyone loved it and said it was super moist. I felt good, secretly thanking you for this recipe!
Thank you so much, Suganya! 🙂
So good and easy to make! Although I’m not sure how much liquid from the carrots should be reserved for the cake? I find the centre to be a bit “wet” sometimes, but it’s still delicious either way! 🙂
Thanks, Lucy! If you ever think your carrots are too wet, you can wring them out a bit.
Can a 1:1 Gluten Free flour be substituted for the AP flour?
Hi, Wendi– yes, it works great!
Lovely recipe and cake just delicious.
Thank you so much, Bernie!
This came out so good.. tasted super yummy even without the icing . Going to be a staple.. I replaced all purpose flour with Atta/wheat flour and was amazed how it turned out! Thanks for the recipe.
Thank you so much, Sathya!
Can you please give the replacement of eggs because We don’t use eggs as we are pure vegetarian
Hi, Chanchal– I’ve never make a replacement egg, but I have used liquid egg replacement that you can find in the vegetarian/vegan section of your grocery store.
Hi! Could you tell what kind of vegetable oil are you using for this cake?
Hi, Mary– I usually use canola oil.
One and a half cups of flour is 280g but your recipe says it’s 180g. Is this correct?
Hmm… 1 and 1/2 cups is 180g, as 1 cup is 120g, so half more would be 180g.
Thanks Lynn, I think I need to replace my scales. 🙂 Thankfully I made the cake with my measuring cups using 1 and 1/2 cups of flour and the cake was delicious! Many thanks for replying to my question. xx
I’m so glad you enjoyed it, Angela 🙂
This was definitely a success for me. My first attempt for a carrot cake and it came out amazing!! Will be my go to recipe!! Thank you
I’m so glad you loved it, Brigitta! Thanks so much 🙂
Hi Lynn love your recipe. My cream cheese recipe is 4 oz cream cheese, 1/4 cup margarine melted, 1 tsp vanilla, 1 cup icing sugar, 1 Tbsp fresh lemon juice & 1 tsp lemon zest. This is my Mom’s recipe. I takes that super sweet taste from the icing.
Thanks for sharing, Val! 🙂
I made this cake twice. delicious!! The third time it didn’t rise 🙁 What did I do differently? Ingredients list followed to a t.
Hi, Gia– I’m not sure what to tell you, unless you forgot the leavener. If you had success twice and not a third time, I’d say something was amiss in the ingredients since the method is pretty straightforward.