science
The Science of Ph in the Production of Yogurt, Cheese, and Other Fermented Foods
Table of Contents
The Science of pH in Fermented Foods
Fermentation is one of humanity’s oldest and most effective methods of food preservation and flavor development. From the tang of yogurt to the sharp bite of aged cheese, the success of fermented foods hinges on a single chemical property: pH. pH, a measure of hydrogen ion concentration, indicates how acidic or alkaline a substance is on a scale from 0 (highly acidic) to 14 (highly alkaline), with 7 being neutral. In the context of fermentation, pH is both a driver and a controller of microbial activity.
During fermentation, beneficial microorganisms—primarily lactic acid bacteria—consume sugars and produce organic acids, most notably lactic acid. This acidification lowers the pH of the food matrix. A lower pH not only imparts characteristic sour flavors but also creates an environment that inhibits the growth of pathogenic and spoilage bacteria. Understanding and controlling pH is therefore essential for producing safe, consistent, and high-quality fermented products.
How pH Drives Fermentation
The relationship between pH and fermentation is a delicate feedback loop. As the pH drops, the activity of acid-producing bacteria initially increases, but at a certain point the acidity becomes a stress factor, slowing or halting fermentation. Different bacterial strains have different pH tolerances, which is why fermentation—whether for yogurt, cheese, sauerkraut, or kimchi—must be carefully managed to achieve the desired end product.
Most lactic acid bacteria (LAB) thrive at a pH range near neutral to slightly acidic (pH 6.0–7.0), but they continue to function as the pH drops to around 4.0–4.5. Below pH 4.0, many LAB strains become dormant or die, and the fermentation naturally stops. This self-limiting property is what makes fermented foods shelf-stable without refrigeration until opened, provided the pH remains low enough to suppress spoilage organisms.
The Role of Buffer Capacity
Not all foods respond the same way to acid addition. The buffer capacity of the base ingredient—its ability to resist pH change—plays a major role in fermentation kinetics. Milk, for example, contains proteins and phosphates that buffer against rapid pH drops, allowing yogurt and cheese cultures to produce acid gradually. In contrast, vegetables like cabbage have a much lower buffer capacity, so the pH of sauerkraut drops quickly once fermentation begins. Producers must account for these differences when designing fermentation processes.
pH in Yogurt Production
Yogurt is perhaps the most familiar example of pH-controlled fermentation. The process begins with fresh milk at a starting pH of approximately 6.7. The milk is heated to denature whey proteins, which improves texture and creates a stable environment for bacterial cultures. Then, a starter culture containing Lactobacillus delbrueckii subsp. bulgaricus and Streptococcus thermophilus is added.
These bacteria ferment lactose, the natural sugar in milk, into lactic acid. As acid accumulates, the pH begins to fall. When the pH reaches about 5.5, the milk proteins (casein) start to aggregate. By pH 4.6—the isoelectric point of casein—the proteins form a gel network, giving yogurt its characteristic thick, smooth texture. Most commercial yogurts target a final pH between 4.4 and 4.6. If the pH drops too low (below 4.0), the yogurt becomes excessively sour and may whey-off (syneresis). If the pH remains too high (above 5.0), the yogurt will be thin and bland, and the risk of spoilage increases.
pH monitoring during yogurt fermentation is critical. Producers use inline pH sensors or periodic manual measurements to decide exactly when to cool the yogurt and stop the culture activity. This “pH cut-off” point determines the final balance of sweetness and tartness. For example, Greek yogurt often undergoes straining after fermentation, which concentrates the solids and can slightly raise the pH, but the initial fermentation still targets the same narrow range.
pH in Cheese Making
Cheese making is far more complex than yogurt production because pH affects not only microbial safety and flavor, but also the physical properties of the curd and the ripening process. The starting point is the same—milk at pH ~6.7—but the addition of rennet and bacterial cultures triggers a cascade of pH-dependent reactions.
Acidification and Coagulation
After adding starter cultures to milk, the bacteria begin producing lactic acid. The pH gradually drops to around 6.0–6.3 over the first 30–60 minutes. At this point, rennet (an enzyme mixture) is added. Rennet works optimally at a slightly acidic pH; it cleaves the casein protein, causing the milk to coagulate into a gel. If the pH is too high, the rennet may not work effectively, resulting in a weak curd. If the pH is too low, the curd may become brittle and lose moisture too quickly.
Curd Handling and Whey Separation
Once the curd is set, it is cut into small pieces to release whey. The pH at cutting is crucial—typically between 6.1 and 6.3 for most cheeses. After cutting, the curd is cooked and stirred, during which the bacteria continue to acidify the curd, driving the pH down further. For hard cheeses like Cheddar, the pH at the end of cooking may be around 5.2–5.4. For soft, fresh cheeses like cottage cheese or quark, the final pH is higher (around 4.6–4.8).
After whey drainage, the curd is often “cheddared”—stacked and turned—which allows lactic acid to continue forming. For Cheddar cheese, the pH at the end of cheddaring is about 5.0–5.2. The salt is then added, which slows bacterial activity and halts the pH drop. The final composition of the cheese, including its moisture content and texture, is directly linked to the pH at salting.
Aging and pH Evolution
During cheese aging, the pH does not remain static. In many cheeses, the pH rises again as molds or surface bacteria consume the lactic acid. For example, Brie and Camembert have a final pH of 6.5–7.0 after ripening because Penicillium camemberti metabolizes lactic acid, making the interior creamy and mild. In Swiss cheeses like Emmental, propionic acid bacteria produce carbon dioxide (creating holes) and propionic acid, which raises the pH to around 5.4–5.8. Understanding these pH trajectories allows affineurs to predict and control flavor, texture, and eye formation.
Because each cheese variety has its own pH profile, monitoring during production is non-negotiable. A deviation of even 0.1 pH units during the critical stages can ruin a batch. Cheesemakers frequently use pH meters with rugged, food-safe probes to take readings directly from the curd or whey.
pH in Other Fermented Foods
Beyond dairy, pH plays a central role in many other traditional and modern fermented foods. Here are key examples:
Sauerkraut and Kimchi
When cabbage is salted and packed, the osmotic pressure draws out water and sugars, creating a brine. Naturally present lactic acid bacteria (LAB) begin fermenting these sugars, and the pH drops from around 6.0 to below 4.0 within a few days. A pH of 3.5–4.0 is typical for finished sauerkraut. This low pH ensures safety by preventing the growth of Clostridium botulinum and other pathogens. Similarly, kimchi undergoes an initial pH drop to about 4.2–4.5, which is critical for its characteristic sourness and long shelf life. Over-fermentation, however, can lower the pH too much, making the product unpleasantly acidic and mushy.
Pickles (Fermented Cucumbers)
Fermented pickles, often called brined pickles, rely on a similar LAB-driven acidification. The starting brine has a pH around 4.5–5.0 (due to added vinegar or natural acidity). As fermentation proceeds, the pH falls to between 3.0 and 3.5. This extremely low pH is necessary to prevent softening of the cucumber and to inhibit spoilage molds. Commercial pickle manufacturers closely monitor pH to determine when to stop fermentation and can the product.
Sourdough Bread
In sourdough, a symbiotic culture of LAB and yeasts ferments flour and water. The LAB produce lactic and acetic acids, lowering the pH of the dough from about 5.7 (freshly mixed) to between 3.5 and 4.5 during bulk fermentation. A low pH does more than add tang—it also inhibits the enzyme amylase, slowing starch breakdown and improving the structure of the final bread. Bakers often use pH strips or meters to know when their starter is ready to use. A sourdough starter that is too acidic (pH below 3.5) can kill the yeast, leading to poor rise.
Kombucha
Kombucha is produced by fermenting sweetened tea with a symbiotic culture of bacteria and yeast (SCOBY). During the first few days, yeast converts sugar into ethanol, and then acetic acid bacteria convert ethanol into acetic acid, lowering the pH from around 4.5–5.0 to 2.5–3.5. This low pH is essential for preventing mold growth and giving kombucha its acidic, vinegary character. Home brewers should monitor pH with strips or a meter to ensure the drink is safe: a pH above 4.6 after fermentation indicates insufficient acidification and a higher risk of microbial contamination.
Monitoring pH: Tools and Best Practices
Accurate pH measurement is the cornerstone of modern fermentation science. Several tools are available, each with trade-offs between cost, accuracy, and ease of use.
pH Meters
Digital pH meters are the gold standard for precision fermentation. They consist of a probe (typically glass) and an electronic meter that displays the pH. Food-grade meters are designed to handle semi-solids and high-protein matrices. For yogurt and cheese, a flat-surface electrode is often used because it can be pressed directly against the curd. Calibration with standard buffer solutions (pH 4.0, 7.0, and sometimes 10.0) is required before each use. A well-maintained meter gives readings accurate to ±0.02 pH units. Many commercial dairies log pH data automatically as part of their quality management systems.
pH Test Strips
For small-scale producers and home fermenters, pH test strips are a convenient alternative. These disposable strips are dipped into the liquid or pressed against a semi-solid surface, and the resulting color change is matched to a chart. They are inexpensive and require no calibration, but their accuracy is limited to about ±0.3 pH units. They are adequate for monitoring sauerkraut, kimchi, or simple yogurt, but not for critical control points in cheese making where tiny pH differences matter.
Titratable Acidity
Titratable acidity (TA) is a complementary measurement used in dairy production, especially for yogurt and cheese. Unlike pH, which measures the concentration of free hydrogen ions, TA measures the total amount of acid present, including undissociated acids. TA is expressed as a percentage of lactic acid. In yogurt, for example, the typical TA ranges from 0.9% to 1.2%. pH and TA are correlated but not equivalent; monitoring both provides a fuller picture of fermentation progress. Many large-scale dairies use automated titration systems to track TA alongside pH.
Conclusion: Control pH, Control Quality
pH is not merely a number—it is a powerful lever that determines whether a fermented food becomes a delightful staple or a safety hazard. From the creamy gel of yogurt to the complex curd structure of aged cheese, and from the crunchy bite of sauerkraut to the effervescent tang of kombucha, pH dictates microbial activity, enzyme function, protein behavior, and flavor development.
Producers who understand pH science can fine-tune their processes to achieve consistent, market-ready products. Whether using a laboratory-grade pH meter from a supplier like Hanna Instruments or a simple set of test strips, regular monitoring is the key to success. For those interested in the deeper chemistry of fermentation, resources from the USDA Food Safety and Inspection Service and the National Center for Biotechnology Information offer peer-reviewed guidance on pH control.
Ultimately, the science of pH transforms fermentation from a gamble into a repeatable craft. By respecting the acidity sweet spot, food artisans and industrial producers alike can create safe, flavorful, and nutritious fermented foods that stand the test of time.