Home life · Updated
How to Get Rid of Small Plant Flies
Quick answer To get rid of small plant flies (fungus gnats), let the soil dry out, use sticky traps, and apply a hydrogen peroxide soak or Bacillus thuringiensis (BTI) to kill larvae.
Small flies buzzing around your houseplants are almost always fungus gnats. They thrive in moist potting soil, feeding on organic matter and fungi. While they don’t bite humans or damage plants severely, their presence is annoying, and large infestations can weaken young roots. This guide shows you how to eliminate both adult flies and their larvae using simple household methods.
What You’ll Need
- Yellow sticky traps (or yellow index cards coated with petroleum jelly)
- 3% hydrogen peroxide (common pharmacy grade)
- Watering can or spray bottle
- Fine sand or perlite (optional, for top dressing)
- Mosquito bits or BTI-based granules (optional, for severe cases)
- Rubbing alcohol (for cleaning pots)
Step-by-Step
- Identify the pest: Confirm it’s fungus gnats, not fruit flies. Fungus gnats are tiny (1/8 inch), have long legs, and are weak fliers; they hover near soil. Fruit flies are rounder, have red eyes, and hang around fruit. If you see gnats emerging from the soil when you water, it’s fungus gnats.
- Stop watering immediately: Let the top 1–2 inches of soil dry out completely. Fungus gnat larvae need moist soil to survive; drying the surface kills many eggs and larvae. For most houseplants, this means waiting until the top inch feels dry to the touch before watering again.
- Place yellow sticky traps: Insert sticky traps into the soil of each affected plant. The bright yellow attracts adult gnats, and they get stuck. Replace traps when they’re full. This reduces the adult population and prevents them from laying new eggs.
- Apply a hydrogen peroxide soak: Mix one part 3% hydrogen peroxide with four parts water. Water your plants with this solution instead of plain water. The peroxide kills larvae on contact and adds oxygen to the soil. It’s safe for most houseplants when diluted. Repeat weekly for two to three weeks.
- Use BTI (Bacillus thuringiensis israelensis): For stubborn infestations, add BTI granules (like Mosquito Bits) to the soil or steep them in water according to package instructions, then water your plants. BTI is a natural bacterium that targets and kills fungus gnat larvae without harming plants, pets, or beneficial insects. Apply every 7–10 days until gnats are gone.
- Prevent reinfestation: After the gnats are gone, top-dress the soil with a 1/2-inch layer of fine sand or perlite. This creates a dry barrier that prevents adult gnats from laying eggs in the soil. Also, clean up fallen leaves and debris, and always allow the top inch of soil to dry between waterings.
Common Mistakes
- Overwatering: Continuing to water on a schedule keeps soil moist, which is exactly what fungus gnats need. Always check soil moisture before watering.
- Using undiluted hydrogen peroxide: Full-strength peroxide can damage plant roots. Always dilute it with water (1:4 ratio).
- Ignoring the soil surface: Only treating adults with traps won’t eliminate the larvae. You must address the soil.
- Forgetting other plants: Gnats can spread to all potted plants. Treat every plant in the room, even if only one shows signs.
- Not cleaning pots: Old soil and debris in pots can harbor eggs. Wash pots with soapy water and rinse well before repotting.
Tips
- Water from the bottom: Place pots in a saucer of water and let the soil wick up moisture. This keeps the top layer dry, discouraging gnats.
- Use a fan: A gentle breeze near plants helps dry the soil surface and makes it harder for gnats to fly.
- Quarantine new plants: Inspect and treat any new plant before bringing it near your other plants to avoid introducing gnats.
- Use a potato slice test: To check for larvae, place a raw potato slice on the soil surface. If larvae are present, they’ll migrate to the potato within a few hours—then remove and discard the slice.
- Be patient: It takes 2–3 weeks to break the gnat life cycle. Continue treatment even after you see fewer flies.
Troubleshooting
Gnats keep coming back after treatment: This usually means the soil is still too moist or you haven’t treated all plants. Re-evaluate your watering habits—maybe the plant needs less water than you think. Also, check for hidden sources like moist organic matter in the room (compost bins, damp sponges).
Hydrogen peroxide doesn’t seem to work: If you see no improvement after two applications, the infestation may be severe. Switch to BTI, which is more effective against larvae. Also, ensure you’re using 3% peroxide, not a stronger concentration.
Plants look droopy after drying out: Some plants are sensitive to dry soil. If your plant wilts, water it lightly from the bottom, but avoid soaking the top inch. You can also temporarily increase humidity around the plant with a pebble tray.
Sticky traps are filling up but flies persist: Traps only catch adults; they don’t stop larvae. Focus on soil treatments. Also, make sure traps are placed near the soil surface, not high above the plant.
Gnats in multiple rooms: This suggests a widespread issue, possibly from overwatered plants in different areas. Treat all plants and consider reducing watering frequency overall. Clean any standing water in saucers.
Frequently Asked Questions
Are fungus gnats harmful to humans?
No, they don’t bite or transmit diseases. They’re a nuisance and can damage plant roots in large numbers, but they’re harmless to people and pets.
How long does it take to get rid of fungus gnats?
With consistent treatment, you should see a significant reduction in 2–3 weeks, which covers the gnat’s life cycle. Full elimination may take up to a month.
Can I use apple cider vinegar to trap fungus gnats?
Apple cider vinegar traps work better for fruit flies. Fungus gnats are more attracted to yellow sticky traps or even a bowl of soapy water placed near the soil.
Will repotting get rid of fungus gnats?
Repotting with fresh, dry soil can help, but if the new soil is kept too wet, gnats will return. If you repot, remove as much old soil from the roots as possible and rinse the roots gently.
Is it safe to use hydrogen peroxide on all plants?
Diluted 3% hydrogen peroxide is safe for most houseplants when used as a soil drench. Avoid using it on very sensitive plants like ferns; test on a small area first.
How do I prevent fungus gnats from coming back?
Water less frequently, use a top dressing of sand or perlite, and always inspect new plants. Keep the area free of decaying plant matter.
Related
- How to Write a Z in Cursive: Step-by-Step Guide
- How to Wash Walls in Home: Step-by-Step Guide
- How to Wash Walls: Step-by-Step Guide
Sources: University of California Agriculture and Natural Resources. Menus and buttons can differ slightly by version. Spotted something out of date? Tell us.