How to Get Rid of Flies Indoors & Outdoors

Most of us don’t like flies and I am sure if you are here, you are one of them. Flies are more than just a mere nuisance.

According to a study, there are more than 100,000 known species of flies (only God knows, how many are still unknown).

Their presence alone is often annoying to people, but the true effects they have on humanity go largely unseen.

[This is a 2500+ words article on how to get rid of flies, so if you don’t want to read whole of it and would like to directly jump onto the meat of this article then click here]

How Flies are Bad for Us:

Flies are the carriers of very deadly diseases, they infest meat and other food items, some of their species also spread food poisoning bacteria like Salmonella enteritidis.

The habitat of flies make them perfectly suited for spreading diseases. Fly is a restless insect, it moves back and forth between food and filth and this helps it in spreading infections faster. It is attracted to the food by its sense of smell, however it cannot eat solid food. When it reaches the food it vomits on the solid food and creates a solution of it, then sucks it and thus contaminates the food.

How to Get Rid of Flies Indoors & Outdoors

Below, I have highlighted some diseases that are caused by flies:

  • Flies can cause typhoid and paratyphoid fevers.
  • They can also spread some other diseases like diarrhea and dysentery, cholera, conjunctivitis etc. by mechanical contamination.
  • Other diseases carried by house flies include salmonella, anthrax and tuberculosis.
  • They are also known to transmit the eggs of parasitic worms.
  • Sand flies found in South America, Africa and Europe are carriers of a micro-organism responsible for a disease that eats away the human skin. This disease is known as Leishmaniasis.

Before moving further, let’s see the life cycle of a fly.

Understanding Fly Life Cycle:

There are 4 major stages in the life cycle of a typical housefly. In the beginning of first stage, 150 eggs are laid in a moist environment (like garbage, composite or manure) where food is available in abundance.

Fly Life Cycle

Next, eggs began to hatch within a day and the larva feeds on the food for 5-14 days. After this, the larva crawls to some dry place to pupate. The pupae transforms to an adult after 3-4 weeks. Adult flies can live for about a month and during this time they can produce 500 to 2,000 eggs.

This gives you an idea how fast flies can grow. Now, let’s have a look at the techniques that can be used to get rid of flies.

How to Get Rid of Flies:

The process of getting rid of flies can be divided into two stages:

Stage 1: Fly Control Techniques – In this stage, we are going to control flies by cleaning or rather destroying their breeding sources. This will help us to control any further growth of flies.

Stage 2: Fly Elimination Techniques – Now, after destroying the breeding place of flies, we will be left only with adult flies. Since they now have no place to lay eggs, so the fly problem will get solved by eliminating them.

Recommended Reading: How to get rid of Gnats

Stage 1: Fly Control Techniques:

In this method, we are going to control flies by cleaning their breeding sources. Let’s see the steps involved in this method:

Step 1 – Identify :

First of all identify the species of the fly that you mostly see in your area. You can use the below table to do this, here I have compiled the data about commonly found species of flies and their breeding sites.


Step 2 – Find the Breeding Source:

Search-the-breeding-sourceNow after you have identified the fly, check its breeding sources from the table and find the similar areas in your vicinity.  Please note that such sources could be located up to 500 – 800 meters away from the place of infestation.

This step may take time but then you cannot skip this step as it is the most important step.

Step 3 – Clean the Breeding Source:

Clean-the-SourceAfter you have found a probable breeding source of those flies, clean it up. Wash fly specks off the walls, ground or floor with a borax and water solution. This removes the trace that flies leave to attract other flies to an area.

If it is near some garbage can, then it is better to cover it up and remove garbage at least 2 times per week.

If there is some dead animal or bird near this area, get it removed and make sure that it disposed properly. Try to keep the area clean and dry.

Step 4 – Wait for 1 or 2 months:Wait-For-1-month

Using the above steps, you will prevent new generations of flies from reproducing in your area. But then, you may have to use some other methods to get rid of individual flies that may come till next 1 month or so (because this is the maximum lifespan of an adult fly).

Stage 2: Fly Eradication techniques:

In this section, I am going to enlist some quick fire ways to eradicate flies. Now, when you talk about Fly Eradication methods, there are hundreds of them but in this article I will enlist only the best and inexpensive ones.

Also, for the sake of simplicity I will classify these methods into 7 major categories. You can pick any method from any category to see if it works in your case or not. The categories are as follows:

Category 1: Fly Repellents:

Use Vodka Against Flies1. Using Vodka Bags: For some reason flies hate Vodka. They just cannot bear its smell and hence some people use vodka bags to ward off the flies.

Applying some vodka on your skin (uncovered parts only) also helps in keeping flies away, but do this only if you are comfortable with it.

2. Using Fly Repellent Oils: Natural oils like Lavender oil, Citronella oil, Eucalyptus oil, Pennyroyal oil, Lemongrass oil and Peppermint oil also act as a good repellent for flies.

Cloves3. Using Few Cloves: Flies do not like the smell of cloves, so keeping 10-15 cloves on your dining table can be useful to ward off the flies.

Alternatively, you could also use clove oil as it may work better than solid cloves.

4. Creating your own fly repellent lotion: Take ½ cup hazel, ½ cup apple cider vinegar and 30-60 drops of eucalyptus oil in a bottle and then shake the mixture well. Now, you can apply this lotion on uncovered portions of your body. Please note that do not let this lotion to enter your eyes or mouth.

Basil Plant5. Using certain herbs to deter flies: Flies do not like the odour of certain aromatic plants, such as elder, basil, lavender and mint. You can use these herbs in your garden or use them indoors as potted plants in your living room keep the flies away.

6. Flies do not like smoke: Flies hate smoke, so you can use some kind of citronella candles to get rid of flies quickly. But this method causes air pollution so it is better not to use it.

Category 2: Trapping the Flies:

Homemade Fly trap7. How to get rid of flies using homemade fly traps: To make your homemade fly traps all you need is a wide-mouthed jar, some sugar water, and a paper cone.

First of all pour the syrup in the jar and then cut a 1 cm diameter hole at the apex of the cone. Now, place the cone in the jar upside down, so that it should not touch the liquid.

Now, as the jar contains sweet liquid so flies will be attracted to it and will go down through the cone into the jar. Once inside, they won’t be able to fly up through the hole to get out again.

8. Using Fly papers: Fly papers are the cheap and best things to trap flies, they are coated with a sweet fragrance to which flies get attracted. The paper is extremely sticky and sometimes has a poisonous substance above it that traps flies and other flying insects when they land upon it.

Bug Vacuum9. Using Bug vacuum: A bug vacuum is a type of small but powerful hand held vacuum cleaner that runs of batteries. You only have to switch on the device and point in the direction of flies to catch them.

The insect is captured on an adhesive internal surface and hence cannot move out of it. But make sure to clean its internal surface after each use otherwise flies could lay eggs inside the cleaner also.

10. Disposable Fly Traps: Disposable fly traps contain some fly attractants inside a bag, which only get activated when you add water to it. After adding water to it, the attractant dissolves in the water producing a sweet smell which flies love. Flies get inside the bag and are drowned by the water inside it.

Category 3: Mechanical methods:

Fly Gun11. Using a Fly Gun: Fly Gun is an improved derivative of the flyswatter. It uses a plastic projectile loaded on a spring to mechanically “swat” flies. Over the projectile there is round perforated disk, when you fire the projectile along with the round disk, aiming at a fly, it hits the fly and the fly gets killed. It looks more of toy, than a fly killer.

12. Using a Flyswatter: A fly swatter consists of a thin, flexible mesh like small rectangular or round sheet of lightweight plastic, connected to a lightweight wire or plastic handle about 1 foot. User has to wait for the fly to land somewhere and then he has to use the flyswatter to mechanically crush the fly against a hard surface.

rubberband technique to kill flies13. Using a Rubber-band:  Cut a rubber-band at one end. Find a resting fly, sneak up behind the fly and stretch the band as far as possible. Take aim and let one end go.

Skilled people can also use this method to kill flies in air!

14. Using a Newspaper: Roll up a thick newspaper and then wait for these pesky culprits to land somewhere, aim and hit. And yes, don’t forget to and wipe the bloody mess off the wall as it may attract more flies.

Category 4: Electrical Methods:

Electric-FlySwatter15. Using an Electric Handheld FlySwatter: These are also called fly bats as these resemble badminton rackets. The grid of these fly bats is electrically charged to a voltage of between 1000 and 2500 V DC by pressing and holding a button near the handle. When a fly comes near the electrodes, a spark jumps through the fly and it gets killed.

The best thing about these kind of swatter is that, you don’t have to wait for the flies to land anymore, you can just swat them mid-air.

16. Using Electronic Bug Zapper: A bug zapper is basically an electrical discharge insect control system, it emits a white light and hence most of the flying insects get attracted to it. Near the light source there is an electric grid, when a fly comes in contact with the electrodes it gets a shock and is killed.

But as flies don’t get attracted to lights, so bug zappers may not prove very useful when you are dealing with flies.

Category 5: Chemical Methods:

Chemical Sprays17. Using Chemical Sprays: There are some chemical sprays in market that kill and prevent further growth of flies. These sprays usually have a quick response time and hence are preferred by many people.

The thing that goes against them is that most of such sprays are toxic and have a bad impact on the environment.

18. Using Homemade fly killer sprays: Do you know which is the best anti fly spray? Any Guesses. It’s you dish soap. Dish Soap contains borax and it is main ingredient of it that affects flies. To make your own homemade fly killer spray take an empty spray bottle. And add 5-7 drops of dish soap, then add 2 cups of warm water. Now close the lid of spray bottle, shake the solution and your homemade fly killer spay is ready.

Category 6: Carnivorous Plants

Venus-fly-trap19. Using Carnivorous Plants: If you are searching for a very clean way to kill flies then I would suggest you to invest in some carnivorous plants like Venus Fly Trap or Pitcher Plant.

These plants are very attractive to look at, and in addition to this they do a steady job of attacking, trapping and digesting flies.

In terms of efficiency, and the quantity of flies they can consume, they are certainly not the best but they are the cleanest option as they don’t leave any mess after killing flies.

Category 7: Miscellaneous

Clear-Water-Bag-keep-flies-at-a-bay20. Using Clear Plastic with water: Some people have reported to deter flies by using a transparent plastic bag half filled with water. They say that flies have compound eyes, which means that they have around 8000 lenses. This gives them a great ability to detect movement and changing light patterns. A bag of water reflects light in all directions and flies do not like to be near such a thing.

But the drawback with this method is that it could only be used during the day time. However, you can use an artificial light source during night time but then it doesn’t works that well.

21. Using Dried Orange Peel: Many people say that they have got success in getting rid of flies with dried orange peel. But when I tried this method, it didn’t worked so well for me.

So, these were all the fly eradicating techniques.

Now, let’s compare the above Fly Eradication techniques:

Speed of Removal
Check at Amazon
Fly Repellent Cream☆☆☆$BothBuy Now From Amazon
BUG A SALT 2.0☆☆☆☆☆☆☆$$BothBuy Now From Amazon
Fly Paper☆☆☆☆☆$BothBuy Now From Amazon
Bug Vacuum☆☆☆☆☆☆☆☆$$BothBuy Now From Amazon
Disposable Fly Trap☆☆☆☆☆☆$$OutdoorBuy Now From Amazon
Fly Swatter$IndoorBuy Now From Amazon
Fly Gun$IndoorBuy Now From Amazon
Electric handheld Fly Swatter☆☆☆☆☆☆$$IndoorBuy Now From Amazon
Electronic Bug Zapper$$OutdoorBuy Now From Amazon
Fly Killer Spray☆☆☆☆☆☆☆☆☆$$OutdoorBuy Now From Amazon
Venus Fly Trap$$IndoorBuy Now From Amazon
Citronella Candle☆☆☆☆☆$OutdoorBuy Now From Amazon

Note 1: The ratings in the “Efficiency” and “Speed of Removal” columns are based on my personal experiences.

Note 2: In the “Cost” column ‘$’ means single digit price [$1 to $9], while ‘$$’ means double digit price [$10 to $99].

[Disclosure:  Please note that some of the links in the above table are affiliate links. This means that and at no extra price to you, I will receive a commission if you choose to make a purchase.  Please understand that I have used most of these products myself, and I recommend them because they are helpful, and not because of the small commissions I may make. Please do not buy any products from the above list that you feel won’t be of any use to you.]

Your Turn:

So, this was all from my side on how to get rid of flies. Now that you have learned about all the techniques and strategies for getting rid of flies, it’s up to you to pick that method that meets your needs, is in your price range, and overall helpful in your case.

As you know that technologies evolve day by day, for that reason I will try to keep the information here up to date. But in case you feel like I have missed some important technique that needs to be included on the list, let me know in the comments below.

Remember, battling flies can be very challenging and time consuming but have faith in you and do your best to eradicate each pesky culprit. Please note that in worst cases you may need to seek some professional help.

Also, I would love to hear your personal experiences and stories about the topic.


Article Name
How to Get Rid of Flies Indoors and Outdoors
The process of getting rid of flies can be divided into two stages: Stage 1: Fly Control Techniques – In this stage, we are going to control flies by cleaning or rather destroying their breeding sources. This will help us to control any further growth of flies. Stage 2: Fly Elimination Techniques – Now, after destroying the breeding place of flies, we will be left only with adult flies. Since they now have no place to lay eggs, so the fly problem will get solved by eliminating them.


  1. Thanks for sharing these methods. Initially I had many flies in my backyard. I planted Basil there and it has become a no fly zone since then.
    Many thanks for your valuable and timely help.

    • Glen , can you please tell which basil helps keep away flies.

    • Nevada structure movers says:

      For a lot of flies in the house, wait until dark, with a red color light you can spot them on the ceiling and vacuum them. Hint: they can’t see the red light so you can suck them up before they have a chance to leave. :)

  2. Zadi, I must say you have put forward a great resource for the readers. This page is power packed with so much helpful information. I have bookmarked it.
    Few days back, we had a backyard party and we used the lemon and clove method to ward off the flies. The results were impressive, the method works like a charm.
    Thanks for all the great work!
    Btw, I +1 the page too, as token of respect for your hardwork.

  3. Kay Stark says:

    Can dead flies’ eggs still hatch?

  4. How do I get rid of the flies in my driveway? I have a carport in my driveway.

  5. Jacqueline says:

    Im so going to try some of these.. Thanks a lot. :)

  6. Jonathan says:

    Great article. To get rid of flies I open a bottle of nail polish. The smell makes them fly to the ceiling which makes them an easy target.

    • Thanks for the tip, Jonathan. :)

    • It’s funny I came across this tip because I was sure today that my nail polish was actually ATTRACTING the flies! I paint my nails outside on our porch- the husband cannot stand the smell- and the flies that were already pestering the heck out of me were seriously surrounding me and my freshly painted nails! I was thinking that the smell SHOULD keep them away, not attract them closer!

  7. Bella Vasart says:

    We’ve been dealing with a recent ‘home invasion’ and have resorted to a fly hunt before dinner each day. We knew that we could walk into a room and walk closely past a resting fly, on say a wall. Stop and look at it and have it seemingly ignore us. Then sneak out to get the fly swatter…and as we’d even approach the doorway back to the room with the swatter hidden behind our back, they’d take off. They are really fast the first days indoors…too fast to swat usually. So we’d try but give up with one or two of the really quick ones.

    Oddly, if I came back in with a rolled up catalog or newspaper…they wouldn’t fly away…and we could get them. Leading me to conclude that they can smell the ‘death’ scent on the swatter! Does that make sense? It seems to work reliably.

    Great job with the article and your website! An outstanding presentation!

    We’ve not been able to find a breeding ground…and I’ve researched further what visible signs might clue us in to a potential spot, with no success. But we think from past experience that some ivy growing on the exterior of our home was the possible culprit…so we are pulling it down and trying your borax method. Thank you for all the great information!

  8. Catreanna Cara Smith-Grant says:

    I Like this Article gives allot of ideas that I didn’t know about.. But I have my own mixer that I use to kill them plus other flying bugs and also nats, roaches and other bugs along with having spiders staying away from my place and it’s safer than the bug sprays that you get from the stores… I do it strong but another source said 1 cup of Dawn Dish washing liquid to a Gallon of water… I do a half and half and when they start appearing spray directly on them and it kills then on touch and them sweep or vacuum when dry….

  9. Andy Anderson says:

    Great site. I’m going to plant some basil, our small side yard here doesn’t get much sun. Then will buy some citronella torch/candles.

  10. Akshay Arsekar says:

    Take a orange (fruit) and hand full of cloves..then inject those cloves in the orange covering its circumference . and place it near a place where you find flys .

    • We used to make those to keep silverfish and moths out of closets, i didn’t know you could use it for flies. Thank you!

  11. I love the fly vacuum! Keep extra batteries so you do not have to run to the store in the middle of the fly battle! Thanks for the other info. I love the Dawn and water that made me remember that a friend used to buy Christmas tree flocking and spray it on ant and every bug.
    I forget to buy it.
    Thanks again. Pat.

  12. john & Eve says:

    Thank you so much for your detailed information. Our back yard and Lab has been taken over by these pesky house flies. And are driving us crazy. Adding dishwashing soap and water already started working.

    Thanks a ton.

  13. A flame thrower! If you don’t have one use dynamite! No more flies guaranteed! LOL!

    … I HATE flies!

  14. Great blog article. Well researched, written and lots of ideas. I just moved to a 100+ year old farmhouse located on a cattle feeding ranch. So you can imagine the source of the flies. I despise fly paper hanging from the ceiling, though it is very effective, and don’t use poisons because I have pets. And don’t want to add more hazards to the environment. Now you have given me many natural ways to ward off the flies. My house may smell like a mixture of citronella/orange/lemon/cloves/dish soap/basil/vodka, but hopefully, there will be a few less flies.


  15. Very informative, and handy and well put together info.
    Thank you very much. I will be trying these methods out.

  16. The water bag trick works 99%. We always eat outside at weekends, having “brunch” about eleven,
    we used to be inundated with them. Today i saw 1, we have a bag at each end of our verandah, about 6m apart. They have been there for 6 months now. And started working on day one!!

  17. Richard says:

    Great job with the info !!! Thank You !!

  18. LOUIS KOTZE ,,FRANCE says:

    Hi people,
    -Wine bottle Cork cut up,and soak em in a waterbowl.
    -Onions, pick cloves, in it!
    All of this seems to work. :)

    But Plastic bags with water + coins inside does not works for me.
    Even colored reflection decorations. Glued onto a newspaper surrounded by waterbags doesn’t help much. ( nightclub sphere style) :)

  19. I love the part using rubber band to kill flies. Some skilled people can kill flies in the air..
    Wooo that’s great I am going to try this.

  20. Here’s our solution-super icky, but it works! I’ve tried the bag + pheremones (expensive, smelly), fly paper, etc. But by far the 2 best lures I’ve found are cooked and eaten corn cobs, and dog poop.
    I bought Catchmaster brand window fly traps and lay them on top of either lure. We have 2 dogs and a compost pile and within 2 hrs, they’re full. I’d estimate it catches 4-500 flies per clear paper. It’s disgusting but affordable, no toxins and efficient.
    Grossest part is collecting the buzzing/vibrating paper!

    • Thank for sharing these tips Amelia. :)

    • Ewwww Amelia that does sound gross LOL

      Great ideas everyone. I have no clue where our source is although my yard has a lot of flowers. Clean neighbourhood, unless someone has bad garbage outside? Going to try all of the natural suggestions and the borax outside on the walls and patio. I have never seen bugs so bad than this year. Its nuts!

  21. Étienne says:

    Thank you for all the info! It’s very helpful.

    I would have like a column with the main food type for each flies in the fly species table, in order to put the right thing in the fly traps (commercial or homemade).


  22. My boyfriend said he read something online about how flies hate bees, and if you could use a brown paper bag and crumple it up to resemble a bee’s nest it is supposed to deter flies. Has anyone ever heard of this option? Thanks for all the other suggestions. Lots that I haven’t tried, so I’ll be trying these!

  23. Thank you so much. I did pest controll from 2005 – 2008. I forgot the details about the flies. I have my books but your info is great and reminded me of what I need to do for drain flies. Very informative and honest. Thanks again. Best Wishes

  24. Kevin Meetin says:

    I just tried the dish liquid and water method. The sprayer is a foam type. I shook up the solution, sprayed, it came out as a foam, and wouldn’t you know, took out well over half the fly population. The spray method works. But, us a former spray, not a mist of fine spray, it might not work properly. Coat the foam over all the flies and let them die in peace. Thanks to the author of the topic. Really worked.

  25. In our old house we had a problem with flies. There were hundreds of them in each window when I came home every day. Disgusting!
    But we got it under control by having an uncovered lightbulb (low energy or LED to save energy) turned on in the attic/side of the roof (the breeding ground under the hot tin roof) and a flypaper hanging a few inches above it. The light attracts the flies and then they get stuck on the glue of the flypaper.
    You just need to change the flypaper and sweep the floor every once in a while.

  26. Jonenegold says:

    I have a lot of flies that seem to come out from under the siding of my sunroom. They don’t look like the regular house fly. Their wings seem longer and closer to their body. How do I get rid of these pests..

  27. The fly hater says:

    If you turn on the air full blast the cold makes them fly slower and then you can kill them…
    Also a suspension of coconut oil and water in a spray bottle will make them slow down so that you can kill them.

  28. Here in Australia some days is very hard to walk on the street thanks to the flies. They fly into your face and around your head driving you crazy. A couple of days ago I started to use a cigarette lighter doing 2-3 short quick flashes in both sides of my head and it seems to scare them and for a while they leave me alone. :) so happy

Speak Your Mind