Home Improvement

Do Gnats Come from Drains: Complete Guide for Homeowners

Do Gnats Come from Drains: Complete Guide for Homeowners

You have probably swatted a few of them off your morning coffee and wondered where they came from when your fruit bowl is empty. Do gnats come from drains is one of the most common pest questions homeowners ask, and the answer is yes, but the gnats are usually a different species than the ones flying around your bananas. Drain flies, also called moth flies or sewer gnats, breed in the biofilm that coats your kitchen and bathroom drains. Get rid of the biofilm and the flies disappear within 7-10 days.

Drain Flies vs Fruit Flies vs Fungus Gnats

Identification first. Drain flies (Psychodidae family) are about 1/8 inch long, fuzzy, and look like tiny moths when at rest. They hold their wings flat over the body in a heart shape. Fruit flies (Drosophila melanogaster) are about half the size, smooth, and have red eyes. Fungus gnats are slender, mosquito-like, and breed in moist potting soil rather than drains.

If the gnats around your sink look like fuzzy little moths, you have drain flies and the source is your drain. If they look like tiny red-eyed pests buzzing around fruit, you have fruit flies and the source is sitting on your counter.

The Biofilm Problem

Every drain accumulates a layer of organic gunk along the inside walls of the trap and the first few inches of pipe. Hair, soap residue, food particles, and grease combine into a slimy biofilm that drain flies use as both a nursery and a food source. Adults lay eggs in the film. Larvae hatch and feed for 9-15 days before pupating. New adults emerge and fly out the drain.

The Environmental Protection Agency lists drain flies as a nuisance pest rather than a disease vector, but they multiply fast and can become a serious infestation if ignored.

The Tape Test for Diagnosis

Before treating, confirm the drain is the source. Cover the drain opening with clear packing tape (sticky side down) at night. Check in the morning. If you see drain flies stuck to the tape, you have confirmed the breeding location.

Repeat the test on every suspect drain: kitchen sink, bathroom sink, bathtub, shower, basement floor drain, and washing machine standpipe. Multiple drains often breed simultaneously in homes with infestations.

Boiling Water as a First Strike

Pour a full kettle of boiling water down each affected drain. This kills surface-dwelling adults and some eggs but does not penetrate the biofilm well. Use it as a first pass before applying enzymes or scrubbing.

Skip boiling water on PVC traps in older homes; while modern PVC handles 180°F+ briefly, repeated boiling water doses can soften joints. Use very hot tap water (140-150°F) instead for routine maintenance.

Enzyme Cleaners: The Real Fix

Chemical drain cleaners like Drano or Liquid-Plumr will kill flies but do not effectively remove biofilm and can damage pipes with repeated use. Enzyme cleaners eat the biofilm itself, which is what you actually need to break the breeding cycle.

Bio-Clean ($30-$40 per pound on Amazon), InVade Bio Drain Gel ($25 per quart), and Green Gobbler Drain Cleaner ($15 for two pouches) all use biological enzymes or bacteria to digest organic buildup. Pour the recommended dose down the drain at night, do not run water for 8 hours, and repeat weekly for three weeks to fully clear the biofilm.

Looking to buy Do Gnats Come from Drains? Compare top-rated options.
Shop on Amazon →Browse Our Shop
As an Amazon Associate we earn from qualifying purchases.

Mechanical Cleaning of the Drain Trap

For severe infestations, take the trap apart. Place a bucket under the P-trap, unscrew the slip nuts, and remove the trap. You will see and smell the biofilm immediately. Scrub the inside of the trap with a long bottle brush (OXO Good Grips Bottle Brush, $8) and dish soap.

Use a flexible drain brush or a metal coil brush to scrub the first 12-18 inches of pipe beyond the trap. Reassemble, run hot water for two minutes, and follow with an enzyme treatment.

Bathroom and Floor Drains

Tub and shower drains are notorious drain fly breeders because hair and soap scum build aggressively. Remove the stopper or strainer and clear visible hair with a Zip-It tool ($5 at Home Depot). Apply enzyme cleaner overnight, then run hot water in the morning.

Basement floor drains that rarely see water dry out at the trap and lose the water seal, allowing flies to come up directly from the sewer line. Pour a gallon of water into rarely-used floor drains every 2-3 weeks, plus a cup of mineral oil to slow evaporation. Better yet, install a Sure Seal floor drain trap seal ($25) that closes mechanically when not in use.

Why the Problem Returns

Recurring drain fly issues usually trace back to one of three causes. First, an unused drain elsewhere in the house is still breeding (guest bathroom, basement utility sink). Second, the kitchen disposal is harboring biofilm under the splash guard. Third, a cracked sewer line under the slab is allowing flies access from the main sewer.

For the disposal, remove the rubber splash guard and clean both sides with a stiff brush and Dawn dish soap. For suspected sewer line damage, call a plumber for a camera inspection (typically $250-$500). RotoRooter, Mr. Rooter, and most local plumbers offer this service.

Prevention Maintenance Routine

Once drains are clear, weekly maintenance keeps them that way. Run very hot water down each drain for 30 seconds every Sunday. Apply enzyme cleaner monthly to the kitchen drain and quarterly to bathroom drains. Run the garbage disposal with ice cubes and rock salt monthly to scour the chamber.

Never pour grease down kitchen drains; collect in a jar and dispose in the trash. Use a hair catcher in showers ($5 for a TubShroom). Keep food scraps out of bathroom sinks and showers (it happens more than you think with kids).

When to Call an Exterminator

DIY enzymes and mechanical cleaning solve 95% of drain fly infestations. Call a pest control company like Orkin, Terminix, or a local independent if flies persist after three weeks of treatment, if you see them coming from multiple drains across the house simultaneously, or if a camera inspection reveals sewer line damage. Pro treatment runs $150-$400 for an initial visit.

Drain flies are gross but solvable. Identify the breeding drain, kill the biofilm with enzymes, mechanical-clean the worst traps, and maintain weekly. The flies will be gone within two weeks and stay gone with light maintenance.