Flies don’t actually build nests. Unlike wasps or birds, no species of fly constructs a shelter or colony structure. What you’re seeing in your house is a breeding site: a spot where adult flies have laid eggs in decaying organic material, and the resulting larvae (maggots) are developing in that same spot. The good news is that once you find and remove the source material, the problem stops. The challenge is figuring out where that source is.
What a Fly “Nest” Actually Looks Like
A fly breeding site is just moist, decaying organic matter with eggs or maggots in it. Female flies lay eggs directly on or near whatever material their larvae will eat. House flies deposit eggs in clumps of up to 300 at a time, and those eggs hatch in roughly one day. The maggots are small, white, legless, and worm-like with pointed heads. They grow quickly, reaching up to an inch long before hardening into dark gray or black pupae that eventually produce adult flies.
The full cycle from egg to flying adult takes about 20 days under typical conditions: one day as an egg, about four days feeding as a larva through three growth stages, four days transforming into a pupa, and ten days inside the pupal case before a new adult emerges. That fast turnaround explains why a small problem can become a big one within a few weeks.
Physical signs of an active breeding site include a strong, unpleasant odor near garbage or compost, clusters of adult flies concentrated in one area of your home, and visible maggots or dark pupal cases in organic material or nearby soil.
Where Flies Breed Indoors by Species
The location of the breeding site depends entirely on which type of fly you’re dealing with. Identifying the fly narrows your search dramatically.
Fruit Flies
These tiny, tan flies with red eyes breed in almost any fermenting fruit or vegetable. Overripe bananas, rotting onions, and spoiling potatoes are the most common home sources. They also lay eggs in spilled syrups, wine, or beer, and in less obvious spots like the grime under a kitchen appliance or cracks in tile flooring where sugary liquids have seeped. Their larvae feed on the yeasts produced by fermentation, so anywhere fruit is breaking down is a potential site.
Drain Flies
Small, fuzzy, moth-shaped flies that hover near sinks and showers. Their larvae live in the thin layer of microbial slime that builds up inside drain pipes. They breathe by extending tiny tubes to the surface, so they thrive in the gelatinous muck of floor drains, sink drains, and toilet drains that aren’t used frequently. If you see them near a specific bathroom or utility sink, the drain itself is almost certainly the breeding site.
Phorid Flies
Tiny, humpbacked flies that run across surfaces in quick, jerky movements rather than flying away immediately. Phorid flies breed in a wide variety of decaying material: garbage, drain pipes, wet potted plant soil, dead animals, broken garbage disposals, even flowers left too long in a vase. Because their food sources are so varied, they can be the hardest to track down. If suitable material is present, their populations can build up very quickly.
Fungus Gnats
Tiny, dark flies that hover around houseplants. Their larvae are slender, white, about a quarter inch long with shiny black heads, and they live in moist potting soil. They feed on plant roots and on fungi growing in overwatered soil. If the flies are concentrated near your plants, this is your culprit.
Blow Flies and Bottle Flies
Larger flies with shiny metallic blue or green bodies. These develop in decaying animal matter. If you suddenly see several blow flies inside your home, especially in winter or early spring, there may be a dead bird, rodent, or other animal in your attic, chimney, or wall void. A decaying bee nest inside a wall can also attract them. Spoiled meat in the garbage is another common source.
Cluster Flies
Slightly larger than house flies, with a sluggish flight pattern. Cluster flies are unusual because they don’t breed in garbage or filth. Their larvae actually develop inside earthworms outdoors. The reason they show up in your house is different: in fall, adult cluster flies enter walls, attics, and basements to spend the winter. They crawl through tiny gaps around window frames, baseboards, and wall openings. On warm, sunny days in winter or early spring, they emerge into living spaces. There is no indoor breeding site to find. The flies are simply overwintering.
How to Find the Breeding Site
Start with the type of fly. If you can identify it, you already know what kind of material to look for. If you can’t identify the species, focus on the room where flies are most concentrated. Flies don’t travel far from where they emerged, so the breeding site is usually very close to the heaviest activity.
Check these locations in order of likelihood:
- Kitchen garbage and recycling bins: Especially the bottom, where liquids pool. Pull the bin away from the wall and check underneath.
- Fruit bowls and produce storage: Look for any soft, overripe, or forgotten fruit or vegetables, including potatoes and onions stored in a pantry.
- Drains: Place a strip of clear tape over the drain opening overnight. If small flies are stuck to it in the morning, larvae are living in that drain.
- Under and behind appliances: Spilled food or liquids under the refrigerator, dishwasher, or stove can ferment unnoticed for weeks.
- Houseplant soil: Push a finger into the top inch of soil. If it’s consistently soggy, fungus gnats are likely breeding there.
- Attic, chimney, or wall voids: If you see large metallic flies and smell something foul, a dead animal may be decomposing in an inaccessible space.
Fly larvae are not mobile. They stay in or very near the material they’re feeding on. If you find maggots, you’ve found the source.
How to Eliminate an Indoor Breeding Site
The only reliable solution is removing the organic material the larvae are feeding on. Sprays and traps kill adult flies but do nothing to stop the next generation from emerging if the breeding material remains. Think of it as turning off the faucet rather than mopping the floor.
For garbage and food sources, bag and remove the contaminated material immediately. Clean the area thoroughly, paying attention to any residue or liquid left behind. For fruit flies specifically, even a thin film of fermented juice in a crack or under an appliance lip is enough to sustain breeding.
For drains, physically clean the interior of the pipe. A stiff brush or drain-cleaning tool removes the slimy biofilm that drain fly larvae live in. Simply running water or pouring bleach down the drain is not enough because the film clings to pipe walls above the water line.
For houseplants, let the soil dry out completely between waterings. The larvae and fungi they feed on need consistent moisture to survive. Repotting with fresh, dry soil works faster if the infestation is heavy.
For dead animals in walls or attics, the flies will stop once the carcass has fully decomposed and dried out, which typically takes a few weeks for a small rodent. If you can access and remove it, that speeds things up. If not, sealing any gaps where flies enter living spaces from wall voids helps contain the problem until the source dries out.
Keeping Flies From Coming Back
All flies are attracted to moist organic material for egg-laying, so reducing moisture and exposed organic matter is the core prevention strategy. Store ripe fruit in the refrigerator. Empty kitchen garbage frequently, and clean the bin itself periodically to remove residue from the bottom. Run water through infrequently used drains every week or two to prevent biofilm buildup. Avoid overwatering houseplants.
For cluster flies and other species that enter through the building envelope, the fix is exclusion: sealing cracks around windows, filling gaps at baseboards, caulking openings where utilities enter walls, and screening attic vents. Standard window screens don’t stop cluster flies because they enter through wall gaps, not open windows. The sealing needs to happen in late summer before the flies begin seeking shelter for winter.
If large metallic flies keep appearing over days or weeks and you can’t find an obvious food source, it’s worth investigating hidden spaces. Dead birds in chimneys, rodents in attics, and old animal nests in wall voids are all common breeding sites that aren’t visible from living areas. A persistent fly problem with no obvious kitchen source almost always traces back to something decaying in a space you can’t easily see.