Mayonnaise contains eggs because egg yolk is the key ingredient that allows oil and water-based liquids (like vinegar or lemon juice) to combine into a stable, creamy emulsion. Specifically, the lecithin and proteins in egg yolk act as emulsifiers, coating tiny oil droplets and preventing them from separating. Without eggs—or a suitable substitute—you would simply have a mixture of oil and vinegar that quickly separates, not mayonnaise.
What Is Mayonnaise, Exactly?
Mayonnaise is a cold sauce made by emulsifying oil into an acidified water phase, typically vinegar or lemon juice, with egg yolk as the emulsifier. The result is a thick, pale, semi-solid dressing with a mild, tangy flavor. In most commercial products, the oil is a neutral-tasting vegetable oil such as soybean or canola, though traditional recipes often call for olive oil or a blend. The egg yolk provides both flavor and structure: it contributes richness and a subtle eggy note, but more importantly, it supplies the molecules that hold the oil and water together.
Mayonnaise is technically an oil-in-water emulsion, meaning tiny droplets of oil are dispersed throughout a continuous water-based liquid. This is the opposite of butter, which is a water-in-oil emulsion. The stability of mayonnaise depends on the size of the oil droplets and the strength of the emulsifier film around them. A well-made mayo can contain 70–80% oil by volume yet still flow like a thick liquid because the droplets are so small and evenly distributed.
The Emulsifying Power of Egg Yolk
Egg yolk is one of nature’s best emulsifiers. It contains lecithin, a phospholipid with a water-loving (hydrophilic) head and an oil-loving (lipophilic) tail. When you whisk yolk with vinegar, the lecithin molecules arrange themselves at the boundary between oil and water, with their tails pointing into the oil and their heads into the water. This creates a protective layer around each oil droplet, preventing them from merging back together.
In addition to lecithin, egg yolk contains proteins such as livetin and lipoproteins that further stabilize the emulsion. These proteins unfold at the oil-water interface and form a viscoelastic film that resists coalescence. The combination of lecithin and proteins is why egg yolk outperforms many other emulsifiers in cold sauces. Mustard, another common ingredient in mayo, contains mucilage and proteins that provide a secondary emulsifying boost, but egg yolk remains the primary workhorse.
How Mayonnaise Is Made: The Emulsion Process
Making mayonnaise from scratch is a lesson in patience and technique. The goal is to add oil slowly enough that the emulsifier can keep up, creating smaller and smaller droplets. Here is the classic method:
- Prepare the base: Whisk together egg yolk, a pinch of salt, and an acid (vinegar or lemon juice) in a bowl. The acid helps denature the yolk proteins and improves stability.
- Add oil gradually: Begin adding oil drop by drop while whisking constantly. The mixture will thicken and lighten as the emulsion forms.
- Increase the flow: Once about half the oil is incorporated, you can add the remaining oil in a thin, steady stream. Whisking must be vigorous and continuous.
- Adjust seasoning: Finish with more acid, salt, or a touch of mustard or sugar to balance the flavor.
If you add oil too quickly, the emulsion can break—the oil droplets coalesce and the mixture separates into oily pools and watery liquid. A broken mayo can sometimes be rescued by whisking a fresh yolk with a little water and slowly whisking the broken mixture back into it.
Why Commercial Mayo Often Uses Whole Eggs or Egg Yolk
Industrial mayonnaise production follows the same principles but uses high-shear mixers to create very fine droplets. Many commercial mayos list whole eggs and egg yolks on the label. Whole eggs contribute additional proteins (from the white) that can aid stability, though the yolk remains the primary emulsifier. Some manufacturers use only yolk for a richer flavor and yellower color. Pasteurized liquid eggs are common in commercial settings to ensure safety, since raw eggs can carry Salmonella.
Regulations vary by country: in the United States, the FDA standard of identity for mayonnaise requires at least 65% vegetable oil and the presence of egg yolk (or whole egg) as an emulsifier. In the EU, similar standards exist, though “mayonnaise” may be defined more loosely. These rules exist partly to protect consumers from imitations that rely on starches or gums instead of eggs.
Egg-Free Mayonnaise: How It Works and How It Compares
Egg-free mayonnaise substitutes rely on other emulsifiers. Common alternatives include:
- Pea protein or soy protein: These plant proteins can form films around oil droplets, though the texture may be slightly different.
- Mustard and aquafaba: Aquafaba (the liquid from cooked chickpeas) contains proteins and saponins that can emulsify oil, often used in vegan mayo.
- Modified starches and gums: These thicken the water phase and help suspend oil droplets, but they don’t create a true emulsion in the same way; the result can be gummy or less stable.
Egg-free mayos can taste remarkably similar, but they often lack the rich mouthfeel and subtle egg flavor of traditional versions. They may also be more prone to separation over time or when heated. For people with egg allergies, these alternatives are essential, but they are not chemically identical to egg-based mayo.
Safety and Storage: What You Need to Know
Because traditional mayonnaise is made with raw egg yolk, food safety is a concern. Commercial mayonnaise is generally safe because it is made with pasteurized eggs and has a high acid content (pH around 3.5–4.0), which inhibits bacterial growth. Homemade mayo, however, carries a risk of Salmonella and should be refrigerated promptly and used within a few days. The USDA recommends discarding homemade mayonnaise after 3–4 days in the refrigerator. Pregnant women, young children, older adults, and immunocompromised individuals should avoid raw-egg mayonnaise unless it is made with pasteurized eggs.
Store-bought mayonnaise, once opened, should be refrigerated and used within about two months for best quality, though it may keep longer. Always check the label for specific storage instructions. Never leave mayonnaise-based salads or sandwiches at room temperature for more than two hours (one hour if the temperature is above 90°F/32°C).
Frequently Asked Questions
Can I make mayonnaise without eggs?
Yes, you can make egg-free mayonnaise using aquafaba, soy milk, or pea protein as emulsifiers. These versions are suitable for vegans and people with egg allergies, though the texture and flavor may differ slightly from traditional mayo.
Why does my homemade mayonnaise keep breaking?
Mayonnaise breaks when the oil is added too quickly or the emulsion is not whisked vigorously enough. Start with a small amount of oil and whisk constantly until the mixture thickens before adding more. Using room-temperature ingredients and a fresh egg yolk also helps.
Is mayonnaise gluten-free?
Most plain mayonnaise is gluten-free, as it contains oil, egg, vinegar, and seasonings. However, some flavored or specialty mayos may include gluten-containing ingredients, so always check the label if you have celiac disease or gluten sensitivity.
Does mayonnaise contain dairy?
Traditional mayonnaise does not contain dairy. It is made from oil, egg yolk, vinegar or lemon juice, and seasonings. Some “mayo-like” products or sandwich spreads may add dairy, so read the ingredient list.
How long does homemade mayonnaise last?
Homemade mayonnaise should be refrigerated and used within 3–4 days for safety. Commercial mayonnaise, because of pasteurization and acidification, has a longer shelf life—typically several months unopened and up to two months after opening.
Can I use whole eggs instead of just yolks?
Yes, many recipes use whole eggs for a lighter, slightly less rich mayonnaise. The egg white adds protein that can help stability, but the yolk still does most of the emulsifying. Whole-egg mayo may be slightly thinner than yolk-only versions.