Fungus gnats are small, dark, short-lived gnats, of the families Sciaridae, Diadocidiidae, Ditomyiidae, Keroplatidae, Bolitophilidae, and Mycetophilidae (order Diptera); they comprise six of the seven families placed in the superfamily Sciaroidea.
The larvae of most species feed on fungi growing on soil, helping in the decomposition of organic matter. However some species are predatory, including those in the genus Arachnocampa of family Keroplatidae – the "glowworms" of Australia and New Zealand.
The adults are 2–8 millimetres (0.08–0.3 in) long, and are occasionally pollinators of plants and carriers of mushroom spores. They also may carry diseases such as pythium (which causes "damping-off" to kill seedlings) on their feet.
Most fungus gnats are weak fliers, and can often be seen walking rapidly over plants and soil, rather than flying. However when airborne, the gnats may be quite annoying to humans by flying into their faces, eyes, and noses, both indoors and outdoors. These flies are sometimes confused with drain flies.
Some fungus gnats are exceptionally hardy, being able to tolerate cold conditions through their possession of antifreeze proteins. Typically, overwintering organisms can either avoid freezing or tolerate freezing, but Excechia nugatoria can do both. For E. nugatoria, the production of noncolligative antifreeze proteins (NAPs) protects the head and thorax from freezing, but they do not protect the abdomen. Freezing of the head and thorax in other insects tends to have adverse effects on neural tissue, so it is not surprising that these protective mechanisms have been observed in certain species, but E. nugatoria is the only insect known to semi-freeze through the winter. By allowing the abdomen to freeze, evaporative water loss is reduced over the course of the winter.
Fungus gnats in the family Sciaridae may be pests. They are typically harmless to healthy plants - and humans - but can inflict extensive damage to seedlings; their presence can indicate more serious problems. In houseplants, the presence of sciarids may indicate overwatering; they may be feeding on roots that have been immersed in water too long and are thus rotting, or the gnats may be attracted to fungus growing in saturated topsoil. Consequently, allowing the soil to dry may reduce their numbers. The pests are sometimes also managed by placing a layer of sand or indoor mulch on top of the soil around plants; by introducing Hypoaspis miles mites or applying the biological larvicide Bacillus thuringiensis (var. israelensis) to kill gnat larvae; by drenching the soil annually in an insecticidal soap. Hydrogen peroxide can be mixed with water and used to kill fungus gnat larvae in infected soil with a mixture of one part 3% hydrogen peroxide mixed with four parts water, then applied to the soil. Adults can be trapped with sticky traps made of yellow card stock or heavy paper coated in an adhesive since the adults are attracted to the color yellow.
Since the gnats are weak fliers, fan-based traps as well as other fly-killing devices may be used to help control free-flying gnats, especially indoors. There are a number of toxic and non-toxic methods of controlling sciarids and their larvae, including nematodes, diatomaceous earth, or powdered cinnamon.
Commercial greenhouses typically employ the insect growth regulator diflubenzuron for control of fungus gnats and their larvae. It is applied to infected soil and will kill fungus gnat larvae for 30–60 days from a single application. Its mechanism of action is to interfere with chitin production and deposition and it also triggers insect larvae to molt early without a properly formed exoskeleton, resulting in the death of the larvae. Although it is targeted at fungus gnat larvae, care should be taken in applying it as it is highly toxic to aquatic invertebrates. Diflubenzuron typically has no toxic effect on adults; only the larvae are affected. 
|Wikimedia Commons has media related to Fungus gnat.|
- Morris, Lulu. "HAVE YOU SEEN THE DAZZLING GLOWING WORMS OF AUSTRALIA AND NEW ZEALAND?". nationalgeographic.com.au. nationalgeographic.com.au. Retrieved 31 July 2018.
- "Ko Mochizuki, Atsushi Kawakita. Pollination by fungus gnats and associated floral characteristics in five families of the Japanese flora. Annals of Botany. Volume 121, Issue 4, Pages 651–663". 14 March 2018.
- "Ecogrow Fungus Gnat". 17 March 2014.
- Fungus Gnats (advice) Archived August 8, 2015, at the Wayback Machine
- "Controlling Fungus Gnats and Damping Off Organically". Small Footprint Family. Retrieved 2016-03-18.
- "11 Sure Ways of Getting Rid of Gnats". Cover Images. February 23, 2016. Archived from the original on March 28, 2016. Retrieved 2016-03-18.
- "Fungus gnats survive winter half frozen". Archived from the original on 2016-01-14. Retrieved 2012-04-25.
- Sformo, Todd; Kohl, F.; McIntyre, J.; Kerr, P.; Duman, J. G.; Barnes, B. M. (1 October 2009). "Simultaneous freeze tolerance and avoidance in individual fungus gnats, Exechia nugatoria". Journal of Comparative Physiology B. 179 (7): 897–902. doi:10.1007/s00360-009-0369-x. PMID 19495776.
- W.S. Cransaw and R. A. Cloyd. "Fungus Gnats as Houseplant and Indoor Pests". 2009.
- Jan Riggenbach."Fungus gnats and plants don’t mix".
- John Brittnacher."Pests – Fungus Gnat Larvae"
- "How to Get Rid of Fungus Gnats – Planet Natural".
- "Controlling Fungus Gnats Organically – Small Footprint Family". 8 April 2012.
- ADEPT Insect Growth Regulator
- Adept label