Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Small Fly Looking Bugs: What They Are and How to Get Rid

· 5 min read · Home Tech

In this article
  1. Match the Fly to Where It Sits
  2. Why Killing Adults Fails
  3. Fungus Gnats in Houseplants
  4. Fruit Flies in Kitchens
  5. Drain Flies and Phorid Flies
  6. Traps, Sprays and What to Skip

Most small fly looking bugs indoors are fungus gnats, fruit flies, drain flies or phorid flies, and the one you have depends on where it appears. The detail most people get wrong is that killing the adults rarely ends the problem: each of these insects breeds in a specific wet or decaying material, and the infestation continues until that material is found and removed. Identify the fly by its behavior and location first, then treat the source.

Match the Fly to Where It Sits

Location is the fastest identification tool you have. Watch where the insects rest and where they fly when disturbed, because each species has a strong preference.

  • Fungus gnats: small, dark, mosquito-like flies that walk on soil and hover around potted plants. They are weak fliers and usually stay within a few feet of a pot.
  • Fruit flies: tan to brown with red eyes, about 3 mm long, circling ripe or rotting fruit, compost, recycling bins and drains with organic film.
  • Drain flies: fuzzy, moth-like, gray or black, with wings held roof-like over the body. They rest on walls near sinks and showers and fly in short hopping arcs.
  • Phorid flies: tiny, humpbacked, run rapidly across surfaces in a jerky scuttle rather than flying. They favor sewage, decaying organic matter and damp crawl spaces.
  • Fungus gnats in overwatered pots are the most common answer when the flies appear around houseplants in fall and winter, when indoor watering continues but soil dries more slowly.

A useful rule of thumb: if the fly is at a plant, suspect fungus gnats; if it is at a drain, suspect drain flies; if it is at food or waste, suspect fruit flies; if it runs instead of flying, suspect phorid flies.

Why Killing Adults Fails

Adult flies live only days to a couple of weeks, but each female can lay dozens to a few hundred eggs in that time. A spray or a swatter removes the visible generation while the eggs, larvae and pupae continue developing in the breeding material. The population rebounds within about one to two weeks, which is why the flies seem to return after every cleanup.

The breeding material is the target. Fungus gnat larvae live in the top inch or two of moist potting soil and feed on fungi and fine roots. Fruit fly eggs sit on fermenting fruit, juice residue or the film inside a recycling bin. Drain fly larvae live in the slime coating the inside of a drain pipe, and phorid fly larvae develop in wet organic waste, including soiled mop water and leaking sewage lines.

Fungus Gnats in Houseplants

Let the top 1 to 2 inches of soil dry out between waterings; gnat larvae need consistent moisture and die back when the surface dries. Water from the bottom where the pot allows it, so the surface stays dry while roots still get moisture. Empty saucers and drip trays within a day, and never let pots stand in water.

Yellow sticky traps placed at soil level catch adults and show you whether the population is falling. For a heavy infestation, a biological control such as Bacillus thuringiensis israelensis granules or beneficial nematodes applied to the soil targets the larvae; follow the product label for dose and repeat interval. Repotting into fresh, well-draining mix helps when soil stays soggy, and a layer of coarse sand or gravel about half an inch deep on the surface discourages egg-laying.

Check other pots nearby. Gnats spread to any pot kept too wet, and a single overlooked saucer can keep the cycle going.

Fruit Flies in Kitchens

Remove the source before setting traps. Ripe fruit belongs in the refrigerator during an outbreak, and produce should be checked daily for soft spots. Rinse bottles and cans before recycling, take compost out daily, and clean the bottom and lid of the bin, where juice collects. A dish of apple cider vinegar with a drop of dish soap catches adults, but it will not stop the cycle if fermenting material remains.

Wipe the inside of the refrigerator's produce drawer and the seals around it. A forgotten potato or a spill under the crisper is enough to sustain a population. Fruit flies also breed in damp mops, wet rags and spills behind appliances, so check those spots once the obvious food is gone.

Drain Flies and Phorid Flies

Drain flies need the organic film inside the pipe, not just a clean sink basin. Scrub the visible drain opening with a stiff brush, then use a drain gel or enzyme cleaner labeled for drain fly control according to its directions; these products digest the film the larvae eat. Mechanical cleaning with a brush reaches further than pouring anything down the drain, and a plumber's snake helps in slow drains where film has built up.

Phorid flies are harder because they often breed in hidden moisture: a leaking pipe under a cabinet, a damp crawl space, a floor drain that has dried out, or overwatered soil in a basement. Find the wet area and dry it. If flies persist in a room with no obvious source, check under appliances and around the base of toilets for a slow leak.

Traps, Sprays and What to Skip

Sticky traps and vinegar traps monitor and reduce adults; they do not replace source removal. Insecticide sprays used indoors on flying adults give brief relief and can leave residue near food and plants, so reserve them for labeled uses and read the directions. Foggers are a poor fit for these flies because the breeding material is untouched.

Set a check date. After removing the source, adults should decline noticeably within about one to two weeks. If flies are still emerging after three weeks, a second breeding site exists: another pot, a floor drain, a recycling bin, or a leak you have not found. Recheck the same list of locations rather than spraying again.

Prevention is the same list in reverse: keep soil surfaces dry between waterings, keep waste and compost sealed and emptied often, and clean drains on a routine schedule. Small fly looking bugs are a moisture and decay signal, and fixing the moisture fixes the flies.