Dairy-Free Substitution Guide
Guide

Dairy-Free Substitution Guide: Exact Ratios for Every Ingredient

Select any dairy ingredient and get 3-5 tested alternatives with precise ratios, best uses, and flavor notes — built for gluten-free and dairy-free baking.

From One Dairy-Free Baker to Another

I didn't go dairy-free by choice — my gut made that decision for me. After years of bloating and brain fog, cutting dairy was the single biggest change that helped me feel like a functioning human again. But then I had to figure out how to actually bake without it.

The internet told me to "just use almond milk." That's not helpful when you're staring at a recipe that calls for buttermilk, cream cheese, and heavy cream in the same paragraph. Every dairy ingredient behaves differently — butter adds structure and fat, yogurt adds acidity and moisture, cream adds richness — so the swap depends entirely on what role that ingredient plays in your recipe.

I've spent six years testing every plant-based alternative I could find across hundreds of recipes on this site. Some of those early experiments were disasters — coconut cream in a lemon cake that tasted like a tropical vacation nobody asked for, cashew cheese that broke into a grainy puddle in the oven. But the failures taught me what works, and more importantly, why it works.

This guide isn't a generic substitution chart. Every ratio and recommendation below comes from actual recipes I've baked, photographed, and published on Bloom Cooking. I've noted which swaps work best for which applications because a butter substitute that's perfect for cookies might be terrible in puff pastry. If you want to dive deeper into the science behind these swaps, check out our baking courses where I walk through the food chemistry in real time.

🥛

Find Your Dairy-Free Substitute

How Dairy-Free Substitutions Actually Work

Swapping dairy isn't just about matching liquid-for-liquid or fat-for-fat. Each dairy ingredient serves a specific function in a recipe — and the best substitute depends on which function matters most. Here's a framework that'll save you from a lot of flat cakes and broken sauces.

The Four Roles Dairy Plays in Baking

  • Fat and richness: Butter, cream, and whole milk add fat that keeps baked goods tender and moist. When substituting, you need a fat source with similar melting behavior. Coconut oil and vegan butter handle this well because they're solid at room temperature and melt during baking — just like dairy butter.
  • Moisture: Milk and yogurt provide liquid that hydrates flour and activates leaveners. Most plant milks swap 1:1 for this reason. The main variable is thickness — if a recipe needs the viscosity of whole milk, oat milk is your best bet. For skim milk consistency, rice milk or almond milk work better.
  • Acidity: Buttermilk, yogurt, and sour cream aren't just adding flavor — their acidity reacts with baking soda to create lift. To replicate this, pair a plant milk with an acid (lemon juice or vinegar), or use naturally tangy coconut yogurt.
  • Protein and structure: Milk proteins contribute to browning (the Maillard reaction) and help set custards and puddings. Soy milk has the most protein among plant milks and gives the best browning. For custards, you'll often need a starch thickener alongside your milk substitute.

Plant Milk Cheat Sheet for Baking

Not all plant milks are created equal, and grabbing whatever's in the fridge can throw off a recipe. Here's how they compare for baking specifically:

  • Oat milk — closest to whole milk in body and flavor. Neutral taste, good fat content, great for anything. Our default recommendation.
  • Soy milk — highest protein, best for custards, puddings, and anything that needs browning. Slightly beany flavor in some brands.
  • Coconut milk (carton) — lighter than canned, works for most baking. Subtle coconut undertone.
  • Coconut milk (canned, full-fat) — thick and rich. Use for cream substitutes, not as a milk replacement.
  • Almond milk — thin and watery. Fine for pancakes and light batters, not ideal for rich cakes.
  • Cashew milk — creamy with a neutral flavor. Works well in sauces and soups. A bit thin for heavy baking.
  • Rice milk — thinnest option, very neutral. Good for light recipes where milk flavor shouldn't dominate.

Common Mistakes That Ruin Dairy-Free Baking

After troubleshooting hundreds of dairy-free recipe attempts (mine and from our community), these are the mistakes I see over and over:

  • Using water-based subs for fat-based ingredients. Almond milk is not a substitute for heavy cream. If the original ingredient is high-fat, your substitute needs fat too — otherwise your texture will be off.
  • Forgetting about temperature. Coconut oil is solid below 76°F and liquid above it. If a recipe says "cold butter, cut into cubes," you need cold solid coconut oil or chilled vegan butter — not melted coconut oil, which will give you a completely different result.
  • Skipping the acid when replacing buttermilk. If you just use plain oat milk where a recipe calls for buttermilk, you'll lose the acid reaction with baking soda and get a denser, flatter bake. Always add lemon juice or vinegar.
  • Over-mixing with vegan butter. Vegan butters have slightly less water content than dairy butter, so they can make batters dense if over-mixed. Be gentle — fold, don't beat.

Dairy-Free Baking by Recipe Type

Cakes and Cupcakes

Cakes are the most forgiving category for dairy-free swaps. Oat milk replaces milk 1:1, vegan butter replaces butter 1:1, and coconut yogurt replaces yogurt 1:1. The results are nearly indistinguishable from the dairy version. For extra-moist cakes, try replacing half the butter with unsweetened applesauce — it adds moisture without making things heavy. Browse our dairy-free cake recipes to see these swaps in action.

Cookies and Bars

Cookies depend heavily on butter for spread and texture. Vegan butter works best here — coconut oil will make cookies spread more (which is fine for thin, crispy cookies but bad for thick, chewy ones). For chewy cookies, chill the vegan butter before creaming. If a recipe calls for brown butter, you can brown vegan butter the same way — it won't be identical but it adds a lovely nutty depth.

Breads and Muffins

Quick breads and muffins are easy swaps. The milk is just providing moisture, and the butter or oil is providing fat — both swap cleanly with plant alternatives. For yeast breads that call for milk (like brioche), soy milk works best because the protein helps with gluten structure. For our gluten-free yeast breads, check our flour calculator for the right blend.

Sauces and Cream-Based Dishes

Savory dishes that rely on cream or cheese are trickier. For cream sauces, cashew cream is the gold standard — blend soaked raw cashews with water until silky smooth. For cheese sauces (like mac and cheese), a combination of cashews, nutritional yeast, potato starch, and a bit of mustard gives you the closest thing to the real deal. Our recipe scaler can help you adjust portions.

Dairy-Free Recipes to Try

Frequently Asked Questions

For most baking, vegan butter (like Miyoko's or Earth Balance) works as a direct 1:1 swap. It behaves almost identically to dairy butter in cookies, cakes, and pie crusts. Coconut oil is another strong option — use refined coconut oil if you don't want coconut flavor. For frostings and anything where you cream butter with sugar, stick with vegan butter rather than oil-based subs.

In almost every case, yes. Oat milk has the closest consistency and neutral flavor to cow's milk among plant milks. Use it 1:1. The one exception is recipes that rely on milk proteins for structure (like certain custards) — in those cases, soy milk performs better because it has more protein.

Add 1 tablespoon of lemon juice or white vinegar to 1 cup of plant milk (oat or soy work best). Stir, let it sit for 5-10 minutes until it curdles slightly, and use it exactly like buttermilk. This works in pancakes, biscuits, cakes, and quick breads.

Full-fat coconut cream (the thick part from a chilled can of coconut milk) is the most reliable swap for heavy cream. It whips, thickens sauces, and adds richness just like dairy cream. For savory dishes where you want a neutral flavor, cashew cream (blended soaked cashews with water) works beautifully.

It depends on the application. For melting on pizza or in casseroles, brands like Violife and Miyoko's have improved dramatically. For cheesecake, cashew-based recipes often taste better than store-bought dairy-free cream cheese. For a cheese sauce (like mac and cheese), making your own from cashews, nutritional yeast, and potato starch gives the best texture by far.

Yes. Every substitute we recommend in this guide is naturally gluten-free. However, always check labels on store-bought products — some flavored plant milks, vegan butters, or dairy-free cheeses may contain gluten-based additives. When in doubt, look for a certified gluten-free label.

Coconut yogurt is our top pick for baking — it has the right acidity and fat content to keep baked goods moist. Soy yogurt is a close second and works well in muffins and cakes. Avoid almond milk yogurt for baking as it tends to be too thin and can make batters watery.

Go Deeper with Our Courses

Learn the science behind dairy-free and gluten-free baking with step-by-step video lessons from our expert team.

Browse Courses