Vegan Carrot Cake With Cream Cheese Frosting
This vegan carrot cake is moist, warmly spiced and packed with carrots, walnuts and raisins. Applesauce and plant milk replace the eggs, and a tangy vegan cream cheese frosting finishes it.

Carrot cake is one of the easiest classic cakes to make vegan. It was always an oil cake, moist from grated carrots and warm with cinnamon, so it never depended on butter. This vegan carrot cake recipe replaces the eggs with applesauce and soured plant milk and keeps everything else that makes the original great.
Ingredients
For one 9 x 13 inch (23 x 33 cm) sheet cake or two 8-inch (20 cm) layers.
- 2½ cups all-purpose flour (315 g)
- 2 teaspoons baking powder
- 1 teaspoon baking soda
- ½ teaspoon fine salt
- 2 teaspoons ground cinnamon
- ½ teaspoon ground ginger
- ¼ teaspoon ground nutmeg
- 1 cup packed light brown sugar (200 g)
- ½ cup granulated sugar (100 g)
- ¾ cup neutral oil (180 ml)
- ¾ cup unsweetened plant milk (180 ml) mixed with 1 tablespoon apple cider vinegar
- ½ cup unsweetened applesauce (120 g)
- 2 teaspoons vanilla extract
- 3 cups finely grated carrots, about 5 medium (300 g)
- ¾ cup chopped walnuts (85 g), plus extra to decorate
- ½ cup raisins (75 g), optional
Method
- Prepare. Heat the oven to 350°F (175°C). Grease and line the pan or pans.
- Mix the dry ingredients. Whisk the flour, baking powder, baking soda, salt and spices in a bowl.
- Mix the wet ingredients. In a large bowl, whisk both sugars with the oil, soured milk, applesauce and vanilla until smooth.
- Combine. Add the dry ingredients and fold until just combined. Fold in the carrots, walnuts and raisins.
- Bake. Spread the batter in the pan. Bake a sheet cake for 35 to 40 minutes, or 8-inch layers for 30 to 35 minutes, until a toothpick comes out clean.
- Cool completely before frosting, at least 2 hours.
Vegan cream cheese frosting
Beat 8 ounces (225 g) cold, block-style vegan cream cheese with ½ cup (113 g) vegan butter sticks until smooth. Add 3 cups (360 g) sifted powdered sugar, 1 teaspoon vanilla and a squeeze of lemon, and beat until fluffy. This covers the top of a sheet cake or fills and tops a two-layer cake. Our full guide to vegan cream cheese frosting covers how to keep it thick enough to pipe.
Tips for the best carrot cake
- Grate the carrots finely. Use the small holes of a box grater or the fine grating disc of a food processor. Coarse shreds stay crunchy and release less moisture.
- Do not squeeze out the juice. The carrots' moisture is part of the recipe.
- Toast the walnuts for 8 minutes at 350°F for more flavor.
- Soak the raisins in hot water for 10 minutes and drain, so they stay plump.
- Chill before slicing a frosted layer cake for neat cuts.
Variations
- Pineapple: replace the applesauce with ½ cup well-drained crushed pineapple.
- Coconut: add ½ cup unsweetened shredded coconut with the carrots.
- Nut-free: leave out the walnuts or use toasted pumpkin seeds.
- Cupcakes: fill 24 lined cups two-thirds full and bake for 20 to 24 minutes.
- Loaf: halve the recipe and bake in a 9 x 5 inch loaf pan for 50 to 60 minutes.
Storing
Because of the cream cheese frosting, keep the cake covered in the fridge for up to 5 days and let slices come to room temperature before serving. The unfrosted cake freezes well for up to 3 months.
Walnuts are tree nuts and the frosting may contain soy, cashew or coconut depending on the brand of vegan cream cheese, so check labels when baking for anyone with allergies. For a simpler cake, try our easy vegan cake.
Questions
What replaces eggs in vegan carrot cake?
Applesauce and plant milk soured with vinegar. Together with baking powder and soda, they give moisture, binding and lift.
Can I make carrot cake with less oil?
You can replace up to half the oil with more applesauce. The cake will be a little denser and less tender.
Why is my carrot cake dense?
Usually overmixing after adding the flour, or carrots grated too coarsely. Fold gently and grate finely.
Do I have to refrigerate carrot cake?
With cream cheese frosting, yes. Unfrosted, it keeps at room temperature for 2 days.


