This article was co-authored by Joshua Bloom
and by wikiHow staff writer, Hannah Madden
. 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.
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 65,799 times.
Have you noticed small, annoying flies on or around your houseplants? While they could be fruit flies, it’s just as likely that they’re fungus gnats living in the soil. Fortunately, getting rid of the flies (no matter what they are) is simple with prevention methods and natural remedies. In this article, we’ll share everything you need to know about getting rid of flies and gnats to keep your houseplants fresh and fly-free.
Things You Should Know
- Make a vinegar trap to quickly catch and kill fruit flies.
- Let the topsoil dry out before watering your plants again. Point a fan at the soil or add a layer of sand or gravel to help with drainage.
- Use microbial insecticides to kill flies and gnats with bacteria. Save chemical insecticides for severe infestations.
Steps
-
Vinegar attracts and then drowns fruit flies quickly. If you are dealing with fruit flies and not gnats, a vinegar trap is an effective way to get rid of them quickly. Pour about 1 in (2.5 cm) of apple cider vinegar into a jar, then poke 3 to 4 small holes in the lid before screwing it on. Place the trap near your plant or on top of the soil, then wait a couple of days. [1] X Research source
- The fruit flies will crawl into the holes in the lid, but they won’t be able to fly back out. Eventually, they’ll die inside the jar.
- To make your trap even more effective, add a few drops of dish soap to the vinegar. Dish soap will make the vinegar stickier, so the flies will get stuck in the liquid and drown.
- This trap isn’t as effective against fungus gnats, but it works really well against fruit flies.
-
Moisture attracts fruit flies and fungus gnats, so don’t overdo it. Most experts recommend waiting until the top 1 to 3 in (2.5 to 7.6 cm) of soil dries out before watering again. [2] X Research source
- You can quickly test your soil by sticking a finger into it. If your finger comes out slightly wet with dirt on it, your soil is still moist, and you don’t need to water. If your finger comes out mostly clean and dry, then it’s time to water your plant.
-
Use a fan to dry out the soil and prevent flies. Fruit flies and fungus gnats are attracted to damp, moist soil. The more you can let your soil dry out, the better. After you water your plants, keep a fan turned on and pointed down at the soil to quickly remove any excess moisture. [3] X Research source
- Be sure to empty out the drainage dish beneath your pot, too. Standing water can attract more flies and gnats.
-
A thin layer on top of the soil dries it out to prevent flies and gnats. Plus, sand and gravel aren’t great places to lay eggs, so flies may look elsewhere. Sprinkle about 1 ⁄ 2 in (1.3 cm) of sand or gravel on top of the potting soil, then spread it around evenly. [4] X Research source
- Adding gravel and sand won’t affect how you water or care for your plant. When you water your plant, the water will run right through the top layer and into the soil.
-
Soil that doesn’t drain well may be holding onto moisture. If you’ve noticed that water tends to pool on top of your soil, it may be time to repot your plant. Choose a potting soil mix that contains sand, silt, or loam to ensure that water runs out quickly, then repot your plant . [5] X Research source
- Sensitive plants may go into a slight shock after being replanted. However, most bounce back after a couple of days and a good watering.
-
Sticky traps catch fruit flies and gnats without chemical intervention. Most sticky traps even come with a wooden stake so you can easily submerge them in your potting soil right next to the plant. Keep an eye on the sticky traps, and change them out whenever they get full of bugs. [6] X Research source
- Sticky traps only catch adult fruit flies and gnats; they won’t be able to get the larvae or eggs inside of the soil. However, they’re very effective at stopping the spread of fruit flies in your home.
-
Diatomaceous earth dries out the soil and may kill fungus gnats. While more research is needed to know if this method works well, experts note that it won’t harm your plants to try. Sprinkle 1 to 2 in (2.5 to 5.1 cm) of diatomaceous earth onto the soil, then work it into your potting soil with your hands. [7] X Research source
- Diatomaceous earth is harmful for insects, but it won’t hurt your plants or any other animals in your home.
-
Target the larvae in the soil with a microbial insecticide. Microbial insecticides contain Bacillus thuringiensis subsp. israelensis (Bti), a naturally occuring bacteria that is less toxic than typical insecticides or pesticides. Use an insecticide that contains Bti in your soil, and reapply it every 5 to 7 days until the flies and gnats are gone. [8] X Research source
- Microbial insecticides only target the pests at the larvae stage, so they won’t kill any adult or pupae gnats and flies.
-
Chemical insecticides are strong, but they’re also fairly toxic. If you’ve tried multiple methods and nothing has worked, pick up an insecticide that’s safe to use for indoor plants. Spray the soil and the roots of your plant to kill flies and gnats right away. Always follow the instructions on the bottle, and keep children and pets away from the area. [9] X Research source
- Chemical treatments are most effective when paired with other prevention methods. If you choose to use chemical insecticides, make sure you’re still letting your soil dry out and using well-draining potting soil to avoid fruit flies and fungus gnats all together.
How Do You Catch Fruit Flies?
Join the Discussion...
Expert Q&A
Tips
- You may have heard about using coffee grounds or cinnamon to get rid of fruit flies. These methods aren’t as effective, and you’re better off making a vinegar trap.Thanks
- Use potting soil designed specifically for houseplants so it's less likely to attract bugs and gnats.Thanks
Warnings
- Insecticides may harm children and pets. Always read the warning labels, and follow the instructions on the bottle carefully.Thanks
You Might Also Like
Expert Interview
Thanks for reading our article! If you’d like to learn more about fruit flies, check out our in-depth interview with Joshua Bloom .
References
- ↑ https://www.pesticide.org/fruit_flies
- ↑ https://ipm.ucanr.edu/PMG/PESTNOTES/pn7448.html
- ↑ https://extension.unl.edu/statewide/douglas-sarpy/pdfs/ce/resources/ce-how-to-control-fungus-gnats.pdf
- ↑ https://hort.extension.wisc.edu/articles/fungus-gnats-on-houseplants/
- ↑ https://extension.unl.edu/statewide/douglas-sarpy/pdfs/ce/resources/ce-how-to-control-fungus-gnats.pdf
- ↑ https://ipm.ucanr.edu/PMG/PESTNOTES/pn7448.html
- ↑ https://bookstore.ksre.ksu.edu/pubs/mf2937.pdf
- ↑ https://hort.extension.wisc.edu/articles/fungus-gnats-on-houseplants/
- ↑ https://hort.extension.wisc.edu/articles/fungus-gnats-on-houseplants/
About This Article
Reader Success Stories
-
Anonymous
Jun 22, 2023
"It taught me several different methods. And which ones work best. So far they seem to be working great."
Did this article help you?
Anonymous
Jun 22, 2023