Baking Resources
HomeGuides

Dairy Free Baking Substitutions

Updated August 2026 · Baking Resources

Dairy Free Baking Substitutions
Want your number first? Open the free Baking Substitutions Chart, or read on for how it works.

Replacing dairy is mostly about matching fat and water content, not flavor. Milk is roughly 88% water with about 8 grams of fat per cup. Butter is about 80% fat and 16% water. Heavy cream is about 36% fat. Match those two numbers and the swap usually disappears into the recipe.

That is exactly why some dairy free baking substitutions disappear into a recipe and others fall apart. Almond milk instead of whole milk changes the fat by 5 grams a cup, which a muffin absorbs without complaint. A tub spread instead of butter can add 60 grams of extra water to a batch of cookies, and no amount of good technique saves that.

So the rule is simple. Before you swap, ask how much fat and how much water the original ingredient was carrying, then pick a replacement that carries about the same.

Changing more than one ingredient? Our free baking substitutions chart lets you check eggs, fats, dairy and leavening side by side so you do not accidentally change three things at once.

Updated August 2026

Dairy free baking substitutions start with fat and water

Here is what dairy is actually contributing when a recipe calls for it.

Dairy ingredient Fat Water What it does in the bake
Whole milk, 1 cup, about 240 g About 8 g About 88% Hydration, a little tenderness, browning from milk sugars and protein
Butter, 1 cup, 227 g About 182 g About 36 g Fat for tenderness, water for steam and lift, solid structure for creaming
Butter, 1 stick, 113 g About 90 g About 18 g Same, at half the volume
Heavy cream, 1 cup About 88 g About 58% Richness, and a fat network stable enough to whip
Buttermilk, 1 cup About 2 g About 90% Acid to react with baking soda, plus tenderizing
Sour cream, 1 cup About 45 g About 71% Fat, acid and thickness all at once
Cream cheese, 1 cup About 78 g About 55% Structure and tang in frostings and cheesecakes

Two practical takeaways come out of that table.

First, milk is mostly water, so plant milks substitute easily. The fat gap is small and easy to close with a teaspoon of oil.

Second, butter is not mostly fat by accident. That 16% water turns to steam in the oven and does real work in biscuits, scones and pastry. Swap butter for pure oil and you lose the water. Swap it for a tub spread and you get far too much.

Weighing rather than measuring makes all of this easier, since gram weights are the only way to compare fats honestly. Our ingredient weights chart has the standard numbers, including butter at 227 g per cup and all-purpose flour at 125 g per cup spoon-and-level.

Milk substitutes: which plant milk to use for what

Plant milks are not interchangeable. They differ in fat, protein and sugar, and protein is the one people forget. Protein is what browns a crust and what sets a custard.

Plant milk Fat per cup Protein per cup Flavor Best use
Soy milk, unsweetened 4 to 4.5 g 7 to 8 g Mildly beany, fades when baked The all-round best. Closest to dairy milk in protein, so it browns and sets like the real thing. Use it in enriched doughs, custards and anything that needs structure.
Oat milk 4 to 5 g 2 to 3 g Sweet, oaty, pleasant Excellent in muffins, quick breads and cakes. Higher natural sugar means faster browning, so check 3 to 5 minutes early.
Coconut milk, carton beverage 4 to 5 g 0 to 1 g Faint coconut Good general-purpose choice when soy is out. Thin, so treat it like almond milk.
Coconut milk, canned full fat About 48 g per cup 2 to 3 g Clearly coconut Rich enough to replace half-and-half or light cream. Excellent in ganache and frostings where coconut flavor is welcome.
Almond milk 2 to 3 g 1 g Faintly nutty, thin Fine in muffins, cookies, quick breads, brownies. Add 1 teaspoon of oil per cup for richer recipes. Not for people with tree nut allergies.
Cashew milk 3 to 4 g Under 1 g Neutral, creamy mouthfeel Creamier than almond at the same fat because of the starch. Good in cakes and puddings. Tree nut, so check who you are baking for.
Rice milk 2 to 2.5 g 0 to 1 g Sweet and very thin The thinnest option and the most watery. Use it only in recipes where the milk is a minor player. Best fallback for multiple allergies.

All of them weigh close to 240 g per cup, near enough to water at 236 g per cup for kitchen purposes, so you can swap by weight one to one and be fine.

The thin ones behave differently in enriched doughs. Brioche, cinnamon rolls, challah-style breads and soft dinner rolls lean on milk protein and fat for their soft, close crumb. Rice, almond and carton coconut milk have almost no protein, so an enriched dough made with them proofs faster, browns pale and tears more easily. If you are baking an enriched dough dairy free, use unsweetened soy milk. It is the only plant milk with protein in the same range as dairy, and the difference in the finished loaf is obvious.

For flat batters, muffins, pancakes, brownies and most cookies, use whatever you have. The protein gap does not show.

Watch the sweetened versions. A cup of sweetened vanilla plant milk can add 12 to 15 grams of sugar to a recipe, which is close to a tablespoon. Buy unsweetened for baking.

Butter substitutes: use blocks, never tubs

This is where most dairy free baking goes wrong, so read the warning first.

Vegan tub spreads carry far more water than butter and will ruin a creamed or laminated recipe. Butter is about 80 to 82% fat. Soft tub spreads are often 50 to 60% fat, and light versions can drop to 35%. The rest is water and emulsifiers. Cream a tub spread with sugar and it will not hold air. Laminate it into pastry and it will steam the layers into a soggy block instead of separating them. Cookies made with it spread into thin, cakey puddles.

Buy vegan butter in a foil-wrapped block or stick. The packaging is doing you a favor: block-style vegan butter is formulated at 75 to 80% fat precisely so it can behave like butter.

Butter substitute Fat content Swap ratio Where it works, where it does not
Vegan butter, block or stick 75 to 80% 1:1 by weight, 113 g per stick The only substitute that works in creamed cookies, buttercream, pie crust and laminated dough. Salt levels vary, so taste and adjust.
Vegan spread, tub 35 to 60% Not recommended Fine spread on toast. In baking it adds too much water. Avoid in anything creamed, laminated, or that needs to hold shape.
Neutral oil, canola or light olive 100% Use 80% of the butter weight, then add the difference as extra liquid Great in muffins, oil cakes, quick breads and brownies. Impossible in creamed or laminated recipes, since liquid oil cannot hold air or form layers.
Refined coconut oil 100% Use 80% of the butter weight, plus extra liquid Solid below about 76F, so it can be cut into scones or pie dough. Refined is flavorless, unrefined tastes strongly of coconut. It sets harder than butter, so cookies come out firmer.
Solid vegetable shortening 100% Use 80% of the butter weight, plus extra liquid Holds air well and gives very tall, tender cookies and stable frosting. Flavorless, so the bake tastes flat unless you add vanilla or salt.

The 80% rule is just arithmetic. One stick of butter, 113 g, is about 90 g of fat and 18 g of water. So 113 g butter becomes 90 g of oil or shortening plus about 20 g of extra milk or water. Our butter converter does the sticks-to-grams part if you are working from a US recipe.

One more thing worth knowing. Creaming needs a solid fat that stays plastic, not greasy and not rock hard. Vegan butter blocks cream well at cool room temperature, around 65F, which is a touch cooler than dairy butter likes. If yours is soft and slumping, chill it for 10 minutes. The full method is in our guide on how to cream butter and sugar.

Dairy free buttermilk

Buttermilk is doing one main job in most recipes: supplying acid so baking soda can react and release carbon dioxide. You can supply that acid without any dairy at all.

Use 1 cup of unsweetened plant milk, about 240 g, plus 1 tablespoon of lemon juice or white vinegar. Stir and let it sit 10 minutes.

Soy milk is the one that genuinely curdles, because the acid coagulates its protein the way it does with dairy. You will see it thicken and separate slightly, which is what you want. Almond, oat and rice milk have too little protein to curdle much, so they will look thin. That is fine. The leavening still works, because the acid is present whether or not the milk visibly thickens.

If you need thickness as well as acid, whisk 1 tablespoon of dairy free plain yogurt into the mix, or use 3/4 cup plant milk plus 1/4 cup coconut yogurt.

Our full buttermilk substitute guide covers the dairy versions and the acid ratios in more detail, including what changes when a recipe calls for both baking soda and baking powder.

Heavy cream and whipping without dairy

Coconut cream is the reliable option. Everything else on the shelf is a compromise.

Whipping needs a fat that is solid at cold temperature and can trap air in a stable network. Dairy cream does this at about 36% fat. Almond, oat and soy milks cannot do it at all, because their fat is too low and not structured the right way. Full-fat canned coconut milk can, because coconut fat is highly saturated and firms up beautifully when chilled.

Here is the method that works:

  1. Buy full-fat canned coconut milk or canned coconut cream. Not the carton beverage, which is mostly water.
  2. Chill the unopened can in the back of the fridge for at least 12 hours, and overnight is better. This is not optional. The chill is what separates the fat from the water.
  3. Open the can without shaking it. Scoop out only the thick solid layer on top and leave the thin liquid behind. Only the solid part whips. A 13.5 oz can usually gives about 1 cup of solid cream.
  4. Whip the solid part cold, with cold beaters, for 2 to 3 minutes until it holds soft peaks.
  5. Sweeten with 2 to 3 tablespoons of powdered sugar, which is about 15 to 23 g at 120 g per cup, plus a splash of vanilla.

Two honest warnings. Some brands emulsify their coconut milk so well that it never separates, no matter how long you chill it, so if a can fails you, buy a different brand rather than blaming the technique. And coconut whipped cream tastes like coconut. In chocolate, tropical fruit or spice desserts that reads as a feature. On a lemon tart it can fight the flavor.

The leftover thin liquid is not waste. Use it in place of milk in the same recipe.

For the dairy versions and the fat percentages behind all of this, see our heavy cream substitute guide and our step-by-step on how to make whipped cream.

For cooking and baking rather than whipping, full-fat canned coconut milk stands in for heavy cream one to one by volume. It is about 48 g of fat per cup against cream's 88 g, so it is leaner, but it thickens sauces and enriches ganache well. Cashew cream, blended raw cashews and water at about 1:1, is the neutral-flavored alternative if coconut is wrong for the flavor.

Rather run your own numbers? Open the free Baking Substitutions Chart.

Cream cheese and sour cream alternatives

Be honest with yourself here: texture varies enormously by brand, and some dairy free cream cheeses will not hold in a frosting.

Dairy cream cheese is about 33% fat and firm enough to whip stiff. Plant-based versions are built from wildly different bases. Some are cashew and coconut oil, which are firm and behave well. Some are almond or oat with added starch and gums, which are softer and can loosen into soup the moment you beat them with sugar.

Rules that save a batch of frosting:

For sour cream, unsweetened coconut yogurt is the best swap in batters, at 1:1 by volume. It brings both acid and fat. Plain unsweetened soy yogurt is a leaner substitute that works in quick breads and cakes but not in anything relying on richness. Cashew cream blended with 1 teaspoon of lemon juice per cup is the best homemade version.

Once your frosting is stable, our guide on how to frost a cake covers the crumb coat and chilling steps that matter even more with a softer dairy free frosting.

Where dairy free is easy, and where it is genuinely hard

Some of this is straightforward. Some of it is not, and pretending otherwise wastes your ingredients.

Easy, often indistinguishable:

Genuinely hard, expect to lose something:

Milk allergy, labels, and cross-contamination

Milk is one of the major food allergens identified under US law, and milk allergy can be severe. If you are baking for someone with a milk allergy rather than a preference, the following matters more than any technique on this page.

"Non-dairy" on a label does not legally guarantee that a product is milk free. In the United States, the term "non-dairy" comes from dairy labeling standards, not from allergen law, and products labeled non-dairy can still legally contain milk-derived ingredients such as caseinate. Non-dairy coffee creamer is the classic example: many contain sodium caseinate, a milk protein.

Read the ingredient list and the "contains" statement every single time. Under the Food Allergen Labeling and Consumer Protection Act, packaged foods sold in the US must declare milk in plain language. The FDA's food allergen labeling guidance explains what manufacturers are required to disclose. Milk hides under names including casein, caseinate, whey, lactose, lactalbumin, ghee, curds and dairy solids.

Shared equipment is a real risk. "May contain milk" and "made on shared equipment" advisory statements are voluntary in the US, which cuts both ways. Their presence is a genuine warning. Their absence is not proof of anything. Dark chocolate, chocolate chips and baking chips are the most common surprise, since most are produced on lines that also run milk chocolate.

Your own kitchen counts too. A mixer bowl, a spatula, a pastry brush or a cooling rack that handled butter can carry enough milk protein to cause a reaction in a sensitive person. Wash with hot soapy water, and use separate equipment where you can.

The label and the manufacturer are the authority, not a recipe site. Formulations change without notice. If a label is unclear, call the manufacturer before you bake. If you are baking for someone else, tell them exactly which brands you used so they can make their own decision.

Worked example: converting a muffin recipe

Here is a standard muffin ingredient list in grams, then the dairy free version, so you can see the fat and water math in practice.

Original, 12 muffins:

Ingredient Weight
All-purpose flour, spoon-and-level 250 g, which is 2 cups at 125 g
Granulated sugar 150 g, which is 3/4 cup at 200 g per cup
Butter, melted 113 g, 1 stick
Whole milk 240 g, 1 cup
Large egg 50 g out of shell
Baking powder 10 g
Salt 4 g

Step 1, the butter. 113 g of butter is about 90 g fat and about 20 g water. Two options:

Step 2, the milk. 240 g of whole milk carries about 8 g of fat. Pick your plant milk and close the fat gap:

Step 3, add the butter water back if you used oil. Your liquid becomes 240 g plant milk plus 20 g, so 260 g total.

The finished dairy free version using oil and almond milk:

Ingredient Weight
All-purpose flour, spoon-and-level 250 g
Granulated sugar 150 g
Neutral oil 97 g, which is 90 g for the butter fat plus 7 g to match the milk fat
Unsweetened almond milk 260 g, which is 240 g plus the 20 g of butter water
Large egg 50 g
Baking powder 10 g
Salt 4 g

Bake at the temperature the original called for. Most muffins go at 350F, which is 177C or gas mark 4, and oil-based batters brown slightly less than butter ones, so judge doneness with a toothpick rather than color.

The result is a slightly moister, slightly more tender muffin, because oil stays liquid at room temperature while butter sets firm. That difference is real and most people prefer it in muffins.

Working in cups instead of grams? Our grams to cups converter handles the flour densities, which change depending on how you fill the cup: 125 g spoon-and-level, 145 g scoop-and-sweep, 115 g sifted.

If you are also baking gluten free, run one change at a time. Our gluten free baking substitutions guide covers the flour blends and binders, and stacking both swaps at once makes it impossible to tell which one caused a problem.

Frequently asked questions

What is the best dairy free milk for baking?

Unsweetened soy milk, in almost every case. It has 7 to 8 g of protein per cup, close to dairy milk, so it browns and sets the way the recipe expects. Oat milk is the best-tasting runner-up for muffins and cakes. Rice and almond milk are the thinnest and are best kept to recipes where milk is a minor ingredient.

Can I use oil instead of butter in baking?

Yes, in muffins, quick breads, brownies and oil-based cakes. Use 80% of the butter weight in oil, so 90 g of oil for 113 g of butter, then add about 20 g of extra liquid. Oil cannot replace butter in creamed cookies, pie crust, laminated pastry or buttercream, because liquid fat cannot hold air or form layers.

Why did my vegan buttercream turn to soup?

Almost always a tub spread instead of a block, or a low-fat vegan cream cheese. Tub spreads can be 40% water and cannot hold an emulsion once sugar goes in. Use foil-wrapped vegan butter blocks, keep everything cool, and add powdered sugar rather than more fat if it starts to loosen.

Does coconut cream really whip like heavy cream?

Yes, if you chill an unopened can of full-fat coconut milk for 12 to 24 hours and use only the solid layer that rises to the top. A 13.5 oz can gives about 1 cup of usable solid cream. Some brands emulsify so thoroughly that they never separate, so switch brands rather than technique if a can fails.

Is "non-dairy" the same as milk free?

No. In the US, "non-dairy" is a dairy labeling term, not an allergen term, and non-dairy products can legally contain milk-derived ingredients such as sodium caseinate. Non-dairy coffee creamer is the usual culprit. Read the ingredient list and the "contains" statement instead of trusting the front of the package.

How do I make dairy free buttermilk?

Stir 1 tablespoon of lemon juice or white vinegar into 1 cup, about 240 g, of unsweetened plant milk and let it sit 10 minutes. Soy milk visibly curdles because of its protein. Almond and oat milk stay thin, which is fine, since the acid still reacts with the baking soda.

Can I substitute coconut oil for butter one to one?

Not by weight. Coconut oil is 100% fat and butter is about 80%, so use 90 g of coconut oil for 113 g of butter, plus 20 g of extra liquid. Use refined coconut oil unless you want the coconut flavor, and expect a firmer, crisper result because coconut oil sets harder than butter.

What is hardest to make dairy free?

Laminated pastry, caramel, custard and meringue buttercream. All four rely on specific properties of butter or milk protein rather than on generic fat and liquid. You can make good dairy free versions of each, but they will be a different dessert rather than an exact copy, so plan for that rather than fighting it.


Related guides: Baking substitutions chart | Ingredient weights chart | Butter converter | Heavy cream substitute | Buttermilk substitute | Sour cream substitute | Egg substitutes in baking | Gluten free baking substitutions | How to make whipped cream

Get the exact figure for your project with the free Baking Substitutions Chart.

More guides

See all