Common grocery store mushrooms are not carcinogenic. The International Agency for Research on Cancer classified agaritine, the compound in button mushrooms most often flagged as a concern, in Group 3: not classifiable as carcinogenic to humans, due to a lack of evidence that it causes cancer in people. In fact, the overall body of research points in the opposite direction. A large meta-analysis of 17 observational studies found that people who ate the most mushrooms had a 34% lower risk of cancer compared to those who ate the least.
That said, the question isn’t quite as simple as a blanket yes or no. The answer depends on the type of mushroom, how it’s prepared, and whether it’s wild or commercially grown.
Agaritine in Button Mushrooms
Agaritine is a naturally occurring compound found in Agaricus bisporus, the species that includes white button, cremini, and portobello mushrooms. Fresh specimens contain roughly 228 micrograms per gram of wet weight. In animal studies, very high doses of agaritine’s breakdown products have caused tumors, which is why the compound occasionally makes headlines. But the concentrations found in a normal serving of mushrooms are orders of magnitude lower than the doses used in those experiments, and no human study has linked eating these mushrooms to increased cancer risk.
Agaritine is also unstable. It breaks down significantly during storage, cooking, and processing. Canned button mushrooms, for example, have no detectable agaritine at all.
How Cooking Reduces Agaritine
If the presence of agaritine still concerns you, cooking makes a dramatic difference. Boiling mushrooms extracts about 50% of the agaritine into the cooking liquid within just five minutes and degrades another 20 to 25%. Simmering for two hours, like making a sauce, leaves only about 10% of the original content in the solid mushroom pieces. Frying in oil or butter reduces agaritine by 35 to 70%, depending on time and temperature. Microwaving cuts it to roughly one-third of its original level.
Even dry baking, like placing mushrooms on a pizza, removes about 25%. Simple refrigerated storage reduces agaritine by 20 to 75%, depending on how long mushrooms sit before you eat them. In practical terms, by the time most people cook and eat their mushrooms, the agaritine content is a small fraction of what was in the raw product.
False Morels: A Genuinely Dangerous Mushroom
While common grocery mushrooms pose no meaningful cancer risk, certain wild mushrooms are a different story. False morels (Gyromitra species) contain gyromitrin, a compound that breaks down in the body into several hazardous chemicals, including methylhydrazine (a component of rocket fuel), formaldehyde, and acetaldehyde. All three of these breakdown products are classified as carcinogens under California’s Proposition 65.
These mushrooms are also acutely toxic. Symptoms of poisoning begin 5 to 12 hours after eating them and include severe gastrointestinal distress, neurological effects, and liver damage. While fatalities are uncommon, poisoning cases continue to be reported in the United States. False morels are sometimes foraged by experienced mushroom hunters who partially detoxify them through repeated boiling, but this doesn’t eliminate the risk entirely.
Heavy Metals in Wild Mushrooms
Mushrooms are natural bioaccumulators, meaning they absorb metals from the soil they grow in. Wild mushrooms from unpolluted areas typically contain 0.5 to 5 milligrams per kilogram (dry weight) of arsenic, 1 to 5 of cadmium, and under 5 of lead. In contaminated areas, these numbers can climb substantially. About half of the arsenic in mushrooms is inorganic arsenic, the more toxic form.
Commercially cultivated mushrooms consistently have lower heavy metal levels than wild ones. This is partly because the growing substrate is controlled and partly because commercial mycelium only grows for a few months, while wild mushroom networks can accumulate metals over years. European regulations cap cadmium at 0.20 milligrams per kilogram (wet weight) and lead at 0.30 for common cultivated varieties. If you buy mushrooms from a grocery store, heavy metal contamination is not a practical concern.
How Mushrooms May Protect Against Cancer
The more interesting story is the growing evidence that mushrooms are actively protective. The 2021 meta-analysis published in Advances in Nutrition pooled data from 17 studies and found a statistically significant association between higher mushroom intake and lower overall cancer risk, with a pooled relative risk of 0.66 for the highest consumption groups. The relationship followed a nonlinear dose-response curve, meaning even modest amounts of mushrooms appeared beneficial.
Breast cancer showed the strongest signal. A separate systematic review found that mushroom eaters had a 35% lower risk of breast cancer compared to non-consumers, with a relative risk of 0.65. No other cancer site showed as consistent an association, though the overall cancer reduction remained significant across study types.
Antioxidant and Immune Mechanisms
Mushrooms are the richest dietary source of ergothioneine, an amino acid that the body actively absorbs and concentrates in cells under high oxidative stress. Ergothioneine neutralizes a wide range of damaging free radicals, including hydroxyl radicals (almost instantaneously, in lab studies) and singlet oxygen species, which it deactivates faster than other similar protective compounds. Inside cells, it prevents DNA damage through multiple pathways and appears to directly activate the body’s built-in antioxidant defense system by stabilizing a key protein that would otherwise be broken down.
Mushrooms also contain beta-glucans, complex sugars found in fungal cell walls that interact with the immune system. These compounds activate natural killer cells and T cells, both of which play roles in identifying and destroying abnormal cells before they can develop into tumors. Lab studies show that mushroom-derived beta-glucans increase expression of early activation markers on natural killer cells by roughly 20% and trigger production of immune-signaling molecules that coordinate a broader defensive response. This is in vitro evidence, not proof that eating mushrooms prevents cancer, but it offers a plausible biological explanation for the patterns seen in population studies.
The Bottom Line on Raw vs. Cooked
Eating raw button mushrooms in a salad occasionally is not a cancer risk. The agaritine levels are low, the compound is poorly absorbed, and decades of population data show no harm. Still, cooking your mushrooms is the simplest way to neutralize agaritine almost entirely while also improving digestibility and flavor. The protective compounds, ergothioneine and beta-glucans, are heat-stable and survive normal cooking.
The mushrooms to genuinely avoid are wild species you cannot confidently identify, particularly false morels and any mushrooms foraged from contaminated soil near industrial sites, highways, or old orchards where pesticides may have accumulated.

