Vegan Carrot Cake

You’ll love this vegan carrot cake recipe for the moist cake and creamy, delicious vegan cream cheese frosting on top. Bake this layered cake complete with chopped walnuts, cinnamon spice, and the ultimate tangy cream cheese carrot cake frosting today!

Be sure to try some carrot cake cookies or even some carrot muffins, too.

A slice of carrot cake sits on its side on a plate with a fork in front of it.

It’s time for a little decadence, don’t you think? But if you’re going all-in on an indulgent dessert, this easy vegan carrot cake should be your go-to dessert.

In fact, I think homemade always makes the best vegan carrot cake ever.

How to Make Vegan Carrot Cake

You can find the full printable recipe, including ingredient quantities, below. But first, here are some explanations of ingredients and steps to help you make this recipe perfect every time.

Many recipes for vegan carrot cakes offer complicated processes. You won’t find that here today. I created an easy-as-possible process to make the most delicious vegan carrot cake imaginable.

  1. Toast the Walnuts — It only takes a few minutes, but toasting the walnuts adds depth of flavor.
  2. Combine Dry Ingredients — Add flour, sugar, salt, baking soda, and spices to a mixing bowl.
    The dry ingredients for this cake are in a white mixing bowl.
  3. Shred Carrots — I prefer using a food processor to shred the carrots, but a box grater works too.
    Freshly ground carrots are in the bowl of a food processor.
  4. Combine Wet Ingredients — In a separate bowl, add the vegetable oil, water, vanilla, and vinegar, then add the shredded carrots.
    The wet ingredients for this healthy carrot cake recipe are in a glass mixing bowl.
  5. Make Cake Batter — Pour the carrot mixture in with the flour mixture and stir it all together.
    Ingredients from a food processor are being poured into a glass bowl full of the flour ingredients.
  6. Bake — Bake the cake for 30 to 35 minutes (depending on your pan or pans).

Using Vegetables in desserts is not as unusual as you may think. For example, one of my favorite zucchini dessert recipes is this Vegan Chocolate Zucchini Cake. And avocado has been used in desserts as well, such as Chocolate Avocado Cake.

So, using carrots in a cake is actually a great idea!

Key Ingredients for Carrot Cake

Here are the ingredients you’ll need to make this yummy vegan carrot cake:

  • Flour — I use all-purpose flour, but you can substitute whole wheat pastry flour (different than whole wheat flour), or even a high-quality gluten-free baking flour.
  • Granulated sugar
  • Ground cinnamon
  • Pumpkin pie spice
  • Walnuts
  • Vegetable oil
  • Apple cider vinegar
  • Vanilla extract
  • Carrots
A slice of Vegan Carrot Cake sits in front of the rest of the cake.

Toasting Walnuts

I love this response on why to toast walnuts before baking. Basically, the walnuts are insulated by all the other cake ingredients. Toasted walnuts add a great touch to a carrot cake.

Why This Recipe is a Winner

  • Adding pumpkin pie spices creates the perfect flavors for this spiced cake
  • Toasting the walnuts boosts the walnut flavor in the cake and the garnish too
  • Finely-chopped carrots (via a food processor) distribute the flavor and texture of carrots throughout this moist cake

New to Vegan Baking?

The idea of making cookies, cakes, or muffins without eggs or dairy can seem like a hill too tall to climb. But with the simple tips in my Guide to Vegan Baking, you’ll be baking like a vegan pro in no time!

Frosting Options

A standard carrot cake is topped with a cream cheese frosting. Making a vegan cream frosting is easy using vegan butter, vegan cream cheese, and powdered sugar.

However, some vegan cream cheese products don’t set up like dairy cream cheese. My solution is to use less vegan cream cheese, using just enough to add the tangy flavor. Learn more about my Vegan Cream Cheese Frosting Recipe and my secrets to making it amazing!

If you want your vegan carrot cake frosting without cream cheese, you can substitute a simple Vegan Buttercream Vanilla Frosting. I also think this Dairy-Free Ermine Frosting would taste nice, too.

Reader Reviews

I’ve made this vegan carrot cake recipe many times over the past few years for my vegan family members and friends and it has always been a favorite! Not just for the vegans but everybody loves this carrot cake. I’ve shared the recipe quite a few times.

Pam C

Frequently-Asked Questions

Is carrot cake vegan?

The average store-bought carrot cake is not vegan. That’s because they’re usually made with dairy and eggs. Of course, you can make your own homemade vegan carrot cake with vegan cream cheese frosting.

Are carrots really in carrot cake?

The short answer is, yes, there are carrots in carrot cake. And I never really understood the idea of it. Carrots in a cake? It doesn’t make sense—carrots are vegetables. However, there are a few crossover veggies that have found their way into desserts, including carrots, zucchini, and sweet potatoes.

What can I use instead of eggs in carrot cake?

The great news is you don’t need to add any egg replacer to make a delicious carrot cake. The flour, combined with carrots and other ingredients in this recipe, creates sufficient structure for both binding and moisture.

Can you make a carrot cake gluten-free?

A carrot cake is really just a spice cake in disguise. That means it’s easy to make it gluten-free by using a 1:1 gluten-free baking flour in place of the all-purpose flour.

How do you know when a cake is done?

Look for three indicators that a cake is done:

  1. The edges of the cake pull away from the sides of the pan
  2. If you gently touch the center of the cake it springs back
  3. A tester inserted in the center comes back clean or with only a few crumbs

Baking Options

  • Carrot cake bread — bake it in a loaf pan and cook it longer, 40 to 50 minutes.
  • Carrot cake cupcakes — distribute the cake batter into muffin pan compartments (either use papers or spray with vegetable cooking spray) and bake 20 to 25 minutes.
  • Make carrot cake sheet cake — Pour the batter into a greased 9×13 inch pan and bake for around 40 minutes.

All of these variations are even better with frosting on top.

Looking down on a plate with a slice of carrot cake on it. A fork has cut into the cake and is sitting at the front of the plate.

Marly’s Tips

  • Some people prefer hand grating the carrots but I’ve found using a food processor is faster and provides great results
  • Try adding any of the following to the batter:
    • 1/4 cup crushed pineapple
    • 1/2 cup dried fruit, such as raisins
    • 1/4 cup coconut shreds
    • 1 to 2 teaspoons lemon zest
  • Be sure to allow the cakes to cool completely before adding frosting.

More Carrot Cake Favorites

Here are some other delicious carrot recipes:

I hope you love this vegan carrot cake as much as we do!

A slice of carrot cake sits on its side on a plate with a fork in front of it.

Vegan Carrot Cake

You’re in for a treat with this delicious layered Vegan Carrot Cake topped with an amazing Vegan Cream Cheese Frosting. Every bite is dreamy!
5 from 17 votes
Course: Dessert
Cuisine: American
Prep Time: 5 minutes
Cook Time: 35 minutes
Resting Time: 10 minutes
Total Time: 40 minutes
Servings: 14
Calories: 550kcal


  • 1 ½ cups walnuts
  • 3 cups all-purpose flour
  • 2 cup granulated sugar
  • 1 teaspoon salt
  • 1 teaspoon ground cinnamon
  • 1 teaspoon pumpkin pie spice
  • 2 teaspoon baking soda
  • 2 cups chopped carrots
  • cup vegetable oil
  • 2 cup cold water
  • 2 tablespoons apple cider vinegar
  • 2 teaspoons vanilla

Easy Vegan Cream Cheese Frosting

  • ½ cup vegan butter
  • 4 tablespoons vegan cream cheese (see note)
  • 1 teaspoon lemon juice
  • 3 cups powdered sugar
  • Additional walnuts for garnish


  • Preheat oven to 350°F/175°C. Spray two round cake pans with vegetable spray. You can also place a piece of parchment paper at the bottom of the pans and spray the sides with vegetable oil.*
  • Place walnuts on a baking pan and toast for 5 minutes. Be careful not to cook too long because they will burn. Remove from the oven and allow to cool before chopping.
  • Combine in a large mixing bowl the flour, sugar, salt, cinnamon, pumpkin pie spice, and baking soda. Stir to combine. Stir half of the walnuts into the flour mixture. Set aside.
  • Add the chopped carrots to a food processor and pulse several times to shred the carrots. Add the vegetable oil, water, vinegar, and vanilla to the food processor and pulse in quick bursts to combine.
  • Pour the carrot mixture in with the flour mixture. Stir to combine, making sure there are no clumps of flour throughout the batter.
  • Pour the batter into your prepared pans. Bake for 35 minutes until a toothpick inserted in the middle comes out clean.
  • Allow the cake to cool for about 10 minutes before inverting onto a serving plate. Allow the cakes to cool completely.
  • In the meantime make your Vegan Cream Cheese Frosting by combining the vegan cream cheese and vegan butter in a mixing bowl. Mix until light and fluffy. Add the powdered sugar ½ cup at a time. Then add the lemon juice and beat until you get a spreadable consistency. If it's too thick, you can add a tablespoon of plant-based milk.
  • Ice the top of one of the cakes. Top with additional chopped, toasted walnuts. Place the second cake on top. Cover the top cake and sides with frosting. Garnish with chopped walnuts.

Recommended Equipment

(The products above contain sponsored links to products we use and recommend)



You can use a 9×13 pan if you prefer that instead of a layered cake. If so, you’ll need to bake the cake in a 9×13 pan for about 10 minutes longer. Be sure to use a tester in the center to see if the cake is done.
To make this recipe gluten-free, substitute gluten-free baking flour.
This simple vegan cream cheese frosting is easy to make and flavorful, however, the consistency can be too thin. It works great for a 9×13 and even is fine with a layer cake. However, here’s a thicker vegan cream cheese icing recipe.
Calories: 550kcal | Carbohydrates: 79g | Protein: 5g | Fat: 25g | Saturated Fat: 11g | Sodium: 407mg | Potassium: 142mg | Fiber: 2g | Sugar: 55g | Vitamin A: 3363IU | Vitamin C: 1mg | Calcium: 29mg | Iron: 2mg

The nutrition information shown is an estimate provided by an online nutrition calculator and should not be considered a substitute for a professional nutritionist’s advice.

This post was originally published in 2017 and was updated to include new photos, new text, and an updated recipe in 2020.

66 Responses to Vegan Carrot Cake

  1. Avatar thumbnail image for MarlyLiz Reply

    5 stars
    Super easy and amazing. I toss the carrots and all the wet ingredients into a blender and it’s great. Instead of water I use apple or pineapple juice and then reduce the sugar, I like the texture better this way. Thank you for great and simple recipe

    • Avatar thumbnail image for MarlyMarly

      So glad you like this recipe, Liz! I love the idea of using pineapple juice. I may add that as a note to the recipe, too!

  2. Avatar thumbnail image for MarlyJessica Reply

    5 stars
    This recipe came out absolutely perfect. I don’t think I’ve ever had a recipe come out so well. I used the single layer 9×13 pan version. Just amazing.

    • Avatar thumbnail image for MarlyMarly

      Hi Jessica. I’m so glad you liked this cake so much! It’s one of our favorites, too!

  3. Avatar thumbnail image for MarlyDiane H Reply

    5 stars
    Best carrot cake I’ve ever made.

    • Avatar thumbnail image for MarlyMarly

      I’m so glad to hear you liked this recipe, Diane!

  4. Avatar thumbnail image for MarlyVegan Baker Reply

    I would like to try this recipe and read the comments and ingredients. Has the protein powder been removed from the recipe?

    • Avatar thumbnail image for MarlyMarly

      Yes, the original recipe included protein powder but it was a difficult ingredient for some people to find so the recipe was adapted to make it more accessible for everyone. Besides, I like that the finished recipe has fewer ingredients!

Rate / Comment

Your email address will not be published.

Recipe Rating

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