Why Is My House Infested With Flies?

Quick answer

A sudden fly infestation inside a house is caused by decaying organic matter in drains, overripe produce attracting fruit flies, or structural gaps letting overwintering cluster flies inside. Slow-moving or hidden plumbing leaks behind walls create damp wood environments where fungus gnats aggressively breed.

Diagnose drain flies with a tape test

Drain flies are small, fuzzy and hold their wings tent-like over the body. They breed in the biofilm lining pipe walls, so the only way to know which drain is producing them is to test each one.

Dry the drain surface, then lay clear packing tape sticky-side down across the opening overnight, leaving a small gap for airflow. Flies stuck to the tape by morning identify that drain as the source. Test every kitchen line, floor drain, tub overflow, and any shower that goes unused for weeks.

  • Test one drain per night so results are unambiguous
  • Include the garbage disposal splash guard — a top breeding site
  • Repeat the test 7 days after cleaning to confirm the population is gone

Track down decaying matter inside walls and ceilings

Large, slow, metallic-blue or gray flies clustering at one window mean a carcass. A rodent, bird or squirrel that dies in a wall cavity, chimney chase or attic produces 100+ blow flies that emerge together roughly a week later.

Walk the wall or ceiling with your nose within a few inches of the surface; the sweet-rotten smell peaks directly over the body. Check the attic and crawlspace with a flashlight for dark greasy staining. Removal and cavity sanitizing typically runs $250–$600, plus drywall repair if the wall must be opened.

  • Note the exact square foot where flies gather — the source is usually within a few feet
  • Look for small dark frass specks on drywall or ceiling paint
  • Do not seal a suspected rodent entry until you know nothing is trapped inside

Manage structural entry gaps that let cluster flies in

Cluster flies gather on sunny south and west walls in fall and slip through soffit gaps, siding joints, worn window flashing and unscreened attic vents to overwinter in wall voids. They re-emerge indoors through recessed lights and trim on warm days.

Exclusion is the only durable fix, and it has to happen in late summer before they gather. Caulk siding and trim joints, screen gable and ridge vents, add gaskets behind switch plates on exterior walls, and seal around recessed light housings. Materials run $40–$120; a professional exclusion service is roughly $300–$700.

  • Inspect soffit and fascia seams from a ladder on a sunny fall afternoon
  • Vacuum accumulated flies from wall voids and window channels to avoid attracting larder beetles
  • Skip indoor foggers — they kill visible adults but leave the wall population untouched

Clear plumbing p-traps and hidden damp wood

A dry p-trap in a guest bath, basement floor drain or laundry standpipe opens a direct path from the sewer, where phorid flies breed in organic sludge. Pour a quart of water plus a tablespoon of mineral oil into every seldom-used drain each month to keep the seal intact.

Fungus gnats need constantly damp organic material: overwatered houseplants, or damp framing and subfloor from a slow supply-line weep behind a wall. Check moisture with a pin meter — readings over 16–18% mean the leak must be repaired before the gnats will stop. Plumbing leak location typically costs $150–$450.

  • Refill every unused trap and re-check in two weeks
  • Let houseplant soil dry to 2 inches deep between waterings
  • If phorid flies persist near one bathroom, request a drain camera inspection before any pest treatment

Fly questions homeowners ask

Why is my house full of flies all of a sudden?+

A mass appearance almost always means one batch of eggs matured at the same time. Blow flies from a dead rodent in a wall or attic hatch together 5–10 days after the animal dies and head for the brightest window. Drain flies emerge in waves as biofilm builds in a rarely used drain. Cluster flies, by contrast, do not breed indoors — they overwinter in wall voids and pour out of recessed lights and window trim on the first warm, sunny day. Look at timing and smell: sweet-rotten odor points to a carcass, no odor in winter points to cluster flies.

How do I get rid of flies breeding in my kitchen sink drains?+

Adult sprays do nothing because the eggs sit in the gelatinous biofilm coating the pipe wall. Scrub the drain with a stiff pipe brush, then apply a bacterial/enzyme drain gel (about $12–$20) at night for 5–7 consecutive nights so it can sit and digest the film. Do the same for the garbage disposal splash guard, which is the single most-missed breeding site. Boiling water and bleach are ineffective — they run straight through without dissolving the film. If flies persist after two weeks of treatment, a plumber should check for a cracked line or a dry, unused branch trap ($150–$400 for a camera inspection).

Are cluster flies dangerous to my home's structure?+

Cluster flies do not bite, do not breed indoors, and do not damage wood or wiring. The real issue is what their entry reveals: they get in through soffit gaps, unsealed siding joints, worn window flashing and attic vents — the same openings that let in water, cold air and rodents. Dead cluster flies accumulating in wall voids can also attract larder beetles, which do feed on organic debris. Seal the exterior gaps in late summer, before the fall gathering period, rather than treating adults indoors.

Related help