Butter does different things in different baked goods. Here's how to replace it without losing what makes your recipe work.
Butter is approximately 80% fat, 16–17% water, and 3–4% milk solids. In baking, each of these components plays a distinct role. The fat tenderises gluten and carries flavour. The water creates steam during baking, contributing to lift. The milk solids contribute flavour and browning through the Maillard reaction.
The temperature at which butter is used matters enormously. Cold butter (for pastry and biscuits) creates steam pockets that produce flakiness. Room-temperature butter (creamed with sugar) traps air to create lift in cakes. Melted butter (brownies, some cookies) produces denser, fudgier results.
The most reliable 1:1 substitute for any baking application. Brands like Earth Balance, Miyoko's, and Violife are formulated to behave identically to dairy butter in baking — they cream, melt, and brown in the same way. Use the same quantity as butter.
Refined coconut oil has a neutral flavour (unlike unrefined/virgin, which tastes of coconut) and is solid at room temperature, making it suitable for creaming and pastry applications. Use it at a 1:1 ratio. Note that baked goods may have a slightly different texture — often crispier in cookies and slightly denser in cakes. *Use refined (not virgin) for neutral flavour*
Olive oil works well in savoury baking and in cakes and quick breads where its subtle flavour is complementary (olive oil cakes, lemon cakes, banana bread). It cannot be used in applications requiring solid fat (pastry, creaming). Use less than butter — oil is 100% fat while butter is 80%, so use 3/4 cup oil per 1 cup butter. *Not suitable for: Pastry, any recipe requiring creaming*
Neutral flavour, high smoke point, healthy fat profile. Behaves similarly to other neutral oils in baking. Same 3/4 cup ratio as olive oil.
Applesauce can replace up to half the butter in most recipes. It adds moisture and mild sweetness but lacks fat, so using more than half results in gummy, dense baked goods. Best in recipes where some fat reduction is acceptable — muffins, quick breads, soft cookies.
Similar to applesauce — adds moisture and some structure but lacks the fat needed for full buttery results. Replace up to half the butter in cakes, muffins, and quick breads. The acidity can also boost leavening.
Ghee is clarified butter with the water and milk solids removed, leaving pure butterfat. It has a higher smoke point and a nuttier, richer flavour. Use 1:1 in any recipe. Note that the absence of water means baked goods may be slightly denser and crispier.
Dairy-free / vegan: Vegan butter, coconut oil, olive oil, avocado oil, and applesauce are all dairy-free. Keto: Coconut oil, ghee, and avocado oil maintain the high-fat profile suited to keto baking. Applesauce and Greek yogurt add carbs and are not keto-friendly. Heart health: Olive oil and avocado oil replace saturated fat with heart-healthy monounsaturated fats. Applesauce and Greek yogurt reduce total fat significantly.