Mayonnaise is an acidic condiment, with a pH that generally falls between 3.0 and 4.5. For reference, pure water sits at a neutral 7.0, so mayo lands firmly on the acidic side of the scale. This acidity isn’t accidental. It’s what keeps mayo safe to eat and gives it that characteristic tang.
What Makes Mayo Acidic
The acidity in mayonnaise comes from two key ingredients: vinegar and lemon juice. Most recipes use one or both. Vinegar contains acetic acid, while lemon juice contains citric acid. These aren’t minor additions. They serve as the primary acidifying agents that pull the pH down into a range where harmful bacteria can’t survive.
The ratio of egg yolk to acidifying agent is the single biggest factor determining how acidic your mayo ends up. More vinegar or lemon juice relative to egg yolk means a lower pH (more acidic). More egg yolk relative to acid means a higher pH (less acidic). A typical homemade recipe calls for about one teaspoon each of lemon juice and vinegar per egg, but food safety research suggests that for homemade mayo made with raw egg yolk, you need at least 20 ml of white wine vinegar per yolk to reach a safe pH of 4.1 or below.
Why the Acidity Matters for Safety
Mayonnaise contains raw or lightly processed egg, which can harbor bacteria like Salmonella. The acidity is what neutralizes that risk. Research published in the Journal of Food Protection found that pH is the most important factor in destroying pathogenic bacteria in mayo, more so than any other variable. The acetic acid from vinegar does the heavy lifting here.
Commercial manufacturers target a pH of 4.4 or lower, which sits below the threshold of 4.5 where foodborne pathogens stop growing in the presence of acetic acid. This is why store-bought mayo, despite containing eggs, has an excellent safety record. Homemade mayo can be riskier if the recipe skimps on vinegar or lemon juice, since the pH may not drop low enough to inhibit bacteria. Holding homemade mayo at room temperature for one to three days after making it actually helps the acid do its job before you refrigerate it.
How Acidity Affects Texture and Shelf Life
The pH of mayonnaise does more than keep it safe. It directly affects how thick and creamy the final product feels. Mayonnaise reaches its best texture, with the highest viscoelastic properties, at a pH between 3.5 and 3.9. Outside that range, the emulsion becomes less stable and the texture suffers.
Lower pH also extends shelf life by slowing microbial growth. This is one reason reduced-fat or fat-free mayonnaise products sometimes taste or behave differently. When fat is replaced with water-based substitutes, the acetic or citric acid gets diluted across a larger water phase, raising the pH. Manufacturers then need to adjust their formulas to maintain both safety and texture.
Mayo and Acid Reflux
If you’re searching about mayo’s acidity because of digestive concerns, the answer is a bit nuanced. Full-fat mayonnaise is classified as a high-acid food that can trigger acid reflux or worsen GERD symptoms. But the fat content is actually the bigger culprit here. High-fat foods relax the valve between your esophagus and stomach, allowing stomach acid to flow upward. They also slow digestion, which gives reflux more opportunity to occur.
Fat-free mayonnaise, on the other hand, is categorized as a low-acid food in GERD dietary guidelines. So if reflux is your concern, the fat matters more than the vinegar. Switching to a fat-free version or simply using less mayo can make a meaningful difference.
Vegan Mayo Acidity
Plant-based mayonnaise alternatives follow the same basic formula: oil emulsified with an acidifying agent. Instead of egg yolk, they use ingredients like soy protein, aquafaba, or other plant-based emulsifiers. The vinegar or lemon juice remains, so vegan mayo falls in a similar pH range to traditional versions. The acidity still serves the same dual purpose of food safety and flavor, and the target pH window stays within that 3.0 to 4.5 range regardless of whether eggs are involved.

