Why Eliminate Fungus Gnats?
Fungus gnats, especially attracted by the smell of mushrooms, can quickly become a plague for growers. These small insects, often fruit flies, lay their eggs on the mushrooms, which can lead to an infestation in no time. Once the larvae hatch, they begin feeding on the mushroom tissues, causing significant damage.
This infestation leads to a decrease in both the quality and quantity of the harvests. The second and third harvests are particularly affected, as the damage caused by the larvae can weaken the mushrooms and reduce their production potential.
Moreover, the presence of fungus gnats can promote the development of secondary diseases, making the final product less appealing to consumers. Therefore, controlling these insects is crucial to ensure the viability and profitability of your mushroom cultivation.

Problematic Period and Reproductive Cycle of Fungus Gnats
Fungus gnats can be particularly problematic during the hot and humid months of summer and early autumn. These conditions favor their rapid reproduction.
Optimal temperatures for fungus gnat reproduction generally range between 20°C and 30°C. At these temperatures, the reproductive cycle can complete in as little as 7 to 10 days, depending on the species and environmental conditions.
In fruiting rooms, several types of fungus gnats can be problematic:
- Drosophila melanogaster (the vinegar fly): This species is particularly attracted to sweet odors and can quickly colonize mushroom crops.
- Scaptomyza flava: Known for its ability to develop in humid environments, this fly can also lay its eggs on mushrooms, leading to rapid infestation.
- Coelostoma spp.: Less known, this fly is often present in mushroom cultures, where it can cause damage similar to that of the fruit fly.
It is crucial to monitor these species and act quickly in case of infestation to protect your crops.

Use of Sticky Traps
To control the fungus gnat population, using sticky traps is an essential first step. Placing adhesive tapes or sheets in growing areas can help catch adults. Yellow traps are particularly effective as they attract these insects. These devices help monitor and reduce the number of flies present, thereby protecting your mushroom crops.
Preventing Fungus Gnat Proliferation
After each harvest, it is crucial to thoroughly clean the growing areas by removing all fungal residues. Debris can serve as breeding grounds for fungus gnats. It is recommended to gather all mushroom remains and dispose of them in a sealed bag. If larvae are present, it is imperative to immediately discard the contaminated blocks to prevent rapid spread of harmful insects.
Importance of Cleaning
Regular cleaning is essential to prevent the return of fungus gnats. Frequently inspect hard-to-reach areas and clean with a soapy water solution or bleach to eliminate bacteria and other residues attractive to flies. Cleaning should be done after each harvest, but also preventively to ensure no waste remains, thus minimizing the risk of future infestation.
Creating Positive Pressure in the Fruiting Room
For growers in sealed spaces, creating positive pressure by injecting more air than is expelled can help keep fungus gnats away. However, this requires a mosquito filter on air intakes to prevent insect intrusion. By maintaining a constant outward airflow, you reduce the risk of flies entering your growing space.
Electric Flycatcher
One of the most effective solutions is the electric flycatcher, which uses UV light to attract and electrocute flies. By installing a device in the growing area, you can significantly reduce their population. This type of flycatcher is economical and requires little maintenance, making it a popular choice among growers.
Organic Products and Natural Predators
In addition to traps and flycatchers, there are products usable in organic farming, such as insecticides based on neem or pyrethrum, which can help control fungus gnat populations without harming the environment. Moreover, introducing natural predators, like predatory drosophilids or nematodes, can also be an effective method to regulate fly populations by reducing their reproduction cycle.
Prevention Rather Than Cure
It is important to emphasize that prevention is easier than cure. By implementing preventive measures from the start of cultivation, such as regular cleaning and using traps, you can avoid infestations. A proactive approach is essential to maintain a healthy and productive growing environment.
Mushroom Varieties That Attract Fungus Gnats
Some mushroom varieties are particularly likely to attract fungus gnats due to their smell or cultivation method:
- Yellow Oyster Mushrooms: Their sweet smell attracts fungus gnats, making them an easy target for these insects.
- Pink Oyster Mushrooms: Besides their smell, their short lifespan makes them more vulnerable to infestations.
- Button Mushroom (Agaricus bisporus): Grown on a manure-based substrate, it emits a smell that attracts flies.
These varieties require special attention to avoid infestations.
Conclusion
Controlling fungus gnats is essential to preserve the quality of your mushroom harvests. Sometimes, it may be better to harvest less and discard old blocks rather than trying to maximize yields, which could lead to a fungus gnat infestation in your growing rooms.
Share your experiences and advice in the comments, and feel free to pass this article on to other growers facing the same problem.