Best Substitutes for Butter
The best substitute for butter is refined coconut oil — use it in a 1:1 ratio for most baking and cooking. For liquid oil swaps, vegetable oil or olive oil work well at ¾ cup per 1 cup of butter, depending on whether you're cooking sweet or savoury.
| Substitute | Ratio | Best for | Doesn't work for |
|---|
| Refined coconut oil | 1:1 | Cakes, muffins, cookies, sautéing | Pastry, buttercream frosting |
| Vegetable oil | ¾ cup per 1 cup butter | Cakes, quick breads, sautéing | Pastry, buttercream, spreading |
| Olive oil | ¾ cup per 1 cup butter | Savoury baking, roasting, sautéing | Sweet baking, pastry |
Butter does a lot of heavy lifting in the kitchen — it adds richness, flavour, and structure to everything from cakes and pastry to sauces and sautéed vegetables. Running out (or needing a dairy-free option) doesn't have to derail your cooking, but not every substitute behaves the same way. The key is matching the right swap to your specific recipe. A liquid oil that works beautifully in a banana bread will completely fall apart in a shortcrust pastry. Knowing the difference saves your dish.
Can I use coconut oil instead of butter?
Yes — refined coconut oil is one of the most reliable butter substitutes available. Because it's solid at room temperature like butter, it behaves similarly in baked goods such as cakes, muffins, and cookies. Use it at a 1:1 ratio. Always choose refined coconut oil over unrefined (virgin) varieties — unrefined has a noticeable coconut flavour that can come through in your food, while refined is much more neutral. Where it falls short is pastry and buttercream frosting, where it produces a soft, oily texture that won't hold its shape.
Can I use vegetable oil instead of butter?
Vegetable oil is the easiest pantry swap since most home cooks already have it on hand. Use ¾ cup of vegetable oil for every 1 cup of butter. It works well in cakes and quick breads, keeping them moist with a neutral flavour that won't compete with other ingredients. Because it's a liquid fat, it won't provide the same structure or richness as butter. Avoid it for anything needing a solid fat — pastry, buttercream, or spreading on toast simply won't work.
Is olive oil a good butter substitute for savoury cooking?
Olive oil is a fantastic choice for sautéing, roasting, and savoury baking. Use ¾ cup of olive oil for every 1 cup of butter. Stick to light or mild olive oil rather than a robust extra virgin variety — strong olive oil can overpower more delicate dishes. It blends beautifully into Mediterranean-style recipes and works well in savoury bakes like focaccia, savoury scones, or cornbread. It's not suitable for sweet baking or pastry, where the flavour clashes and the liquid consistency causes structural problems.
What should you NOT use as a substitute for butter?
None of these three substitutes will save you in pastry or buttercream frosting. Pastry relies on solid fat to create flaky, distinct layers — liquid oils collapse that structure entirely, and coconut oil, while solid, changes the dough in ways that are difficult to recover from. Buttercream made with oil turns out too soft and greasy to pipe or hold a shape. For these applications, it's worth tracking down real butter or a quality vegan butter block designed to behave like the real thing.
The bottom line
is the most versatile butter substitute, working at a straightforward for baking and general cooking. and both step in well at — vegetable oil for sweet baking, olive oil for savoury dishes. None of these substitutes are suitable for pastry or buttercream, where structure depends on solid fat behaving in a very specific way.
Substitution ratios are informed by established culinary references including King Arthur Baking and Serious Eats.