Carrot Walnut Cake

4.94 from 16 votes

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.

slice of carrot walnut cake on a white plate

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– that information is in the recipe notes!), people went nuts.

slice of carrot walnut cake on a white plate

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 carrot 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

There are a lot of feelings around what should or shouldn’t be in carrot cake, and here, you’ll find my personal preference. If this is not the way you like your carrot cake, that’s perfectly fine. I know this can get as heated as some political issues.


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 carrot cake.

Save ’em for the cookies.

Another hotly debated ingredient in cake is butter vs vegetable oil.

slice of carrot walnut cake on a white plate

It is true that many times, cake made with butter tends to be drier than cake made with vegetable oil, so I tend to prefer it in cakes that aren’t meant to have a buttery flavor, such as my white layer cake or my yellow layer cake.

Those cakes are all about the buttery flavor, so butter is the go-to there.

Since my carrot and walnut cake is all about the spice and the carrots (yes, it is about the carrots– we’re getting there), vegetable oil is totally acceptable here.

carrot walnut cake on a cake stand and cuts made for a slice to serve

While using vegetable oil will bring a lot of moisture to the cake, the real moist maker (hello, Ross) here is the carrots, and we’re getting very specific with the carrots in this 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.

My pro tip for preparing the carrots for carrot cake:
Shred the carrots in a food processor, switch out the shredder for the blade, and pulse a few times.

shredded carrots in a food processor

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

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.

aerial photo of carrot walnut cake in baking pans


And of course, last but not least, the cream cheese frosting that goes on top is one you’ve seen before.

cream cheese frosting in a glass bowl

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

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!

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!).

aerial photo of a carrot walnut cake with a slice taken out of it

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 carrot cakes 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.

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.”

aerial photo of two slices of carrot walnut cake on plates and one has a fork digging into it for a bite

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.

two slices of carrot walnut cake on plates and one has a fork digging into it

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!

More Favorites from Fresh April Flours

slice of carrot walnut cake on a white plate
4.94 from 16 votes
Pin Recipe Print Recipe Rate this Recipe

Carrot Walnut Cake

Incredibly moist and flavorful carrot cake filled with crunchy walnuts and covered in a smooth and creamy cream cheese frosting.
Prep Time25 minutes
Bake Time30 minutes
Total Time55 minutes
Recipe Author Lynn April
Servings: 12 slices



  • 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


  • 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



  • 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.


  • 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.


  • 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.


  1. 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.
  2. Decorating the cake: if you want extra frosting for piping borders or designs, I suggest doing 1.5x the cream cheese frosting recipe.
  3. 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.
  4. Frosting: I also recommend my maple cinnamon cream cheese frosting for this cake.
  5. 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.
  6. 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. 
Did you make this recipe?Mention @freshaprilflours on Instagram or tag #freshaprilflours!

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.

Serving: 1slice | Calories: 619kcal | Carbohydrates: 78g | Protein: 8g | Fat: 32g | Saturated Fat: 9g | Polyunsaturated Fat: 14g | Monounsaturated Fat: 7g | Trans Fat: 0.4g | Cholesterol: 64mg | Sodium: 386mg | Potassium: 244mg | Fiber: 2g | Sugar: 62g | Vitamin A: 6624IU | Vitamin C: 2mg | Calcium: 101mg | Iron: 1mg

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating

This site uses Akismet to reduce spam. Learn how your comment data is processed.


  1. 5 stars
    Oh man, I was so excited to try this one and share how amazing it was!! It was literally the easiest cake to make (my 4 year old helped!) and it was SO MOIST!! The shredding/processing of the carrots made a huge difference versus other recipes I’ve tried. The cream cheese frosting was a huge hit too! We made this for my mom’s birthday and she said it was the best she’s ever had 🙂 Overall, will definitely make again!

  2. I can’t wait to try this, I know you have mentioned this cake in the past and always debated on sharing it. Quick question to make an 8X8 what do you suggest for the eggs?

    1. Ohhh, great question! I will update the recipe to reflect: to use half of an egg, break into a bowl, whisk it like you’re going to scramble it, and use 2 Tablespoons. Thanks for pointing that out, Courtney!

  3. Can’t wait to try this cake-finally one without pineapple! Would you give me any changes for baking in a 9×13 pan. Thanks,anxious to try! You seem to be someone to whom I can relate…I am a novice, but ready!!

    1. Hey, Sherry! I’m so glad my recipe piques your interest 🙂 the only change I would make for a 9×13 is to the baking time– it might be closer to 25 minutes, but I’d start with 22 and go from there. Let me know how it goes!

  4. 5 stars
    This is, hands down, the BEST carrot cake recipe I have ever found. It’s so moist and delicious, thanks for sharing!

  5. 5 stars
    This cake is so good. It’s so moist and the extra processing of the carrots makes for a perfect texture. We will be making this one for a long time to come.

    1. Hey, Chantel– half of a recipe for two 8″ rounds is typically what I suggest for two 6″ rounds. So, I say you either 3/4 the recipe OR make the full recipe and bake some cupcakes 🙂

  6. How many carrots or how many grams are in 1 pound of carrots?
    If i calculate it is like 450 gr but i think is too much carrots ..?

  7. 5 stars
    Literally the best carrot cake recipe ever. I had the pleasure of enjoying this cake from Lynn when she was still baking cakes for other people, and I was so happy to have the recipe for myself. This is a MUST TRY!

  8. 5 stars
    This was a HUGE hit for Easter yesterday! It was so easy to make, and SO darn tasty– we all went back for seconds, and ate thirds last night before bed! Thank you ever so much for sharing your most special recipe!

  9. 5 stars
    Made this today for desert. Gave my husband a piece which he happily took into the other room with his coffee and all I heard was “Oh my God” i asked what happened and he said the cake happened. LOL it is truly the best carrot cake we ever had! Thank you!

    1. Well we are even then bc this cake made more than one person’s day yesterday! I am making it again next Sunday for the memorial day holiday as many of my family love carrot cake…can’t wait for them to try yours! Thanks again!

  10. 5 stars
    BEST CARROT CAKE OF ALL TIME!!!! Carrot cake is my absolute favorite, and I’ve eaten literal hundreds of them in my lifetime. This recipe blows them all away. Thank you, thank you for sharing this special recipe with the world, Lynn. We’re all better for it!

    If you’re making this recipe, trust the process!!! I’ll admit I was very skeptical about the amount of carrots but it’s 110% what makes it so moist and wonderful.

  11. 5 stars
    If you like carrot cake (or even if you think you don’t), this will be your new go to recipe! No joke about that moist-maker! A week later and the cake is just as moist as when I first baked it! I had pecans on hand so I used those instead of walnuts. Was still just as delish.

  12. 4 stars
    The cake is indeed incredibly moist, but to my taste a bit to oily. Therefore I would recommend using only 180 or even less oil. I also used just 240g sugar, which resulted in a perfectly sweet cake.

    1. Hey, Susan! Thanks for your feedback. I’ve had hundreds and hundreds of folks taste and make this carrot cake and you’re the first report I’ve gotten that it tasted oily. I see you reduced the sugar, which is probably what contributed to you detecting the taste of the oil. Less sugar = less sweetness = other flavors coming through more. I tested this recipe dozens of times before publishing it, and know that the amounts listed are true to the desired final result.

  13. 5 stars
    Finally a carrot cake without raisins, pineapple.. can I substitute granulated sugar to brown sugar? What’s your suggestion