• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Endless Meal®

Real Food for Busy People

Search
Main Menu
  • Latest Recipes
  • Dinner
  • Side Dishes
  • Soup
  • Salads
  • Dessert

Start Here
About
eBook

Instagram
Facebook
Pinterest
Youtube
  • 🍁 Recipes
  • Dinners
  • Cookbook
  • About
  • Start Here
Home Recipes Dessert Recipes
Looking down on a Moist Carrot Cake with cream cheese frosting on a cake stand.

Moist Carrot Cake with Walnuts and Raisins

Kristen Stevens
By: Kristen Stevens
Updated: 10/27/2025
5 stars (47 ratings)
33 Comments
Jump to Recipe

This post may contain affiliate links. Please read our disclosure policy.

Truth: Carrot cake is only as good as it is moist. That’s why this moist carrot cake is here to fulfill all your carrot cake hopes and dreams. Packed with warm spices, toasted walnuts, and coconut, and smothered in a thick layer of cream cheese frosting – this cake will be on your mind long after it’s gone!

a close up of slices of Moist Carrot Cake with cream cheese frosting

Whether I’m baking it for a special holiday or because a carrot cake craving simply won’t be ignored, this recipe never lets me down. It’s deeply spiced, incredibly moist, and exactly what I want a carrot cake to be—so much so that I honestly think it might be the best carrot cake I’ve ever made. It’s the kind of cake that feels special without being fussy and always disappears fast.

The cake itself is built from simple pantry ingredients: flour, baking powder and soda, sugar, warm spices like cinnamon, nutmeg, and allspice, and plenty of freshly shredded carrots. Oil and eggs keep it tender, while optional add-ins like toasted walnuts, coconut, or raisins let you customize it to your taste. And then there’s the frosting—soft, tangy cream cheese whipped with butter, vanilla, and powdered sugar—which is absolutely non-negotiable and the perfect finishing touch to this classic cake.

One reader writes …

OMG!!! You’re right it’s THE BEST EVER Carrot Cake recipe!! We made this one a few weeks ago, and it was sooooo yummy and sooooo easy to make. It’s going on the list of easy, impressive and quick yummies! ~ Sarah

Looking down on a Moist Carrot Cake with cream cheese frosting on a cake stand.
A slice of Moist Carrot Cake on a dessert plate

How to store carrot cake

You can keep carrot cake on the counter in a covered container or on a cake stand with a cover for up to 3 days. If you won’t eat the cake within 3 days, it’s best to wrap it in parchment paper and tin foil to store in the fridge. You can also put it in the fridge in a covered container, and it will last for about 1 week.

Tap stars to rate!
5 stars (47 ratings)
Looking down on a Moist Carrot Cake with cream cheese frosting on a cake stand.

Moist Carrot Cake with Walnuts and Raisins

Prep: 20 minutes mins
Cook: 30 minutes mins
Total: 50 minutes mins
Rate Recipe Print
SaveSaved!
Truth: Carrot cake is only as good as it is moist. That's why this moist carrot cake is here to fulfill all your carrot cake hopes and dreams. Packed with warm spices, toasted walnuts, and coconut and smothered in a thick layer of cream cheese frosting – this cake will be on your mind long after it's gone!
16

Ingredients

Carrot Cake

  • 2 cups all-purpose flour
  • 1 teaspoon baking powder
  • 1 teaspoon baking soda
  • 1 tablespoon ground cinnamon
  • 1 teaspoon EACH: ground nutmeg, ground allspice, and sea salt
  • 3 cups grated carrots
  • 1 ½ cups toasted walnuts (coarsely chopped )
  • 1 cup shredded toasted coconut
  • 1 cup raisins
  • 1 ½ cups granulated sugar
  • 1 cup cooking oil
  • 4 large eggs

Cream Cheese Icing

  • 8 ounces cream cheese (at room temperature)
  • ½ cup butter (at room temperature)
  • 3 cups powdered sugar
  • 2 teaspoons vanilla
  • Chopped pecans or walnuts (to decorate)

Instructions 

Carrot Cake

  • Preheat the oven to 350 degrees Fahrenheit. Grease and flour two 9-inch round cake pans. In a medium-sized bowl, whisk the flour, baking powder, baking soda, cinnamon, nutmeg, allspice, and sea salt.
    2 cups all-purpose flour, 1 teaspoon baking powder, 1 teaspoon baking soda, 1 tablespoon ground cinnamon, 1 teaspoon EACH: ground nutmeg, ground allspice, and sea salt
    image for recipe instruction
  • In a large bowl, cream the sugar and oil using electric beaters. Add the eggs and beat until smooth, 1 minute. Add flour mixture and beat till just combined.
    1 ½ cups granulated sugar, 1 cup cooking oil, 4 large eggs
    image for recipe instruction
  • Add the carrots, walnuts, coconut, and raisins and gently fold them into the batter.
    3 cups grated carrots, 1 ½ cups toasted walnuts, 1 cup shredded toasted coconut, 1 cup raisins
    image for recipe instruction
  • Divide batter between the 2 prepared cake pans. Place both pans on the middle rack in your oven and bake for 30-40 minutes, or until a toothpick inserted into the middle of the cakes comes out clean.
    image for recipe instruction
  • Remove the cakes from the oven and set them aside to cool for 5 minutes. Carefully run an off-set spatula or a knife around the edges of each cake to loosen them then carefully invert them onto a cooling rack to finish cooling completely.
    image for recipe instruction

Cream Cheese Icing

  • Make the frosting once the cakes are completely cool. In a medium-sized bowl, beat the cream cheese and butter using electric beaters. Add the powdered sugar, 1 cup at a time, and continue to mix until it's fully incorporated. Add the vanilla and beat to blend.
    8 ounces cream cheese, 3 cups powdered sugar, 2 teaspoons vanilla, ½ cup butter
    image for recipe instruction
  • To assemble the cake, place one cake on a plate or cake stand. Spread some icing on top of the cake and then place the other cake on top. Frost the sides and top of the cake. If you'd like, sprinkle some chopped pecans or walnuts on top of the cake to decorate it.
    Chopped pecans or walnuts
    image for recipe instruction

Video

Notes

Raisins: I know that not everyone is a fan of raisins. If you don’t like them, simly omit them. 
Walnuts: Pecans are another good option!
Can you taste the coconut? The toasted coconut does add some flavor to the cake. However, it doesn’t have a strong coconut flavor. The spices will be the strongest flavor you’ll taste. If you don’t like coconut, you can omit it without altering the rest of the recipe.
Can I make cupcakes instead of cake? Definitely! Instead of dividing the batter into two cake pans, evenly scoop the batter into lined muffin tins instead, filling them ¾ of the way full. You can follow the cream cheese icing recipe to use as frosting for your cupcakes. Check on your cupcakes after 18-20 minutes in the oven.
This moist carrot cake recipe was adapted from this carrot cake by Brown Eyed Baker. 

Nutrition

Serving: 1 slice (of 16), Calories: 609kcal (30%), Carbohydrates: 67g (22%), Protein: 7g (14%), Fat: 37g (57%), Saturated Fat: 12g (75%), Polyunsaturated Fat: 10g, Monounsaturated Fat: 13g, Trans Fat: 1g, Cholesterol: 77mg (26%), Sodium: 472mg (21%), Potassium: 293mg (8%), Fiber: 4g (17%), Sugar: 43g (48%), Vitamin A: 4450IU (89%), Vitamin C: 2mg (2%), Calcium: 86mg (9%), Iron: 2mg (11%)
© Author Kristen Stevens

We have thoroughly tested this recipe for accuracy. However, individual results may vary. See our full recipe disclosure here.

Looking down on a Moist Carrot Cake with cream cheese frosting on a cake stand.

Did you make this?

We love to see what you made! Tag @theendlessmeal or hashtag #theendlessmeal!

Tag us on Instagram
Rate Recipe

More cake recipes

chocolate lava cake with salted caramel spilling out
1 hour hr

Chocolate Lava Cake with Salted Caramel (Always Gooey Inside)

A close up of lavender lemon cake
1 hour hr

Lemon Lavender Cake

Serving a slice of Pineapple Coconut Upside Down Cake
1 hour hr

Coconut Pineapple Upside Down Cake (with frosting!)

Cupcakes with swirled frosting, blackberry lemonade drizzle, and banana chips on top, displayed on a white plate.
58 minutes mins

Peanut Butter Banana Cupcakes

6.7K shares
  • Facebook
  • Email
Kristen Stevens

Kristen Stevens

Hi, I'm Kristen! I LOVE everything to do with food: making it, taking pictures of it, and (the best part) eating it. ♡♡♡

Learn More
Posted: 11/09/2023 Updated: 10/27/2025
guest
Rate this recipe:




guest
Rate this recipe:




33 Comments
Inline Feedbacks
View all comments
Amanda
Amanda

5 stars
Absolutely amazing! My husband’s favorite dessert is carrot cake. So, I made this for him and he loved it. I used dates in place of raisins, an option you suggested, which elevated this next level! Thank you

0
Reply
Kristen Stevens
Kristen Stevens
Reply to  Amanda

I’m so happy to hear that the recipe was a hit!

0
Reply
Jennifer
Jennifer

5 stars
Halved the recipe as I didn’t want too much. It turned out great but I used a 20cm pan. 22cm was just too big. The batter barely covered the 22cm pan. Thank you for the recipe

0
Reply
Kristen Stevens
Kristen Stevens
Reply to  Jennifer

Thank you so much for letting us know that it works to half the recipe – and what size pan to use. That’s really helpful!

1
Reply
Stephanie
Stephanie

Would this recipe work in a Bundt pan, increase the the bake time to 50-60 minutes, and decrease the frosting by half?

0
Reply
Kristen Stevens
Kristen Stevens
Reply to  Stephanie

I haven’t tried it so I can’t say for sure. But it should work!

0
Reply
Maddie
Maddie

5 stars
Hi! I’m living with my parents still (because I’m 12, and I couldn’t very well live anywhere else) and I made this as a surprise for my parents on their anniversary. It took me nearly two hours, but that’s including cleanup and dishes. The end product was a perfect cake that I won’t hesitate to make again. Thanks so much!

0
Reply
Kristen Stevens
Kristen Stevens
Reply to  Maddie

Hi Maddie,

I’m so happy it turned out for you!

It’s also so nice to hear of another kid who loves to cook. When I was 12 I loved to be in the kitchen too. 🙂

0
Reply
Sarah
Sarah

5 stars
OMG!!! You’re right it’s THE BEST EVER Carrot Cake recipe!! We made this one a few weeks ago, and it was sooooo yummy and sooooo easy to make. It’s going on the list of easy, impressive and quick yummies! Thanks for sharing!

0
Reply
Lizelle
Lizelle

5 stars
Hi, I made this cake for friends on Sunday and it was an absolute hit, thanks for sharing – delicious and moist.

0
Reply
Kristen Stevens
Kristen Stevens
Reply to  Lizelle

So happy to hear you liked the cake. It is one of my favs!

0
Reply
Diane Taylor
Diane Taylor

I had to throw this out. Followed it exactly. Very dry and heavy.

0
Reply
Kristen Stevens
Kristen Stevens
Reply to  Diane Taylor

I’m sorry to hear you weren’t a fan of it, Diane. I do always find that carrot cakes are on the heavier side, but that’s part of their appeal to me. I guess everyone has different tastes.

0
Reply
Edward
Edward

i read in a previous post that i can omit the coconut. can i omit the raisins too?

0
Reply
Kristen Stevens
Kristen Stevens
Reply to  Edward

You definitely can!

0
Reply
Katie P
Katie P

I’d like to try this great sounding cake however only require 1 cake. Can i half the recipe to make only one cake?

0
Reply
Kristen Stevens
Kristen Stevens
Reply to  Katie P

You definitely can!

0
Reply
Shannon
Shannon

I made this today. Pre soaked my raisins in chai tea for 10 minutes, used cup 4 cup gluten free flour and omitted the nuts. I baked it for 55 minutes in a bundt pan at 350 degrees and it turned our beautifully. Great recipe. Thanks so much!

0
Reply
Kristen Stevens
Kristen Stevens
Reply to  Shannon

So happy to hear it turned out. LOVE the idea of soaking the raisins in chai tea!

Also, thank you for mentioning that it turned out well with gluten free flour. That will be really helpful for other readers 🙂

0
Reply
Maeve
Maeve

5 stars
I made this today for my boyfriend’s birthday and it was delicious. Excellent recipe!

0
Reply
Kristen Stevens
Kristen Stevens
Reply to  Maeve

Thank you so much, Maeve! So happy he enjoyed it 🙂

0
Reply
Sara
Sara

Hi, can you taste the coconut? My boyfriend doesn’t like coconut.. I could make it without right?

0
Reply
Kristen Stevens
Kristen Stevens
Reply to  Sara

It’s not a strong coconut flavour but it is there a little. If he really doesn’t like it then just leave it out. No need to alter the recipe in any other way … just omit the coconut 🙂

0
Reply
Amy
Amy

My family loves carrot cake. I’m looking for a good recipe for my 16 year old sons birthday. My question is because we have allergies and dislikes, have you tried this recipe without raisins, walnuts and coconut? If not, would you recommend that I add more carrots if I bake it without those ingredients? Your cake sounds amazing – I’m excited to try it. Thank you

0
Reply
Kristen Stevens
Kristen Stevens
Reply to  Amy

Hi Amy,

Those ingredients you can leave out without altering the rest of the recipe. Or you can try switching them up for different nuts and dried fruit.
Happy 16th birthday to your son!

0
Reply
Ali
Ali

Making this for my boyfriend’s birthday! Is there an alternative to grape seed oil or is this vital to the recipe?

0
Reply
Kristen Stevens
Kristen Stevens
Reply to  Ali

Hey Ali,

You can use any mild flavored oil … canola or corn both work great. The only oil that wouldn’t work is olive.

Your boyfriend is going to be so happy tonight!!

0
Reply
Ira
Ira

What a great idea! These look lovely, will definitely give them a try 🙂 Thanks for the great recipe.

0
Reply
Laura Dembowski
Laura Dembowski

I’ve been craving carrot cake and this has me craving it even more! Amazing!

0
Reply
1 2 Next »

sidebar

Welcome!

Hi, I'm Kristen Stevens

I’m a self-taught chef, food photographer, and author of the cookbook Sugar Free Dinner Recipes. Since 2011, I have been sharing my well-tested and approachable recipes, helping home cooks like you feel comfortable and confident in the kitchen. My work has been featured in Food & Wine, Pioneer Woman, The Every Girl, Self, and many more. Let’s have some fun cooking together!

Learn more!

Trending

Parmesan Crusted Carrots on a baking tray.
35 minutes mins

Parmesan Crusted Carrots (The Viral Recipe!)

A thin pork chop on a dinner plate with mashed potatoes and peas.
16 minutes mins

How to Cook Thin Pork Chops (with delicious honey garlic butter)

Baked BBQ Salmon in a dinner bowl
20 minutes mins

Baked BBQ Salmon with Buttery Corn Rice

My favorite Ground Beef Chili in a bowl with toppings.
2 hours hrs 10 minutes mins

Ground Beef Chili (the recipe everyone asks for!)

Seasonal

4 pieces of tender salmon with creamy lemon dill sauce
20 minutes mins

Baked Salmon with Creamy Lemon Dill Sauce

Baked Ziti with sausage on the dinner table
55 minutes mins

Baked Ziti with Sausage (in tomato sauce topped with pesto)

A skillet featuring Coq au Vin-style chicken drumsticks with bacon, mushrooms, onions, and herbs in a rich sauce.
1 hour hr 15 minutes mins

Julia Child’s Coq au Vin

A bowl of cheesy tomato orzo topped with Parmesan Chicken Meatballs
30 minutes mins

Parmesan Chicken Meatballs with Cheesy Tomato Orzo

As seen on:

A bowl of lentil stew with white rice and naan bread, overlaid with text: 10 Big Flavor Simple Dinners with healthier ingredients from The Endless Meal.
Get the e-book

10 Big Flavor Dinner Simple Dinners

Get now!

Explore Recipes

Lemon Baked Fish
Garlic Soup
Steak Salad
Kale Dressing
Hot Honey
Fish Curry
Turkey Soup
Chicken Marinade
Bacon Jam

Instagram
Facebook
Pinterest
Youtube
Back To Top

FAQ
Contact
Privacy Policy
Disclaimers
Accessibility
© 2026 The Endless Meal® All Rights Reserved.
Site Credits
Designed by Melissa Rose Design Developed by Once Coupled
wpDiscuz

Rate This Recipe

Your vote:




Let us know what you thought of this recipe:

This worked exactly as written, thanks!
My family loved this!
Thank you for sharing this recipe

Or write in your own words:

A rating is required
A name is required
An email is required