House Flies and Maggots

Should house flies be killed?

Killing house flies indoors is reasonable for hygiene, but prevention works better. Learn why flies matter outdoors and the practical options for your home.

On this page
  1. The short answer
  2. Why people kill house flies indoors
  3. The role flies play outdoors
  4. Killing vs. keeping them out
  5. Ways to deal with house flies
  6. Ethical considerations
  7. Bottom line

The short answer

Killing house flies that get into your home is generally reasonable, especially in kitchens and anywhere food is prepared. House flies visit garbage and feces and can carry germs onto food and surfaces. That said, killing individual flies does little on its own. Removing what attracts and breeds them, and keeping them out with screens, is far more effective.

Outdoors, house flies are part of the natural cleanup crew that breaks down waste, so there’s no need to try to kill flies you see outside.

Why people kill house flies indoors

Hygiene and disease

House flies feed and lay eggs in garbage, manure, pet waste and rotting food. Their bodies, legs and mouthparts can pick up bacteria and other microbes, which can then be left on food, dishes and counters. Extension sources note that house flies can carry disease-causing bacteria such as Salmonella and E. coli. One fly landing on your sandwich is not necessarily a health emergency, but a kitchen with many flies is a real hygiene concern. If you are curious how they compare with another common household pest, see our article on which is dirtier, a fly or a cockroach.

Nuisance and fast breeding

House flies multiply quickly. A female can lay several hundred eggs over her life, and in warm weather a new generation can develop in about a week to ten days. A handful of flies breeding in a forgotten bin can turn into many more within a short time. Our housefly maggot pictures guide shows how each stage looks so you can spot a breeding site early.

The role flies play outdoors

Flies are not just pests. In nature, their maggots help break down manure, dead animals and decaying plant material, recycling nutrients back into the soil. Adult flies are food for birds, bats, spiders, frogs and many predatory insects. Some flies are also pollinators. For a wider view of how insects contribute to ecosystems, see do insects help the environment.

Because of this, there’s little reason to kill flies outside your home. The goal is simply to keep them from breeding in your garbage and coming indoors.

Killing vs. keeping them out

Swatting a fly removes one insect. It doesn’t address why flies are there. If you are killing flies every day, the more useful question is where they are coming from. Common sources include open garbage, pet waste, compost near doors, spilled food and, sometimes, a dead animal inside a wall. Our article on what causes house flies in the house goes through these in detail.

Ways to deal with house flies

Prevention

  • Keep garbage in sealed bins and empty them often.
  • Rinse and dry bins so they don’t attract egg-laying flies.
  • Clean up pet waste promptly.
  • Store food covered or in sealed containers.
  • Repair screens and seal gaps around windows and doors.

Removing or killing individual flies

  • Let it out: opening a window or door and shooing a fly toward the light often works, especially if you turn off indoor lights.
  • Fly swatter: quick and chemical-free. Clean the swatter and the surface afterward, particularly in food areas.
  • Sticky fly strips and traps: useful for catching flies over time, placed away from food prep surfaces.
  • Light traps: designed for indoor use in some homes and businesses.
  • Insecticide sprays: if you use one, choose a product labeled for flies, follow the label exactly and keep it away from food, children and pets.

If you find larvae during cleanup, our guide on what kills maggots immediately covers the fastest practical options.

Larger problems

If flies keep returning after thorough cleaning, or if a sudden swarm appears with a bad smell, there may be a hidden source. A pest control professional can help locate it.

Ethical considerations

Some people prefer not to kill insects at all. That’s a personal choice, and prevention plus catch-and-release can work well for the occasional fly. Others wonder how much a fly experiences when swatted. Insect pain is an active area of research, and our article on do insects feel pain when we squish them looks at what is currently known.

Bottom line

It’s reasonable to kill house flies that get into your home, particularly around food. But the most effective and least wasteful approach is to remove what attracts them, keep them out with screens and sealed bins, and leave flies outdoors to do their part in breaking down waste.

The complete guide to house flies and maggots

Housefly Maggot Pictures and Facts
Read the guide

Keep exploring

Guides from other topics

All topics →