Margarine is mostly vegetable oil and water, turned into a spreadable solid by a series of factory steps that firm up the fat and lock the water inside it. The trickiest part isn’t making oil solid. It’s making it solid in the right way: firm in the fridge, soft on toast, and melting in the mouth. The method that gave margarine its bad name for heart health is also no longer how most of it is made.
Where Margarine Comes From and What It Starts As
The first margarine, called oleomargarine, was made by a French chemist from beef tallow.1Upfield Corporate. The surprising evolution of plant-based margarine Shortages of beef fat in the early 1900s pushed makers toward vegetable oils.1Upfield Corporate. The surprising evolution of plant-based margarine New ways to harden oils let plant oils behave more like solid animal fat, so by the 1950s most margarine was made mainly from plant oils.1Upfield Corporate. The surprising evolution of plant-based margarine
Soybean, rapeseed (canola), sunflower, palm and coconut oils are all common. Liquid oils like soybean and sunflower give softness, while palm and coconut supply naturally firmer fat. The ingredient list on your tub shows which ones it uses.
Crude oil pressed from seeds contains gums, free acids, color and strong odors. So it is degummed, neutralized, bleached and deodorized with steam under vacuum to make it bland and clear.2Journal of the American Oil Chemists’ Society. Degumming, refining, bleaching, and deodorization theory Degumming takes out sticky plant compounds that cloud the oil. Neutralizing removes free acids, which taste sour and make the oil spoil faster. Bleaching uses clay-like materials that absorb color, and deodorizing strips out smells so the spread tastes clean. The oil that enters a margarine plant tastes of almost nothing.
Hardening Oil With Hydrogen and the Trans Fat Problem
Liquid oils have kinks in their fat molecules that keep the molecules from packing tightly. Hydrogenation adds hydrogen at those kinks, removing some or all of them.3AOCS. Hydrogenation in Practice The molecules straighten and stack, and liquid oil becomes solid fat.4OFI Magazine. Catalysts in the Hydrogenation of Edible Oils A metal catalyst, usually nickel, speeds the reaction under heat and pressure.
When hardening stops partway, some of the remaining kinks flip into a different shape called trans fats.5Journal of the American Oil Chemists’ Society. Correlations for trans‐isomer formation during partial hydrogenation of oils and fats How much trans fat forms depends on how far the hardening goes and how the process is run.5Journal of the American Oil Chemists’ Society. Correlations for trans‐isomer formation during partial hydrogenation of oils and fats Older stick margarines made with partially hydrogenated oil could carry substantial amounts.
A trans bond leaves the fat chain nearly straight, so the molecule behaves more like a saturated fat. That is why a partly hardened oil firms up: some kinks are removed and some are flipped into the straighter shape, and both help the molecules stack.
Trans fats from partial hydrogenation are linked to clogged arteries, heart disease and type 2 diabetes.6PubMed Central. Technological innovations in margarine production: Current trends and future perspectives on trans-fat removal and saturated fat replacement The US banned added partially hydrogenated oils in foods in 2018. Fully hydrogenated oil, though, has no kinks left and so contains essentially no trans fat.6PubMed Central. Technological innovations in margarine production: Current trends and future perspectives on trans-fat removal and saturated fat replacement Newer hydrogenation methods can also harden oil without forming trans fats.6PubMed Central. Technological innovations in margarine production: Current trends and future perspectives on trans-fat removal and saturated fat replacement
Partial hardening leaves a soft, buttery fat. Full hardening makes a hard, waxy fat too firm to spread alone, so it is now blended with liquid oil instead.
On a label, look for “partially hydrogenated oil” in the ingredients, especially on older or imported products. “Fully hydrogenated” is a different, trans-free ingredient. In the US, a label can say 0 g trans fat if a serving has under half a gram, so the ingredient list is the more reliable check.
How Modern Margarine Gets Firm Without Trans Fats
Makers mix a very hard fat, such as palm stearin or fully hydrogenated soybean oil, with liquid soybean oil.7Journal of the American Oil Chemists’ Society. Physical and chemical properties of trans‐free fats produced by chemical interesterification of vegetable oil blends A chemical reaction called interesterification then shuffles fatty acids between the fats in the blend.7Journal of the American Oil Chemists’ Society. Physical and chemical properties of trans‐free fats produced by chemical interesterification of vegetable oil blends The result softens and melts somewhere between its hard and liquid ingredients, without creating trans fats.7Journal of the American Oil Chemists’ Society. Physical and chemical properties of trans‐free fats produced by chemical interesterification of vegetable oil blends Ratios from about 10 parts hard fat to 90 liquid up to 75 to 25 let makers tune firmness.7Journal of the American Oil Chemists’ Society. Physical and chemical properties of trans‐free fats produced by chemical interesterification of vegetable oil blends
Every fat molecule holds three fatty acids, some hard-type and some soft-type. In a simple blend, the hard-type acids stay on separate molecules from the soft ones, which gives a grainy, uneven spread. The reaction moves fatty acids around so each molecule carries a mixture, giving a smooth spread that holds its shape yet softens on toast.
Fractionation takes a different route. Palm oil is naturally semi-solid, which makes it useful for firming spreads.8European Journal of Lipid Science and Technology. A Review on the Fundamentals of Palm Oil Fractionation: Processing Conditions and Seeding Agents Cooling it slowly separates a liquid part, olein, from a solid part, stearin.8European Journal of Lipid Science and Technology. A Review on the Fundamentals of Palm Oil Fractionation: Processing Conditions and Seeding Agents Each part suits a different food, including margarine, frying oil and chocolate fat substitutes.8European Journal of Lipid Science and Technology. A Review on the Fundamentals of Palm Oil Fractionation: Processing Conditions and Seeding Agents
There is a trade-off. Trans-free methods often rely on saturated fats like palm or fully hardened oil, so trans-free does not automatically mean low in saturated fat. The saturated fat line on the label tells you how much a product has. Newer approaches such as oleogels use plant gelling agents to hold liquid oil in a solid-like web, aiming to cut both trans and saturated fat.
Mixing Oil and Water Into a Stable Spread
Margarine is a water-in-oil emulsion: tiny water droplets suspended in fat. Water and fat repel each other, so if you simply stir them together the droplets bump, merge, and sink or rise into separate layers. Makers add an emulsifier, an ingredient that sits where water meets oil and keeps droplets apart. It has one end that likes water and one that likes fat, so it lines up on each droplet’s surface, and that coating keeps neighboring droplets from fusing. Common ones, monoglycerides and lecithin, appear on ingredient lists.
Mayonnaise and milk are the reverse, oil-in-water, and feel wet and pourable. In margarine, water droplets sit inside a continuous fat, which is why it holds a shape.
The water side usually holds water or skim milk, salt, and sometimes whey for flavor. Preservatives like potassium sorbate may be added, and water-soluble flavorings go in here before mixing.
Raising the emulsifier level shrinks the water droplets and makes the spread more stable.9PubMed. Development and characterization of structured water-in-oil emulsions with ethyl cellulose oleogels In a coconut-oil spread, doubling the emulsifier from 1% to 2% kept water locked in even through freezing and thawing.10Journal of the American Oil Chemists’ Society. Margarine‐Like Emulsions Prepared with Coconut and Palm Oils: Analysis of Microstructure and Freeze–Thaw Stability by Differential Scanning Calorimetry Firmer fat helps too, because it crystallizes fast and pins water droplets in place.10Journal of the American Oil Chemists’ Society. Margarine‐Like Emulsions Prepared with Coconut and Palm Oils: Analysis of Microstructure and Freeze–Thaw Stability by Differential Scanning Calorimetry
At home, a broken emulsion shows up as beads of water or a watery layer. Repeated warming and chilling, like leaving a tub out on the counter, speeds this. It’s usually safe, but the texture suffers.
Chilling and Scraping Into a Smooth Solid
The warm emulsion is pumped through a chilled tube.11Computer Aided Chemical Engineering. Dynamic modelling of the margarine production process Blades rotate inside and constantly scrape crystallized fat off the cold wall.12Journal of the American Oil Chemists’ Society. A review of the use of scraped surface heat exchangers to crystallize fats and fat‐based products That keeps cooling fast and stops crystals from building up.12Journal of the American Oil Chemists’ Society. A review of the use of scraped surface heat exchangers to crystallize fats and fat‐based products Most of the spread’s structure forms inside that barrel.11Computer Aided Chemical Engineering. Dynamic modelling of the margarine production process
Cooling the emulsion very fast makes many tiny crystals form at once rather than a few large ones. Those small crystals form a network that traps the liquid oil and water droplets, so the whole mass behaves like a solid.
Fats can crystallize into several forms, and small crystals give a smooth feel. Makers aim for a fine-crystal form, which spreadable trans-free blends do form.13Europe PMC / Journal of Food Engineering. Rheological and crystalline properties of trans-free model fat blends as affected by the length of fatty acid chains The type of saturated fat used also changes how hard the finished spread is.13Europe PMC / Journal of Food Engineering. Rheological and crystalline properties of trans-free model fat blends as affected by the length of fatty acid chains
After chilling, the mix is worked in a pin machine to soften it. Tub margarine is filled soft, while stick margarine is extruded firmer. Products often rest in cool storage so the crystals settle.
The same crystals explain why margarine can turn grainy at home. Melting and re-chilling lets small crystals grow large, which gives a sandy texture. Keeping it steadily cold prevents this.
Vitamins, Antioxidants, and Keeping It Fresh
Margarine mainly spoils when its fats react with oxygen and go rancid, so antioxidants are added to slow this.14LWT. Effectiveness of natural antioxidants on oxidative stability of margarines Rosemary extract can raise resistance to rancidity by about 73%.14LWT. Effectiveness of natural antioxidants on oxidative stability of margarines Some additions backfire, though: a common vitamin E form sped rancidity.15PubMed Central. Ingredient-Dependent Extent of Lipid Oxidation in Margarine Green tea extract protected margarine alone but worked worse combined with citric acid, beta-carotene or salt.15PubMed Central. Ingredient-Dependent Extent of Lipid Oxidation in Margarine
A spread rich in liquid plant oils therefore depends more on antioxidants than a very hard fat would. Rancid spread is unpleasant rather than a typical source of food poisoning, but it is a sign the product is past its best and should be thrown out. An off, paint-like smell gives it away.
TBHQ is a widely used synthetic antioxidant, while natural options like rosemary appear on “clean label” products. Keeping margarine covered and refrigerated limits air and light, and a clean knife keeps crumbs from spoiling it.
Many brands also add vitamins A and D, often by law or custom. Eating 15 g a day of margarine fortified with vitamins C and E and carotenes raised those levels in blood within four weeks.16PubMed. Antioxidant fortified margarine increases the antioxidant status
Margarine Versus Butter in the Kitchen
Butter browns and tastes nutty because its milk proteins and sugar react with heat.17The Conversation. Butter or margarine? A food scientist describes their subtle chemical deviations and how they can affect your baked goods Margarine has little or no milk sugar and protein, so it browns less and gives less aroma.17The Conversation. Butter or margarine? A food scientist describes their subtle chemical deviations and how they can affect your baked goods
In pastry, butter’s water turns to steam that separates the layers, while margarine’s varying water content does this less well.17The Conversation. Butter or margarine? A food scientist describes their subtle chemical deviations and how they can affect your baked goods Margarine is very consistent, though, and melts in a controlled way.17The Conversation. Butter or margarine? A food scientist describes their subtle chemical deviations and how they can affect your baked goods Butter is about the same in water from one brand to the next, so recipes written for it work predictably. Spreads in tubs can differ widely in water and fat, so the same measured amount can add a different amount of liquid to dough. Extra water makes cookies spread thin and can make cakes and pastry heavier or tougher.
For baking, use stick margarine rather than soft tub spread. Low-fat spreads carry extra water and can ruin cookies. Butter wins for laminated pastry and browned flavor.
Margarine or Spread and the Environmental Question
Under international food standards, margarine must contain more than 80 g fat per 100 g.18PubMed Central. Standards and labeling of milk fat and spread products in different countries Products with less fat are called fat spreads.18PubMed Central. Standards and labeling of milk fat and spread products in different countries Milk fat may make up no more than 3% of the fat.18PubMed Central. Standards and labeling of milk fat and spread products in different countries Some countries use their own rules, so labels vary.
“Spread” or “light” usually means more water and less fat, so a spoonful gives fewer calories. These are fine on toast but poor for baking. Because the extra water has to be held in by more emulsifier and thickeners, a lower-fat product often has a longer ingredient list.
Plant-based spreads generally have lower climate, land and water impact than butter.19The International Journal of Life Cycle Assessment. Large-scale regionalised LCA shows that plant-based fat spreads have a lower climate, land occupation and water scarcity impact than dairy butter But oilseed farming and clearing land for it drive most emissions.20International Journal of Life Cycle Assessment. Plant-based spreads and margarine vs. dairy butter: a life cycle assessment In the worst case, such as oil from newly cleared land, the climate advantage disappears.20International Journal of Life Cycle Assessment. Plant-based spreads and margarine vs. dairy butter: a life cycle assessment Certified sustainable palm oil labels are one thing to look for, and oils from long-farmed land avoid deforestation emissions.

