This article was co-authored by Joshua Bloom and by wikiHow staff writer, Hunter Rising. 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.
There are 15 references cited in this article, which can be found at the bottom of the page.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 5,383,131 times.
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 spoke to pest control professionals to teach you all the best ways to get rid of them, including natural and commercial methods. Plus, we’ll also teach you how to keep flies away in the first place.
How do you kill house flies?
Pest control specialist Kevin Carrillo recommends hanging up fly tape to catch flies quickly. Other options include the following:
- 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.
- 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.
Steps
How to Get Rid of Flies Naturally
-
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 ⁄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]
Meet the wikiHow Experts
Wilson Christner is a pest management professional and the co-owner of Whitmore Pest & Wildlife Control. He has over 14 years of experience.
Brandon Runyon is a board-certified entomologist and pest control expert based in Evansville, Indiana. He has over 18 years of experience and is the technical director of Swat Pest Management.
Kevin Carrillo is a pest control specialist and the senior project manager for MMPC, a pest control service based in the NYC area. MMPC’s work has been featured in CNN, NPR, and ABC News.
Joshua Bloom is a pest control specialist and the vice president of operations of Standard Pest Management, a pest control company based in NYC. He has over 20 years of experience.
Luke Lewis is a pest management expert and the founder and president of Native Pest Management. He has led the company for over 7 years and specializes in pet-friendly and eco-friendly pest control.
-
Create a DIY fly trap with vinegar or fruit juice. Pest management professional Wilson Christner says, “Create a simple homemade fly trap by filling a shallow dish with a mixture of sugar and vinegar or fruit juice. Cover the dish with plastic wrap and poke small holes in it. Flies will be attracted to the sweet smell and get trapped in the liquid.”[3] Leave out multiple traps and replace the vinegar every few days.
- Use distilled white vinegar or apple cider vinegar.
- 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 -
Create a funnel trap with sugar water and an old soda bottle. To make a DIY funnel trap, 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 top part of the bottle 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 the bottle, but they won’t be able to easily find their way back out and get caught in the liquid.
- You can also add a bit of yeast to the sugar water mixture to attract the flies.
-
Use essential oils to kill and repel flies. Essential oils of thyme, clove, geranium, basil, lavender, lemongrass, and peppermint all have fly repellent 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.[5]
- 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.[6]
- Entomology and pest control expert Brandon Runyon adds that this might not be the most effective method: “While natural deterrents like clove, cinnamon, lavender, and eucalyptus can have some repellent effects due to their strong scents, they are not foolproof solutions. These deterrents may work by masking the odors that attract flies, but their effectiveness varies.”[7]
-
Grow fly-repellant herbs in your house. 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![8]
- 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 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 for quickly getting 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.
-
6Make a cayenne pepper repellent spray. Flies are supposedly deterred by the scent of cayenne pepper.[9] Mix 1 tbsp (5 g) of cayenne pepper in 2 cups (473 ml) of hot water. Let the mixture sit for 15-20 minutes so the pepper’s smell infuses into the water. Then, spray the repellent around your house to get rid of flies.
-
7Hang up some orange peels. Flies may be deterred by the smell of citrus. To test this DIY method out, either scatter orange peels around problem areas or place several in a muslin cloth bag and hang them in your kitchen.
-
8Trap flies in petroleum jelly. If you have flies hanging around your drains, fill a small bowl with petroleum jelly and place it near the drains. This will attract flies, and over time, they’ll get stuck in the jelly.[10]
-
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. 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.[11]
- Diatomaceous earth has low toxicity, but avoid applying it to areas where you prepare or eat food.
- Use diatomaceous earth every 1–2 weeks until the fly infestation goes away.
Using Commercial Traps & Repellents
-
Hang fly tape to catch flies. If you only have a few flies, Carrillo recommends that you “go to your local drugstore or hardware store and buy a roll of fly tape… Put it either in a kitchen, bathroom, or somewhere the flies are going to be attracted to an already-existing food source.”[12] Once the strip of fly tape fills up, throw it in the trash and hang up a new one.
- Carrillo adds, “If you put up fly paper and quickly find way more flies on it than you thought you had in your house, then you need to go back and start looking for what food sources or issues are attracting them.”[13]
- Hang fly tape near windows and entrances, as well.
- Avoid hanging fly tape directly above areas where you cook or eat since flies could fall off and land in your food.
-
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.[14]
- 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.
-
3Light a citronella candle. Citronella candles contain citronella essential oil, which naturally deters many flying insects, including house flies.[15] Simply light the candles and place them around windows and doorways, making sure they’re away from any flammable materials. Turn on some fans to blow the scent into the air and further deter flies.
-
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.[16]
- A popular form of fly bait is window decal traps. 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 the manufacturer’s safety instructions and use them in places that your kids and pets can’t easily reach.
-
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 the pyrethrin spray’s 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.[17]
- 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.
-
Treat doorways and windows with residual pyrethroid spray. Pyrethrin is a natural insecticide derived from chrysanthemum flowers, and synthetic pyrethroids use the same chemicals.[18] 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.[19]
- 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.
Expert Q&A
-
QuestionHow can I keep flies from coming into my house?Joshua BloomJoshua 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 SpecialistCheck 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.
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.Thanks
Tips from our Readers
- Put a small dish of vodka by open entrances. Flies don't like the smell of vodka.
- Don't praise pets for eating flies. They can make pets sick in some cases!
Warnings
- House flies can transmit harmful diseases, so try to control an infestation as soon as possible to prevent getting sick.[32]Thanks
References
- ↑ https://ipminstitute.org/wp-content/uploads/2016/05/School-IPM-2020-Pest-Management-Strategic-Plan-V3.0.pdf
- ↑ https://www.popularmechanics.com/home/how-to/a25429/how-to-get-rid-of-flies/
- ↑ Wilson Christner. Pest Management Professional. Expert Interview
- ↑ https://edis.ifas.ufl.edu/publication/IN1103
- ↑ https://onlinelibrary.wiley.com/doi/full/10.1111/jvec.12357
- ↑ https://vetmed.tamu.edu/news/pet-talk/a-scent-sitive-subject-essential-oil-diffusers-and-your-cat/
- ↑ Brandon Runyon. Entomology and Pest Control Expert. Expert Interview
- ↑ https://www.bobvila.com/articles/plants-that-repel-bugs/
- ↑ https://www.countryliving.com/home-maintenance/cleaning/a32858803/how-to-get-rid-house-flies/
- ↑ https://www.southernliving.com/how-to-keep-flies-away-from-house-11757769
- ↑ https://extension.colostate.edu/topic-areas/insects/cluster-flies-and-other-winter-flies-5-618/
- ↑ Kevin Carrillo. Pest Control Specialist. Expert Interview
- ↑ Kevin Carrillo. Pest Control Specialist. Expert Interview
- ↑ https://ipminstitute.org/wp-content/uploads/2016/05/School-IPM-2020-Pest-Management-Strategic-Plan-V3.0.pdf
- ↑ https://www.southernliving.com/how-to-keep-flies-away-from-house-11757769
- ↑ https://hgic.clemson.edu/factsheet/less-toxic-insecticides/
- ↑ https://hgic.clemson.edu/factsheet/less-toxic-insecticides/
- ↑ https://wwwn.cdc.gov/TSP/PHS/PHS.aspx?phsid=785&toxid=153
- ↑ https://ipm.ucanr.edu/PMG/PESTNOTES/pn7457.html
- ↑ Joshua Bloom. Pest Control Specialist. Expert Interview
- ↑ https://www.thisoldhouse.com/pest-control/how-to-kill-flies
- ↑ Joshua Bloom. Pest Control Specialist. Expert Interview
- ↑ https://ipminstitute.org/wp-content/uploads/2016/05/School-IPM-2020-Pest-Management-Strategic-Plan-V3.0.pdf
- ↑ Elmer Bensinger. Pest Control Specialist. Expert Interview
- ↑ Luke Lewis. Pest Management Expert. Expert Interview
- ↑ https://ipminstitute.org/wp-content/uploads/2016/05/School-IPM-2020-Pest-Management-Strategic-Plan-V3.0.pdf
- ↑ https://www.canr.msu.edu/news/how_to_get_rid_of_fruit_flies_in_your_home
- ↑ https://content.ces.ncsu.edu/drain-flies
- ↑ Joshua Bloom. Pest Control Specialist. Expert Interview
- ↑ Joshua Bloom. Pest Control Specialist. Expert Interview
- ↑ https://ipminstitute.org/wp-content/uploads/2016/05/School-IPM-2020-Pest-Management-Strategic-Plan-V3.0.pdf
- ↑ https://extension.colostate.edu/topic-areas/insects/flies-in-the-home-5-502/
About This Article
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!
Reader Success Stories
-
"Everyday and night I saw the flies flying around and trying to eat my food that we are all eating. I was trying to get rid of them from out of the house and they won't come out. I needed to know how to get them out of the house. Also, what I experience is that without knowledge, I won't be able to help out myself and keep on aiming for my goals in life."..." more