How Long Do Flies Live in a House: The Real Answer

A house fly that gets indoors typically lives between 15 and 30 days, though most die closer to the two-week mark when they’re relying on whatever food and moisture they can scavenge. That lifespan can shrink dramatically if the fly can’t find anything to eat or drink. Without food or water, an adult house fly usually dies within two to three days.

Adult House Fly Lifespan Indoors

How long a fly survives in your house depends almost entirely on what it can access. Flies that find sugar sources, like spilled juice, fruit, or residue on countertops, can live around three weeks. Flies limited to less nutritious material, such as general household grime or standing water, tend to die within two weeks. In lab studies, house flies given only water showed 100% mortality by day 22, while flies with access to sugar lived noticeably longer.

Temperature also plays a role. House flies are most active and live longest at room temperature, roughly 70 to 75°F. Cooler rooms slow their metabolism and can extend their life slightly, while hot, dry environments shorten it. A fly trapped in a sunny window with no moisture source may only last a day or two.

The Full Life Cycle Takes About Three Weeks

The adult fly buzzing around your kitchen is only the final stage of a roughly 20-day development process. Understanding this matters because if you’re seeing flies consistently, they may be breeding somewhere in your home rather than just wandering in from outside.

The timeline from egg to adult breaks down like this: eggs hatch in about one day. The larval stage (maggots) lasts around four days across three growth phases. The pre-pupal stage takes another four days, followed by about ten days in the pupal stage, similar to a cocoon. Two days after emerging as an adult, the fly is ready to lay eggs and start the cycle again. That entire process, egg to egg-laying adult, takes roughly three weeks under ideal conditions.

A single female house fly can lay 500 or more eggs in her lifetime, depositing them in batches of 75 to 150. She looks for moist organic material: garbage, pet waste, compost, or decaying food. If those conditions exist inside your home, you can go from one fly to dozens in under a month.

Other Flies You’ll Find Indoors

Not every fly in your house is a house fly. The species matters because their lifespans and habits differ, and so does how you get rid of them.

  • Fruit flies are the tiny, tan-colored flies that hover around bananas and wine glasses. Adults live about 40 to 50 days under good conditions, which is longer than house flies. They breed in overripe fruit, fermenting liquids, and dirty drain traps. A single piece of rotting fruit can sustain a population for weeks.
  • Drain flies are fuzzy, moth-like flies that sit on bathroom walls. Adults live up to two weeks. They breed in the organic film that builds up inside sink and shower drains, which is why they keep reappearing even in clean-looking bathrooms.
  • Blow flies are the metallic green or blue flies that are larger than house flies. They typically live two to three weeks as adults. Their presence indoors usually means something specific: a dead animal in a wall, crawl space, or attic, or an uncovered trash bin with meat scraps.
  • Cluster flies are slightly larger and slower than house flies. They enter homes in fall to overwinter and can survive for months in attics or wall voids while in a dormant state. They aren’t breeding indoors, just sheltering.

Why Flies Seem to Last Forever Indoors

If it feels like the same fly has been bothering you for weeks, you’re probably right. Two to four weeks is a meaningful stretch when something is landing on your food every day. But if flies seem to persist for months, you’re almost certainly dealing with multiple generations breeding somewhere in the house rather than one long-lived individual.

The most common reason flies stick around is a breeding source you haven’t found. For house flies, check garbage cans (especially the bottom, where liquid collects), pet areas, and any forgotten organic waste. For fruit flies, look for old produce, recycling bins with beer or wine residue, and mop buckets with standing dirty water. For drain flies, the source is nearly always a slow or infrequently used drain where biofilm has built up.

How to Shorten Their Stay

Removing the breeding source is the single most effective step. Traps and sprays kill individual adults but do nothing about the eggs and larvae that are already developing. If you kill every adult fly today but leave a bag of composting scraps under the sink, you’ll have a new batch in two weeks.

For house flies, keep garbage sealed and take it out frequently. Clean the bottom of trash cans where liquid pools. Pick up pet waste daily. Make sure window screens are intact, since even small tears give flies an easy entry point.

For fruit flies, store ripe fruit in the refrigerator and wipe down counters where juice or alcohol has spilled. A simple trap (a jar with apple cider vinegar and a drop of dish soap) catches adults effectively while you eliminate the source. For drain flies, clean the inside of affected drains with a stiff brush or enzyme-based drain cleaner to remove the organic buildup where they lay eggs.

Once you’ve removed the breeding source, any remaining adults will die off on their own within one to three weeks. If new flies keep appearing after that window, there’s another source you haven’t found yet.