Removing eggs, dairy or gluten from a cake means removing something that was doing a job, so a useful substitution replaces the function rather than the ingredient. Eggs bind and raise, gluten gives structure, and butter provides fat and flavour. Some cakes lose almost nothing and others cannot be adapted at all, and knowing which is which saves a good deal of disappointment.
What do eggs actually do?
They bind the mixture, add moisture and fat, and trap air for lift. In a whisked sponge they do all the raising, which is why that one cannot be made without them.
In a cake with baking powder and a good deal of liquid, they are doing far less and are easier to replace.
What replaces an egg?
- A tablespoon of ground flaxseed in 3 tablespoons of water, left 10 minutes
- 60g of apple puree or mashed banana
- 60ml of aquafaba, the liquid from a tin of chickpeas
- A tablespoon of cornflour in 3 tablespoons of water
Aquafaba is the only one that whips. It holds air like egg white and can be used for meringue, which none of the others manage.
How many eggs can you replace?
Up to two comfortably. Beyond that the structure suffers, and a recipe calling for four eggs is better swapped for one designed to be egg free.
What replaces butter?
A firm vegan block by weight for creaming, or sunflower oil for an all in one cake. Oil based recipes are the easiest to make dairy free, since the butter was not structural.
Soft spreads with a high water content give poor results in creaming.
What about milk and cream?
Oat milk is the closest substitute for whole milk in baking. Coconut cream whips and works in ganache and icing.
Add a teaspoon of lemon juice to plant milk to make a buttermilk substitute.
How do you bake without gluten?
Use a commercial gluten free self raising blend, which is formulated to behave like flour. Single flours such as rice or gram flour on their own give poor results.
Add half a teaspoon of xanthan gum per 200g if the blend does not contain it.
What about nut allergies?
Ground almonds are a common gluten free substitute, so free from recipes frequently contain nuts. Read them carefully if nuts are also an issue.
Fine polenta or gluten free oats can replace ground almonds in many cakes.
Which cakes adapt best?
Ones already low in gluten development or high in moisture. Almond cakes, chocolate cakes, carrot cake, banana bread and anything made with the melting method.
Ground almonds in place of some flour improve almost any gluten free cake.
Which do not?
Whisked sponges, Swiss rolls and anything relying on eggs alone for lift. Madeira cake also depends on flour structure and adapts poorly.
Does sugar or raising agent need changing?
Gluten free blends often need slightly more raising agent, around a quarter teaspoon extra per 200g, since the batter is heavier.
Sugar stays the same, though a little extra helps keep an egg free cake moist.
What should you expect?
Gluten free cakes are more crumbly and stale faster, so eat them within a day or two. Egg free cakes are slightly denser.
Both are better warm or freshly made than kept.
Can you do all three at once?
It is possible and it is much harder, since you have removed structure, binding and fat together. Start from a recipe written to be free from rather than adapting one.
Chocolate and almond based cakes are the most forgiving starting points.
Do the timings change?
Gluten free cakes often need slightly longer at a slightly lower temperature, since the blends absorb liquid differently.
Check ten minutes before you expect them to be ready and again after.
Does cross contamination matter?
For coeliac disease it matters a great deal. Use clean equipment, separate utensils and check that raising agents and flavourings are certified gluten free.
Anyone baking for a diagnosed allergy or intolerance should check every label, since formulations change.
See also Swiss Roll, or browse more Puddings recipes.