Support MycoNote →

MycoNote

Can you eat mushrooms with worms in them?

By Valeriia·Updated ·3 min read

Often, yes: the “worms” are fungus gnat larvae and aren't poisonous. Cut off a tunnelled stem, soak the rest in salted water, and throw out mushrooms riddled right through.

Young porcini with a brown cap pushing up through grass and needles
Photo: Gigantopithecusman · CC BY-SA 4.0 · source

Often, yes: the “worms” are fungus gnat and fly larvae, which aren't poisonous and don't make a mushroom dangerous on their own. If only the stem has a few tunnels, cut it off; if the flesh is riddled through or it's soggy and smells bad, throw it away. Here's how to sort them and soak the larvae out.

Let's look at what these larvae are, when a wormy mushroom is still edible and when you're better off leaving it.

What are these "worms"?

They're not actually worms but the larvae of fungus gnats and flies, which lay their eggs in mushrooms. The larvae eat the flesh, leaving tunnels behind. It's a natural process, especially in warm weather: in hot weather mushrooms get wormy faster than in cool autumn weather.

The larvae aren't poisonous and don't make a mushroom dangerous on their own; it's more a question of quality and looks.

Are mushroom worms dangerous?

The Cascade Mycological Society looked into this and found nothing harmful in eating larvae, as long as the mushroom itself is in good condition. Experienced foragers say the same, and even the best cleaning misses a few. The real risk is the mushroom, not the larva: anything degraded by insects or age should go. We didn't find a report of the larvae passing parasites to people, which doesn't prove it can't happen, so cook wormy mushrooms thoroughly.

When a mushroom is still fine

  • A few tunnels in the stem. If only the lower part of the stem is affected, cut it off and keep the rest.
  • A clean cap. A young mushroom with a few tunnels at the base is usually still fine.
  • Soaking. Slice the mushrooms, soak them briefly in lightly salted water, then rinse. That encourages the larvae to leave, though you won't remove every one.

When to throw a mushroom away

  • Flesh riddled right through. If the cap and stem are tunnelled all the way through, the mushroom has lost its flavour and there's hardly any flesh left.
  • Signs of spoilage. No amount of cleaning or soaking will save a soggy, slimy, bad-smelling mushroom.
  • Old mushrooms. They're usually wormy and also build up more unwanted substances; we've written separately about why you shouldn't pick old and wormy mushrooms.

How to avoid wormy mushrooms

  • Go out when it's cool: there are fewer wormy mushrooms in autumn, and we have an article on why autumn mushrooms are cleaner.
  • Pick young mushrooms and check the cut stem right there in the woods.
  • Deal with your haul quickly: in the warmth, within a few hours the larvae will be crawling all over the basket.

Enjoyed the article?

Opens your phone’s share menu: WhatsApp, Messages or any other app.

Frequently asked questions

Can you eat mushrooms with worms?

If only part of the stem is affected, cut it off and keep the rest. Throw away mushrooms that are riddled through or spoiled.

What are the "worms" in mushrooms?

They're the larvae of fungus gnats and flies, which feed on the flesh. They aren't poisonous, but they ruin the mushroom and its looks.

How do you clean worms out of mushrooms?

Cut away any badly riddled parts, slice the rest, soak briefly in lightly salted water and rinse. That encourages the larvae to leave, though you won't remove every one.

Is it dangerous to eat a larva in a mushroom?

The larvae themselves aren't poisonous, but a mushroom that's wormy all the way through has usually lost its flavour and may be spoiled, so don't eat it.

Why do mushrooms get wormy?

Fungus gnats and flies lay their eggs in mushrooms, and the larvae feed on the flesh. In warm weather this happens faster.

Why are there more wormy mushrooms in summer?

Heat means lots of insects, and the larvae develop quickly. In cool autumn weather, mushrooms are cleaner.

How do you get fewer wormy mushrooms in your basket?

Pick young mushrooms, check the stem while you're still in the woods, and deal with your haul quickly, before the larvae start crawling around.

Can you dry wormy mushrooms?

Lightly affected firm mushrooms can be. Slice them thinly and start drying the same day: the heat drives the larvae out. Throw away any that are riddled, soft or spoiled.

Related articles

Sources