Dairy-Free Substitutes for Butter, Milk, Cream and Cheese
What to use in place of butter, milk, cream, cheese and yoghurt in cooking and baking, and which other allergen each substitute brings with it.
Updated
Most dairy-free cooking is not about clever replacements. It is about knowing what the butter or milk was doing in the recipe and choosing something that does the same job.
The catch is that nearly every dairy-free product is made from another allergen: soya, oats, almonds, cashews or coconut. If your household avoids more than milk, the table below shows what each swap brings with it.
Butter
| Use | In place of butter for | Notes |
|---|---|---|
| Dairy-free baking block | Cakes, pastry, biscuits, buttercream | The closest match. Blocks have about the same fat content as butter. Often contain soya. |
| Dairy-free spread (tub) | Spreading, mashing, melting over vegetables | More water than a block, so cakes and icing come out softer. A few contain buttermilk, so read the back. |
| Sunflower or rapeseed oil | Cakes made by the all-in-one or melting method, muffins, brownies | Use about 80g of oil for every 100g of butter. Gives a moist crumb that keeps well. |
| Olive oil | Mash, white sauce, frying, savoury bakes | Has its own flavour. Use a mild one for sauces. |
| Coconut oil | Biscuit bases, no-bake slices, pastry | Sets hard when cold and tastes of coconut unless it is the refined kind. |
For icing, always use a block. See our dairy-free buttercream.
Milk
| Milk | Good for | Brings with it |
|---|---|---|
| Soya | Baking, custard, white sauce. Highest in protein, so it behaves most like cow's milk and curdles with lemon to make a buttermilk substitute. | Soya |
| Oat | Sauces, porridge, hot drinks. Creamy and mild. | Oats, which count as a cereal containing gluten unless labelled gluten-free |
| Rice | Baking and batters when you need to avoid soya, nuts and oats. Thin and slightly sweet. | Not advised as a main drink for under-fives |
| Coconut drink (carton) | Baking, cereal | Coconut. Mild coconut flavour |
| Almond and other nut milks | Baking, cereal | Tree nuts |
| Pea | Baking, sauces, hot drinks | Pea protein, which a few people with peanut allergy react to |
For savoury cooking, the carton must say unsweetened. Sweetened or vanilla milk ruins a white sauce.
These are cooking swaps. For babies and young children with a milk allergy, the main milk drink is a nutrition question, so follow your dietitian's advice on which one to use.
Cream
- Single cream, for sauces and soups: oat, soya or rice cream alternatives sold in small cartons. Add at the end and do not boil hard.
- Richness in curries and soups: tinned full-fat coconut milk.
- Whipping: the thick layer from a chilled tin of full-fat coconut milk, or a carton labelled whippable. Check the carton, because some plant-based whipping creams contain milk protein.
- Body without any cream: blend a boiled potato into the soup, as in our dairy-free cream of mushroom soup.
Cheese
Cheese is the hardest thing to replace, and the honest advice is to stop trying to match it and go after the savoury flavour instead.
- Nutritional yeast: yellow flakes with a savoury, cheesy taste. Stir into white sauce, mash and pasta. It is not the same thing as yeast extract.
- A little mustard and garlic in a white sauce, which is what makes cheese sauce taste like cheese sauce. See the dairy-free cauliflower cheese.
- Shop-bought dairy-free cheese: mostly coconut oil and starch. Fine melted on a pizza, less good in a sauce. Some are made from cashews or almonds, and some contain soya.
- A blended potato and carrot sauce, for a nut-free dairy-free cheese sauce.
Yoghurt, buttermilk and the rest
- Yoghurt: soya and coconut yoghurts are the thickest and cook best.
- Buttermilk: stir 1 tbsp lemon juice into 250ml soya milk and leave for 5 minutes.
- Evaporated milk: full-fat tinned coconut milk, as in our dairy-free pumpkin pie.
- Chocolate: buy chocolate labelled dairy-free. 'Dark' on its own is not enough.
- Ice cream and custard: easy to make at home. See dairy-free custard and dairy-free ice cream.
Where milk hides in the first place
Swapping what you cook with is half of it. The other half is the milk already inside bought ingredients. See hidden sources of dairy, and browse the dairy-free recipes or, if nuts are out as well, the dairy-free nut-free recipes.
Quick answers
- What is the best dairy-free substitute for butter in baking?
- A dairy-free baking block, used weight for weight. Tub spreads contain more water and give softer, greasier results.
- Which dairy-free milk is best for baking?
- Unsweetened soya milk behaves most like cow's milk because it has the most protein. Oat milk is a good second choice. Use rice milk if you need to avoid soya, oats and nuts.
- Can I use oil instead of butter in a cake?
- Yes, in cakes made by melting or mixing all in one. Use about 80g of oil for every 100g of butter.
- What can I use instead of cheese?
- Nutritional yeast gives a savoury, cheesy flavour in sauces. For melting, shop-bought dairy-free cheese works on pizza. Check it for nuts and soya.
This guide is general information for people who cook around food allergies. It is not medical advice. Labelling rules and product recipes change, so read the label every time and follow the advice of your doctor, allergy clinic or dietitian.