Drain fly vs Fungus gnat

These two are easy to mix up. Here's how to tell a drain fly from a fungus gnat, and whether either one bites or stings.

Drain fly (Clogmia albipunctata)
(c) Reynante Martinez, some rights reserved (CC BY)

Drain fly

Clogmia albipunctata

Fungus gnat

Bradysia coprophila

≠The key differences

Fungus gnats are more slender, longer-legged and have clear wings with visible venation; they are associated with potted soil rather than drains.

⚖︎Side by side

Drain flyFungus gnat
To humansNuisance, allergenNon-toxic
Size2-5 mm long (body)2-4 mm long
ColoursDark grey, Light grey (hairy dusting), Brown (legs and antennae)Black, Dark gray, Brown
FamilyPsychodidaeSciaridae
HabitatMan-made wet habitats: sink and floor drains, sewage traps, septic tanks, drain pipes, grease traps, moist organic buildup in basements and boiler rooms.Moist, organic-rich soils, potted plants, greenhouses, compost, decaying plant material
RangeCosmopolitan in temperate and tropical regions, commonly found worldwide wherever indoor plumbing provides breeding sites.Cosmopolitan in temperate regions; common wherever potted plants, greenhouses or decaying organic matter provide habitat
ActiveActive year-round indoors; most active near dusk and at night. Outdoors in warm climates during spring-summer.Year-round in heated greenhouses and indoors; spring to fall outdoors in temperate regions, most active in warm, damp conditions and at dusk
Pest?YesYes

🔍How to spot a drain fly

  1. Tiny (2-5 mm), densely hairy body and wings giving a fuzzy, moth-like look.
  2. Broad, rounded wings held roof-like over the body with reduced wing venation.
  3. Weak, fluttering flight; often walk or hop near drains rather than fly long distances.
  4. Gather in groups on walls or near the drain where they breed, especially in bathrooms and kitchens.

Full drain fly guide →

🔍How to spot a fungus gnat

  1. Adults are 2-4 mm long, slender, dark-bodied flies with long legs and long multi-segmented antennae.
  2. Larvae are white or translucent maggots with a dark head capsule, found in the top 1-3 cm of moist potting soil.
  3. Adults are weak fliers and often seen walking on soil or flying low in swarms near plants or lights.
  4. Species-level separation from other sciarids requires microscopic examination of adult genitalia; look for general sciarid morphology for field ID.

Full fungus gnat guide →

?Frequently asked questions

What is the difference between a drain fly and a fungus gnat?

Fungus gnats are more slender, longer-legged and have clear wings with visible venation; they are associated with potted soil rather than drains.

Is a drain fly or a fungus gnat more dangerous?

Drain fly: Nuisance, allergen. Fungus gnat: Non-toxic. Drain flies do not bite or sting. Adults do not bite or sting.

Identification from photos is never certain: don't handle insects you can't identify, and get medical advice for bites, stings or allergic reactions.