Drain Flies vs Gnats: Key Differences & Control Methods

George Schulz George Schulz

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.

Side view of drain fly showing fuzzy body and moth-like wing structure
Drain flies have a fuzzy, squat, triangular shape
Macro photo of fungus gnat showing slender body and long legs
Fungus gnats are smooth, slender, and mosquito-like

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.

FeatureDrain FliesGnats (Fungus Gnats)
LookFuzzy, moth-likeSmooth, mosquito-like
ShapeTriangular when restingSlender with long legs
Breeding SiteDrain biofilmMoist potting soil
Found NearDrains and pipesPlants 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.

1
The drain tape test

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.

2
Yellow sticky card test

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.

Better Termite technician servicing a home

Wait! Get a Free Flying Insect Inspection

Our local experts will identify your flying pest problem and recommend the right treatment. No obligation.

Frequently Asked Questions

How can I tell the difference between drain flies and gnats?

+

Drain flies have fuzzy, moth-like bodies and wings, while gnats appear slender and mosquito-like with smooth bodies. Drain flies flutter weakly near drains, whereas gnats are often attracted to lights or hover over plant soil.

Why do I have drain flies if my drains seem clean?

+

Drain flies breed in biofilm that forms inside pipes, even in drains that look clean on the surface. This organic layer can build up in any drain with slow water flow or little use. You need to scrub it out mechanically to remove it.

Will bleach kill drain flies in my drains?

+

Bleach usually doesn't fix drain fly problems because it can't get through the thick biofilm where larvae grow. Scrubbing with brushes or snakes, followed by hot water flushing, works much better.

What attracts gnats to my houseplants?

+

Fungus gnats are drawn to moist potting soil with lots of organic matter. Overwatering creates perfect breeding conditions because the larvae feed on fungi that thrive in wet soil.

Are drain flies harmful to my health?

+

Drain flies don't bite or sting, but they can point to plumbing problems that need fixing. In rare cases, they may carry bacteria from sewer systems, though they're mostly just a nuisance.

How long does it take to get rid of drain flies?

+

After proper drain cleaning, drain fly numbers usually drop within 1-2 weeks as adults die off and no new larvae can grow. But if the cleaning isn't thorough, they can bounce back fast.

Can I use the same treatment for both drain flies and gnats?

+

No. These pests need completely different fixes. Drain flies need pipe cleaning and biofilm removal. Gnats need moisture control and soil treatments. Using the wrong method wastes time and lets the problem grow.

Do these flying insects indicate other pest problems?

+

Both can signal moisture issues that draw in other pests. Drain flies may point to plumbing leaks, while gnats often mean overwatering or poor drainage that can also attract other moisture-loving bugs.

George Schulz
About the Author
George Schulz

With five years of hands-on experience in the pest control industry, George Schulz is a registered technician with the Virginia Pest Management Association and a proud third-generation professional in a family business that's been protecting homes for over 57 years. He manages and trains a team of service pros while also leading internal research efforts—recently spearheading a deep-dive review of thousands of documents on pest control materials to hand-pick the most kid and pet friendly, most effective solutions tailored specifically for homes in the DC metro area.