Yes, you can compost most mushrooms, but how you do it matters

Mushrooms break down in a compost pile, but they decompose differently than other kitchen scraps. Fresh mushrooms, cooked mushrooms, and mushroom stems all belong in your bin — the issue is speed and what else is in your pile. Raw mushrooms take longer to break down than softer vegetables, and they can attract pests if your pile runs too wet or too cool. Cooked mushrooms compost faster than raw ones because heat has already softened the cell structure.

The real problem arrives with mushroom-growing substrate — the material mushrooms are cultivated on. Spent mushroom compost (the leftover growing medium after harvest) is safe to add to your pile, but it often contains additives like gypsum or lime that change your compost's pH. If you're adding spent substrate from a commercial grower, check what it contains first.

Key Takeaways

  • Fresh and cooked mushrooms can go in your compost bin without harming the pile or creating toxic conditions.
  • Raw mushrooms decompose more slowly than cooked ones and may attract rodents or flies if your pile is too moist.
  • Spent mushroom substrate from commercial growers may contain lime or gypsum, which can raise your compost's pH and should be added in small amounts.
  • Moldy mushrooms are safe to compost and actually speed decomposition because the mold is already breaking down the tissue.
  • Mushrooms from treated wood chips or contaminated sources should not go in your pile.

Why raw mushrooms decompose slowly

Mushrooms have a dense, fibrous structure that resists breakdown. Unlike lettuce or tomato scraps, which soften within days, a whole raw mushroom can sit in your pile for weeks before it fully breaks down. The cell walls contain chitin — the same compound found in insect exoskeletons — which microbes take longer to digest.

Chopping mushrooms into smaller pieces speeds the process. A mushroom cap sliced into quarters will decompose faster than a whole cap because you've increased the surface area that microbes can attack. If you're adding large quantities of mushrooms, chop them first.

Temperature also matters. A hot pile (above 130°F) will break down mushrooms faster than a cool one. If your compost runs cold or sits dormant over winter, mushrooms may still be visible months later. This is not a problem — they will eventually decompose — but it means your finished compost takes longer to reach the pile.

Cooked mushrooms versus raw

Cooking softens mushroom tissue and makes it easier for microbes to consume. A cooked mushroom from a stir-fry or soup will break down in two to four weeks, compared to six to eight weeks for a raw one. If you have leftover cooked mushrooms, they're actually a better choice for your compost than raw ones.

The oil or butter on cooked mushrooms is not a problem in small amounts. A few tablespoons of cooking fat mixed into a large pile will decompose without creating odor or pest issues. If you're adding a full container of mushrooms in heavy oil or cream sauce, drain off the excess liquid first — not because it's toxic, but because it can make your pile too wet and slow decomposition.

Moldy and spoiled mushrooms

Mushrooms that have turned dark, slimy, or visibly moldy are actually ideal for composting. The mold is already doing the decomposition work for you. Mold breaks down the mushroom tissue into simpler compounds that your pile's bacteria and fungi can process quickly. A moldy mushroom will disappear into your compost faster than a fresh one.

Mushrooms with white fuzz, gray slime, or a strong ammonia smell are all safe to add. The smell means bacteria are already active, which is a sign decomposition is underway. Do not worry about the mold spreading to your garden — the heat and microbial activity in your finished compost will kill most pathogens before you use it on plants.

Spent mushroom substrate and growing medium

If you grow mushrooms at home or buy spent substrate from a local grower, you can add it to your compost. Spent substrate is already partially decomposed and will integrate into your pile quickly. The issue is what the substrate contains.

Commercial mushroom growers often add lime or gypsum to their growing medium to control pH and prevent contamination. When you add spent substrate to your compost, these additives come with it. A small amount — a few handfuls mixed into a large pile — will not noticeably change your compost's pH. If you're adding several buckets of spent substrate, it can raise the pH enough to affect plant growth. Ask the grower what amendments are in their substrate before you add large quantities.

Substrate made from straw, hardwood sawdust, or coffee grounds is safe and will compost without issues. Substrate made from treated wood chips or wood treated with fungicides should not go in your pile.

Preventing pest problems with mushrooms

Mushrooms attract rodents and flies when your pile is too wet or too cool to decompose them quickly. A mushroom sitting in a damp, cold pile becomes a food source that sits around long enough for pests to find it. The solution is not to avoid composting mushrooms — it's to manage your pile's moisture and temperature.

Keep your pile moist but not waterlogged. If you can squeeze water from a handful of compost, it's too wet. Add dry material like shredded leaves or cardboard to balance moisture. If your pile is cool, turn it regularly to generate heat and speed decomposition. A well-maintained pile will break down mushrooms fast enough that pests do not have time to colonize them.

If you live in an area with active rodent problems, you can bury mushrooms deeper in the pile rather than mixing them into the top layer. Rodents are less likely to dig down than to forage on the surface.

Mushroom stems and caps

Both mushroom stems and caps compost at the same rate. There's no reason to separate them. If you're trimming mushrooms for cooking and have stems left over, throw the whole thing in your bin. The stem is slightly tougher than the cap, but the difference in decomposition time is negligible.

Mushroom gills (the underside of the cap) also compost without issue. Some gardeners worry that gills will spread mushroom spores in their compost, but this is not a practical concern. The heat and microbial activity in your pile will kill most spores, and even if some survive, they won't grow mushrooms in your finished compost — mushrooms need specific conditions and substrate to fruit.

Frequently Asked Questions

Will mushrooms in my compost grow into new mushrooms?

No. Mushrooms need specific growing conditions — the right substrate, humidity, temperature, and light — to fruit. Your compost pile does not provide these conditions. Spores may survive the composting process, but they will not germinate into mushrooms in your finished compost or garden soil.

Can I compost mushrooms from the grocery store?

Yes. Store-bought mushrooms, whether raw or cooked, compost without problems. If they're in a plastic container, remove them first. If they're wrapped in plastic film, peel that off too — only the mushroom itself goes in your bin.

What about mushrooms grown on wood chips treated with fungicide?

Do not compost them. Fungicide residues can persist through the composting process and contaminate your finished compost. If you're unsure whether the wood chips were treated, ask the grower or supplier before adding the substrate to your pile.

How long does it take mushrooms to fully break down?

Raw mushrooms typically take six to eight weeks in a warm, active pile. Cooked mushrooms break down in two to four weeks. Chopped mushrooms decompose faster than whole ones. In a cool or dormant pile, the timeline can extend to several months.

Can I add mushroom compost directly to my garden?

Yes, finished compost containing mushrooms is safe to use on vegetables, flowers, and lawns. The decomposition process neutralizes any pathogens. If the compost came from spent mushroom substrate with added lime, test your soil pH first — you may not need to add more alkaline material to your beds.