Infection is the introduction or presence of undesirable microorganisms in beer or its raw materials. The severity of infections may range from imperceptible to severe. In the extreme, infections can cause hazes, acidity, or off-flavors and may make the beer appear unsightly or become undrinkable. Although beer infections are not dangerous to human health, allowing infected beer to reach the consumer is quite harmful to any brewery’s reputation and business.

Life essentially runs on sweet liquids and many organisms can spoil beer. The term “wort spoilers” is sometimes applied to spoilage organisms that tolerate oxygen well and grow best before fermentation has lowered the wort pH and produced ethanol. Others are referred to as “beer spoilers”—these tend to prefer anaerobic conditions and survive well in lower pH environments and those containing alcohol. The most common organisms considered beer spoilers by most brewers are Lactobacillus, Pediococcus, and wild yeasts including Brettanomyces. Each of these has its own preferred set of nutrients, temperature range, pH range, and growth rate. See brettanomyces, lactobacillus, pediococcus, and wild yeast. Infection, of course, is in the eye of the brewer and consumer. Certain microbes other than brewer’s yeast, although generally considered infections, can be perfectly desirable or encouraged in certain beer styles, including Berliner weisse, lambics, Belgian-style sour beers, and even authentic 19th-century British porters. One brewer’s “infection” may be another’s “complexity,” especially in the domain of sour beer styles. In most beers, however, the brewer desires only the character produced by the yeast added by the brewery and will wish to keep out all other biological actors.

Mankind has been brewing for at least 6,000 years and probably much longer, but consciously managing beer microbes has been practiced only in the past century and a half. Previously, beer had been simply consumed fresh and local before the inevitable spoilage would occur, and although procedures were known that would make less-spoiled beers, the brewers were largely ignorant of the microbiology behind these procedures. The existence of yeast as a microbe was only discovered in 1674 by Antonie van Leeuwenhoek, the inventor of the modern microscope. And it was only in 1859 that Louis Pasteur put an end to the theory of “spontaneous generation,” when he demonstrated unassailably and for the first time that living microorganisms are the sole cause of food and beer spoilage, as well as the agents of fermentation. See pasteur, louis, and pasteurization. Pasteur’s path-breaking discoveries allowed brewers and other food and beverage producers to develop sanitary procedures that were effective in keeping microbes reliably at bay. Today, of course, pasteurization and other germ-killing techniques are ubiquitous.

After the kettle boil, wort should be perfectly sterile. Thereafter, infection can occur during wort cooling, fermentation, cold transfer, or packaging. The brewer’s best weapons against undesirable microbes in the finished beer are proper sanitation in the brewery’s cellar and packaging area, as well as the use of sterile bottles and kegs. Many breweries, especially large industrial ones, also sterile filter their beer on the way to the bottling line and/or pasteurize it after packaging. These steps prolong a beer’s shelf life by removing or killing potential infectious organisms and thereby make it more probable that a drinkable product reaches the consumer’s table. But pasteurization, if improperly performed, can induce stale or “cooked” flavors and aromas. Sterile filtration can remove bacteria but can also strip away flavor, aroma, body, and even color. See sterile filtration. Bottle-conditioned beers, however, such as many Belgian styles and German hefeweizens, are sometimes flash pasteurized before the reintroduction of live yeast. Classic bottle conditioning, however, does not include this step and therefore requires sufficient sanitation in the brewery to ensure quality and proper shelf stability.

See also acidity, bacteria, beer spoilers, haze, off-flavors, and sour beers.