PDF download Download Article PDF download Download Article

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.
1

Make a vinegar trap.

PDF download Download Article
  1. 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]
    • 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.
  2. Advertisement
9

Use chemical insecticides on severe infestations.

PDF download Download Article
  1. 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]
    • 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.
  2. Advertisement

How Do You Catch Fruit Flies?


Join the Discussion...

WikiWombatReader561
Over the past couple weeks my house has become infested with fruit flies and I don't know how to get rid of them! I've tried keeping my kitchen a... Read More
Kevin Carrillo
Kevin Carrillo
Pest Control Specialist, MMPC
The issue with fruit flies is that they proliferate very quickly and tend to be chronically reintroduced. What that means is that for the most pa... Read More
WikiWombatReader561
I never knew about putting fruit in the fridge to get rid of fruit flies, so I'm going to do that ASAP. I set out a vinegar trap and already have... Read More

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

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.
  • Use potting soil designed specifically for houseplants so it's less likely to attract bugs and gnats.

Tips from our Readers

  • Try bottom-watering your plants by placing the bottom of the pot in a container of water. It will absorb up through the soil instead of leaving the topsoil wet.
  • Try using a 50/50 mix of water and hydrogen peroxide. Spray it on the flies when you see them, and it will knock them down without killing your plants.
  • If you see a spider on your plants, leave it there to catch the flies naturally.
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

Warnings

  • Insecticides may harm children and pets. Always read the warning labels, and follow the instructions on the bottle carefully.
Advertisement

You Might Also Like

Get Rid of Common House GeckosGet Rid of Common House Geckos
Get Rid of RoachesThe Best Ways to Get Rid of Cockroaches in Your Home
Tell What Animal Is in My WallDo You Have Animals in Your Walls? Dealing with Animals in Your Walls or Attic
Identify Bed Bug DroppingsIdentify Bed Bug Droppings
Make Bed Bugs Come Out of Hiding Draw Bed Bugs Out of Hiding
Get Rid of Roaches with Borax Kill Roaches with Borax or Boric Acid
Get Rid of Bats Remove Bats from Your Home
Get Rid of SilverfishThe Best Ways to Get Rid of Silverfish Once and for All
Know if You Have Dust MitesKnow if You Have Dust Mites
Get Rid of Ladybugs Remove Ladybugs from Your Home and Yard
Get Rid of Pantry BugsThe Most Effective Ways to Get Rid of Pantry Pests for Good
How Do Exterminators Get Rid of MiceMice Extermination: How Experts Eliminate Mice & How Long It Takes
Use Home Remedies to Get Rid of Gnats Drive Away Gnats for Good: Easy DIY Methods
Get Rid of BookliceGet Rid of Booklice
Advertisement

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.

About This Article

Joshua Bloom
Co-authored by:
Pest Control Specialist
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 viewed 70,402 times.
15 votes - 100%
Co-authors: 6
Updated: September 15, 2024
Views: 70,402
Categories: Pest Control
Thanks to all authors for creating a page that has been read 70,402 times.

Reader Success Stories

  • Anonymous

    Anonymous

    Jun 22, 2023

    "It taught me several different methods. And which ones work best. So far they seem to be working great."
Share your story

Did this article help you?

Advertisement