Let me say something right at the start that I want you to hold onto as you read this recipe: nobody — and I mean absolutely nobody — will guess this cake is vegan.
That is not something I say lightly. I have served this chocolate cake to people who would describe themselves as deeply sceptical of plant-based baking, and not one of them has identified it as vegan before being told.
The sponge is deeply rich, beautifully moist, and genuinely fudgy in the way that only the very best chocolate cakes are. The chocolate frosting is smooth, glossy, and completely indulgent. It is, by any measure, a spectacular chocolate cake — and the fact that it contains no dairy and no eggs is simply a bonus.
This recipe is inspired by Mary Berry’s approach to chocolate cake — the same commitment to simplicity, reliability, and outstanding flavour that runs through everything she does — adapted thoughtfully to be completely plant-based without sacrificing a single thing in terms of taste or texture.
If you have been searching for a Mary Berry vegan chocolate cake recipe that actually delivers on its promise, this is the one. Let me show you exactly how to make it.
How Do You Make a Vegan Chocolate Cake as Good as a Traditional One?
This is the question at the heart of all good vegan baking — and the answer, for chocolate cake specifically, is actually more straightforward than you might expect.
Eggs are replaced with a flax egg and apple cider vinegar. A flax egg — one tablespoon of ground flaxseed mixed with three tablespoons of water and left for five minutes — creates a gel that binds the batter in the same way a regular egg does. The apple cider vinegar reacts with the bicarbonate of soda to create lift, giving the sponge its rise and lightness.
Dairy milk is replaced with oat milk. Oat milk has a creamy, slightly sweet flavour that works beautifully in chocolate cake and behaves very similarly to dairy milk in baking. It is my preferred plant milk for this recipe.
Butter is replaced with a good dairy-free block butter. Not margarine — a proper dairy-free block butter, such as Flora Plant or Stork Plant. These have a fat content close to dairy butter and produce a much better result in baking than soft spreads.
The cocoa powder does the heavy lifting. A generous amount of good-quality cocoa powder — combined with a small amount of melted dark chocolate — gives the sponge its deep, rich chocolate flavour. The vegan version actually benefits from slightly more cocoa than a traditional recipe, as it compensates beautifully for the absence of dairy richness.
The result is a cake that is genuinely indistinguishable from a traditional chocolate cake. Rich, moist, deeply chocolatey, and completely wonderful.

Ingredients for Mary Berry Vegan Chocolate Cake
For the Vegan Flax Eggs (Make First)
- 2 tbsp ground flaxseed
- 6 tbsp cold water
For the Vegan Chocolate Sponge
- 200g dairy-free block butter (such as Flora Plant or Stork Plant), softened
- 200g caster sugar (ensure it is vegan — most UK caster sugar is, but check the label)
- 200g self-raising flour, sifted
- 60g good-quality cocoa powder, sifted
- 1 tsp baking powder
- 1 tsp bicarbonate of soda
- 200ml oat milk (or any unsweetened plant milk)
- 1 tbsp apple cider vinegar
- 100g dark chocolate (ensure dairy-free — look for 70% cocoa solids and check the label), melted and cooled
- 1 tsp vanilla extract
- Pinch of salt
For the Vegan Chocolate Frosting
- 200g dairy-free block butter, softened
- 350g icing sugar, sifted
- 60g good-quality cocoa powder, sifted
- 3–4 tbsp oat milk
- 1 tsp vanilla extract
- 100g dairy-free dark chocolate, melted and cooled
To Decorate
- Fresh raspberries or strawberries
- A dusting of cocoa powder
- Optional: dairy-free chocolate shavings or edible flowers
How to Make Mary Berry Vegan Chocolate Cake — Step by Step
Step 1 — Make the Flax Eggs First
In a small bowl, combine the ground flaxseed and cold water. Stir well and leave to stand for five minutes. The mixture will thicken and become gel-like — this is your flax egg and it is ready to use once it has reached a gel consistency. Do not skip the resting time — the gel needs to form properly to bind the batter effectively.
Step 2 — Combine the Oat Milk and Vinegar
In a jug, combine the oat milk and apple cider vinegar. Stir and leave to stand for a couple of minutes — the mixture will curdle slightly and thicken. This creates a vegan buttermilk that adds tenderness to the sponge and reacts with the bicarbonate of soda to create lift. Set aside.
Step 3 — Preheat and Prepare
Preheat your oven to 180°C / 160°C fan / Gas 4. Grease two 20cm round sandwich tins and line the bases and sides with baking parchment.
Step 4 — Melt the Chocolate
Melt the dairy-free dark chocolate in a heatproof bowl set over a pan of barely simmering water, stirring until smooth. Remove from the heat and set aside to cool to room temperature.
Step 5 — Make the Batter
Beat the softened dairy-free butter and caster sugar together with an electric hand whisk for three to four minutes until pale and fluffy. Dairy-free butter can take slightly longer to cream than regular butter — keep going until the mixture is genuinely light.
Add the flax eggs and vanilla extract and beat until incorporated.
Add the cooled melted chocolate and fold through with a spatula until fully combined.
Sift the self-raising flour, cocoa powder, baking powder, bicarbonate of soda, and salt into the bowl. Pour in the oat milk and vinegar mixture. Fold gently until just combined — the batter will be quite loose and very dark. Do not overmix.
Step 6 — Bake
Divide the batter equally between the two prepared tins. Smooth the tops and bake on the middle shelf for 28 to 32 minutes until a skewer inserted into the centre comes out clean. The sponges will feel firm to the touch and will have pulled away very slightly from the sides of the tin.
Leave to cool in the tins for 15 minutes — vegan sponges can be slightly more delicate than traditional ones while warm, so give them time to firm up before turning out. Then turn out carefully onto a wire rack and leave to cool completely.
Step 7 — Make the Vegan Chocolate Frosting
Beat the softened dairy-free butter alone for three to four minutes until pale and fluffy. Add the sifted icing sugar and cocoa powder in two batches, beating well after each. Add the cooled melted chocolate, vanilla extract, and two tablespoons of oat milk. Beat until smooth, rich, and spreadable. Add more oat milk a tablespoon at a time if the frosting is too stiff.
Taste it. It should be deeply chocolatey, smooth, and completely wonderful. If you want more chocolate intensity, add an extra teaspoon of cocoa powder and beat again.
Step 8 — Assemble and Decorate
Place one completely cooled sponge on your serving plate or cake stand. Spread a generous layer of chocolate frosting over the top. Place the second sponge on top and press down very gently.
Spread the remaining frosting over the top and sides of the cake. Use a palette knife to smooth it or create swirls — either looks beautiful. Decorate with fresh raspberries, a dusting of cocoa powder, and dairy-free chocolate shavings if using.

My Top Tips for the Best Vegan Chocolate Cake
Use a dairy-free block butter, not a soft spread. This is the single most important ingredient choice in this recipe. Soft dairy-free spreads have a much higher water content than block butter and produce a greasy, heavy sponge that will not cream properly. A block butter — Flora Plant, Stork Plant, or similar — behaves far more like dairy butter in baking and gives you a much better result.
Do not skip the flax egg resting time. The gel needs five full minutes to form. If you add the flax mixture to the batter before it has gelled, it will not bind the batter effectively and your sponge may crumble.
Do not skip the oat milk and vinegar step. This creates a vegan buttermilk that is essential for the texture and rise of the sponge. The acid in the vinegar reacts with the bicarbonate of soda to create bubbles that lift the batter. Without this reaction, the sponge will be flatter and denser.
Check your chocolate and sugar are vegan. Most UK caster sugar is vegan, but some are processed using bone char — check the label or use a brand specifically labelled as vegan. Dark chocolate is often dairy-free but always check the label, as some brands include milk derivatives even in their dark chocolate ranges.
Give the vegan sponges extra cooling time before turning out. Vegan sponges made with flax eggs and dairy-free butter can be slightly more fragile when warm than traditional sponges. Leave them in the tins for a full 15 minutes before attempting to turn them out, and handle them gently.
Use fresh raspberries or strawberries to decorate. The bright acidity of fresh berries cuts through the richness of the chocolate frosting beautifully and makes the finished cake look absolutely spectacular. They also signal clearly that this is a cake worth getting excited about.
Serving Suggestions
This cake needs no apology and no explanation — serve it exactly as you would serve any great chocolate cake. It is wonderful at birthdays, at afternoon tea, as a pudding after Sunday lunch. A slice with a small scoop of dairy-free vanilla ice cream is completely indulgent and completely wonderful. Fresh raspberries on the side add a lovely sharpness that balances the richness of the chocolate perfectly.
How to Store Mary Berry Vegan Chocolate Cake
At room temperature: Store in an airtight container in a cool kitchen for up to 2 days. The frosting holds well at cool room temperature.
In the fridge: Store in an airtight container for up to 5 days. Bring to room temperature for at least 30 minutes before serving — cold frosting loses its smooth, silky texture.
In the freezer: Freeze the unfrosted sponge layers for up to 3 months, wrapped tightly in cling film and foil. Make the frosting fresh when ready to assemble.

Mary Berry Vegan Chocolate Cake
Ingredients
Method
- Mix ground flaxseed with cold water. Leave for 5 minutes until gelled. Set aside.
- Combine oat milk and apple cider vinegar in a jug. Leave for 2 minutes to curdle. Set aside.
- Melt dairy-free dark chocolate for sponge over barely simmering water. Cool to room temperature.
- Preheat oven to 180°C / 160°C fan / Gas 4. Grease and line two 20cm sandwich tins.
- Beat dairy-free butter and caster sugar for 3–4 minutes until pale and fluffy.
- Add flax eggs and vanilla. Beat until incorporated.
- Fold in cooled melted chocolate.
- Sift in flour, cocoa, baking powder, bicarbonate of soda, and salt. Add oat milk mixture. Fold gently until just combined.
- Divide between tins. Bake 28–32 minutes until skewer comes out clean. Cool in tins 15 minutes then turn out onto a wire rack. Cool completely.
- For frosting: beat dairy-free butter 3–4 minutes until pale. Add icing sugar and cocoa in two batches. Add melted chocolate, vanilla, and oat milk. Beat until smooth.
- Sandwich sponges with frosting. Cover top and sides. Decorate with raspberries and a dusting of cocoa.
Notes
Frequently Asked Questions About Mary Berry Vegan Chocolate Cake
Can I use a different plant milk instead of oat milk?
Yes — almond milk, soya milk, or coconut milk all work in this recipe. Oat milk is my preference as it has the creamiest flavour and most neutral taste, but any unsweetened plant milk will give a good result. Avoid sweetened or flavoured versions as they can affect the flavour of the finished cake.
Can I use chia seeds instead of flaxseed for the egg replacement?
Yes — a chia egg works in exactly the same way as a flax egg. Use one tablespoon of chia seeds mixed with three tablespoons of water per egg, and leave to stand for five minutes until gelled. The result is almost identical.
Why did my vegan chocolate sponge turn out dense?
The most likely cause is that the flax egg had not fully gelled before being added to the batter, or that the oat milk and vinegar mixture was not left to curdle properly. Both of these steps create the lift and binding that the sponge needs. Also make sure your baking powder and bicarbonate of soda are fresh — they lose their effectiveness over time.
Is this recipe suitable for someone with a nut allergy?
It depends on your choice of plant milk and dairy-free butter. Oat milk is nut-free, and most block dairy-free butters are made from vegetable oils rather than nuts — but always check the labels carefully as formulations vary between brands. If serving to someone with a severe nut allergy, verify every ingredient individually.
Can I make this cake gluten-free as well as vegan?
Yes — replace the self-raising flour with a good gluten-free self-raising flour blend (I like Doves Farm). The texture will be very slightly different — a little denser — but the flavour will be just as wonderful. Make sure all your other ingredients are certified gluten-free as well.
Can I add coffee to the vegan chocolate cake?
Yes — a teaspoon of instant espresso powder dissolved in a tablespoon of boiling water, added to the batter with the other wet ingredients, deepens and intensifies the chocolate flavour without adding a strong coffee taste. It is a brilliant trick for any chocolate cake and works just as well in the vegan version.

