Dietary
Going Dairy-Free: Replacing Dairy by the Job It Does
Dairy-free swaps sorted by job: milk in baking and sauces, butter, cream that whips, cheese. Why plant milks curdle, and lactose-free versus milk-free labels.
- dairy free
- milk allergy
- lactose intolerance
- plant milk
- vegan cheese

Dairy does at least five different jobs in a kitchen, and no single plant product does all of them. Milk proteins brown a crust and set a custard; butter’s solid fat traps air; cream’s fat lets it whip; casein lets cheese stretch and melt. Replacing dairy one product at a time (“oat milk for milk”) misses this. Sorting by job shows which swaps are reliable and which are not.
Milk-free or lactose-free: decide first
The two needs call for different shopping.
Lactose intolerance is a digestive problem: the small intestine cannot break down all the lactose eaten. NIDDK notes that most people with it can handle some lactose without symptoms, and that the amount differs from person to person. MedlinePlus puts the share of people whose ability to digest lactose drops after infancy at about 65 percent. Lactose-free dairy, which still contains milk protein, works fine for them.
Milk allergy is an immune reaction to milk protein, so lactose-free products do not help. University Hospitals’ milk allergy diet sheet states that lactose-free milk still contains the protein. The same sheet lists ingredients that signal milk, including casein and caseinates, whey, ghee, butter oil, lactalbumin and “artificial butter flavor”. It also warns that “nondairy” on a label means no butter, cream or milk, yet the product may still carry other milk ingredients, and that a “D” beside a kosher symbol marks a product containing dairy.
Goat and sheep milk are not a workaround for an allergy. Since FDA’s January 2025 labeling guidance, milk from other domesticated ruminants counts as “milk” for allergen labeling, FARE reports. For an allergy, follow the allergist’s plan and read the full label each time.
The swaps, sorted by job
| Job | What dairy contributes | First choice | Guide |
|---|---|---|---|
| Milk in cakes and quick breads | Liquid, protein and sugar that brown | Unsweetened soy milk, 1:1 | Milk |
| Milk in a roux sauce | Liquid; the flour does the thickening | Soy or oat milk, 1:1 | Milk |
| Butter, creamed or laminated | Solid fat that holds air, plus water | Plant butter sticks, 1:1 | Butter |
| Cream that whips | About 36 percent fat | Coconut cream, chilled, 1:1 | Heavy cream |
| Sour cream in a hot sauce | Fat and tang | Cashew cream with lemon, 1:1 | Sour cream |
| Plain yogurt | Acid and body | Unsweetened soy yogurt, 1:1 | Yogurt |
| Cream cheese | Fat and a soft set | Cashew cream cheese | Cream cheese |
| Ricotta in lasagna | Moist curds | Tofu ricotta, 1:1 by weight | Ricotta |
| Grated Parmesan | Salt and savory depth | 3 tbsp nutritional yeast + ¼ tsp salt per oz | Parmesan |
The ratios come from the linked guides, which give the details and alternatives.
Why the plant milks are not interchangeable
USDA FoodData Central gives these protein figures per 100 g: whole milk 3.15 g, unsweetened soy milk 2.86 g, unsweetened almond milk 0.40 g, carton coconut milk 0.21 g. Protein is what browns a crust, thickens a custard and sets a pudding, so soy milk is the only common plant milk that behaves close to dairy in those roles. Almond and carton coconut milk are mostly water: fine as the liquid in a batter, poor in anything that must set.
Fat tells a similar story at the cream end. USDA lists coconut cream at 34.7 g of fat per 100 g and heavy whipping cream at 36.1 g, which is why coconut cream is the one plant product that whips without stabilizers. Canned coconut milk, at about 21 g, does not; the coconut post compares every coconut form.
What curdles, what splits, and why
Soy milk in hot coffee or with lemon. Soy protein clumps when it meets acid or calcium, especially when hot; tofu is made exactly this way, by setting soy milk with calcium or magnesium salts. Warm the milk before adding it to coffee, and in sauces add lemon juice or wine off the heat, after the milk.
A plant-milk béchamel that will not thicken. The flour, not the milk, thickens a roux sauce, so any unsweetened plant milk works if the roux is cooked and the sauce brought to a simmer. Low-protein milks give a slightly thinner, less glossy result; soy or oat looks most like dairy.
Custards that never set. Dairy custard relies on milk and egg proteins together. With almond or oat milk there is less protein to help, so the custard stays loose; soy milk, or an extra yolk where eggs are allowed, closes the gap.
Cashew or coconut sauces that turn oily. Both are fat held in water by fine particles. Boiling hard breaks that suspension and the fat pools on top. Keep them at a gentle simmer and blend a split sauce briefly to bring it back.
Melting cheese. Dairy cheese stretches and melts because of casein, which plant cheeses do not contain. No kitchen swap reproduces a pizza-style melt. Shop-bought plant cheeses vary widely by brand, and the ingredient list shows what each one is built from; for sauces, a blended cashew or potato base gives creaminess without pretending to stretch.
Common mistakes
- Buying lactose-free milk for someone with a milk allergy. It still contains casein and whey, the proteins that cause the reaction.
- Trusting “nondairy” on a creamer or topping. It may still contain caseinate; the ingredient list or the “Contains: milk” line is what counts.
- Baking with sweetened vanilla plant milk. The added sugar and flavor show up in savory bakes and make cakes brown too fast.
- Replacing butter with a tub spread. The extra water makes cookies spread flat and pastry soggy.
- Whipping canned coconut milk instead of coconut cream. At around 21 percent fat it cannot hold air.
- Pouring cold soy milk into very hot, acidic coffee. The protein clumps into flecks; warming the milk first helps.
For egg-free and dairy-free cakes together, see vegan baking tips; for cooking around several allergens at once, see making recipes allergy-friendly.
Sources
- Lactose intolerance, NIH MedlinePlus Genetics
- Definition & Facts for Lactose Intolerance, National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK)
- Milk Allergy Diet, University Hospitals
- Update: FDA Guidance on Food Allergen Labeling, Food Allergy Research & Education (FARE)
- Milk, whole, 3.25% milkfat (FDC ID 171265), USDA FoodData Central
- Soymilk, unsweetened, with added calcium, vitamins A and D (FDC ID 175215), USDA FoodData Central
- Beverages, almond milk, unsweetened, shelf stable (FDC ID 174832), USDA FoodData Central
- Beverages, coconut milk, sweetened, fortified (FDC ID 174116), USDA FoodData Central
- Nuts, coconut cream, raw (FDC ID 170580), USDA FoodData Central
- Cream, fluid, heavy whipping (FDC ID 170859), USDA FoodData Central
More from the blog

How to Convert a Recipe for Food Allergies
Convert a recipe for the nine US major allergens: where they hide, label rules, swaps that only trade one allergen for another, and cross-contact at home.
Read
Plant-Based Protein Swaps: Tofu, Tempeh, Seitan, TVP and Legumes by Use
USDA protein per 100 g for tofu by firmness, tempeh, seitan's gluten, beans and lentils, which one replaces meat in which dish, and the prep each one needs.
Read
Cooking with Coconut: Which Coconut Product Does Which Job
Canned milk, cream, oil, flour and the carton drink differ tenfold in fat. USDA figures for each coconut product, the job it suits, and the swaps that fail.
Read
How to Substitute Sugar: Which Replacement Keeps Which Job
Sugar also browns, holds moisture, aerates butter and sets spread. Which swaps keep which job, the honey and maple math, and where stevia and erythritol fall short.
Read