QUICKLY BUILD LASTING GARDENING SKILLS * GROW YOUR THRIVING DREAM GARDEN NOW
MONEYBACK GUARANTEE
Wondering how to get rid of fruit flies or fungus gnats?
I hear this question a lot: What do I spray to get rid of fruit flies in my house plants?
Well, the first thing I try to determine is whether the pest is truly a fruit fly or is actually a fungus gnat? That’s because these buggers are similar, but they’re also quite different too!
And the second thing to remember is that spraying some ‘cide probably isn’t necessary (and should always be a last resort.)
Both pests are tiny and truly annoying.
Fruit flies tend to invade our kitchens. And they do this a lot during harvest season. But to get rid of fruit flies isn’t always easy.
Plus, sometimes they move into our houseplant soil along the way. But, more often than not, the problem is actually fungus gnats. That’s because these are more common all year. And they tend to really set up shop in house plants. (But, they may show up in your kitchen too.)
So annoying! But you can get rid of fruit flies and fungus gnats without spraying gunk from a bottle.

Steps for how to get rid of fungus gnats…
If the problem does turn out to be an infestation of fungus gnats, a few simple environmental and pesticide-free control options will probably help you avoid, control and get rid of the fruit fly lookalikes:
- First, add a thin layer of pretty pebbles or gravel to the top of the potting soil in your indoor plant containers. That’s because fungus gnats lay eggs in the top layer of the soil and hatch from there. But they can’t do this in pebbles.
- Next, Cclean your plant pot catch trays. Thanks because gunky catch trays can be egg-laying spots for fungus gnats.
- Finally, if your infestation is really bad, you may want to go ahead and insert some sticky traps in your cleaned up planter for a little while. This can help catch the ones that are already flying around. And it can help break the lifecycle of any future babies they’re planning.
Try these methods if you’re not sure which pest insect you’ve got:
- Begin by inserting sticky traps into your houseplants. These are inexpensive, pesticide free papers covered with a sticky material. So as the gnats and fruit flies buzz above your plant, they are attracted to the yellow color and smack to the sticky surface never to fly again.
- Or, let your other plants eat your flying pests instead. That’s because simply growing carnivorous plants like sun dews (in the Drosera species) can help eradicate fruit flies and fungus gnats. Just be sure to place the meat-hungry plants very close the pest infestation. For instance, place a sundew in the center of a bowl of summer ripe tomatoes. Or, keep it growing near other houseplants.
Try these techniques if you only need to get rid of fruit flies…
We learned a fun fruit fly control method from our friend Brad. Not only is his technique easy, but it also uses up food scraps you might otherwise toss in the compost. Here’s how to get rid of fruit flies this way:
- First, Grab a glass or jar, piece of clear cling wrap, rubber band, and piece of ripe fruit.
- Next, drop fruit in jar.
- Then, Tightly pull down clear wrap around the top of vessel. And wrap rubber band around rim of vessel.
- Next, use a pin to poke several small holes through the top of the cling wrap. This way the the fruit fly can squeeze into the hole. But it will be very difficult for them to escape later.
- Finally, put the glass in your fruit fly area.
- Once several flies are in the glass, place the whole thing in the freezer. That should kill the flies. And you can set the intact trap back on the counter to catch more later.
- Finally, empty it all once the fruit begins to really rot.

Brad’s Gnat Death Trap (Photo courtesy: Brad Hole)
Additional suggestions after trying Brad’s great method:
- Use a scrap of fruit like the peel from an apricot or the pit from a peach.
- Be sure to poke really tiny holes in the cling wrap. Otherwise, they’ll just fly out again.
Still struggling?
Sign up right now so you’re first in line to be notified when we open our next application period. That way you can be first in line to be notified so that you can grab one of our limited availability seats fast!
Kristine,
Try taking a sample to a local extension office or nursery to get help identifying the problem so you can use the right technique or product. Good luck.
I have the same problem with fruit flies or fungus gnat in my indoor plants as well in my greenhouse. what I did was putting the houseplant sticky stakes and it does work but I was wondering why it doesn’t seem to go away. I kept replacing the sticky houseplant stakes. I checked the back leaves and I found eggs and also thought of coming from the soil. What I did was I sprayed with homemade insecticidal soap. I mix apple cider vinegar. castille pure soap, garlic, olive oil and it works for me. I had to do manual to wipe off the eggs from the leaves so the leaves would look nice and they loving it. (Jasmin plant)
Could I suggest mixing some citronella oil with some water in a spray bottle and lightly misting the plants ? I sell Young Living Essential Oms and I know Citronella is a bug repellant … Just might work …I just don’t know if it would harm the plants….
Sara have you tried your suggested technique or just telling people that citronella is a bug repellant and leaving it to them to hazard spraying it on plants?
If you are having problems with fungus gnats/flies, try mosquito dunks. You can get them at most home improvement stores. I wet them a bit and break them apart then apply some to the top of the soil and water the plants. The dunks are supposedly organic and work wonders. In two weeks you should be fungus gnat free. It kills the larvae. No larvae no flies/gnats. Keep the sticky traps out to catch the remaining adults while the dunks work their magic. Hope this helps with those having issues, it sure helped my indoor garden. No more pesky flies/gnats buzzing around bothering me.
As we state in our FAQ, we understand that we may agree to disagree with each other. We’re approving R.M.’s comment, but we don’t necessarily approve this technique. First: “Organic” doesn’t necessarily mean safe in all situations. And, if a dunk is created for one issue it doesn’t mean it should be used for another. Consider with caution.
Cinnamon is the best thing i’ve read so far. Also theirs a bacteria that works and a flower it starts with a c but basically a type of daisy!!
Much like the rest of you that absolutely HATE these ‘Pesky
Pests’ , I too have tried everything from vinegar, powdered cayenne pepper, pepper spray to camomile tea spray. To no avail. Plus,I was very concerned about my beloved dogs and cats getting their ‘sniffer woofers’ upset !!
Finally, it occurred to me, in place of sticky traps or fly paper
to simply use a few little 1/2 cup Pyrex dip/butter bowls
filled 1/3-1/2 way with corn or peanut oil. They are attracted to the oil and get stuck in it! Eureka!! You’ll be AMAZED how many of those little pests pile up in the bowls! I just set the bowls on a small lid from some like a Pringles can so that if you bump the bowl, the oil won’t get on the window sill or plant stand shelf. I find it a very helpful way to catch and kill them and just change the oil out weekly or more often if necessary.
Give it a try ! From one Herb growing friend, to all of You?
I have the same problem and I just started using these techniques. The question that I have is that will these techniques kill all of them or just stop them from being more?
Hamed, these options should help control those you have. Not sure what you mean by stop them from being more.
I came up with an idea to catch these little nightmares that work quite well. At least the ones flying around, not so much the eggs. But was amazed at how quickly it worked. I went out and bought some of those fly strips. Next I unwound them them poured vinegar on them, hung them up in the kitchen and within an hour the strip was literally covered. I mean covered!! It was amazing!
Cool idea Becca! Thanks for sharing 🙂
I am this very moment trying the cinnamon powder, and the oil with vinegar solutions! The sticky paper is not in the everyday plant shops close by,, So no harm in trying some natural Do It Yourself ideas and see what works!
If they do, I’ll return here to let you know!
Good day!
putting a small amount of Cayenne Pepper Powder on top of dirt…it’s safe and gnats hate CP.
I LIKE THE STIKY PAPER BUT THAT ONLY CATCHES THE ONCE THAT ARE FLYING AROUNG. HOW DO I KILL ALL THE EGGS TO MAKE SURE THEY DON’T COME BACK. IS THERE A WAY TO CURE THE DIRT AND BE BUG FREE AGAIN??
Before you have them in your soil, top the soil with a thin layer of gravel. That can really help. Read on!
I read this post just last night and decided to try letting the soil dry out before I did anything else. However today I discovered a new solution by accident. My infested house plants are on the windowsill above my kitchen sink and I had left a garment soaking in the sink in water with OxiClean.
(Actually it was LA’s Totally Awesome Oxygen Base Cleaner from the Dollar Store, but it smells like the name brand version) When I took the garment out after about 20 minutes I noticed 3 fungus gnats dead in the oxiclean water, so I left it in the sink and went out to run errands. When I got home several hours later there were 21 fungus gnats in the water and none that I could see on the plants. I have had a jar of apple cider vinegar with holes in the lid right between the plants for three days and not a single gnat went in, though vinegar has worked well for me in the past with fruit flies. I believe it was the Oxi-clean that attracted the gnats, as I have had dishes soaking in both soapy and plain water and neither ended up with more than a single gnat floating in it. And from what I can tell, not a single gnat could resist the OxiClean water. I used some of it to replace the vinegar in the jar and left the lid off, to hopefully take care of any remaining larvae that might hatch.
Thanks for sharing Bradley…very interesting!
I have noticed the fruit flies get into my coffee cup if I leave a little coffee in them. I noticed this every time and now leave a cup of coffee with cream sitting out.
I just want to say ‘Thank you’ to everybody for these great suggestions. I started out with the yellow sticky paper and it apparently has lost its appeal to some of the later generation of flies. They are not out of control yet (key word being yet). I have most of the items either on hand at work or at home. Have a great season everybody!