A chocolate mayonnaise cake sounds like a strange idea, but it is one of the moistest and most reliable chocolate cakes you can bake. The mayonnaise replaces the butter and eggs in a traditional recipe, and the result is a soft, dark, even sponge that stays fresh for days. It became popular in American home kitchens in the 1930s and 1940s, when eggs and butter were expensive or in short supply, and it has never quite gone out of fashion.
Why does mayonnaise work in a cake?
Mayonnaise is made from oil, egg yolks and a little vinegar or lemon juice, which are all things a cake needs anyway. The oil keeps the crumb soft and moist, the egg yolk adds richness and helps bind the batter, and the acidity reacts with bicarbonate of soda to help the cake rise. Because the oil and egg are already emulsified, the batter comes together smoothly with very little effort.
Can you taste the mayonnaise?
No. Once baked, the cake tastes simply of chocolate, with a slightly rich, tender texture. The vinegary tang of mayonnaise disappears in the oven, and the cocoa and sugar mask any trace of it. Many people who try this cake are surprised to learn what is in it, and it is a useful recipe to have when you are short of eggs.
Which mayonnaise should you use?
Use a plain, full-fat mayonnaise. Light and reduced-fat versions contain more water and starch, which can leave the cake gummy. Avoid salad cream, which is sweeter and sharper, and flavoured mayonnaise such as garlic or chipotle for obvious reasons. A standard supermarket jar of full-fat mayonnaise is ideal.
What ingredients do you need?
- 225g plain flour
- 50g cocoa powder
- 1½ tsp bicarbonate of soda
- ¼ tsp fine salt
- 200g caster sugar
- 225g full-fat mayonnaise
- 250ml hot water or hot coffee
- 1 tsp vanilla extract
How do you make a chocolate mayonnaise cake?
- Heat the oven to 180°C (160°C fan), gas 4. Grease a 20cm square tin and line it with baking paper.
- Sift the flour, cocoa powder, bicarbonate of soda and salt into a large bowl, then stir in the sugar.
- In another bowl, whisk the mayonnaise, hot water and vanilla together until smooth.
- Pour the wet mixture into the dry and whisk until you have a smooth, fairly loose batter.
- Pour into the tin and bake for 30 to 35 minutes, until risen and a skewer comes out with a few moist crumbs.
- Leave to cool in the tin for 15 minutes, then lift out onto a wire rack.
- Cover with a simple chocolate icing or dust with icing sugar once cool.
Richer flavour: use hot coffee instead of the hot water. It deepens the cocoa without making the cake taste of coffee.
What frosting goes well with it?
Because the cake is so moist, it suits a simple topping. A quick fudge icing made with melted butter, cocoa, icing sugar and milk is traditional. Chocolate buttercream or a thin layer of ganache also work well. For a less sweet finish, a spoonful of whipped cream and fresh berries on each square makes it an easy pudding.
Is a mayonnaise cake egg-free or vegan?
Standard mayonnaise contains egg yolk, so this cake is not egg-free. However, vegan mayonnaise works very well as a direct swap and makes the whole cake plant-based, as long as you check that your cocoa and any icing are dairy-free. The texture is almost identical, which makes it a handy option for mixed groups.
How long does it keep?
Stored in an airtight tin in a cool place, this cake stays soft for four to five days, noticeably longer than a butter sponge. It also freezes well for up to three months. Slice before freezing if you would like to take out a piece at a time.
Can you bake it as a layer cake?
Yes. Divide the batter between two 20cm sandwich tins and bake for 20 to 25 minutes. The layers will be fairly thin but very moist, and they sandwich well with chocolate buttercream or whipped cream and jam. For a taller cake, make one and a half times the recipe and bake in two deep tins for 28 to 32 minutes.