Swapping margarine for butter in baking is a straightforward substitution that works well in most recipes, especially when you need a dairy-free option or simply ran out of butter. Margarine contains about 80% fat, similar to butter, so it can mimic butter's role in cookies, cakes, and quick breads with only minor adjustments. The key is choosing the right type of margarine (stick, not tub) and understanding how it affects texture and flavor.
Ingredients
- 1 cup (2 sticks) unsalted butter – replaced with 1 cup (2 sticks) margarine (stick form, at least 80% fat)
- For recipes that call for salt: reduce added salt by 1/4 teaspoon per 1/2 cup butter if using salted margarine
- Optional: 1/4 teaspoon salt per 1 cup margarine if using unsalted margarine and recipe calls for salted butter
Instructions
- Check the margarine label: choose a stick margarine with at least 80% fat (like a typical baking stick). Avoid low-fat or whipped spreads, as they contain more water and will alter the recipe.
- If the recipe calls for unsalted butter and you have salted margarine, omit any additional salt in the recipe, or reduce it by 1/4 teaspoon per 1/2 cup of butter replaced.
- Soften the margarine to room temperature just as you would butter. Leave it on the counter for 30–45 minutes until it yields gently to pressure.
- Use the same amount of margarine as butter by weight or volume. For example, 1 cup of butter equals 1 cup of margarine (2 sticks).
- Cream the margarine with sugar exactly as you would butter. Beat until light and fluffy, about 2–3 minutes on medium speed.
- Proceed with the rest of the recipe as written, but watch the baking time—margarine can brown slightly faster in some ovens, so start checking for doneness 2–3 minutes early.
- For cookies, chill the dough for 30 minutes before baking if it seems too soft; margarine can be softer than butter at room temperature.
Tips
- Use stick margarine, not tub. Tub margarines often have lower fat and higher water content, which can make baked goods spread too much or become gummy.
- Adjust salt if needed. If your margarine is salted and the recipe uses unsalted butter, reduce the added salt by about 1/4 teaspoon per 1/2 cup of butter. If your margarine is unsalted and the recipe uses salted butter, add 1/4 teaspoon salt per 1/2 cup.
- Expect a slightly different texture. Margarine has a higher melting point than butter in some formulations, so cookies may spread less. Also, margarine lacks butter's milk solids, so flavor will be less rich—consider adding a splash of vanilla or a pinch of butter extract if you miss that taste.
- Don't substitute for pie crusts or laminated doughs. Margarine's different fat structure can make pie crusts less flaky and croissants less airy. For those, use a baking-specific shortening or a high-fat margarine designed for pastry.
Serving Suggestions
Margarine-baked goods are best served slightly warm to bring out their texture. Pair cookies with a glass of cold milk, serve cakes with fresh fruit or a light glaze, and enjoy quick breads toasted with a dab of jam. Because margarine is dairy-free (check the label for milk derivatives), these treats work well for those avoiding dairy.
Variations
- Vegan margarine: Use a plant-based stick margarine that contains no dairy. It behaves similarly to regular margarine.
- Half-and-half swap: For a compromise in flavor, replace half the butter with margarine and keep the rest as butter. This works well in cakes and muffins.
- Brown butter substitute: You cannot brown margarine the same way as butter because it lacks milk solids. Instead, toast the margarine gently in a pan until it turns light golden (be careful not to burn), then cool before using—this adds a nutty note.
- For cookies: If you want chewier cookies, use a margarine with a higher fat content (like 80%) and chill the dough before baking.
Storage and Reheating
Baked goods made with margarine store the same as butter-based ones. Keep cookies and bars in an airtight container at room temperature for up to 1 week. Cakes and quick breads can be wrapped tightly and kept at room temperature for 2–3 days, or refrigerated for up to 1 week. For longer storage, freeze baked goods for up to 3 months—wrap them in plastic wrap and then foil, and thaw at room temperature for 1–2 hours. Reheat individual portions in a 300°F oven for 5–7 minutes to refresh crispness, or microwave for 10–15 seconds for a softer texture.
Frequently Asked Questions
Can I substitute margarine for butter in any baking recipe?
Yes, in most recipes like cookies, cakes, muffins, and brownies, you can substitute equal amounts of stick margarine for butter. However, for recipes that rely heavily on butter's unique properties—such as flaky pie crusts, croissants, or shortbread where the goal is a crumbly texture—margarine may not give the same result. In those cases, use a high-fat margarine or a pastry shortening.
Should I use salted or unsalted margarine?
It depends on what the recipe calls for. If the recipe uses unsalted butter, use unsalted margarine to control salt. If you only have salted margarine, reduce the added salt in the recipe by about 1/4 teaspoon per 1/2 cup of butter. If the recipe calls for salted butter and you have unsalted margarine, add 1/4 teaspoon of salt per 1/2 cup of margarine.
Why do my cookies spread more with margarine?
Some margarines have a lower melting point and higher water content, causing cookies to spread more. To prevent this, use stick margarine with at least 80% fat, chill the dough for 30 minutes before baking, and make sure your oven is fully preheated. Also, avoid using tub margarine, which is too soft.
Can I use margarine in frosting or buttercream?
Yes, you can make a buttercream-style frosting with margarine. Use stick margarine that is softened but still cool. Beat it with powdered sugar and a little milk or cream. The flavor will be less rich than butter, so you might add a pinch of salt or vanilla extract to enhance the taste.
Does margarine change the baking time?
Usually not significantly, but margarine can brown faster in some ovens because it contains more water and less milk solids. Check your baked goods 2–3 minutes before the recipe's suggested time. If the top is browning too quickly, loosely cover with foil.
Is margarine healthier than butter for baking?
Margarine is often lower in saturated fat than butter, but it can contain trans fats (though most modern stick margarines are trans-fat-free). For baking, the health impact is minimal since baked goods are treats. If you're looking for a dairy-free option, margarine works well; if you're concerned about fats, consider using a plant-based oil like coconut oil, but that will change the texture.