Can Compost Make You Sick? Health Risks Explained

Compost can make you sick, though the risk depends heavily on what you are doing with it, how it was made, and your own immune status. The main hazards fall into a few categories: inhaling fungal spores and bacterial fragments stirred up when you turn or spread a pile, coming into contact with pathogens that survived incomplete composting, and long-term exposure to heavy metals or herbicide residues that hitched a ride into the finished product. For most healthy people handling backyard compost occasionally, serious illness is unlikely, but the risks are real enough that understanding them changes how you should handle the stuff.

Fungal Spores and What They Do to Your Lungs

The most immediate health hazard from compost is airborne. Decomposing organic matter is prime habitat for fungi, and one species in particular thrives in the heat of a working compost pile: Aspergillus fumigatus. This fungus is a natural decomposer of organic matter and actually survives the high temperatures that composting generates, which means finished compost can carry significant spore loads.1PubMed Central. Citizen Science Surveillance of Triazole-Resistant Aspergillus fumigatus in United Kingdom Residential Garden Soils When you turn, shred, or screen compost, those spores become airborne in large numbers. A systematic review of occupational and community studies found that bioaerosol concentrations were highest during agitation activities like turning and screening, and that concentrations of A. fumigatus above recommended safety thresholds were detected more than 250 meters from composting facilities in multiple studies.2PubMed Central. Exposures and health outcomes in relation to bioaerosol emissions from composting facilities: a systematic review of occupational and community studies

For a healthy person, breathing in a modest number of Aspergillus spores on a Saturday afternoon of gardening is not going to cause disease. Your immune system handles it. But for someone with a weakened immune system, chronic lung disease, or conditions like cystic fibrosis, inhaled Aspergillus can colonize the lungs and cause invasive aspergillosis, a life-threatening infection. Even in healthy people, repeated heavy exposure can trigger allergic reactions or a condition where the immune system overreacts to fungal proteins in the lungs.

Beyond fungi, compost dust carries bacterial fragments called endotoxins, which are pieces of bacterial cell walls that provoke strong immune responses. Measurements at composting operations have found endotoxin concentrations ranging from roughly 636 to over 16,000 endotoxin units per cubic meter of air, levels consistent with those linked to respiratory illness in other agricultural settings.3PubMed. Organic dust exposures from compost handling: case presentation and respiratory exposure assessment Two conditions are associated with this kind of exposure: hypersensitivity pneumonitis, an inflammatory lung disease caused by repeated inhalation of organic particles, and organic dust toxic syndrome, a flu-like reaction that hits hours after a heavy exposure and typically resolves on its own.3PubMed. Organic dust exposures from compost handling: case presentation and respiratory exposure assessment

Legionnaires’ Disease From a Bag of Potting Mix

This one surprises people. Legionnaires’ disease is often associated with contaminated water systems in buildings, but in Australia and New Zealand, one of the leading sources is potting soil and compost. The culprit is typically Legionella longbeachae, a species that thrives in organic soil products. In Australia, this is actually the more common cause of Legionnaires’ disease than the water-associated species, and cases have been linked directly to handling potting mix and topsoil.4PubMed Central. Exposure to potting soils and compost material as potential sources of Legionella pneumophilia in Australia Cases caused by the more widely known Legionella pneumophila have also been traced to potting mix exposure, though these are less commonly recognized.4PubMed Central. Exposure to potting soils and compost material as potential sources of Legionella pneumophilia in Australia

Infection happens by inhaling contaminated dust or aerosol particles from the product. The practical takeaway is straightforward: open bags of potting mix away from your face, dampen the material before working with it to reduce dust, and wash your hands thoroughly afterward. Australian public health agencies have issued exactly these warnings for years, and they apply just as much to homemade compost as to commercial bagged products.

Salmonella, E. coli, and the Temperature Problem

If you are composting animal manure, whether from chickens, cows, horses, or any other livestock, the raw material can carry pathogenic bacteria including Salmonella and E. coli O157:H7.5Journal of Food Protection. Destruction of Escherichia coli O157:H7 and Salmonella Enteritidis in Cow Manure Composting A well-managed hot compost pile kills these organisms. North American regulatory guidelines call for maintaining temperatures above 55°C (131°F) throughout the pile for at least three days to achieve pathogen inactivation.6Journal of Environmental Engineering and Science. A review of the effectiveness of current time–temperature regulations on pathogen inactivation during composting

The problem is that many home compost piles never hit those temperatures, or only parts of the pile get hot enough while the edges stay cool. When compost materials stay at lower temperatures, in the range of room temperature up to about 40°C, the required holding time for pathogen elimination is unknown. Research has shown that at these sublethal temperatures, the type of carbon material mixed with the manure (straw, peanut hulls, pine needles) influences how long Salmonella and E. coli survive, but none of the tested combinations offered a guaranteed kill.7Journal of Food Protection. Survival of Salmonella or Escherichia coli O157:H7 during Holding of Manure-Based Compost Mixtures at Sublethal Temperatures as Influenced by the Carbon Amendment In practical terms, this means a cool, passive compost pile that includes animal manure may still harbor live pathogens months after you thought it was “done.” The fix is either to ensure your pile reaches and sustains proper thermophilic temperatures, which requires active management, or to let manure-based compost cure for a long time before applying it anywhere near food crops.

Heavy Metals in Municipal and Commercial Compost

When cities collect household waste and compost it on an industrial scale, the resulting product almost always contains more heavy metals than background soil levels. Zinc and lead are typically the most concentrated, though cadmium, copper, chromium, and nickel are also present.8PubMed. A critical review of the bioavailability and impacts of heavy metals in municipal solid waste composts compared to sewage sludge These metals get into the waste stream from batteries, electronics, pigments, treated materials, and dozens of other everyday items that end up in the wrong bin. Even when food waste is the primary input, metals accumulate when non-food materials contaminate the feedstock.9Results in Engineering. Heavy metals in composted municipal waste: Insights into environmental and human health risks in developing regions (case study: Isfahan, Iran)

The degree of risk depends on the source. Compost made from source-separated green waste, where people intentionally set aside yard trimmings and food scraps, tends to have metal levels well below regulatory limits.8PubMed. A critical review of the bioavailability and impacts of heavy metals in municipal solid waste composts compared to sewage sludge Compost produced by mechanically sorting mixed municipal waste is more likely to push against those limits. The concern is not that a single application to your garden will poison you. It is that repeated applications over many years gradually raise the metal content of soil, and metals taken up by crops can enter the food chain. Heavy metals in compost pose risks to ecosystems, food safety, and human health, which is why researchers continue to look for remediation technologies to reduce them.10PubMed. Bio-chelation for sustainable heavy metal remediation in municipal solid waste compost: A critical review of chelation technologies

If you are buying compost in bulk from a municipal program, asking for a recent heavy metal analysis is reasonable. If you are making your own from kitchen scraps and yard waste, metal contamination is much less of a concern because the feedstock does not include the mixed-waste contamination that plagues municipal operations.

Herbicide Residues That Survive Composting

One of the more frustrating compost problems has nothing to do with microbes. Aminopyralid is a widely used herbicide applied to pastures and hay fields to control broadleaf weeds. It is extremely persistent: it passes through the digestive system of livestock that eat treated hay, survives in their manure, and remains active in compost made from that manure.11Agronomy. Composting Dairy Manure with Biochar: Compost Characteristics, Aminopyralid Residual Concentrations, and Phytotoxicity Effects There is no mandated withdrawal period after applying the herbicide, so farmers can bale and sell hay immediately after spraying.11Agronomy. Composting Dairy Manure with Biochar: Compost Characteristics, Aminopyralid Residual Concentrations, and Phytotoxicity Effects

The result is that gardeners who buy manure-based compost or accept donated horse manure sometimes discover that their tomatoes, beans, peppers, and other broadleaf crops develop curled, distorted leaves and stunted growth. This is not a disease; it is herbicide damage. The aminopyralid compounds cause toxic effects in sensitive crop plants at remarkably low concentrations.12Agronomy. Biochar Reduces Aminopyralid Residues and Phytotoxicity in Dairy Manure Compost While this is not directly a human health risk in the sense of poisoning you, it can destroy a season’s food production and leave residues in soil that persist for multiple growing cycles. The only reliable way to screen for aminopyralid contamination before applying compost is a bioassay: plant a few bean or tomato seeds in a pot of the suspect compost and watch for distortion over two to three weeks.

Pathogens Getting Into Your Produce

Even if your compost looks and smells fine, the question of whether pathogens in compost can make it into the vegetables you eat has received serious research attention. The answer is yes, at least under laboratory conditions. Studies have shown that both Salmonella and E. coli O157:H7 are capable of being taken up by lettuce plants grown in compost-amended soil, even at relatively low contamination levels. The bacteria were found inside plant tissues, not just on the surface, meaning washing alone would not remove them. Listeria monocytogenes, another common food pathogen, was not internalized in the same experiments but did persist on plant surfaces at significant levels.13PubMed. Potential for transfer of Escherichia coli O157:H7, Listeria monocytogenes and Salmonella Senftenberg from contaminated food waste derived compost and anaerobic digestate liquid to lettuce plants

This does not mean every salad from a composted garden is dangerous. It means that the quality of the compost matters a great deal when you are growing food. Properly composted material that reached thermophilic temperatures should not contain these organisms. The risk concentrates in compost that was not managed well or was applied too soon after production, especially compost made from animal manure or food waste.

Tropical Soil Pathogens and Compost

In tropical regions, a different set of soil-borne pathogens enters the picture. Burkholderia pseudomallei, the bacterium that causes melioidosis, lives in soil and surface water across Southeast Asia, northern Australia, and parts of the Caribbean.14PubMed Central. Out of the ground: aerial and exotic habitats of the melioidosis bacterium Burkholderia pseudomallei in grasses in Australia Melioidosis is a serious and sometimes fatal infection, and gardening in endemic areas is a recognized risk factor. Interestingly, though, research on domestic gardens found that commercial potting mix may actually suppress this bacterium. The high salinity and pH of concentrated organic material in commercial mixes appeared inhospitable to B. pseudomallei, and no live bacteria were recovered from tested commercial potting mix after four weeks.15PubMed Central. What Drives the Occurrence of the Melioidosis Bacterium Burkholderia pseudomallei in Domestic Gardens? Native garden soil in the same areas did harbor the pathogen. So for gardeners in the tropics, commercially produced potting media may actually be safer than local soil for certain applications.

Wound Infections and Soil Contact

Handling compost inevitably means handling soil and decomposing organic matter with your bare hands, and any scratch, cut, or thorn prick creates an entry point for infection. Tetanus is the classic concern. The bacterium that causes tetanus, Clostridium tetani, lives in soil, and anyone working with dirt and sharp objects faces some exposure. That said, a recent study testing 140 soil samples found C. tetani DNA in less than 1% of them, suggesting the organism is less ubiquitous in soil than commonly believed.16PubMed Central. An Assessment of the Presence of Clostridium tetani in the Soil and on Other Surfaces Rusted metal and dog feces were far more likely to test positive.16PubMed Central. An Assessment of the Presence of Clostridium tetani in the Soil and on Other Surfaces Still, keeping your tetanus vaccination current is basic gardening hygiene, and wearing gloves is the simplest way to prevent inoculating a wound with whatever your compost pile contains.

Other wound-associated infections from soil organisms, including Sporothrix (rose gardener’s disease) and various Clostridium species, are possible though uncommon. The common thread is that breaks in the skin plus organic soil contact equal an infection pathway that gloves largely eliminate.

Antibiotic Resistance Genes in Compost

A less obvious concern is that compost, especially compost derived from animal waste, can carry antibiotic resistance genes. Livestock manure contains antibiotic-resistant bacteria from the routine use of antibiotics in agriculture, and those resistance genes do not simply vanish during composting. Research tracking the journey of these genes from waste to compost to soil found that successive applications of composts made from green waste, sewage sludge, and poultry droppings reshaped the bacterial communities in agricultural soil and changed the abundance of specific resistance genes, with some increasing and others decreasing after composting.17PubMed Central. Tracking Enterobacteria, microbiomes, and antibiotic resistance genes from waste to soil with repeated compost applications

This is more of a public health concern at scale than an individual risk to a home gardener. The worry is that spreading resistant bacteria and their genetic material across agricultural soils accelerates the broader problem of antibiotic resistance. Environmental bacteria in soil can pick up resistance genes from the manure-derived organisms through horizontal gene transfer, creating new resistant strains that were never directly exposed to antibiotics.17PubMed Central. Tracking Enterobacteria, microbiomes, and antibiotic resistance genes from waste to soil with repeated compost applications For the home gardener, this is one more reason to know where your compost feedstock comes from, especially if you are sourcing manure from operations that use antibiotics heavily.

Why Dogs and Compost Piles Do Not Mix

If you have a dog and an open compost pile, there is a risk most gardening guides do not mention. Decomposing organic matter grows molds that produce tremorgenic mycotoxins, compounds that cause severe neurological symptoms in dogs. A documented case involved an eleven-year-old pit bull terrier that developed sudden whole-body seizures after eating material from a compost pile. Testing of the dog’s vomit confirmed the presence of three tremorgenic mycotoxins (paxilline, penitrem A, and roquefortine C) at significant concentrations, along with Penicillium mold that produces them.18PubMed Central. Tremorgenic mycotoxin poisoning in a dog: A case report Ingestion is the route; dogs rummaging through compost or eating chunks of decomposing food are the typical scenario. The seizures can be severe enough to be life-threatening. Fencing off compost bins or using enclosed tumbler-style composters solves this problem.

Who Faces the Most Risk

The people most vulnerable to compost-related illness are those with compromised immune systems, including organ transplant recipients, people undergoing chemotherapy, those with HIV/AIDS, and anyone on long-term immunosuppressive medication. For these individuals, Aspergillus spores that a healthy person’s lungs shrug off can cause invasive infections. Legionella exposure carries a higher risk of progressing to pneumonia. And wound infections are more likely to become systemic.

Occupational exposure is the other major risk factor. Compost workers who handle material daily face cumulative exposure to bioaerosols at levels that studies have linked to elevated rates of respiratory illness.2PubMed Central. Exposures and health outcomes in relation to bioaerosol emissions from composting facilities: a systematic review of occupational and community studies The difference between a weekend gardener and someone turning compost professionally five days a week is enormous in terms of cumulative dose. People living near large-scale composting facilities also face some ambient exposure, given that measurable bioaerosol levels have been detected hundreds of meters from composting sites.2PubMed Central. Exposures and health outcomes in relation to bioaerosol emissions from composting facilities: a systematic review of occupational and community studies

Practical Precautions That Actually Matter

Most compost-related health risks can be managed with a handful of habits rather than elaborate protective equipment. Dampening compost before turning or spreading it dramatically reduces airborne spore and dust levels. Wearing gloves prevents wound inoculation and keeps soil organisms out of cuts. Working upwind of your pile means you are not standing in the dust cloud. And if you have lung disease or a suppressed immune system, wearing a properly fitted particulate-filtering mask when handling compost is a genuinely useful precaution, not just theater.

For food safety, the most effective step is ensuring manure-based compost reaches and sustains temperatures above 55°C for multiple days, and then allowing it to cure before applying it to vegetable beds.6Journal of Environmental Engineering and Science. A review of the effectiveness of current time–temperature regulations on pathogen inactivation during composting A compost thermometer is inexpensive and takes the guesswork out. If your pile never gets hot, you are relying on time and microbial competition to reduce pathogens, which works eventually but is less predictable. Keep unfinished or cool-process compost away from root vegetables and leafy greens where contamination is most likely to reach your plate.

Knowing your compost’s ingredients matters more than any single precaution. Yard trimmings and kitchen vegetable scraps carry very different risk profiles than animal manure or municipal mixed waste. The cleanest home compost is made from materials you can trace, applied after it has fully matured, and handled with the common-sense awareness that you are working with a biologically active material, not sterile potting medium.