Vegan chocolate cake
Vegetarian
A moist, deeply chocolatey layer cake made without eggs or dairy: soy milk soured with vinegar reacts with bicarbonate of soda to lift the batter, finished with a glossy cocoa frosting.
Vegan chocolate cake is an International cake, ready in about 2 hours 10 minutes and made with cocoa powder and soy milk. It serves 12 and is rated beginner to cook.
No licensed photograph of this dish yet.
- Prep
- 25 min
- Cook
- 30 min
- Rest
- 1 h 15 min
- Total
- 2 h 10 min
- Serves
- 12
- Level
- Beginner
- Calories
- 367
Method
Step 1
Heat the oven (opens in a new tab) to 175 °C. Grease and line two 20 cm round tins. Stir the vinegar into the soy milk (opens in a new tab) and leave 5 minutes to curdle slightly.
- 5 min
- 175°C
- Cake tin (opens in a new tab)
Step 2
Whisk (opens in a new tab) the flour, sugar (opens in a new tab), cocoa, bicarbonate of soda (opens in a new tab) and salt in a large bowl, breaking up any cocoa lumps.

How it looks · Photo: Kampus Production on Pexels Step 3
Add the soured soy milk (opens in a new tab), hot coffee (opens in a new tab), oil and vanilla (opens in a new tab) and whisk (opens in a new tab) just until smooth; the batter is thin. Divide between the tins straight away — the soda starts working as soon as it is wet.
- 3 min
Step 4
Bake 28–32 minutes until the tops spring back and a skewer (opens in a new tab) comes out clean. Cool 10 minutes in the tins, then turn out and cool completely on a rack.
Step 5
Beat the vegan butter (opens in a new tab) until soft, then beat in the icing sugar (opens in a new tab), cocoa and enough soy milk (opens in a new tab) to make a smooth, spreadable frosting. Sandwich and cover the cakes.
About this dish
- Origin
- Not attributed to one place · Origin uncertainEgg- and butter-free 'wacky' or 'depression' cakes are often associated with wartime and Depression-era rationing in the US; this is a modern plant-based version.Also popular in United States, United Kingdom
- Dish
- Dessert · Snack · Cakes · Desserts
- Cooking method
- Oven-baked
- Taste
- sweet, rich, bitter
- Diet
- Vegan · Dairy-free · No nut ingredientsWorked out from the ingredients. How labels work
All labels
Vegan · Plant-based · Vegetarian (lacto-ovo) · Eggetarian · Lacto-vegetarian · Ovo-vegetarian · Pescatarian · Flexitarian-friendly · Dairy-free · Egg-free · No nut ingredients · Pork-free · Beef-free · DASH-style - Good for
- Festive & celebration · Make-ahead · Child-friendly
- Cook more with
- Cocoa powder · Soy milk · All-purpose flour · Sugar · Baking soda · Apple cider vinegar
- Techniques
- Baking
Allergens
- May contain: Milkfrom plant-based butter
- Contains: Wheatfrom all-purpose flour
- Contains: Glutenfrom all-purpose flour
- Contains: Soyfrom soy milk, plant-based butter
Based on typical versions of these ingredients and not verified allergen-free. Brands differ and cross-contact happens, so always check labels. For severe allergies, follow your clinician’s advice.
Nutrition
367 kcal per serving
Estimated1 serving ≈ 108 g · recipe makes 12
Where the energy comes from
- Protein 4%
- Carbohydrate 61%
- Fat 34%
| Nutrient | Per serving | Per 100 g |
|---|---|---|
| Energy | 367 kcal | 339 kcal |
| Protein | 4.3 g | 4 g |
| Carbohydrate | 58.9 g | 54.4 g |
| Net carbohydrate | 55.7 g | 51.4 g |
| Sugars | 38.3 g | 35.4 g |
| Added sugars | 37.2 g | 34.3 g |
| Fibre | 3.2 g | 2.9 g |
| Fat | 14.6 g | 13.4 g |
| Saturated fat | 2.1 g | 2 g |
| Trans fat | — | — |
| Cholesterol | 0 mg | 0 mg |
| Sodium | 316 mg | 292 mg |
| Salt equivalent | 0.8 g | 0.7 g |
Vitamins & minerals per serving
- Potassium
- 161 mg
- Calcium
- 19 mg
- Iron
- 2.1 mg
- Magnesium
- 44 mg
- Vitamin A (RAE)
- 55 µg
- Vitamin C
- 0 mg
- Vitamin D
- 0 µg
- Vitamin B12
- 0 µg
- Folate (DFE)
- 67 µg
How these numbers were made
- Calculated from USDA FoodData Central (SR Legacy) per-100 g values and the listed quantities.
- Plant-based butter: 80%-fat vegetable margarine used for plant-based butter blocks; some margarines contain milk — check the label.
- “—” means the value isn’t known for enough of the ingredients; it is never zero by default.
- Values are estimates for guidance, not for medical dosing. U.S. Department of Agriculture, Agricultural Research Service. FoodData Central, 2019. fdc.nal.usda.gov.
Good to know
Tips
- Weigh the cocoa: by volume it varies a lot.
Common mistakes
- Leaving the batter to stand before baking lets the soda lose its lift.
Serve with
- Serve with berries or dairy-free ice cream.
Food safety
- Vegan spreads, cocoa and sugar vary by brand; check labels for milk if baking for a milk allergy.
Storage
- Airtight at room temperature 3 days; freeze unfrosted layers up to 2 months.
Variations
- Cupcakes: Bake in 18 paper cases for 18–20 minutes.
Original editorial recipe · FriendsPantry editorial · Not yet independently reviewed · Added · Updated
Recipe DNA
How this dish is built
Built from the recipe’s own sections. Each band’s width is its share of the dish by weight. Choose a component to see what it does.
Baker’s notes
Customise in Bread & BakeryTimeline and readiness cues
Mix and knead · about 25 min
Mix only until no dry flour remains — overmixing makes it tough and tunnelled.
Bake · about 30 min at 175 °C
Risen and golden; a skewer in the centre comes out clean or with a few moist crumbs; the top springs back.
Cool · about 1 h 15 min
Cool on a rack before slicing — the crumb is still setting; cutting hot bread makes it gummy.
- Start to finish: about 2 h 10 min. Times are a guide — warmth changes everything; follow the cues.
If something goes wrong
Pale crust
Likely causes
- Oven too cool
- Too little sugar or no milk/egg for browning
- Over-fermented (yeast ate the sugars)
What to do
- Check the oven with a thermometer
- Brush with egg wash or milk
- Shorten the fermentation
Burnt bottom
Likely causes
- Tray too close to the heat
- Dark tray absorbs more heat
- Too much sugar in the dough
What to do
- Bake on the middle shelf
- Double up trays or use a light-coloured one
- Lower the temperature 10–15 °C and bake a little longer
Reviews & corrections
Reviews come from signed-in cooks and appear after a moderator checks them. We never show made-up ratings.
You might also like

Blueberry Muffins
American · 47 min · 220 kcal · Contains egg
Carrot cake with cream cheese frosting
American · 2 h 40 min · 550 kcal · Contains egg
Fudgy chocolate brownies
American · 1 h 43 min · 250 kcal · Contains eggEggless Chocolate Mug Cake
International · 6 min · 384 kcal · Vegetarian