A sudden appearance of flies can mean adults have emerged from a nearby breeding source, entered from outside, or become active after sheltering in the building. The right response depends on the fly: metallic blue or green flies suggest checking for animal remains or waste, while sluggish dark flies gathering at sunny windows may be overwintering cluster flies. Start with identification and a source inspection—not a whole-room spray.
Not all flies present the same hygiene risk; focus first on identifying the insect and removing its source. For a general identification overview, see the Maryland Extension household insect pest guide.
Use the flies’ appearance to guide your search
- Metallic blue or green flies: these may be blow flies. Check accessible rubbish, pet waste and places where a dead rodent or bird could be present. A carcass is one possible source, not a diagnosis based on color alone.
- Dull gray, active flies around waste: house flies may be developing in moist organic material. Inspect bins, food spills and animal waste inside and near the home.
- Sluggish, dark, nonmetallic flies around sunny windows in cooler months: cluster flies may have entered earlier to overwinter. Their larvae develop outdoors in association with earthworms; household rubbish is not their breeding source. See Maryland Extension on cluster flies for seasonality and exclusion guidance. Our guide to cluster flies on windows in winter covers identification, removal and sealing.
- Tiny flies around drains, plants or recycling: investigate drain flies, fungus gnats or fruit flies instead. They need a different source check—start with tiny flies in a room with no food and, for drain-fly appearance, drain-fly identification pictures.
What to do today
- Note where flies are most numerous and take a close photograph. The room where adults gather is not necessarily where they developed. If most of the activity is downstairs, work through a source check for flies in a basement before spraying rooms above.
- Inspect and remove accessible sources. Empty and wash dirty bins, remove spoiled food and pick up pet waste. Check safe, accessible areas for animal remains. Do not open walls or enter hazardous spaces to search.
- Remove adults with a fly swatter or vacuum. Dispose of captured flies promptly. Keep any sticky traps away from children, pets and food preparation surfaces. Adult removal helps with the nuisance but does not remove a breeding source. Vacuuming is also a practical option for cluster flies indoors, as noted by Maryland Extension.
- Repair entry points. Check screens, door seals and exterior gaps. Also check an attached garage for garage trash and door gaps, pet waste, and spilled feed that can send adults indoors. For recurring cluster flies, complete exclusion repairs before their late-summer/fall entry period.
- Get help when the source is hidden. Persistent emergence, a strong unexplained odor, inaccessible animal remains or suspected sewer problems call for an appropriate pest professional or plumber. If rodents or their waste are involved, use CDC cleanup precautions rather than dry sweeping or vacuuming the waste.
Avoid fixes that miss the cause
Do not introduce wasps or other predators to deal with indoor flies. Essential-oil scents, traps and room sprays do not replace removal of the source. Flies that rest on light-colored paint often leave small brown specks on walls; wiping the marks does not remove the breeding source. Avoid indiscriminate indoor pesticide use. If a pesticide is needed, use only a product labeled for the identified pest and intended location, following every label direction.