Fermentation is one of the oldest biological processes humans have harnessed, predating written history by thousands of years. At the molecular level, it is a way for microorganisms to extract energy from sugar without oxygen. The byproducts of that energy extraction (acids, alcohol, gases) are what transform cabbage into sauerkraut, grape juice into wine, and flour paste into sourdough.
Understanding the science behind fermentation gives you control over your ferments. When you know why salt concentration matters, why temperature changes flavor, and why some ferments need an airlock while others need open air, you stop following recipes blindly and start making informed decisions.
What fermentation actually is
Fermentation is an anaerobic metabolic process. Microorganisms (bacteria, yeast, or molds) break down sugars to produce energy for themselves. The byproducts they generate, including acids, alcohols, and gases, are what we value as fermenters.
In strict biochemistry, fermentation refers specifically to ATP production without an electron transport chain or oxygen. In everyday food science, the term covers a broader range of microbial transformations, including some that involve oxygen (like vinegar production).
Glycolysis: the universal first step
Every type of fermentation begins with glycolysis. This is a ten-step metabolic pathway that breaks one molecule of glucose (a six-carbon sugar) into two molecules of pyruvate (a three-carbon compound). Glycolysis happens in the cytoplasm of the cell and does not require oxygen.
During glycolysis, two molecules of ATP (the cell’s energy currency) are produced, along with two molecules of NADH (an electron carrier). The net energy gain is small compared to aerobic respiration, but it works without oxygen and is fast.
- 1Energy investment phase (steps 1-5) The cell spends 2 ATP molecules to phosphorylate glucose and split it into two three-carbon molecules (glyceraldehyde-3-phosphate). This initial investment is required to destabilize the glucose molecule so it can be broken apart.
- 2Energy payoff phase (steps 6-10) Each three-carbon molecule is oxidized and rearranged, producing 2 ATP and 1 NADH per molecule. Since there are two molecules, the total yield is 4 ATP and 2 NADH. Subtract the 2 ATP invested, and the net yield is 2 ATP per glucose.
- 3Pyruvate is the decision point What happens to pyruvate after glycolysis determines the type of fermentation. In lactic acid fermentation, pyruvate is converted directly into lactate. In alcoholic fermentation, pyruvate is first decarboxylated into acetaldehyde, then reduced to ethanol. This step also regenerates NAD+ so glycolysis can continue.
The regeneration of NAD+ is the entire purpose of fermentation from the cell’s perspective. Glycolysis needs NAD+ to keep running. Without oxygen (which normally regenerates NAD+ through the electron transport chain), fermentation provides an alternative way to recycle NADH back into NAD+.
Lactic acid fermentation
Lactic acid bacteria (LAB), primarily species of Lactobacillus, Leuconostoc, and Pediococcus, convert pyruvate into lactic acid. This is the pathway behind sauerkraut, kimchi, yogurt, kefir, dosa, and many pickled vegetables.
There are two sub-types of lactic acid fermentation. The distinction matters because it affects flavor, texture, and gas production in your ferments.
Alcoholic fermentation
Yeast, primarily Saccharomyces cerevisiae, converts pyruvate into ethanol and CO2 through a two-step process. First, the enzyme pyruvate decarboxylase removes a carbon dioxide molecule from pyruvate, producing acetaldehyde. Then alcohol dehydrogenase reduces acetaldehyde to ethanol, regenerating NAD+ in the process.
This pathway is responsible for beer, wine, mead, cider, sake, and the leavening of bread. The CO2 produced creates bubbles in beer and lifts bread dough. The ethanol is the source of alcohol in beverages (and evaporates during baking).
Acetic acid fermentation
Acetic acid fermentation stands apart from the other pathways because it requires oxygen. Acetobacter and Gluconobacter bacteria oxidize ethanol into acetic acid on the liquid’s surface, where air contact is available. This is how vinegar is made.
The process happens in two stages. First, yeast or another organism produces ethanol through alcoholic fermentation. Then acetic acid bacteria convert that ethanol into acetic acid. Apple cider vinegar, for example, starts as apple juice, ferments into hard cider (alcoholic), and then ferments further into vinegar (acetic).
The role of enzymes
Every chemical reaction in fermentation is catalyzed by a specific enzyme. Without enzymes, these reactions would happen too slowly to be useful. Understanding which enzymes are at work helps explain why conditions like temperature and pH have such dramatic effects on fermentation.
pH changes during fermentation
pH drops during most fermentations as acids accumulate. This falling pH is one of fermentation’s built-in safety mechanisms. It creates an environment hostile to pathogenic bacteria while favoring the acid-tolerant fermentation organisms.
Tracking pH gives you a window into what is happening inside your ferment without opening it.
- 1Starting pH: 5.5-7.0 Most raw ingredients start near neutral. Fresh cabbage for sauerkraut has a pH around 6.0-6.5. Wort for beer starts around 5.2-5.6. Milk for yogurt starts at about 6.5-6.8. At this pH, many organisms can grow, including undesirable ones.
- 2Early fermentation: pH 4.5-5.5 As LAB or yeast begin producing acids, the pH drops below 5.0. This inhibits most pathogenic bacteria, including Clostridium botulinum, E. coli, and Salmonella. The ferment becomes microbiologically safer as acidity builds.
- 3Mid fermentation: pH 3.5-4.5 At this stage, only acid-tolerant organisms survive. In vegetable ferments, the transition from Leuconostoc (which dies off below pH 4.0) to Lactobacillus (which tolerates pH 3.0+) happens here. Flavor complexity increases.
- 4Finished ferment: pH 3.0-3.8 Sauerkraut finishes around pH 3.2-3.5. Yogurt reaches about pH 4.0-4.6. Kombucha lands between 2.5-3.5. Wine finishes around 3.0-3.6. At these low pH values, the ferment is shelf-stable (when kept in appropriate conditions) and resistant to spoilage.
Watch for
- A pH above 4.6 does not reliably inhibit Clostridium botulinum. Fermented foods that stay above this threshold for extended periods pose a safety risk. Proper salt concentration (2-3% for vegetables) ensures pH drops quickly enough.
- Do not use pH strips for precision measurement. They are only accurate to about 0.5 pH units. A digital pH meter gives readings accurate to 0.01 units and costs as little as $15-20.
- Rinsing vegetables before fermenting removes surface LAB that drive wild fermentation. If your recipe calls for wild fermentation, skip the rinse or add a small amount of brine from a previous ferment as a starter.
CO2 production and pressure
Carbon dioxide is a major byproduct of both alcoholic and heterofermentative lactic acid fermentation. Managing CO2 determines whether your ferment stays safely sealed, carbonates properly, or blows up a jar on your counter.
Wild vs. cultured fermentation
The choice between wild and cultured fermentation affects predictability, flavor complexity, and the level of control you have over the process.
Why temperature changes everything
Temperature affects fermentation at every level: enzyme activity, microbial growth rate, flavor compound production, and which organisms dominate the ferment.
Every ferment has a temperature sweet spot. Staying within that range gives you the best balance of fermentation speed, flavor development, and food safety. The temperature guide for specific ferments covers the ideal ranges for every common type.

