The average female fly has a lifespan of about 1 month, but in that time she can lay about 500 eggs. Obviously, even a handful of female flies around your patio could translate into thousands of flies in a very short time. Because flies feed on garbage and feces, they transmit diseases, so you should do all you can to keep their population to a minimum.

Method 1
Method 1 of 2:

Avoiding Attracting Flies

  1. 1
    Keep your yard clean and get rid of trash or food. Flies are attracted to any strong smell, which often comes from trash or food left outside.[1] Flies have very short lifespans (only about two weeks), so if you eliminate anything that causes odors outside your house, the flies will leave or die within that period.[2]
    • Pick up dog feces. Make sure you put it in sealable bags before you put it in the trash can.
    • Keep garbage can lids tightly closed. If you are having a party, make sure the trash can be used for paper goods disposable has a tight-fitting lid, and ask the guests to replace the lid after they dispose of their trash.[3]
  2. 2
    Cut your lawn often. Flies love tall grass and piles of brush, so keep your shrubs trimmed and don’t leave piles of cut grass, leaves or brush in your yard.
    Advertisement
  3. 3
    Mind your compost bin. A compost bin is filled with decaying matter; which is like a smorgasbord to a fly.
    • Don’t keep your compost pile too moist.
    • Keep the compost pile as far from your house as possible.
    • Maintain your compost pile properly. Keep it “cooking” so that it is too warm to support fly larvae.
  4. 4
    Guard against stagnant water. Flies are attracted to moisture and standing water; keep the water in birdbaths fresh and don’t allow buckets or other containers to fill up with rainwater. You should discard old tires or any debris in your yard that can collect rainwater.
  5. 5
    Keep fruit and fruit peelings out of your bird feeders. If you want to give your backyard birds fruit treats, be sure to locate the fruit or peelings as far from your house as possible.
  6. Advertisement
Method 2
Method 2 of 2:

Repelling and Eliminating Flies

  1. 1
    Make fly traps. Mix molasses and cornmeal and place it in a shallow dish or saucer. Put the saucer far from your patio—the flies can congregate there while you enjoy your meal in peace.
  2. 2
    Buy predatory bugs that eat fly larvae or otherwise interrupt the life cycle. Try nasonia vitripennis and muscidifurax zaraptor in conjunction with each other.
  3. 3
    Place fly light traps out at night. A fly light trap is an electrically charged light that attracts flies and zaps them. Try hanging them around a recreational area - well above where someone could run into them.
    • Be careful setting these up. Light traps could never seriously injure anyone, but it's still quite painful to be zapped by them.
    • Alternatively, try a UV light trap. Flies have compound eyes, and thus find the spectrum of UV light attractive. The UV light attracts the flies, and when they go to investigate the light they get stuck to the glue board built into the light.[4]
  4. 4
    Hang vodka bags. Flies avoid the smell of vodka. So, try hanging bags of vodka around your porch or any other recreational outdoor area.
    • Quarter gallon freezer bags, tied with string to a gutter, work well.
    • Any cheap vodka will work.
    • You can also try putting small amounts of vodka on your skin, although beware of the pungent smell and your skin drying.
  5. 5
    Landscape with carnivorous plants. While some plants simply repel flies, others actually eat flies: Venus Fly Trap, Pitcher Plant, etc.
  6. 6
    Landscape with fly-repelling plants. Flies are deterred by the scents of some plants, so keep potted plants on your patio or near your doors that repel flies: Basil, Elderberry, Lavender, Mint, and False Indigo.
  7. 7
    Don’t destroy all the spider webs outdoors. Spiders eat flies, but if you destroy their webs, the flies lose a natural predator.
  8. 8
    Set up outdoor fans. Flies don’t like a breeze. It may seem silly to put a fan outdoors, but if you are entertaining, a small house fan on your deck or patio may deter flies.
  9. 9
    Avoid leaving meat out. Flies are strongly attracted to the smell of meat and will swarm your barbecue grill the minute you bring meat outside to cook it.
    • Keep all meat covered tightly when it is not on the grill.
    • Keep the barbecue grill lid closed while the meat is cooking.
    • Protect your grilling tongs and utensils—flies will smell the meat and land on them. (If you see flies have landed on your grilling utensils, take them inside and wash them before you pierce or turn the meat with them.)
  10. 10
    Place cloves around an outdoor dining area. The smell of cloves repels flies. Decoratively placing cloves on an outdoor dinning table can deter flies from landing on food.[5]
  11. Advertisement

Expert Q&A

  • Question
    What smell do flies hate the most?
    Kevin Carrillo
    Kevin Carrillo
    MMPC, Pest Control Specialist
    Kevin Carrillo is a Pest Control Specialist and the Senior Project Manager for MMPC, a pest control service and certified Minority-owned Business Enterprise (MBE) based in the New York City area. MMPC is certified by the industry’s leading codes and practices, including the National Pest Management Association (NPMA), QualityPro, GreenPro, and The New York Pest Management Association (NYPMA). MMPC's work has been featured in CNN, NPR, and ABC News.
    Kevin Carrillo
    MMPC, Pest Control Specialist
    Expert Answer
    Generally, flies are pretty much attracted to anything that we consider a horrible smell, and find practically no scent repelling.
Advertisement

Warnings

  • Flies can spread typhoid fever, malaria, yellow fever, sleeping sickness and dysentery.
    ⧼thumbs_response⧽
Advertisement

References

  1. https://www.rentokil-steritech.com/blog/large-flies-and-odors/
  2. Kevin Carrillo. MMPC, Pest Control Specialist. Expert Interview. 22 October 2019.
  3. https://www.wideopeneats.com/five-ways-to-rid-your-home-of-fruit-flies-for-good/
  4. Kevin Carrillo. MMPC, Pest Control Specialist. Expert Interview. 5 November 2019.
  5. http://www.rapidhomeremedies.com/get-rid-of-flies.html

About This Article

Kevin Carrillo
Co-authored by:
MMPC, Pest Control Specialist
This article was co-authored by Kevin Carrillo. Kevin Carrillo is a Pest Control Specialist and the Senior Project Manager for MMPC, a pest control service and certified Minority-owned Business Enterprise (MBE) based in the New York City area. MMPC is certified by the industry’s leading codes and practices, including the National Pest Management Association (NPMA), QualityPro, GreenPro, and The New York Pest Management Association (NYPMA). MMPC's work has been featured in CNN, NPR, and ABC News. This article has been viewed 1,480,222 times.
17 votes - 76%
Co-authors: 37
Updated: December 29, 2022
Views: 1,480,222
Article SummaryX

To get rid of pesky flies outside, set up an oscillating fan near where you’ll be hanging out. The strong breeze will blow away any flies that buzz by. You can also light a citronella candle, which flies hate the smell of. To make your own fly trap, mix ¼ cup of sugar and 1 cup of water in a jar. Roll a piece of paper into a cone, cut off the tip, and tape the cone inside the jar so the tip is just above the sugar water. Flies will go through the funnel to get the sugar water, and then they won’t be able to get out. Another thing you can do is cut up thin strips of cloth, then dip them in essential oils that repel flies, like lavender, eucalyptus, rosemary, and lemongrass oil. Hang the strips up outside on branches or railings. To prevent flies from coming back, keep your yard free of food scraps, dog droppings, and open garbage cans. Also make sure there isn’t any standing water in your yard so flies don’t gather there to drink. If you want to learn how to make homemade fly traps for killing flies in your yard, keep reading!

Did this summary help you?
Advertisement