Vegan Carrot Cake That Stays Moist for Days
This is the vegan carrot cake I keep coming back to because it actually stays tender, even on day three. No dry crumb, no sinking disappointment.

It leans on applesauce and a tiny hit of vinegar to get that soft, springy texture, and the frosting is tangy and rich without any dairy. A reliable cake for birthdays, spring dinners, or just because you want a square of something spiced and sweet.
Why This Vegan Carrot Cake Works
The crumb is tight but never heavy. Cinnamon, nutmeg, and a touch of ginger warm it up without shouting, and the grated carrot blends in so you get moisture and flecks of color, not shredded ribbons.
I skip the raisins and load in toasted walnuts instead. The frosting is a simple vegan cream cheese style, just sweet enough to balance the earthy cake. You can make it a day ahead and the cake only improves.
Ingredients

- 1 tbsp ground flaxseed: mixed with 3 tbsp water, it acts as the binder. No weird taste, no egg.
- 1 ½ cups (188 g) all-purpose flour: spooned and leveled, not scooped. Swap a good 1:1 gluten-free blend if needed.
- 1 tsp baking powder: gives the initial lift.
- ½ tsp baking soda: reacts with the vinegar for tenderness.
- 1 ½ tsp ground cinnamon: the warm backbone.
- ½ tsp ground nutmeg: just enough to deepen the spice.
- ¼ tsp ground ginger: a little extra heat, optional but nice.
- ½ tsp fine sea salt: brings the sweetness forward.
- ¾ cup (150 g) granulated sugar: standard white sugar keeps the crumb light. Organic if you avoid bone char.
- ½ cup (120 ml) neutral oil: sunflower or canola work best here. No coconut oil, it’ll firm up when cold.
- ¼ cup (60 ml) unsweetened applesauce: the extra moisture that keeps the cake soft. Use plain, nothing chunky.
- 2 tsp apple cider vinegar: reacts with the baking soda to make the batter fluff up. Don’t skip it.
- 1 ½ tsp vanilla extract: use the real stuff if you can.
- 1 ½ cups (150 g) finely grated carrot: packed lightly in the cup. Grate on the small holes of a box grater, not the big ones.
- ½ cup (60 g) walnuts, toasted and roughly chopped: plus a handful for the top if you like.
For the Frosting
- ½ cup (112 g) vegan butter: the stick kind, not the tub, at cool room temperature. Earth Balance or similar.
- 8 oz (226 g) vegan cream cheese: straight from the fridge. Tofutti or Violife both work.
- 3 cups (360 g) powdered sugar: sifted if it’s lumpy.
- 1 tsp vanilla extract
- Pinch of salt
Variations / Substitutions
- No walnuts: leave them out, or swap in toasted pecans. The cake will be slightly less structured but just as moist.
- Gluten-free: use a cup-for-cup gluten-free flour blend that includes xanthan gum. The batter may be a touch thicker, but the bake time stays close.
- Less sweet frosting: use 2 cups powdered sugar and taste as you go. The frosting will be a little thinner, so chill it for 15 minutes before spreading.
- No applesauce: you can use ¼ cup extra neutral oil instead. The cake will lose a bit of tenderness but still bake through fine.
If you like this one, the vegan banana bread on the site uses a similar approach with mashed banana and a crumb topping.
How to Make Vegan Carrot Cake
Step 1: Mix the Wet Ingredients

Heat the oven to 350°F (175°C). Grease two 8-inch round cake pans and line the bottoms with parchment paper. In a small bowl, stir the 1 tbsp ground flaxseed with 3 tbsp water and let it sit for 5 minutes until thick and gel-like.
In a large mixing bowl, whisk the ¾ cup sugar, ½ cup oil, ¼ cup applesauce, the prepared flax mixture, 2 tsp vinegar, and 1 ½ tsp vanilla until the sugar starts to dissolve, about 2 minutes. The mixture will look a little broken from the vinegar, but that’s normal.
Step 2: Combine the Dry Ingredients

In a separate bowl, whisk together the 1 ½ cups flour, 1 tsp baking powder, ½ tsp baking soda, the cinnamon, nutmeg, ginger, and salt. Make sure there are no flour lumps hiding at the bottom.
Pour the dry mix into the wet and stir with a spatula just until the flour disappears. The batter will be thick and speckled with spice. Overmixing here will make the cake tough, so stop as soon as you no longer see white streaks.
Step 3: Fold in the Carrots and Walnuts

Add the 1 ½ cups grated carrot and the ½ cup chopped walnuts. Fold gently until they are evenly distributed, which takes about 10 to 12 turns of the spatula. The batter will be chunky and heavy, but that’s exactly what you want.
Divide the batter evenly between the two prepared pans. An offset spatula makes this easy, but the back of a spoon works too. Tap the pans lightly on the counter once to settle any big air pockets.
Step 4: Bake the Cake Layers

Slide the pans into the middle rack and bake for 30 to 35 minutes. The tops will be golden and spring back lightly when pressed in the center. A toothpick inserted in the middle should come out with a few moist crumbs, not wet batter.
Let the cakes cool in the pans for 10 minutes, then run a knife around the edges and turn them out onto a wire rack. Peel off the parchment and let them cool completely before you frost. Warm cake will melt the frosting into a puddle.
Step 5: Frost and Finish

While the layers cool, beat the ½ cup vegan butter and 8 oz vegan cream cheese together on medium speed until smooth, about 1 minute. Sift in the 3 cups powdered sugar and add the 1 tsp vanilla and a pinch of salt. Beat on low until combined, then on high for another minute until fluffy.
Place one cooled cake layer on a serving plate and spread a generous cup of frosting on top. Set the second layer on and frost the top and sides. Scatter a few extra chopped walnuts on top for a little crunch. Slice and serve at room temperature; the cake is even better after an hour of rest.
Tips for a Tender, Spiced Cake
- Grate the carrots yourself on the small holes. Bagged pre-shredded carrots are too thick and dry, and they won’t blend into the crumb the same way.
- Toast the walnuts in a dry pan over medium heat for 4 to 5 minutes until fragrant. It takes the edge off any bitterness and adds depth to the cake.
- If your frosting gets too soft, especially on a warm day, chill the whole bowl for 10 minutes and beat it again. Vegan cream cheese can loosen up fast.
- You can bake the layers a day ahead, wrap them tightly, and keep them at room temperature. Frost the next day to save time and get cleaner slices.
Bake times by pan size:
| Pan Size | Bake Time |
|---|---|
| Two 8-inch rounds | 30 to 35 mins |
| Two 9-inch rounds | 25 to 28 mins |
| One 9×13 sheet | 28 to 32 mins |
Storing Leftover Cake
- Refrigerate: Covered loosely, it holds up for 4 days. Let slices come to room temperature for 20 minutes before eating so the frosting softens.
- Freeze unfrosted layers: Wrap each cooled layer in plastic, then foil, and freeze for up to 2 months. Thaw at room temperature and frost once soft.
Frequently Asked Questions
Can I use coconut sugar instead of granulated?
You can, but the cake will be denser and darker. Use an equal amount, and note the batter will look a little wetter. The bake time stays about the same.
How do I make the frosting without cashews or nuts?
The recipe here uses vegan butter and vegan cream cheese, no nuts at all. Just double-check your cream cheese brand is nut-free if that’s a concern.
My cake sank in the middle. What happened?
Usually a sign the oven was too hot or the cake wasn’t quite baked through. Check your oven temperature with a thermometer if it happens often. Also, don’t open the door before the 28-minute mark.
Can I turn this into cupcakes?
Yes. Divide the batter into 12 lined muffin cups and bake at 350°F for 18 to 22 minutes. The frosting recipe will be more than enough.
Does the flax egg taste funky?
Not once baked. The vinegar, spices, and sugar cover any flax flavor completely. You won’t taste it at all.

Ingredients
Method
- Preheat oven to 350°F (175°C). Grease two 8-inch round cake pans and line with parchment. Mix 1 tbsp flaxseed with 3 tbsp water and set aside.
- Whisk sugar, oil, applesauce, flax mixture, vinegar, and 1 ½ tsp vanilla until smooth. In another bowl, whisk flour, baking powder, baking soda, spices, and salt. Stir dry into wet just until combined.
- Fold in grated carrot and walnuts. Divide batter between pans and tap once on counter.
- Bake 30 to 35 minutes until a toothpick comes out with moist crumbs. Cool 10 minutes in pans, then transfer to a wire rack to cool completely.
- Beat vegan butter and cream cheese until smooth. Sift in powdered sugar, add 1 tsp vanilla and salt, and beat until fluffy. Frost the cooled layers and top with extra walnuts.
