Maple Reference

Acids, bases and pH

Why does a squeeze of lemon change so much?

Acidity works at room temperature and at a simmer alike, so the mark here is broad.

Lemon juice turns a dull sauce bright, keeps a poached egg together, stops an apple from going brown and curdles milk. Baking soda makes onions brown faster and turns beans to paste. All of it comes down to one thing: how many hydrogen ions are floating around in the food.

The scale

The pH scale measures hydrogen ion concentration, running from very acidic (near 0) through neutral (7) to very alkaline (14). It’s logarithmic. Each step down is ten times more acidic, so lemon juice at about pH 2 has roughly three hundred times the hydrogen ion concentration of a tomato at about pH 4.5. Taste is a poor gauge of this, because sugar hides sourness.

Approximate pH of familiar foods. Figures are typical, and any given batch can differ
FoodApproximate pHNote
Lemon juice2.0 to 2.6Mostly citric acid
White vinegarabout 2.5Acetic acid, usually about 5% by volume
Cola2.5 to 3Phosphoric acid
Apples3.3 to 4.0Malic acid
Yogurt4.0 to 4.6Lactic acid from fermentation
Tomatoes4.3 to 4.9Not as acidic as people assume
Buttermilk4.4 to 4.8Lactic acid
Bread5 to 6Sourdough is lower
Fresh meat5.5 to 6Falls after slaughter
Milk6.5 to 6.8Very nearly neutral
Pure water7.0Neutral
Fresh egg white7.6 to 8Rises above 9 as the egg ages
Baking soda in waterabout 8.3Mildly alkaline
Lye bath for pretzels13 to 14Caustic. Handle with gloves and eye protection

Safety limit. The figure of pH 4.6 is a dividing line in home food preservation, because it separates foods where the botulism organism can grow from those where it can’t. Tomatoes sit close to that line, and that is one reason tested recipes add acid to them. This site doesn’t give canning instructions. Go to the National Center for Home Food Preservation.

Acid and flavour

Sourness is one of the basic tastes and it does for food much of what salt does: it makes things seem more vivid. A flat stew or a heavy cream sauce often wants acid more than it wants salt, and a teaspoon of vinegar added at the end can do what another pinch could not. Acid also cuts the feeling of fat on the palate. Fried food goes with lemon for that reason, and rich pork goes so well with apples and mustard.

Acid and proteins

Proteins carry electric charges that keep them spread out and separate. Lower the pH and those charges start to cancel, the proteins uncoil, and then they clump. That process, denaturing, is what heat does too.

Safety limit. Acid doesn’t do everything heat does. Ceviche isn’t cooked in the sense that matters for pathogens or parasites, and acid won’t reliably kill them. The USDA guidance on cooking is the reference here.

Marinades are the place where acid is most oversold. Acid works on the surface of meat, moves inward very slowly, and in strong solutions leaves the outside chalky without tenderizing the inside. A short time in a mild marinade is good for flavour. A long time in a sharp one does more harm than good.

Acid and vegetables

Plant cells are cemented by pectin and hemicellulose. Acid keeps those structures firmer, while alkali helps them fall apart. So potatoes and onions cooked in a tomato sauce stay firm a surprisingly long time, and beans simmered with tomatoes or molasses can take hours longer to soften than the same beans in plain water. If you want beans tender, add the acid at the end.

Going the other way, a small pinch of baking soda in the bean pot speeds softening, particularly with hard water, and too much makes them mushy and soapy. The same trick gives you a very soft potato for a very crisp roasted crust. The surface breaks down into a starchy paste that dries and browns.

Acid and alkali also change colour. Many plant pigments work as pH indicators. Red cabbage goes pink with vinegar and blue-green with soda. Green vegetables go olive in acid. The full story is under vegetable colours.

Alkali and browning

The Maillard reaction speeds up with rising pH. That’s why pretzels are dipped in alkali before baking, why a pinch of soda helps onions go brown sooner, and why a bit of baking soda makes a cookie darker as well as flatter. Traditional ramen noodles get their firm texture, their yellow colour and their particular smell from alkaline salts, in the solution called kansui.

Acid and baking

Baking soda needs an acid to release its carbon dioxide. Buttermilk, yogurt, brown sugar, honey, natural cocoa and vinegar can all supply it. Baking powder carries its own. If a recipe calls for soda, it almost always has an acidic ingredient on purpose, and if you swap that ingredient for a neutral one the cake won’t rise as it should and it may taste soapy. See leavening.

Cocoa has a further wrinkle. Natural cocoa is mildly acidic. Dutch-process cocoa has been treated with alkali, so it is darker and milder and won’t react with baking soda.

Acid and metal

Long-simmered tomato sauce in unlined cast iron or aluminium can dissolve a little of the metal, which gives a faint metallic taste and can dull colours. It’s a flavour problem much more than a health one. Enamel, stainless steel and glass don’t react, so they are the safest choice for wine reductions, vinegar pickles and anything else sharp that is going to sit for a while. A well-seasoned cast iron pan copes with a short sauce better than an old rule would suggest.

How to use all this

Taste for acid the way you taste for salt, and add it near the end, since long cooking drives off volatile aroma and mellows the sharpness. Use it early when you want firmness, and hold it back when you want softness. Keep in mind how small the quantities are. A few drops of lemon can change a sauce, and a quarter teaspoon of soda can change a pot of beans.

See also Yeast, soda and baking powder, Vegetable colours, What salt does, The Maillard reaction