How to Get Rid of Fruit Flies in House Plants: 15 Effective Ways to Stop Them
Last Updated on October 1, 2026 by Duncan
Tiny flies hovering around your house plants can turn a peaceful indoor garden into a frustrating mess.
You water your plants, admire their fresh leaves, and suddenly find yourself swatting at little insects every time you walk past.
The first thing to know is that not every tiny fly around your house plants is a fruit fly.
Fungus gnats are far more common in potting soil, and confusing the two can lead you to use the wrong treatment.
If you want to get rid of the flies without damaging your plants, you need to identify where they are breeding, interrupt their life cycle, and make your pots less attractive to them.
The good news is that you can do most of this with inexpensive household supplies and a few changes to your watering routine.
Here is what you should do:
Confirm whether you have fruit flies or fungus gnats
Here’s the plot twist you should know. The tiny flies hovering around your plants are usually fungus gnats, not fruit flies.
Fruit flies want your banana bowl. Fungus gnats want your damp potting soil.
Why does it matter? If you hang a vinegar trap next to your monstera, you’ll catch a couple of stragglers and feel proud while the real problem keeps breeding under the surface.
Do this 5 minute test:
- Look closely at the flies. Fungus gnats are slim, dark gray or black, and fly like tiny clumsy mosquitoes. Fruit flies are rounder, tan, and often have red eyes.
- Watch where they hang out. Gnats hover around soil and windows. Fruit flies circle the kitchen, trash, and fruit.
- Lay a raw potato slice flat on the soil and leave it overnight.
- Lift it in the morning. Tiny white larvae with black heads on the underside mean gnats.
Got both? It happens quite often especially in kitchens with a plant shelf. Treat the plants and the fruit separately.
Let the top layer of soil dry between waterings
Gnats lay eggs in moist topsoil and as mentioned, you might have the impression that you have fruit fries on your plants.
If you water every Sunday because it’s Sunday, you’re basically running a daycare.
I’ve walked into homes with gorgeous plants and a watering schedule taped to the fridge, and the schedule was the problem every time.
Instead of having a watering schedule, you should only water your plants when its necessary.
- Push your finger two inches into the soil.
- If it feels damp, walk away. Check again in two or three days.
- If it’s dry at that depth, water thoroughly until it drains out the bottom.
- Skip the “little sip” habit. Frequent light watering keeps the surface wet, and wet surface means happy larvae.
Do bottom watering to keep the soil surface dry and unhabitable for the flies
This trick changes everything. The roots drink from below while the top stays dry, and as a consequence the gnat eggs die.
To water your plants from below fill a sink, tub, or tray with a few inches of water then set the pot in it, making sure the pot has drainage holes.
Wait 20 to 30 minutes. The top of the soil should feel slightly damp when it’s done.
Lift the pot out and let it drain fully before you place it back on its saucer.
This way you water your plants while at the same time you get rid of the gnats.
Clean the plant pots and drainage saucers
That decorative cachepot sitting around your plant? Lift the plant out and look inside.
Half the time there’s a cup of stagnant water in the bottom, warm and stinky, like a gnat hot tub. Slimy saucers count too.
To get rid of the flies you need to empty every saucer and cachepot, including the ones you forgot about.
Scrub with hot water and dish soap to remove slime and gunk.
Rinse with a mix of one part white vinegar to nine parts water, or one part bleach to nine parts water for plastic and glazed pots.
Rinse well and dry before putting anything back.
From now on, dump excess water 15 minutes after watering. No plant should ever sit in drainage water.
Get rid of fallen leaves and decaying plant material
A dead leaf on the soil is a tiny compost pile. Gnats and fruit flies both love it.
Two seconds of tidying saves weeks of swatting. I’ve cleared out more than one infestation just by picking up what was already dying on the dirt.
Do this:
- Pinch off yellow, brown, or mushy leaves at the stem.
- Pick up fallen petals, twigs, and leaf bits from the soil surface.
- Check under the leaf canopy where debris hides.
- Bag it and put it in an outdoor trash bin, not your kitchen bin.
Check the roots for signs of overwatering
Soil that never dries out is often a root problem, and no trap will fix that.
You should slide the plant out of its pot. Support the base with your hand.
Look at the roots. Healthy ones are firm and pale or white.
Sniff them. A sour, swampy smell means rot.
Trim any brown, black, or mushy roots with clean scissors.
Repot in fresh, well draining mix in a pot with drainage holes.
If the roots look okay but the soil stays soggy for days, the pot is probably too big or the mix is too dense. Fix it.
Remove excessively wet or contaminated potting soil
For a heavy infestation, get physical. Scooping out the top layer removes a huge share of the eggs in one go.
Ever wonder why gnats showed up right after you repotted? Cheap bagged soil that sat in a damp garage can arrive already loaded with them.
Do this:
- Scoop off the top two inches of soil, or replace the whole pot’s soil if it smells sour.
- Seal the old soil in a bag and toss it outside. Never add it to compost.
- Refill with fresh, dry potting mix.
- Water lightly to settle it, then let it dry down before watering again.
Open every new bag before buying if you can, and skip any that smell musty. Store leftover mix sealed and dry.
Cover exposed soil with a suitable top dressing
Think of this as putting a lid on the nursery. Adult gnats can’t lay eggs easily in a dry, gritty layer.
You should let the soil dry out first then add a layer of coarse sand, fine gravel, or horticultural grit about half an inch to one inch thick.
Keep the layer dry. Water at the pot’s edge or from below.
Refresh it if it gets crusty or green.
Some people love having cinnamon on soil. It smells lovely and has mild antifungal action, but it won’t stop a serious infestation, so use it as a bonus and not your plan.
Use yellow sticky traps to catch adult flies
Yellow sticky traps work, but most people put them in the wrong spot. A trap hanging at eye level catches mostly dust and your hair.
Gnats fly low and love a yellow target near the soil. Think of the trap as your scoreboard as much as your weapon.
Do this:
- Cut the traps into small strips or use the stake style.
- Lay them flat on the soil surface or push stakes in so the sticky side is level with the top.
- Add one trap per plant on the worst offenders.
- Replace them when they’re crowded or dusty, usually every week or two.
- Keep them away from pets and small kids who might touch the glue.
Apply mosquito bits or a suitable BTI treatment
Here’s what most people miss. You catch 30 adults, feel victorious, and two weeks later there are 60 more.
The larvae live in the soil for a week or two before they grow wings. Trapping adults is only half the war.
Look for Bti, a natural bacteria sold as mosquito bits or dunks. It targets fly larvae and won’t harm your plants, kids, or dog.
Soak a small spoonful of mosquito bits in a jug of water for 30 minutes. Follow the product label for the exact amount.
Water your plants with the mix, slowly and evenly.
Repeat every 5 to 7 days for three to four weeks.
Use the same jug of water within a day or so, since the bacteria fades.
Use beneficial nematodes for persistent soil infestations
For stubborn cases, look for beneficial nematodes labeled Steinernema feltiae. These microscopic worms hunt gnat larvae in the soil and leave your plants alone.
It sounds like science fiction, but it’s a favorite trick among greenhouse growers.
Buy a fresh batch and keep it in the fridge until you use it. Check the expiration date.
Mix the nematodes with room temperature water as the package directs.
Water it into moist soil, ideally in the evening since the nematodes hate bright light.
Keep the soil lightly damp for a week so the nematodes can move around.
Skip Bti on the same day. Wait a few days between treatments.
Yes, that means you have to ease up on drying out the soil for a bit. Give them a week, then go back to your normal dry down routine.
Try the peroxide flush for a quick knockdown
Want something from your bathroom cabinet? Hydrogen peroxide works on larvae on contact.
Mix one part 3 percent hydrogen peroxide with four parts water.
Pour it slowly through the soil until it drains out the bottom.
Expect a little fizzing. That’s the peroxide doing its job.
Don’t use it on delicate plants like African violets or ferns without testing one small pot first.
Use apple cider vinegar traps for true fruit flies
This one is for the flies that came from your kitchen, not your soil. Vinegar traps are great for fruit flies and almost useless against gnats.
Pour about half an inch of apple cider vinegar into a small jar or cup.
Add two drops of dish soap and stir gently so it doesn’t foam.
Cover the top with plastic wrap and poke a few small holes in it, or roll a paper cone with a tiny opening.
Set it near the plants and the fruit bowl.
Swap out the mix every few days.
If the traps stay empty but you still see flies over the soil, go back to the gnat plan.
Remove other fruit fly breeding sources near your plants
Fruit flies don’t need your plants at all. They need something sweet and rotting.
I once helped a woman who blamed her jade plant for weeks. The culprit was a forgotten wine bottle behind her plant stand.
Do this:
- Check the fruit bowl, and toss or refrigerate anything overripe.
- Take out the trash and recycling, and rinse bottles and cans.
- Wipe drips under the sink, around the compost bin, and in the drain.
- Look near plant shelves for spilled juice, pet food bowls, and old tea mugs.
- Skip burying banana peels, coffee grounds, or eggshell water in the soil. To flies, that’s a buffet.
If you want to feed your plants, use a plain liquid plant food. Save the scraps for an outdoor compost pile.
Inspect new plants before bringing them indoors
That adorable $12 plant from the grocery store checkout? It’s a Trojan horse.
Prevention is far easier than a three week war.
Check the soil surface for tiny flies, larvae, or moldy patches.
Sniff the soil. Musty or sour is a red flag.
Lay a sticky trap on the soil for the first week.
Keep the plant in a separate room for two weeks.
Water sparingly and let the top layer dry before you water again.
Treat with Bti if you spot any gnats, then move it in with the others.
Propagation jars deserve the same attention. Change the water every few days and pull out any mushy leaves.
Avoid using household insecticides directly on your plants
It’s tempting. You’re staring at a cloud of flies and the spray can is right there.
Skip it. Most sprays only hit the adults you can see and do nothing to larvae in the soil, so the problem returns in a week.
They can also burn leaves, stress your plant, and leave residue you’d rather not breathe in a closed room.
If you’re desperate, use sticky traps and Bti first, then talk to a local nursery about safe options for that plant.
Treat every plant, not just the sick one
:max_bytes(150000):strip_icc()/SPR-hydrogen-peroxide-for-plants-8598430-hero-294262becd1d463ea838c07c7674ed53.jpg)
I once watched a woman treat her fern for a month and never figure out why the gnats kept coming back.
They were hopping to three other pots across the room.
Treat every pot in the house at the same time. Otherwise you’re playing whack a mole with wings.
Give it three weeks and stay boring about it
The gnat life cycle runs about three to four weeks. One treatment is never enough.
Repeat your soil treatment weekly, keep your traps fresh, and let the soil dry between waterings. Boring and consistent wins every time.
