Learn which plants thrive in your Hardiness Zone with our new interactive map!

How to Get Rid of Flies & Horseflies

By Sidney Johns ; Updated September 21, 2017
Flies are attracted to certain scents.

Taking a the right precautions will rid an area of most flies. Horseflies, deerflies and houseflies are all irritating and leave germs in their path and some bite to the point of drawing blood. While there is no sure way to eliminate all flies100 percent of the time, taking the right precautions and steps will eliminate the majority of them.

Eliminate refuse from the area. Some fly species are attracted to decaying garbage as food, and others lay their eggs in exposed refuse. Bag up any trash and place it in a sealed container. Use garbage cans with lids or secured bags. Take the trash away from your property as soon as possible.

Drain puddles of water, as that's where horseflies breed. Pump out to drain large areas of water. Fill-in areas of the property where water pools with clean dirt.

Spray around the property with garlic water. Horseflies and flies in general are attracted to specific scents, and garlic blocks these smells. Mix several crushed cloves of garlic in a spray bottle of water and let stand for 24 hours. Spray the entire area with the mixture.

Clean areas frequently. Sweep and mop indoor and outdoor floors often to keep them free of food and other attracting debris. Clean drains frequently to keep them free from particles.

Close doors and windows. To eliminate flies from a house, barn or garage, keep windows closed or screened. Open doors only when necessary.


Things You Will Need

  • Spray bottle
  • Garlic
  • Water pump
  • Clean fill
  • Garbage containers


  • Chemicals are available commercially to kill swarms of flies or to treat areas of the yard and home.


  • Even natural repellents can be harmful to animals if ingested.

About the Author


Sidney Johns began her writing career in 1993 after moving to Florida. The former teacher and surgical technician worked in the home improvement industry prior to earning a Bachelor of Science in education from Indiana University. While on hiatus in 2004, Johns studied holistic healing and organic growth and gardening.