Independent guides — we are not an exterminator. If someone has trouble breathing after a sting, call 911. Safety basics

FliesRemoval

How to Get Rid of Flies in the House (2026 Guide)

How to get rid of flies in the house: ID the species, find the breeding source with tape tests, and remove it. Traps catch adults, sanitation ends it.

Drain fly resting on a wall
How to get rid of flies in the house: ID the species, find the breeding source with tape tests, and remove it. Traps catch adults, sanitation ends it.

DIY-friendly: Usually DIY-able: correct ID + sealed entry + label-led method. Act on first signs — it only gets cheaper early. Hiring guide →

In this guide

Spraying adult flies feels productive and achieves almost nothing. Every indoor fly species runs a fast loop, egg to adult in 8 to 14 days, anchored to one specific nursery: ferment for fruit flies, slime for drain flies, rot for house flies. Kill a hundred adults and the nursery replaces them by next weekend. Find the nursery and the cloud collapses on its own within two cycles. This guide identifies the three usual suspects, proves each source with a tape test, and removes it for good.

Which fly is clouding my kitchen?

Three species cause nearly all indoor fly trouble, and each points to a different crime scene. Fruit fly is the tiny tan hovering fly, about an eighth of an inch, often with bright red eyes, drifting over bowls, trash and recycling. Females lay up to 500 eggs on fermenting surfaces, and the whole cycle completes in 8 to 10 days at room temperature. Drain fly is the dark moth-like speck on bathroom walls, weak flier, wings folded rooflike at rest, breeding in the gelatinous slime inside drains and condensate lines on an 8 to 24 day cycle. House fly is the big familiar buzzer on garbage, pet waste and compost, laying eggs in wet rot and finishing the cycle in about two weeks.

Location narrows it further. Clouds over the fruit bowl or trash mean fruit flies. Specks on the bathroom mirror point to drains. Buzzers at windows near garbage or pet areas mean house flies. Mixed kitchens can host two at once, so identify before acting: the wrong treatment wastes the weekend the right one would have finished in.

Where is the nursery?

Think like a detective, because the nursery hides in overlooked wetness. For fruit flies, check the produce drawer and onion bin first, then the detective list Wisconsin Extension teaches: caked sludge under trash cans, fridge drip pans, ketchup bottles bound for recycling, sour mops and buckets, broken drain traps, and the banana peel swept behind the stove. A single forgotten potato has funded whole infestations.

Housefly macro showing the size and bristles that separate it from smaller flies

House flies dwarf fruit and drain flies. Size plus location usually identifies the culprit before any trap.

For drain flies, prove before scrubbing. UC IPM recommends covering each suspect drain overnight with clear packing tape or an inverted cup coated inside with petroleum jelly. Morning catches convict that drain. Test every drain in the room, since weak fliers cluster near home but can breed in several pipes at once, including overflow channels, garbage disposals and AC condensate lines. No catch after two nights means looking past plumbing: sump pits, elevator pits, leaking pipes in crawl spaces and the soil under perpetually wet foundations.

Census every drain in one night

Tape all drains in the affected rooms on the same night, label each tape with the fixture, and photograph results each morning for two nights. Rank drains by catch count. Clean the winners first and re-tape after cleaning: zero catches on the retest proves the job, while persistent catches expose a deeper pipe problem worth snaking. This single-night census prevents the classic failure of scrubbing one drain while three others breed untouched.

For house flies, walk outside the breeding radius. Overflowing or lidless trash, pet waste older than a day, compost mishandled without heat, and carrion such as a dead bird in the gutter all qualify. Missouri Extension adds potted-plant soil kept too wet and dead animals in wall voids to the same list. Remove it, bury it, or seal it, and the indoor buzzers lose their factory.

FlyNurseryProof testFix
Fruit flyFermenting produce, trash sludge, sour mopsVinegar trap fills in a dayToss source, wash bins, dry mops
Drain flyDrain slime, condensate linesOvernight tape catchBrush plus enzyme cleaner, retest
House flyGarbage, manure, carrion, compostLarvae in the rot itselfRemove waste, seal cans, screen gaps
Cluster flyWall voids (overwintering)Autumn window swarmsSeal exterior, vacuum, pro dust

How do I break the cycle for each species?

Fruit flies surrender to source removal plus trapping. Clear every fermenting item, wash produce bins, dry mops fully between uses, rinse recyclables and empty kitchen compost daily. Run jar funnel traps while hunting: ripe banana or wine under a paper cone with a pencil-wide opening, frozen overnight to kill catches, bait refreshed every few days. Cornell notes flies often arrive as eggs on store produce itself, so washing fruit at purchase prevents the next wave. Expect clear counters within two life cycles once breeding stops.

Drain flies demand the brush, not the bleach bottle. Bleach and boiling water skim the slime without removing it, buying days at best, and bleach after caustic cleaner can release chlorine gas. Instead, snake slow drains, pull and clear J-traps, scrub walls several inches down with a stiff brush and enzyme cleaner, and flush until water runs free. Re-tape to verify. NC State adds the toilet tank, floor drains and loose tile puddles to the checklist, and warns aerosol sprays only pause adults. Hidden pipe breaks and septic faults belong to professionals with cameras, not homeowners with bleach.

House flies need sanitation plus exclusion. Bag waste in liners, keep cans lidded and washed, manage compost hot or covered, clear pet waste daily, and screen every opening with 14 to 16 mesh, since flies thread astonishing gaps. Swatters and vacuums handle stragglers. Reserve insecticides for the labeled last resort: baits and targeted residuals per the label, never broadcast sprays over kitchens. Southern and western walls where flies bask reward professional residual treatment before cluster-fly season each fall.

What about the fall window swarm?

Cluster flies play a different game. All summer they parasitize earthworms outdoors, then autumn drives them into wall voids and attics to overwinter, emerging confused at sunny windows on warm winter days. No indoor nursery exists to remove, so tape tests stay empty. The fix is exterior and seasonal: seal siding gaps, soffits and window trim in late summer, vacuum the emergers instead of spraying them, and consider a professional perimeter treatment on sun-struck walls just before they move in. Screens in good repair plus a calm vacuum routine turn a horror swarm into a minor chore.

When tape tests point inside walls, when septic faults or grease traps feed the cloud, or when attic cluster flies number in the hundreds, the nursery is structural and so is the fix. Pros bring pipe cameras, void dusts and fall perimeter treatments, plus the moisture readings that pinpoint wet voids amateurs cannot see. The same source-hunting habit serves damp-loving silverfish hunts, moth pantry checks and ant trail tracing. Start from the fly hub, cross-check every pest, and call the pro finder when the nursery hides inside the building itself.

How to: How to Get Rid of Flies in the House (2026 Guide)

Name the fly, prove the source, remove it.

You'll need

  • apple cider vinegar
  • jar and paper funnel
  • clear packing tape
  • petroleum jelly and cups
  • stiff drain brush
  • enzyme drain cleaner

Tools

  • flashlight
  1. Identify the fly

    Red eyes over fruit means fruit flies. Moth-like weak fliers on bathroom walls mean drain flies. Big gray buzzers on trash mean house flies. Each breeds somewhere different.

  2. Tape-test every suspect drain

    Cover drains overnight with clear tape or inverted jelly-coated cups. Morning catches prove which drain breeds. Test all drains in the room, not just the obvious one.

  3. Remove the source completely

    Toss fermenting produce, scrub the drain with a brush and enzyme cleaner, empty and wash trash cans, fix the mop routine. Half-cleaned sources rebound.

  4. Trap adults while the cycle breaks

    Run vinegar funnel traps for fruit flies and keep drains taped a few nights. Adults die out within two life cycles once breeding stops.

Frequently asked questions

Why do I suddenly have dozens of flies in the kitchen?

A breeding source matured: forgotten produce, a sour mop, garbage sludge or drain slime. Fruit fly cycles run 8 to 10 days, so one overlooked onion can erupt into a cloud that seems overnight.

Do vinegar traps get rid of fruit flies permanently?

No. Traps catch adults and confirm the problem while you hunt the source. Only removing the breeding material ends the cycle. Replace trap bait every few days so it does not breed flies itself.

Does bleach down the drain kill drain flies?

Only briefly. Bleach does not remove the slime film larvae live in. Scrubbing with a stiff brush plus enzyme cleaner, then verifying with a tape test, is the lasting fix.

How do I tell fruit flies from drain flies?

Fruit flies are tiny tan flies with red eyes hovering over produce and trash. Drain flies are dark, moth-like, hold wings rooflike at rest, fly weakly and gather on bathroom walls near drains.

When should I call a professional for flies?

Call when tape tests implicate pipes inside walls, crawl spaces or septic faults, when cluster flies invade attics by the hundreds each fall, or when restaurant-grade breeding like grease traps and dumpsters overwhelms DIY.

Useful links (3)
  1. Wisconsin Extension: Fruit Flies in the Home— hort.extension.wisc.edu
  2. UC IPM: Moth or Drain Flies— ipm.ucanr.edu
  3. Missouri Extension G7388: Household Flies— extension.missouri.edu
Photo credits

Thank you to Sanjay Acharya for sharing this beautiful photograph and helping bring this guide to life.

Wikimedia Commons · CC BY-SA 3.0

flies , fruit flies , drain flies , house flies , breeding source

Written by

PestKill Clone Editors — Pest control editors

We research every guide against university extension services, the EPA and product labels, and update it when methods, products or rules change.