What attracts drain flies above all is the slimy, gelatinous film that builds up inside drains and other constantly wet places. Their larvae feed on the algae, bacteria and fungi in that film, so any drain, pipe, pan or container that stays damp and dirty can become a breeding site. Food on the counter, people and light play only a small role. Find and clean the wet, slimy source and the flies stop.
What attracts drain flies?
University of Maryland Extension’s drain fly guide explains that the larvae live in the slime in drains and traps and feed on the algae, bacteria and fungi in it. Ohio State University Extension adds that eggs, larvae and pupae are found in the bacterial muck on the sides of drains and overflow pipes. These are the main attractants:
- Slimy drains. Sink, tub, shower and floor drains, plus sink and tub overflow openings, are the most common source.
- Slow or seldom-used drains. Iowa State University Extension notes that drains that are seldom used or run slowly are especially likely to breed moth flies, because the film is never flushed away. Guest bathrooms and basement floor drains are typical.
- Leaks and standing water. Dripping pipes, loose tiles that trap water and damp spots under sinks give larvae the moist organic matter they need.
- Condensate pans. UMD lists the drip pans under refrigerators and air conditioners as breeding sites.
- Sewer leaks and backups. A cracked drain line under a slab or in a crawl space can produce flies for months.
- Dirty garbage cans. Liquid and residue in the bottom of a can are enough.
- Saucers under potted plants and wet lint. UMD lists plant saucers, and Ohio State mentions wet lint under washing machines.
- Outdoor water. Ohio State lists rain barrels, bird baths, above-ground pools, standing water around air conditioners and mulch kept constantly wet by irrigation. UMD adds clogged storm drains.
- Septic systems. Ohio State notes septic tanks and sewage filter beds can breed large numbers.
Why drain flies show up in your home
Most drain fly problems start inside the house. A female lays eggs in the drain film, and Ohio State notes that the life cycle can be completed in one to three weeks, with adults living about two weeks. Once a drain is infested, new adults emerge daily, which is why a few flies can seem to turn into dozens. Less often, the flies come from outside. Ohio State notes that some species are small enough to pass through ordinary window screens, and large populations at sewage plants can drift to nearby homes.
Flies that keep coming back usually mean a second source was missed. Our guide to why drain flies keep coming back covers the usual suspects.
Are drain flies attracted to light?
Somewhat. Drain flies are most active in the evening, when they hover around sinks and drains, and they will gather near lights and windows like many small flies. UV light traps and fly paper catch some adults, but Ohio State says these devices will not eliminate an infestation, because they do nothing to the larvae in the drain. If you use a bug zapper, keep it away from food areas. UC IPM warns that insects can burst on the wires and scatter body parts.
Are drain flies attracted to food, fruit or people?
- Food and fruit: not the way fruit flies are. Drain fly larvae feed on drain slime, not on fresh produce. If small flies are crowding your fruit bowl, they are probably fruit flies. Our guide to drain flies vs fruit flies shows how to tell them apart.
- People: no. Ohio State says drain flies do not bite humans. They are a nuisance, not a biting pest.
- Mold: mold itself is not the draw, but the damp, decaying organic matter where mold grows is the same kind of material larvae feed on.
- Vinegar: a vinegar trap may catch a few adults, but it does nothing to the breeding source. See will vinegar get rid of drain flies.
How to tell if you have drain flies
Adult drain flies are small, about 1/16 to 1/4 inch long according to UMD, fuzzy and moth-like, with wings held roof-like over the body or spread flat. Ohio State describes them as weak fliers that make short, jerky hops of a few feet and rest on walls near sinks, tubs and showers during the day. For photos and look-alikes, see what drain flies look like.
To confirm which drain is the source, Iowa State suggests covering the drain overnight with clear plastic wrap taped down at the edges. If flies are breeding there, they collect under the plastic within a day or two. Test each drain this way, including ones you rarely use.
How to keep drain flies away
- Scrub the drain. Iowa State says the only effective way to stop flies breeding in a drain is to clean the organic matter out of the pipe. Use a stiff, long-handled drain brush, and remove the trap or use a brush-tipped snake on clogged drains, as Ohio State recommends.
- Flush with hot water. Pour very hot water slowly down the sides of the pipe after scrubbing, if your plumbing can take it.
- Use an enzyme or bacterial drain cleaner for drains you cannot scrub. Ohio State says these products break down the film and work better than bleach, which larvae are surprisingly resistant to.
- Run water in unused drains every week or so, and keep slow drains clear.
- Fix leaks and dry wet spots, empty plant saucers and clean condensate pans.
- Clean garbage cans and empty them often.
Two safety rules: never mix bleach with drain cleaners, ammonia or acids, which can release toxic gas, and do not pour insecticide down a drain. Ohio State notes no insecticides are registered for use in drains.
FAQ
What causes drain flies all of a sudden?
Usually a drain that has built up enough slime to support larvae, often after a period of light use or a slow-running clog. A new leak or a sewer line problem can also start an infestation.
Do drain flies mean my house is dirty?
Not necessarily. Even well-kept homes get film inside pipes where you cannot see it. The fix is cleaning inside the drain, not more surface cleaning.
Do drain flies come from the toilet?
They can, especially from a toilet that is rarely flushed or from the area under a leaking toilet base. See drain flies coming from the toilet.
Are drain flies harmful?
They do not bite or sting. See are drain flies harmful for the full answer, including pets.
Sources
- University of Maryland Extension: Drain Flies
- Ohio State University Extension: Drain Flies (Moth Flies)
- Iowa State University Extension: Moth Fly
- UC IPM: Flies