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.
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.
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.
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:
After troubleshooting hundreds of dairy-free recipe attempts (mine and from our community), these are the mistakes I see over and over:
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 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.
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.
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.
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.
Learn the science behind dairy-free and gluten-free baking with step-by-step video lessons from our expert team.
Browse Courses