The spoilage of meat occurs, if the meat is untreated, in a matter of hours or days and results in the meat becoming unappetizing, poisonous or infectious. Spoilage is caused by the practically unavoidable infection and subsequent decomposition of meat by bacteria and fungi, which are borne by the animal itself, by the people handling the meat, and by their implements. Meat can be kept edible for a much longer time – though not indefinitely – if proper hygiene is observed during production and processing, and if appropriate food safety, food preservation and food storage procedures are applied.
The organisms spoiling meat may infect the animal either while still alive ("endogenous disease") or may contaminate the meat after its slaughter ("exogenous disease"). There are numerous diseases that humans may contract from endogenously infected meat, such as anthrax, bovine tuberculosis, brucellosis, salmonellosis, listeriosis, trichinosis or taeniasis.
Infected meat, however, should be eliminated through systematic meat inspection in production, and consequently, consumers will more often encounter meat exogenously spoiled by bacteria or fungi after the death of the animal. One source of infectious organisms is bacteraemia, the presence of bacteria in the blood of slaughtered animals. The large intestine of animals contains some 3.3×1013 viable bacteria, which may infect the flesh after death if the carcass is improperly dressed. Contamination can also occur at the slaughterhouse through the use of improperly cleaned slaughter or dressing implements, such as powered knives, on which bacteria persist. A captive bolt pistol's bolt alone may carry about 400,000 bacteria per square centimeter. After slaughter, care must be taken not to infect the meat through contact with any of the various sources of infection in the abattoir, notably the hides and soil adhering to them, water used for washing and cleaning, the dressing implements and the slaughterhouse personnel.