How do I test yogurt for spoilage?

Simple checks and lab confirmation

LANCASTER, Pennsylvania — Yogurt spoils in a handful of recognizable ways, and most of them show up before a lab gets involved. Start by looking, smelling and checking pH, then send samples out if you need numbers or have a pattern. Yogurt is naturally acidic, which protects it from many bacteria but gives yeasts and molds a friendly home. So the usual culprits are yeast and mold, plus contamination from post-pasteurization handling. If you make yogurt for sale, treat every complaint as information about your process, not just a refund.

Use your senses first, in a set order

Open a fresh sample and a suspect one side by side. Look at the surface for mold spots, pink or orange tints, or a swollen lid, since gas production from yeast can bulge a container. Check for wheying off beyond normal, slimy or stringy texture, and unusual graininess. Smell next. Yeasty, fermented-fruit or beer-like smells point to yeast. A cheesy or rancid smell can mean enzyme activity from spoilage organisms. Taste only if the smell and appearance are acceptable, and never taste anything that looks moldy. Write down what you saw, and take a photo.

Check the pH and acidity

Plain yogurt typically sits in a fairly narrow, low pH range. A pH meter or good strips will show if a batch drifted. If acidity keeps climbing in storage, that is over-acidification from the culture continuing to work, which is a quality defect but not necessarily a safety one. If pH rises well above normal, something is consuming acid, which is a spoilage sign. Compare against your own control cup from the same batch, kept cold and unopened. Titratable acidity is another lab-style option and many small processors do it with a burette, sodium hydroxide and indicator.

Send samples for microbial counts

Home tests tell you something is off; a lab tells you what. Ask a food testing lab for yeast and mold counts, coliform counts and standard plate count. Add pathogen testing if your license or your buyer requires it. Collect samples in sterile containers, keep them cold, and ship them quickly. Include unopened product from the same lot and the spoiled product from the customer if you have it. Ask the lab what sample size and holding conditions they want before you ship, because they differ.

Look for where contamination got in

Most yogurt spoilage is a hygiene or handling problem, not a milk problem, because heat treatment kills yeast and mold. Check the filler, lids, cups, fruit preps and flavoring, and the air near the filling spot. Swab surfaces and rinse water. Fruit and sweetener additions are frequent offenders. Cooler temperature matters too: yogurt that sits warm for a few hours will spoil much faster than the label date suggests. Log cooler temperatures with a recording thermometer. Penn State Extension has dairy product material, and the AMS dairy program can point you to the standards that apply.

Run a shelf-life trial

If you're unsure how long your yogurt holds, test it. Keep sealed cups from one batch at normal refrigerator temperature and pull a few at set intervals for smell, pH and appearance. Hold a second set at a slightly warmer temperature to see how it behaves if a store cooler runs warm. Record the day each defect first appears, then set your date code with a margin.

Know when to toss the batch

If you see mold, off odors, bulging, or unusual texture, don't sell it and don't taste test it for fun. Pull all product from that lot and the neighboring runs, hold it, and sort out the cause. Your state dairy regulator should hear from you if there's any chance of a health risk. Losing a batch stings, but a recall costs far more and makes for a lousy conversation at the farmers market.