Back to articles
General Microbiology16 min read

Food Spoilage: Causes, Types, and Prevention

Learn how to tell microbial, enzymatic, and physical food spoilage apart, why each food spoils the way it does, and how water activity and pH control it.

A
Alisha Tripathi
Alisha Tripathi holds an M.Sc. in Medical Microbiology from National College, Tribhuvan University. With over a year of teaching experience, her academic interests span Molecular Biology, Immunology, and Genetics.
On this page

Two cartons of milk sit in the same refrigerator. One turns sour in a week. The one next to it, ultra-heat-treated and sealed, is still fine three months later. Same milk, same fridge, completely different outcomes.

Food spoilage is not random. It follows rules set by the food itself and by how it is stored. Once you know those rules, you can predict which food will spoil, how it will spoil, and how to slow it down.

Food spoilage is any change that makes food unacceptable to eat. The change may be in smell, taste, texture, or appearance. Spoilage is a sensory and quality problem. It is not the same as food safety.

This distinction matters, and students often mix the two up. Spoiled food is food you would reject because it looks, smells, or tastes wrong. It may still be safe. Unsafe food carries pathogens or toxins that can make you ill, and it may look and smell completely normal. A can of meat holding deadly botulinum toxin can look and smell fine. A block of cheese covered in harmless surface mold looks spoiled but may be safe once trimmed. Spoilage protects you by warning your senses. Safety failures often give no warning at all.

Spoilage of different foods - Source:fineartamericaThe scale of spoilage is large. Roughly 15 to 20 percent of the food produced worldwide is lost or wasted, and microbial spoilage is a major cause. A food's shelf life is the length of time it stays acceptable under normal storage. Understanding what shortens that shelf life is the whole point of this article.

The three types of food spoilage

Food spoils in three main ways. Being able to tell them apart is more useful than memorizing a long list of causes, because the type of spoilage tells you what to do about it.

Microbial spoilage is caused by bacteria, yeasts, and molds growing in or on the food. This is the most important type and the main focus of this article. The signs are slime, gas, off-odors, souring, and visible mold. Microbial spoilage is what preservation methods are mostly designed to stop.

Enzymatic (autolytic) spoilage is caused by the food's own enzymes, which keep working after harvest or slaughter. No microbe is needed. Browning of a cut apple, softening of overripe fruit, and off-flavors in stored green vegetables from peroxidase activity are all enzymatic. This is why some foods are blanched (briefly heated) before freezing: the heat destroys these enzymes.

Physical and chemical spoilage covers everything else: bruising and insect damage that open the food to microbes, freezer burn, moisture loss, staleness, and fat going rancid through oxidation. These are not driven by living cells at all.

How to tell them apart

In practice, more than one type is often happening at once. Insect or physical damage breaks the food's protective surface, which then lets microbes in. So the types interact, but the leading cause usually leaves a recognizable signature.

Clue you observe Most likely spoilage type
Slime, gas, souring, or visible mold Microbial
Browning of a cut surface, softening of ripe fruit Enzymatic
Rancid or "painty" smell in fatty food Chemical (fat oxidation)
Bruises, holes, insect tracks Physical, usually followed by microbial
Dry, discolored patches on frozen food Physical (freezer burn)

Why one food spoils and another does not

Whether a food spoils quickly, slowly, or barely at all comes down to two sets of factors. Intrinsic factors are properties of the food itself. Extrinsic factors are conditions in the storage environment. Almost every preservation method works by pushing one of these factors out of the range microbes need.

Intrinsic factors (properties of the food)

Water activity (aw) is the single most important factor. It measures the free water available for microbes to use, on a scale from 0 to 1. It is not the same as total moisture. Honey is wet to the touch but has an aw near 0.6, because its sugar binds the water tightly and locks it away from microbes.

The thresholds are worth memorizing, because they explain most preservation methods:

- Most spoilage bacteria need an aw above about 0.91.

- Molds and yeasts tolerate much drier conditions, some molds growing down to an aw of about 0.70.

This one fact explains a great deal. It is why bread goes moldy rather than slimy: bread is too dry for bacteria but wet enough for mold. It is why salting and sugaring preserve food, since both pull water activity down below the bacterial threshold. Two important pathogens sit at the edges: Staphylococcus aureus can grow down to an aw of about 0.85, lower than most bacteria, while Clostridium botulinum needs a high aw and will not grow below about 0.94.

pH (acidity) decides which microbes can compete. Most bacteria prefer a near-neutral pH of about 6.5 to 7.5, which is why meat, fish, and milk are spoiled mainly by bacteria. Yeasts and molds tolerate acid far better, so acidic foods like fruit and citrus are spoiled mainly by fungi, not bacteria.

One pH number carries real safety weight: pH 4.6. Below this value, Clostridium botulinum cannot grow or make toxin. This single threshold is the dividing line between "high-acid" foods (pickles, most fruits, jams) that are relatively safe from botulism, and "low-acid" foods (meats, most vegetables, fish) that need much more severe processing. It is the reason canning rules treat these two groups completely differently.

Nutrient content, natural antimicrobials, and biological barriers round out the intrinsic factors. Foods rich in protein and simple sugars support fast growth. Some foods carry their own defenses, such as lysozyme in egg white or allicin in garlic. Physical barriers like the shell of a nut, the rind of a fruit, or the skin on meat keep microbes out until that barrier is broken.

Extrinsic factors (conditions of storage)

Temperature is the most powerful lever you control after the food leaves processing. The danger zone of roughly 5 to 60°C (41 to 140°F) is where most spoilage and pathogenic microbes grow fastest. Refrigeration does not sterilize; it only slows growth. Some spoilage microbes, called psychrotrophs (such as many Pseudomonas species), grow slowly even in the refrigerator, which is why chilled meat and milk still spoil eventually.

Gas atmosphere (oxygen) selects for different spoilers. In open air, aerobic microbes like molds and Pseudomonas dominate the surface. In vacuum-packed or sealed products, oxygen-hating anaerobes take over, which is why vacuum-packed meat spoils differently from meat left on a tray, and why sealed low-acid foods carry a botulism risk.

Humidity affects surface water activity. Storing food in a damp place raises the water available at its surface and speeds up microbial growth, even if the food itself started out dry.

The practical point is that these factors act together. A food that is acidic, dry, and cold is stable because three barriers stack against the microbe at once. This idea, that several mild barriers together do the work of one severe treatment, is the basis of modern food preservation.

Food Spoilage by Microorganisms

Microbes have both helpful and harmful roles in food. Yeasts, molds, and bacteria are the three groups usually responsible for spoiling food. This section covers which organisms cause spoilage and the changes they produce.

Yeast

Yeast, a eukaryotic organism, is a subgroup species of organism known as fungus. Yeasts are well recognized for their beneficial fermentations that produce bread and alcoholic beverages and can grow with or without oxygen.

In addition, they are used to increase the surface of cheese and meat as well. They generally colonize foods with maximum sugar or salt content, such as sauerkraut, pickles, maple syrup, low pH fruits, and liquids, and deteriorate them.

Yeast growth on the surface of pork loins - Debaryomyces hansenii(yeasts) on the surface of pork loins after 0 (A), 10 (B), and 30 (C) days of ripening. Source: https://doi.org/10.3390/microorganisms9071512Figure: Debaryomyces hansenii(yeasts) on the surface of pork loins after 0 (A), 10 (B), and 30 (C) days of ripening. Source: https://doi.org/10.3390/microorganisms9071512

The four main yeast genera that cause spoilage are Zygosaccharomyces, Debaryomyces hansenii, Brettanomyces, and Candida. Zygosaccharomyces species spoil foods such as honey, dry fruits, jams, and soya sauce by releasing the off odors or flavors and carbon dioxide that sometimes causes containers to swell and burst.

Debaryomyces hansenii can grow in high salt concentration (approx. 24%) so, are frequently isolated from salt brines used for cured meats, cheeses, and olives. Saccharomyces spp., and Candida, spoils fruits, some vegetables, and dairy products.

Dekkera /Brettanomyces only spoil fermented foods such as alcoholic beverages and dairy products by producing phenolic compounds which cause off-flavors on food.

Molds

Molds are microscopic fungi that are characterized by multicellular filaments known as hyphae. It is an organism that helps in decaying dead animals and plants. They also ruin the wide range of food products.

Some molds that cause food spoilage are Zygomycetes, a primitive fungus that proliferates on fruits and vegetables rich in fruits like strawberries and potatoes. Some of them also grow in bread. The Zygomycetes commonly seen in spoiled products are Mucor and Rhizopus. Penicillium and related genera are found in soil and plant debris. Many of these species produce antibiotics used as medicine by humans.

Mold growth on strawberry - Mold (Penicillium) Responsible for Food SpoilageFigure: Mold (Penicillium) Responsible for Food Spoilage

Still, some species cause harm by releasing mycotoxins (patulin, ochratoxin, citreoviridin, penitrem) in different fruits and vegetables ( pear, citrus fruits, and apples).

Byssochlamys species cause spoilage of pasteurized juices because of their heat-resistant spores. Aspergillus typically develops more quickly, are much more resistant to high temperatures and low water activity, and predominate spoiling in warmer areas.

This mold affects a wide range of food products (grains, dried beans, peanuts, tree nuts, and some spices) and non-food products (paper, leather) by releasing the mycotoxins such as aflatoxins, ochratoxin, territrems, and cyclopiazonic acid.

Fusarium spp. does not spoil the food, but the mycotoxins released in harvested grains can cause a health threat.

Bacteria

Spore-forming bacteria matter in heat-treated food because their spores survive temperatures that kill ordinary cells. These bacteria are Gram-positive. They include both aerobes and anaerobes, and both heat-loving (thermophilic) and moderate-temperature (mesophilic) types.

These bacteria produce hydrogen sulfide (e.g., Desulfotomaculum), and others release hydrogen and carbon dioxide (e.g., Thermoanaerobacterium) when kept at high temperatures (like soups sold in vending machines).

Psychrotolerant spore-producer organisms such as Clostridium spprelease gas and sickly odors in food products (meats and brine-cured hams), whereas Bacillus spp produces off-fragrances and gas in chilled and milk products.

Lactic acid bacteria (LAB) such as Lactobacillus, Pediococcus, Leuconostoc, and Oenococcus help form fermented foods such as yogurt and pickles. Still, they damage the foods (meat, wine, or juices) in low oxygen, low temperature, and acidic conditions producing off flavors (mousy, cheesy, malty, sour, buttery).

Clostridium perfringens in meat - Clostridium perfringens in vacuum–packaged wurstelFigure: Clostridium perfringens in vacuum–packaged wurstel

These organisms secrete gas and vast amounts of extra-polysaccharides resulting in slime on meat and ropy spoilage in some food products.

Pseudomonas generally need maximum water activity for growth and are inhibited by a pH below 5.4. Some species (psychrophilic) require refrigeration to grow, whereas others can thrive and grow at warmer ambient temperatures.

Four Pseudomonas species are mainly responsible for this type of spoilage: P. fluorescens, P. fragi, P. lundensis, and P. viridiflava. Along with Shewanella putrefaciens, they ruin foods of animal origin (meat, fish, and milk) by secreting lipases and proteases that result in the release of sulfides and trimethylamine (off-odors), as well as by producing biofilms (slime) on surfaces.

Some strains ruin the meals in the refrigerator since they can grow at low temperatures, whereas X. campestris, P. fluorescens, and P. viridiflavasecrete enzymes such as pectic lyase enzymes that break down the pectin in the plant-derived food and produce musky or slime layer within it (3).

Other than these microorganisms, other factors can also cause food deterioration. The insects such as flies, mites, moths, beetles, and weevils are the leading cause of spoilage of stored-food products like flour, dried fruits, grains, nuts, cheese, corn, and dried vegetables. These insects carry disease-causing microorganisms or toxins produced in their body.

The indigenous enzymes such as catalase, proteinase, and lipase amylase in plants and animals continue to function. In addition, they deteriorate the quality of food if not appropriately destroyed during storage. For example, the peroxidase enzyme causes off-flavors during storage in green vegetables.

The temperature is an essential factor that may cause food spoilage as well. For instance: the food kept at a low temperature makes it partially frozen, which leads to the breakage of cells and damages food quality.

The foods are exposed to irradiation to kill the deteriorating microorganism, increasing the shelf-life of food. However, prolonged exposure of food to rays cause a loss in micronutrients (mostly vitamin A, B, C, and E), affecting the nutritional value of food (5).

How to prevent food spoilage

Every preservation method works by attacking one of the factors above. Once you see prevention this way, you do not have to memorize methods as a random list. You can reason out why each one works.

Remove water (lower water activity). Drying, salting, and adding sugar all pull water activity below the level microbes need. Salt at roughly 15 to 20 percent and sugar at roughly 68 to 70 percent both draw water out of microbial cells by osmosis, causing plasmolysis. This is why jam, cured meat, and dried grains keep for so long.

Lower the pH (add acid). Adding weak organic acids such as acetic, lactic, benzoic, or sorbic acid, or letting lactic acid bacteria produce acid through fermentation, drops the pH below what most spoilage bacteria tolerate. This preserves pickles, sauces, and fermented foods. Dropping below pH 4.6 also removes the botulism risk, which is the principle behind safe pickling.

Control temperature. Refrigeration slows microbial growth by pushing the food below the fast-growth part of the danger zone. Freezing stops microbial growth almost completely, though it does not kill all microbes; they resume when the food thaws.

Apply heat. Pasteurization and canning kill microbes outright. The severity needed depends on the food's pH, which is exactly why low-acid foods need far harsher processing than acidic ones.

Change the atmosphere. Vacuum packing and modified-atmosphere packaging remove oxygen to stop aerobic spoilers like molds and Pseudomonas. This must be done carefully in low-acid foods, because removing oxygen favors anaerobes such as Clostridium botulinum.

For a full treatment of each method, see the guide to food preservation methods.

How to Remember

Three types of spoilage, "MEP":
Microbial (living microbes), Enzymatic (the food's own enzymes), Physical/chemical (damage and oxidation). If you can name the signature (slime and mold = microbial; browning = enzymatic; rancid = chemical), you have identified the type.

Water activity, who grows where:
Bacteria are thirsty, molds are not. Bacteria need it wet (aw above ~0.91); molds can grow dry (down to ~0.70). This is the one-line reason bread molds instead of turning slimy.

The two danger numbers worth memorizing cold:

  • aw 0.91: below this, most spoilage bacteria stop.
  • pH 4.6: below this, Clostridium botulinum cannot grow. This is the high-acid / low-acid dividing line for canning safety.

Why acidic foods grow fungi, not bacteria:
"Acid picks fungi." Fruit and citrus are acidic, so molds and yeasts win there while bacteria are shut out.

Key Exam Facts in One Table

Fact Value / detail
Spoiled vs unsafe Spoiled = sensory rejection, may be safe. Unsafe = pathogens/toxins, may look normal.
Three types of spoilage Microbial, enzymatic (autolytic), physical/chemical
Most important intrinsic factor Water activity (aw)
Minimum aw for most spoilage bacteria About 0.91
Minimum aw for molds Down to about 0.70
Staphylococcus aureus minimum aw About 0.85 (unusually low for a bacterium)
Clostridium botulinum minimum aw About 0.94 (needs a high-moisture food)
Preferred pH of most bacteria About 6.5 to 7.5
pH tolerance of yeasts and molds Grow well in acidic foods (below pH 5)
Critical safety pH 4.6: below this, C. botulinum cannot grow or make toxin
Temperature danger zone About 5 to 60°C (41 to 140°F)
Psychrotrophs Grow slowly even in the refrigerator (e.g., many Pseudomonas)
Main apple mold toxin Patulin, from Penicillium expansum
Every preservation method Works by pushing an intrinsic or extrinsic factor out of the microbe's tolerated range

Where Students Get Confused

"Spoiled" and "unsafe" are the same thing.
They are not. Spoilage warns your senses and is often harmless. The dangerous failures, botulinum toxin in a can or Salmonella in fresh chicken, usually leave the food looking and smelling normal. Never treat "it smells fine" as proof that food is safe.

Water activity equals moisture content.
Water activity is the free water available to microbes, not the total water present. Honey and jam are wet yet microbially stable because their sugar binds the water. This is why aw, not moisture percentage, is the number that matters.

Refrigeration kills microbes.
Refrigeration only slows growth. Psychrotrophic spoilers such as Pseudomonas keep growing slowly in the cold, which is why refrigerated milk and meat still spoil. Freezing halts growth but does not sterilize; microbes revive on thawing.

All molds on food are dangerous, or all are harmless.
Neither is a safe rule. Some surface molds are trimmed away with no harm; some produce mycotoxins such as aflatoxin or patulin that spread invisibly into the food. Because you cannot tell by looking, the safe default for moldy soft foods and grains is to discard them.

Why does acidic food grow mold instead of bacteria?
Because yeasts and molds tolerate acid far better than most bacteria. Low pH shuts out the bacteria and hands the food to the fungi. This is a discrimination point, not just a fact to memorize.

FAQ

Frequently Asked Questions

What is the difference between food spoilage and food poisoning?

Food spoilage is a change in smell, taste, texture, or appearance that makes food unacceptable. It is often harmless. Food poisoning is illness caused by pathogens or their toxins, and the food may look and smell completely normal. Spoiled food warns your senses; unsafe food often gives no warning.

What is the most common cause of food spoilage?

Microbial growth, mainly by bacteria, yeasts, and molds, is the most common cause. Which group takes over depends on the food's water activity and pH.

What is water activity, and why does it matter more than moisture?

Water activity (aw) is the free water available for microbes to use, measured from 0 to 1. It is not the same as total moisture. Honey is wet but has a low water activity because its sugar binds the water. Most spoilage bacteria need an aw above about 0.91, so lowering water activity by drying, salting, or sugaring is one of the oldest ways to preserve food.

Why does bread grow mold but milk turns sour?

Bread is too dry for bacteria but wet enough for mold, so it molds. Milk has high water activity and a near-neutral pH, ideal for bacteria, so it sours as bacteria produce acid.

Why is pH 4.6 important in food safety?

Below pH 4.6, Clostridium botulinum cannot grow or produce its toxin. This value separates high-acid foods, which are relatively safe from botulism, from low-acid foods, which need much stronger processing. It is the basis of safe canning and pickling rules.

Does refrigeration stop food from spoiling?

No, it only slows spoilage. Some microbes, called psychrotrophs, grow slowly even in the cold, which is why refrigerated milk and meat still spoil eventually. Freezing halts growth but does not sterilize; microbes revive when the food thaws.

Is moldy food always dangerous?

Not always, but you often cannot tell. Some surface molds are harmless and can be trimmed away from firm foods like hard cheese. Others produce mycotoxins such as aflatoxin or patulin that spread invisibly through the food. For soft foods, bread, and grains, the safe choice is to discard them.

References

  1. Jay JM, Loessner MJ, Golden DA. Modern Food Microbiology. 7th ed. New York: Springer; 2005.
  2. Adams MR, Moss MO, McClure P. Food Microbiology. 4th ed. Cambridge: Royal Society of Chemistry; 2015.
  3. Rawat S. Food spoilage: microorganisms and their prevention. Asian J Plant Sci Res. 2015;5(4):47–56.
  4. Blackburn CW, editor. Food Spoilage Microorganisms. Cambridge: Woodhead Publishing; 2006.
  5. Amit SK, Uddin MM, Rahman R, et al. A review on mechanisms and commercial aspects of food preservation and processing. Agric Food Secur. 2017;6:51. https://doi.org/10.1186/s40066-017-0130-8
  6. U.S. Food and Drug Administration. Acidified Foods; guidance on Clostridium botulinum and pH 4.6. Available from: https://www.fda.gov/food
  7. Snyder AB, Martin N, Wiedmann M. Microbial food spoilage: impact, causative agents and control strategies. Nat Rev Microbiol. 2024;22:528–542. https://doi.org/10.1038/s41579-024-01037-x
Acharya Tankeshwar
About Reviewer
Acharya Tankeshwar

Tankeshwar Acharya, MSc (Medical Microbiology)

Tankeshwar Acharya is an Assistant Professor in the Department of Microbiology at Patan Academy of Health Sciences (PAHS), Nepal, where he has been teaching and practicing clinical microbiology for over 14 years. He is the founder of Microbe Online, one of the leading free microbiology education resources on the web, covering bacteriology, mycology, parasitology, immunology, and clinical laboratory diagnostics written from direct experience in both the classroom and the diagnostic laboratory.

Comments

No comments yet. Be the first to share your thoughts.

Leave a comment

All comments are reviewed before they appear.

Never published or shared.

5000 characters remaining · Comments appear after review.