Substitutes for Margarine
Best match: Butter, rated Perfect. Use 1 cup butter = 1 cup stick margarine. The other 3 options below are ranked by how close they get, with notes on where each one works.
| Substitute | Ratio | Rating |
|---|---|---|
| Butter | 1 cup butter = 1 cup stick margarine | 🟢 Perfect |
| Vegan Butter | 1 cup vegan butter sticks = 1 cup margarine | 🟢 Perfect |
| Coconut Oil | ¾ cup + 2 tbsp coconut oil = 1 cup margarine | 🟡 Good |
| Vegetable Oil | ¾ cup vegetable oil = 1 cup melted margarine | 🟡 Good |
Related guide: Butter, oil or shortening: how to swap fats in baking
1. Butter
Ratio: 1 cup butter = 1 cup stick margarine
Works well in: cookies, cakes, pastry, frosting, cooking
Stick margarine was made to replace butter, so butter swaps straight back with better flavor. Soft tub margarine and light spreads contain more water: don't bake with them.
Out of butter too? See substitutes for butter.
2. Vegan Butter
Ratio: 1 cup vegan butter sticks = 1 cup margarine
Works well in: dairy-free baking, cookies, frosting
Most margarine is already dairy-free, but check the label: some contain whey or buttermilk. Use sticks rather than tubs for baking.
3. Coconut Oil
Ratio: ¾ cup + 2 tbsp coconut oil = 1 cup margarine
Works well in: cookies, muffins, vegan baking
Avoid in: frosting, pastry in a warm kitchen
Coconut oil is pure fat while margarine is about 80% fat, so use a little less. Use it solid where the recipe creams margarine, melted where it melts it.
Out of coconut oil too? See substitutes for coconut oil.
4. Vegetable Oil
Ratio: ¾ cup vegetable oil = 1 cup melted margarine
Works well in: muffins, quick breads, brownies, cooking
Avoid in: cookies that need creaming, pastry, frosting
Only works where the recipe melts the margarine. Oil can't be creamed with sugar, so it won't trap air in cakes or cookies.
Out of vegetable oil too? See substitutes for vegetable oil.