PDF download Download Article
Tips for naturally removing house flies and keeping them out
PDF download Download Article

Flies are definitely a nuisance when they’re buzzing around inside. Those annoying bugs can spread bacteria to anything they touch, so it’s important to kill them as soon as you can. Whether you’re dealing with a few stray flies or a swarm that found their way in, we’ve got you covered on how to get rid of them. Keep reading for the best natural and chemical pest control options to quickly take care of those pesky house flies.

Things You Should Know

  • Set out containers with vinegar or apple cider vinegar. Cover the container with plastic wrap and poke a hole in it so flies can get in but not out.
  • Hang fly tape or place UV light traps where you see the most flies to attract and catch them quickly.
  • Try spreading basil, lemon, or lavender essential oils, or diatomaceous earth around doors and windows to kill flies on contact.
Method 1
Method 1 of 4:

Swatting or Trapping Flies

PDF download Download Article
  1. Kill flies you see with a fly swatter . Get a stiff plastic swatter and keep it within reach. Whenever you see a fly, aim your swatter about 1 1 2 inches (3.8 cm) behind it and quickly strike down. Pick up the dead fly and clean up the mess left behind with an all-purpose cleaner. [1]
    • If you want to avoid wiping up after swatting a fly, then get an electric swatter . Swing at flies in the air to kill them on contact so they drop onto the floor without getting squashed. [2]
  2. Put some distilled white vinegar or apple cider vinegar in a container, and cover the opening with plastic wrap. Use a rubber band to hold the plastic wrap in place. Poke a small hole in the plastic wrap so that flies can smell the vinegar and crawl inside the container. Once they’re inside, the flies will be unable to escape and drown in the vinegar. Leave out multiple traps and replace the vinegar every few days. [3]
    • Add in a few drops of fruit-scented dish soap to disrupt the surface tension of the vinegar. When the smell attracts the flies and they land on the liquid, they’ll get stuck and drown.
    • Alternatively, leave out an open bottle of red wine with a tiny amount of wine left in it. The flies will be able to enter the bottle easily, but have a difficult time getting out again.
    Advertisement
  3. Create a funnel trap with sugar water and an old soda bottle. Cut the top third of a large soda bottle off with a utility knife just above the label. Then, fill the bottom section of the bottle with a little bit of sugar water. Set the bottle top upside-down on the bottom section so it creates a funnel. Set the trap in areas where you see the most flies, and change the liquid out at least once a week. [4]
    • Flies will fly down inside of the bottle, but they won’t be able to easily find their way back out and get caught in the liquid.
  4. Use light traps to catch larger flies. Plug your light traps in approximately 4–6 feet (1.2–1.8 m) above the floor and every 30 feet (9.1 m). Flies are lured in by the UV light, and then they get stuck on a glue board or killed by an electric shock. [5]
    • Position the traps around your home so they’re not visible from outside, or else the light could lure new flies inside.
    • Avoid placing traps within 5 feet (1.5 m) of any areas where you prepare food so flies don’t spread bacteria over utensils or groceries.
    • Set up outdoor light traps near entrances to your home to kill the flies before they have a chance to get inside.
  5. Hang fly tape to catch flies. Put up fly tape wherever you’ve noticed flies gathering inside of your home, like near windows or entrances. When the flies land on the tape, they’ll get caught on the adhesive and won’t be able to get away. Once the strip of fly tape fills up, throw it in the trash and hang up a new one. [6]
    • Avoid hanging fly tape directly above areas where you cook or eat since flies could fall off and land in your food.
  6. Advertisement
Method 2
Method 2 of 4:

Natural Fly Killers & Repellents

PDF download Download Article
  1. Try essential oils of thyme, clove, geranium, basil, lavender, lemongrass, vanilla, sunflower, and peppermint all have fly repellant or insecticidal properties. Spread the essential oils near entryways or in rooms where you’ve seen flies gather to help kill them and keep them away. [7]
    • Mix an essential oil spray with 1 2 cup (120 ml) of witch hazel, 1 2 cup (120 ml) of apple cider vinegar, and 30–50 drops of essential oil to treat areas where flies gather.
    • Alternatively, put a few drops of fly-repellant oil in an essential oil diffuser and place it in a room where flies are a problem.
    • All of the essential oils listed above may be harmful to pets if they’re undiluted. If you notice your furry friend has behavioral changes, muscle weakness, vomiting, or diarrhea, stop using essential oils and tell your vet that your pet has been exposed. [8]
  2. Dust diatomaceous earth on flies to kill them on contact. Diatomaceous earth is a non-toxic insecticide dust that simply works by damaging the flies’ exoskeletons of insects. Load the diatomaceous earth into a small pesticide duster and puff a little onto your houseplants, into garbage cans, and onto other surfaces where flies congregate. [9]
    • Diatomaceous earth has low toxicity, but avoid applying it on areas where you prepare or eat food.
    • Use diatomaceous earth every 1–2 weeks until the fly infestation goes away.
  3. Basil, bay leaf, mint, rosemary, and lavender all have strong scents that flies will avoid. Grow herbs in your kitchen or outside on your patio or garden to keep the flies away. Plus, you’ll have fresh herbs and spices to add to your cooking for fresh flavors. [10]
    • Leaving sachets with dried spices also works as a repellent. Try filling them with dried cloves, lavender, or basil leaves and hanging them around your home.
    • Try growing Venus flytraps indoors or outside. When a fly lands inside of the flytrap, its jaws close and kill the fly. Flytraps take 5–10 days to fully break down a fly after they close, so they may not be the best to quickly get rid of flies.
    • Cut a lemon in half and push about 20–25 cloves into the fruit to make a strong-scented repellent. Set the lemon near a window or anywhere else you see flies to deter them.
  4. Advertisement
Method 3
Method 3 of 4:

Chemical Insecticides

PDF download Download Article
  1. Kill flies directly with pyrethrin spray . Only spray flies that are away from areas where you eat and prepare food so it doesn’t get contaminated. Follow manufacturer safety instructions carefully. Typically, all you have to do is shake the can and spray the insecticide directly at the flies to immediately kill them. [11]
    • Point the spray away from you when you’re applying it. You don’t need to wear a mask or respirator, but avoid directly inhaling the spray since it can cause irritation in your nose and lungs.
    • Try not to use insecticides unless you’re struggling to deal with an infestation so you avoid exposure to chemicals. Natural traps and repellents that we’ve listed above are just as effective for flies
  2. Treat doorways and windows with residual pyrethroid spray . Pyrethrin is a natural insecticide derived from chrysanthemum flowers, and synthetic pyrethroids use the same chemicals. [12] Apply the spray around door and window frames doorways can help deter flies from entering your home. Then, check your home’s exterior for any cracks or gaps and spray them as well. [13]
    • Follow all the safety instructions on the pesticide bottle. You may need to wear safety glasses or a face mask to protect yourself from fumes.
  3. Use insecticide fly bait . Baits either come as pre-baited traps, pellets, or liquid solutions that can be applied to areas where flies like to gather. Any of the baits are effective, so just set them out where you see flies congregating the most in your home. The flies will eat the bait and quickly die from the insecticides inside. [14]
    • A popular form of fly bait is the Ortho Home Defense Fly Killer Window Decal . Affix the decal to a window away from where you prepare food. Flies eat the pesticide coating on the decal and die, typically on or near the windowsill.
    • Fly baits can be dangerous to pets and children, so be sure to follow manufacturer safety instructions and use them in places that your kids and pets can’t easily reach.
  4. Advertisement
Method 4
Method 4 of 4:

Keeping Flies Out

PDF download Download Article
  1. Flies are attracted to moist organic material, which acts as both a source of food and a place to lay eggs. Store food in the fridge or in tightly-sealed containers rather than leaving them on the counter. If you spilled any food or drinks, clean them up as soon as you notice them with a damp paper towel. [15]
    • Wash dishes immediately after use so flies don’t get into food scraps left behind.
    • Throw food scraps in your trash or run them through your sink’s garbage disposal.
    • Keep fruit flies away by getting rid of any old fruit or unwashed bottles that contained juice, soda, or beer. [16]
  2. Take out the garbage in your home frequently so flies don’t gather inside. Throw trash away in a garbage bag and keep it in a closed can. Check for signs of pupae or maggots underneath garbage container lids and liners. If you see any, kill the maggots with boiling water or vinegar and clean your garbage can and the area around it with soapy water. [17]
  3. Take out any garbage containing human or animal waste as quickly as possible so it doesn’t sit inside your home. If you have cats, change the kitty litter frequently since flies are attracted to the waste. Keep diaper bins tightly sealed and change them frequently since they’re also hotspots where flies may congregate. [18]
    • If you’re picking up after a dog outside, tie the bag tightly before putting it in your trash so flies can’t reach it.
  4. Flies like to breed in warm dark areas, like underneath your fridge or oven. Move your stove and fridge so you can sweep the area. Then, mop your floors with warm, soapy water. Check under and around your appliances every few weeks to ensure no flies have called it home. [19]
    • After cleaning up these areas, thoroughly rinse and wring out any mops, sponges, or cleaning rags that you used, and hang them to dry since flies could breed there as well.
  5. Clean your drains . Built-up organic material in drains can attract certain species of flies. Use a drain snake to clear out organic material, then scrub the drain with a stiff brush. Alternatively, pour boiling water down the drain to help loosen debris and kill any flies that are in your drain. [20]
    • Chlorine bleach and commercial drain cleaners like Drano are not typically effective for eliminating fly infestations in drains, so avoid using them.
    • If scrubbing doesn’t clean out your drain enough, try an antibacterial drain cleaner like Bio-Clean . If you have a septic system, make sure that the package says that it’s safe to use for your drains.
  6. If you have any open windows or doors, make sure you have screens in place to keep unwanted insects out. Install a screen door on exterior doorways and replace window screens to let in a breeze but keep flies out. [21]
    • If you already have screens on your windows and doors, inspect them regularly for tears or damage, and repair them by attaching a screen patch.
    • Check for any open attic vents that may need a screen as well.
  7. Fill in cracks, crevices, and spaces around pipes with caulk . Inspect the exterior of your home for any cracks in the siding, foundation, or window frames. If you find any, apply a bead of caulk inside the gap to fill them and prevent flies from coming into your home. [22]
  8. Advertisement

Expert Q&A

Search
Add New Question
  • Question
    How can I keep flies from coming into my house?
    Joshua Bloom
    Pest Control Specialist
    Joshua Bloom is a Pest Control Specialist and the Vice President of Operations of Standard Pest Management, a pest control company based in New York City. He has over 20 years of experience in the pest control industry and specializes in commercial and large facility pest control management. Standard Pest Control also specializes in ant, bed bug, cockroach, fly, and rodent control. Joshua is licensed by the NYSDEC (New York State Department of Environmental Conservation) for termite control.
    Pest Control Specialist
    Expert Answer
    Check the screens on your windows and make sure that there are no rips or tears, and keep your doors closed as much as possible. Also, dispose of your trash properly—keep it bagged or in a closed can, and keep the area clean.
Ask a Question
      Advertisement

      Video

      Tips

      • If flies continue getting into your home and you’re unable to control them, then contact a pest control specialist. Explain what you’ve already tried and where you notice the flies so they can find out how the flies are getting in.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      • House flies can transmit harmful diseases, so try to control an infestation as soon as possible to prevent getting sick. [23]
      Advertisement

      About This Article

      Article Summary X

      If you've already removed any garbage that might be attracting your flies but they are still pestering you, you can get rid of flies in the house by putting out bowls filled with vinegar or wine mixed with dish soap, which will trap the flies. You can also try placing fly-repellant herbs like basil and mint around your home. If nothing is working, you can also try sprinkling some non-toxic insecticide over your houseplants and garbage cans. For more ways you can get rid of pesky flies, like using essential oils, light traps, and fly tape, keep reading!

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 5,328,738 times.

      Reader Success Stories

      • Neighman Hinds

        Feb 19, 2017

        "Everyday and night I saw the flies flying around and trying to eat my food that we are all eating. I was trying to ..." more
      Share your story

      Did this article help you?

      Advertisement