If you have ever cracked open a jar of store-bought mayonnaise and wondered why it tastes so flat and uniform, the answer is simple: commercial mayo is engineered for shelf stability, not for flavor. Homemade mayonnaise is a completely different creature. It is glossy, tangy, rich, and alive with the taste of good oil and fresh lemon, and it comes together in about five minutes with ingredients you almost certainly already have in your kitchen.

Making it from scratch is also one of those small kitchen skills that changes the way you cook. Once you understand how a stable emulsion works, you can whip up aioli for grilled vegetables, a smoky chipotle spread for sandwiches, or a bright herb-flecked sauce for fish without ever reaching for a jar again. This guide walks through the science, the technique, the troubleshooting, and the flavor possibilities so that your first batch, and every batch after it, turns out exactly the way you want.

The Science Behind a Perfect Emulsion
Mayonnaise is an emulsion, which means it is a stable mixture of two liquids that normally refuse to combine: oil and water. In this case, tiny droplets of oil are suspended throughout a water-based phase made up of egg yolk, lemon juice or vinegar, and mustard. The goal is to break the oil into microscopic droplets and coat each one so they cannot merge back together into a slick, separated puddle.

Understanding this mechanism explains nearly every failure in mayonnaise making. When the oil is added too quickly or the mixture is too cold or too warm, the droplets clump before they can be properly coated, and the emulsion collapses. The technique is not difficult, but it rewards attention. Slow, steady incorporation at the beginning builds the framework that lets you pour faster later.
Why Egg Yolks Do the Heavy Lifting

Egg yolk is the classic emulsifier because it contains lecithin, a molecule with a water-loving head and an oil-loving tail. The tail buries itself in an oil droplet while the head faces the surrounding water, forming a protective shell that keeps droplets apart. This is why even a single yolk can bind a cup or more of oil into a thick, creamy sauce.
Beyond chemistry, yolks contribute color, body, and a subtle richness that no substitute fully replicates. Mustard, whether Dijon or powdered, plays a supporting role by adding its own emulsifying compounds and a pleasant sharpness. If you are concerned about raw eggs, look for pasteurized-in-shell eggs at the grocery store, which behave almost identically in this recipe.
Choosing the Right Oil and Acid

Oil choice matters more than most people expect. A neutral oil such as avocado, grapeseed, canola, or a light-tasting olive oil lets the egg and acid take center stage. Save bold extra virgin olive oil for drizzling, because high-speed blending of peppery olive oil can turn it harsh and bitter in a way that ruins the whole batch.
For acid, fresh lemon juice gives the brightest, cleanest flavor, while white wine vinegar or champagne vinegar brings a sharper, more wine-like bite. A tablespoon of acid per yolk is a reliable starting point, and it does double duty: it boosts flavor and lowers the pH, which helps the emulsion hold and slows the growth of unwanted bacteria. A pinch of fine salt and a small spoonful of water round out the base.
Step-by-Step Mayonnaise From Scratch

Before you start, gather everything and let it sit on the counter for about twenty minutes. Room-temperature ingredients emulsify far more easily than cold ones, and this single step prevents most beginner frustration. You will need one large egg yolk, one tablespoon of lemon juice or vinegar, one teaspoon of Dijon mustard, a quarter teaspoon of fine salt, and one cup of neutral oil.
Have a clean, dry bowl ready, along with a whisk or an immersion blender. Measure your oil into a spouted cup so you can pour in a thin, controlled stream. If you are using a food processor or blender, use the small feed tube or drizzle the oil through the lid opening. Everything hinges on control for the first thirty seconds.










The Immersion Blender Method (Foolproof)
Place the yolk, lemon juice, mustard, and salt in a tall, narrow container, the kind that usually comes with an immersion blender. Pour the full cup of oil on top and let it settle for a moment without stirring. Lower the blender head all the way to the bottom of the container, resting it on the base, then turn it on and hold it there.
Within seconds, you will see a pale, creamy cloud forming at the bottom. Keep the blender still for about fifteen to twenty seconds, then slowly tilt and lift it to draw in the remaining oil, moving up the sides until the entire mixture is thick and uniform. This method is remarkably forgiving because the blades create an instant emulsion at the bottom before the rest of the oil has a chance to interfere.
The Hand-Whisk Method and Fixing a Broken Batch
Whisking by hand takes longer but gives you total control and a satisfying arm workout. Start by whisking the yolk, acid, mustard, and salt until smooth and slightly pale. Add the oil drop by drop at first, whisking constantly, and only after the mixture thickens and looks creamy should you switch to a very thin, steady stream. Stop adding oil the moment the sauce looks loose or greasy, whisk until it tightens again, then resume.
If your mayonnaise breaks and turns into a curdled, oily puddle, do not throw it out. Put a fresh egg yolk in a clean bowl with a teaspoon of water and whisk it until smooth, then slowly whisk the broken mixture into the new yolk, a spoonful at a time. The yolk will re-emulsify the sauce and bring it back to a glossy, spreadable consistency in under a minute.
Flavor Twists, Storage, and Serving Ideas
Once you have a reliable base, mayonnaise becomes a canvas. Because it is essentially a fat-and-acid delivery system, it carries flavors beautifully, and you can adjust the batch to match whatever you are cooking. A spoonful of roasted garlic transforms it into aioli; a chipotle pepper in adobo turns it into a smoky sandwich spread; fresh herbs make it a vibrant sauce for roasted potatoes or grilled fish.
When experimenting, add flavorings after the emulsion is complete rather than before. Adding watery ingredients such as citrus zest, pureed garlic, or fresh herbs early can destabilize the sauce, while folding them in at the end keeps the texture intact. Taste as you go, season with salt and acid in small increments, and remember that flavors intensify after a few hours in the refrigerator.
Aioli, Chipotle, and Herb Variations
For a classic garlic aioli, grate one small garlic clove on a microplane and whisk it into a finished batch with an extra squeeze of lemon. For a smoky chipotle version, blend one or two canned chipotle peppers with a tablespoon of the adobo sauce and fold that into the mayonnaise for a spread that elevates burgers, tacos, and roasted sweet potatoes.
Herb mayonnaise is as simple as finely chopping a handful of tarragon, dill, parsley, or chives and stirring them in with a little lemon zest. Other easy directions include a curry version with toasted curry powder and lime, a Sriracha version for heat, or a tangy remoulade with capers, pickles, and a dash of hot sauce. Each variation begins with the same five-minute base.
How Long It Lasts and How to Keep It Safe
Homemade mayonnaise contains raw egg, so food safety is worth a few moments of attention. Store it in a clean, tightly sealed jar in the coldest part of the refrigerator, where it will keep for about three to four days. Always use a clean spoon to scoop it out, and never leave it sitting at room temperature for more than two hours, particularly in warm weather or at a picnic.
If you want a longer-lasting batch or are serving someone who is pregnant, elderly, or immunocompromised, use pasteurized eggs or a pasteurized liquid egg yolk product. You can also extend shelf life slightly by using vinegar as part of your acid, since a lower pH makes the environment less hospitable to bacteria. When in doubt, trust your nose and your eyes: any off smell, darkening, or separation accompanied by an odd odor means it is time to start fresh.
There is something quietly satisfying about turning a yolk and a cup of oil into a glossy, tangy sauce that tastes better than anything on the grocery shelf, and the more you make it, the more intuitive the process becomes. Start with the immersion blender method to build confidence, then branch into hand-whisking and flavor variations as your instincts sharpen. The next time a recipe calls for mayonnaise, you will know exactly how to make it your own.