Small flying insects buzzing around your home are frustrating. After years of pest control work in the DC metro area, I’ve seen many homeowners mix up drain flies and gnats. This is one of the most common ID mistakes we see.
Knowing which one you have matters because each needs a different treatment. Using the wrong method wastes time and money while the bugs keep breeding.
What Are Drain Flies and Gnats?
Drain flies, also called moth flies, are a specific type of insect in the family Psychodidae. They live and breed in the slimy buildup inside pipes.
“Gnat” is a broad term that covers many small flying insects. According to Britannica, gnats include fungus gnats (Sciaridae), biting midges (Ceratopogonidae), and several other families. When you say “gnat,” you could mean dozens of different species.
This confusion comes up all the time with homeowners. Getting the right ID from the start saves a lot of hassle.
How They Look: Key Physical Differences
Both drain flies and most gnats are 2-4 mm long. Size alone won’t help you tell them apart. But their body shape and texture are very different.
Here’s a closer look at the key traits for each pest.
- Body: Fuzzy, moth-like, covered in fine hairs
- Wings: Fold roof-like over the body, creating a triangle shape
- Antennae: Short and bead-like with long scales
- Color: Gray to tan
- Flight: Weak fluttering, stays close to drains
- Body: Smooth, slender, mosquito-like
- Wings: Clear to smoky, held flat or slightly spread
- Antennae: Long, often 15 segments, easy to see
- Color: Dark gray to black
- Flight: Drawn to light, hovers over soil or near windows
Here’s a quick-reference table to compare the two side by side.
| Feature | Drain Flies | Gnats (Fungus Gnats) |
|---|---|---|
| Look | Fuzzy, moth-like | Smooth, mosquito-like |
| Shape | Triangular when resting | Slender with long legs |
| Breeding Site | Drain biofilm | Moist potting soil |
| Found Near | Drains and pipes | Plants and lights |
Flight and Behavior
How these insects move is another strong clue for ID.
Drain flies are very weak fliers. They hop or flutter only a few feet at a time and like to hover right over drains, especially at night. They rarely go far from where they breed.
Virginia Tech Extension research shows drain flies have a very limited flight range and rarely go more than a few feet from their breeding sites. Their larvae grow in pipe biofilm, which keeps adults tied to the same area.
Gnats are also weak fliers, but they behave differently. Fungus gnats are drawn to light and often show up near windows or light fixtures. They also hover over the soil of potted plants where they breed.
Where They Breed
Where each bug breeds is the biggest clue for treatment.
Drain flies lay eggs in the slimy biofilm that lines pipes, floor drains, and other plumbing fixtures. This film is made of bacteria and algae that build up in slow or clogged drains.
The larvae are aquatic, feeding on this organic gunk. They take 7-28 days to grow depending on temperature. Drain flies almost always point to a plumbing issue that needs fixing.
Fungus gnats lay eggs in moist potting mix or outdoor leaf litter. The larvae feed on fungi and tiny organisms in the soil. Sometimes they also eat tender plant roots.
Fungus gnats breed fast with overlapping generations. That means you’ll keep seeing new adults as long as conditions stay wet.
Once you know where they breed, you can see why each pest needs a different fix. Here’s how fast gnats can multiply if conditions stay wet.
NC State Extension says fungus gnats finish their life cycle in about 4 weeks at room temperature. Multiple stages overlap, so new adults keep emerging for months if you don’t address the moisture.
What These Pests Tell You About Your Home
Drain flies and gnats point to different problems.
Drain flies signal plumbing issues: slow drains, sewer leaks, or biofilm buildup that needs scrubbing, not spraying.
Fungus gnats signal moisture problems: usually overwatered houseplants. In our work across Virginia, Maryland, and DC, fungus gnat problems spike in winter when people tend to overwater indoor plants.
If you’re seeing these pests, you might also want to check our guide on bathroom bug ID to rule out other moisture-loving insects.
How to Get Rid of Each Pest
The treatment for each pest is completely different. Using the wrong method wastes time.
Drain fly control is all about cleaning the pipes. Sprays don’t work because larvae stay hidden in biofilm.
- Scrub pipe walls with stiff brushes or a plumber’s snake to remove buildup
- Flush with boiling water after scrubbing
- Install drain filters to catch hair and debris before biofilm forms
- Fix slow drains and check for sewer line issues
- Vacuum adults for quick knockdown while you address the source
- Avoid pouring bleach down drains. It doesn’t reach larvae and can create bad fumes
Gnat control focuses on moisture and soil treatment:
- Let soil dry out between waterings. The top 1-2 inches should be dry
- Use bottom-watering to keep the soil surface drier
- Apply Bti soil drenches (Bacillus thuringiensis var. israelensis) to target larvae
- Place yellow sticky cards at soil level to trap adults
- Improve drainage in planters and remove standing water from saucers
- Treat outdoor gnats like eye gnats with perimeter treatments and moisture reduction
Whichever pest you have, targeting the breeding site is what actually solves the problem.
The most common mistake I see is homeowners pouring bleach down drains for drain flies. It almost never works because bleach slides right past the biofilm. The only fix is physical scrubbing. For gnats, the fix is even simpler: stop overwatering your plants.
Professional ID Techniques
When homeowners can’t tell what they have, we use two quick tests to confirm.
For drain flies, we place clear tape over suspect drains overnight. This tape test method catches adults as they emerge and confirms which drain is the source.
For gnats, we set yellow sticky cards at soil level near plants. We also use soil moisture probes to check if overwatering is fueling the problem.
A hand lens shows the key differences clearly: fuzzy moth-like adults versus smooth mosquito-like adults, and slimy biofilm versus wet potting soil for larvae.
When to Call a Professional
Some cases need professional help. Ongoing drain fly problems often mean serious plumbing issues like broken sewer lines or hidden leaks. Widespread gnat problems might signal moisture in wall voids or other hidden spots.
Our licensed techs can quickly ID the exact species and recommend the right treatment. At Better Termite & Pest Control, we’ve served the DC metro area for over 57 years with more than 1,000 five-star reviews.
Call us at 703-683-2000 or email info@bettertermite.com for a free check.
Here’s what drain flies look like up close so you can compare them to what you’re seeing at home.

