PantryMetric

Dairy & Eggs

Margarine

Margarine was invented in 1869 by French chemist Hippolyte Mège-Mouriès in response to a French government prize for an affordable butter substitute, originally based on beef tallow before shifting almost entirely to vegetable oils in modern formulations.

Stick and tub margarine aren't interchangeable in baking despite sharing a name — stick margarine is firmer, closer to butter's solid structure needed for creaming, while tub margarine is whipped softer with more air and water specifically for spreading.

Because formulations vary more between brands than butter's fairly standardized composition, checking a specific product's label matters more here than with most dairy products, especially for anyone substituting it into a recipe that depends on a particular fat structure.

Margarine's original formulations, and most that followed for over a century, relied on partial hydrogenation to keep vegetable oil solid at room temperature, a process that also created trans fats — the same trans fats the FDA determined were no longer "generally recognized as safe" in a 2015 ruling that effectively forced US margarine makers to reformulate using interesterified oils or oil blends that stay solid without hydrogenation's trans-fat byproduct.

US federal standards actually define what can legally be called "margarine": a product needs to be at least 80% fat, the same threshold butter must meet, which is why many lower-fat tubs sold beside it in the dairy case are labeled "spread" or "buttery spread" instead — a lighter product that behaves differently in baking precisely because it falls under the fat threshold.

Kosher dietary law's separation of meat and dairy is one of the more specific reasons margarine has stayed relevant even as butter's reputation recovered from the mid-20th-century trans-fat scare — a dairy-free, pareve margarine lets a kosher kitchen serve a buttery-tasting sauce or baked good alongside a meat meal in a way real butter never could.

Margarine's water content, which varies noticeably between brands and between stick and tub formulations, is a real variable in how a cookie spreads during baking — a margarine with more water than a given butter substitution assumes can leave a batch thinner and flatter than the same recipe made with butter, which is why a first attempt swapping margarine into an unfamiliar cookie recipe is worth watching closely rather than assuming an identical result.

Choosing between margarine and butter for a specific dish usually comes down to weighing flavor against a handful of practical advantages margarine still holds even now that trans fats are mostly gone from the shelf: it's generally cheaper, keeps at room temperature longer without turning rancid, and, for a strict vegan or a household avoiding dairy for other reasons, a plant-oil-based margarine offers a workable stand-in for buttery flavor and function that a straightforward oil substitution often can't fully replicate in a baked good built around butter's specific creaming behavior. That combination of price, shelf stability, and dietary flexibility is really why margarine has held onto a place in the dairy case for well over a century, even as its reputation has swung between "healthier than butter" and "worse than butter" more than once as nutrition science around fats has evolved.

Frequently asked questions

Can margarine always replace butter?

By weight and volume, generally yes, though the flavor and browning result differs, since margarine lacks butter's dairy richness.

Does it matter whether a recipe calls for stick or tub margarine?

No — stick margarine is firmer and closer to butter's texture for baking, while tub margarine is whipped softer and generally shouldn't substitute for it.

What was margarine originally made from?

Beef tallow, when it was invented in 1869, though modern margarine has shifted almost entirely to vegetable oil bases.

Does margarine contain dairy?

Most standard margarine is dairy-free or contains only minor dairy derivatives, though checking a specific label matters since formulations vary.