Why does lemon juice make seafood taste better? Why do baked goods need both acid and base? Why does pickling preserve food? All of these come down to pH. Acidic and basic ingredients interact with food in specific, useful ways.

Taste and pH

Sour taste is pH-mediated:

  • Strongly acidic (pH 2–3): intensely sour. Lemon juice, vinegar.
  • Mildly acidic (pH 4–5): tangy. Yogurt, fermented vegetables.
  • Neutral (pH 6–7): not sour. Most fresh foods.
  • Basic (pH 8+): rare in food (mostly avoided as off-flavors).

Strongly basic foods taste soapy or bitter. Most people don't enjoy them. Exceptions: lye-treated foods (pretzels, lutefisk) where the unique flavor is part of the appeal.

Acid in cooking

Adding acid to a dish:

  • Brightens flavors. A squeeze of lemon over fish, a splash of vinegar in soup.
  • Tenderizes meat. Marinades with acid (vinegar, citrus, wine) break down protein.
  • Prevents browning. Lemon juice on cut apples, bananas, avocados.
  • Creates contrast. Pairs with rich, fatty, or sweet flavors.

Maillard reaction and pH

The browning that happens to roasted meat, toasted bread, and fried onions is the Maillard reaction. It's pH-sensitive:

  • Acidic conditions (pH 5): slower browning.
  • Neutral (pH 7): faster browning.
  • Basic (pH 9): very fast browning. Pretzels are dipped in lye solution to brown intensely.

This is why a pinch of baking soda in caramelizing onions speeds them up. Or why pretzel dough has that distinctive deep brown color from the lye dip.

Baking and leavening

Baked goods rise from gas (CO₂) production. Two ways:

Yeast (slow): ferments sugars, produces CO₂. Used in bread.

Chemical leavening (fast): baking soda or baking powder reacts with acid to release CO₂.

Baking soda alone needs an acid in the recipe to react. Common acids:

  • Buttermilk (pH 4.5)
  • Yogurt (pH 4)
  • Vinegar (pH 2.5)
  • Lemon juice (pH 2.5)
  • Brown sugar (slightly acidic from molasses)
  • Cream of tartar (pH 3)

Baking powder includes its own acid (cream of tartar) so it works with neutral ingredients.

Fermentation

Fermented foods rely on microorganisms that thrive in specific pH ranges:

  • Sourdough bread: wild yeast and lactobacilli. Acid drops the dough's pH from 7 to 4.5–5.5.
  • Yogurt: lactic acid bacteria convert lactose to lactic acid. pH drops from milk's 6.5 to yogurt's 4.
  • Pickling and sauerkraut: lactic acid fermentation. pH 3.5.
  • Kombucha: SCOBY produces acetic and gluconic acid. pH 2.5–3.5.
  • Wine: yeast plus tartaric/malic acids. pH 3-4.
  • Cheese aging: bacteria produce lactic acid. Cheddar pH ~5.0; Roquefort pH ~6.5.

The acidic environment inhibits competing microbes — fermentation is partly preservation by selective acid.

Preservation by pH

Most pathogens (Salmonella, E. coli, Botulinum) can't grow below pH 4.6. Acidic foods are inherently safer:

  • Tomatoes (pH 4.0–4.5): borderline.
  • Salsa, ketchup (pH 3.5–4): safe to can in water bath.
  • Pickles, sauerkraut (pH 3.5): very safe.
  • Most fruit jams (pH 3): safe with sugar's preservation.

Low-acid foods (pH > 4.6) require pressure canning to kill C. botulinum spores. Examples: green beans, corn, meat. Water-bath canning isn't enough.

Why bones soften in vinegar

Soak a chicken bone in vinegar for 24 hours and it becomes rubbery. The acidic vinegar dissolves calcium phosphate (the mineral component), leaving only the protein matrix.

This is also why long marinades with vinegar can over-tenderize meat into mush — the same chemistry, applied to the connective tissue.

Egg whites and acid

Egg white proteins coagulate at slightly alkaline pH (8). Adding acid (cream of tartar, lemon juice) shifts the pH lower and makes whipped whites more stable.

That's why meringue recipes often call for cream of tartar — to lower pH below the egg white's natural ~9 to ~7.

Vegetables and color

Green vegetables (broccoli, peas, beans) lose color when cooked too long. The chlorophyll degrades to a brownish color in slightly acidic conditions. To preserve green:

  • Don't add acid to cooking water.
  • Cook briefly.
  • Some people add baking soda (basic) to keep greens vibrant — but it overdoes it; the vegetables turn mushy.

Red cabbage shows pH visually: it's red-purple in acidic, blue-purple in neutral, green in basic. This is why red cabbage cooked with vinegar stays red, while red cabbage with baking soda turns blue.

Coffee and pH

Coffee pH varies by:

  • Roast: lighter = more acidic; darker = less.
  • Origin: African coffees are typically more acidic than South American.
  • Brewing method: cold brew is less acidic than drip.

Coffee pH around 5. People with acid sensitivity sometimes find darker roasts or cold brew more tolerable.

Tea and pH

Most teas are pH 5-6. Black tea slightly more acidic; green tea slightly less. Adding lemon brings tea pH down to 3-4 range.

Some teas have less acidity but are tannic — different flavor compound, different chemistry.

Why the kitchen needs both acid and base

Most cuisines balance acidic and basic flavors:

  • Italian: tomato (acidic) + olive oil (neutral) + cheese (slightly basic).
  • Mexican: lime (acidic) + cilantro (neutral) + cumin (slightly basic).
  • French: vinegar (acidic) + cream (slightly acidic) + butter (neutral).
  • Japanese: vinegar in sushi rice (acidic) + soy (basic) + dashi (neutral).

Pure acidic or pure basic dishes are rare. Cuisines built on imbalance.

Calculate pH

Our pH calculator handles the math of pH and hydrogen ion concentration. Useful for understanding the chemistry behind cooking, fermentation, and preservation.