Flies buzzing around your houseplants are not just annoying; they can also indicate that your plants are stressed or that the soil is too wet. This guide will help you identify the type of fly, remove the current infestation, and prevent future problems using safe, practical methods. Before you start, gather a few simple items and set aside about half an hour for the initial cleanup.
What You’ll Need
- Yellow sticky traps (small stakes or cards)
- Hydrogen peroxide (3% solution, available at most drugstores)
- Watering can or spray bottle
- Fine sand or small pebbles (for top dressing)
- Rubbing alcohol and cotton swabs (for wiping leaves)
- Mild dish soap (a few drops)
- Clean scissors or pruning shears
- Fresh potting mix (if repotting is needed)
Step-by-Step
- Identify the fly. Most flies on houseplants are fungus gnats—small, dark, mosquito-like insects that hover near the soil. If you see tiny white insects on the leaves, they are likely whiteflies. If the pests are larger and sluggish, they might be houseflies attracted to decaying matter. Correct identification helps you choose the right treatment.
- Stop watering immediately. Fungus gnats thrive in consistently moist soil. Let the top inch or two of soil dry out completely before you water again. For most houseplants, this means watering less frequently—wait until the soil feels dry to the touch at a depth of about one inch.
- Set up yellow sticky traps. Place sticky traps near the base of the plant or push them into the soil. The bright yellow color attracts adult gnats; they get stuck and die. Replace traps when they become covered. This reduces the adult population and helps you monitor the infestation level.
- Treat the soil with hydrogen peroxide. Mix one part 3% hydrogen peroxide with four parts water. Water your plant with this solution instead of plain water. The peroxide kills gnat larvae in the soil on contact. Let the soil dry out afterward. Repeat this treatment once a week for a few weeks if needed.
- Remove dead leaves and debris. Flies are attracted to rotting plant material. Gently pick off any yellowing or dead leaves from the plant and the soil surface. Clear away fallen leaves or flowers. This removes breeding sites and food sources.
- Wipe down leaves. If you see whiteflies or other pests on the foliage, wipe each leaf with a cloth dipped in a solution of a few drops of mild dish soap mixed with water. Rinse the leaves with clean water afterward. For heavy infestations, you can use a cotton swab dipped in rubbing alcohol to spot-treat individual insects—test on one leaf first to ensure the plant tolerates it.
- Add a top dressing. Once the soil surface is dry, spread a layer of fine sand or small pebbles about half an inch thick over the top of the soil. This barrier prevents adult gnats from laying eggs in the soil and helps keep the surface dry. Water carefully so the dressing doesn’t wash away.
- Repot if necessary. If the infestation persists after several weeks, the soil may be heavily infested with larvae. Remove the plant from its pot, gently shake off as much old soil as possible, and repot into fresh, well-draining potting mix. Clean the pot with soapy water before reusing. Water sparingly after repotting.
- Adjust your watering routine. Going forward, water your houseplants only when the top inch of soil is dry. Use pots with drainage holes and empty saucers after watering. Avoid letting plants sit in standing water. This is the most important long-term prevention step.
- Keep the area clean. Flies can breed in drains, garbage bins, or fruit bowls. Wipe up spills promptly, take out trash regularly, and clean your kitchen drains with a mild cleaner. This reduces the overall fly population in your home.
Common Mistakes
- Overwatering. The most common mistake is keeping the soil constantly damp. This creates a perfect breeding ground for fungus gnats. Always let the top layer dry out.
- Ignoring the larvae. Sticky traps only catch adults. If you don’t treat the soil, new flies will keep emerging. Use the hydrogen peroxide drench and top dressing to target larvae.
- Using too much hydrogen peroxide. A higher concentration can damage plant roots. Always dilute 3% hydrogen peroxide with water (one part peroxide to four parts water).
- Spraying leaves with sticky oil. Some people use oil sprays on leaves, which can clog leaf pores and harm the plant. Stick to soapy water or alcohol spot treatments.
- Not cleaning saucers. Water left in saucers can attract flies and keep the soil moist. Empty saucers after each watering.
Tips
- Use a moisture meter. If you tend to overwater, a simple moisture meter can help you know exactly when to water. Insert it into the soil; water only when it reads dry.
- Water from the bottom. For plants that tolerate it, place the pot in a tray of water and let the soil absorb moisture from the bottom. This keeps the top layer dry, discouraging gnats.
- Quarantine new plants. Before bringing a new plant indoors, inspect it for pests and keep it separate from your other plants for a couple of weeks. This prevents introducing flies to your collection.
- Use a fan. A gentle fan near your plants improves air circulation and makes it harder for flies to land and lay eggs. It also helps the soil surface dry faster.
- Try beneficial nematodes. If you have a persistent gnat problem, you can water the soil with beneficial nematodes—microscopic worms that feed on gnat larvae. They are safe for plants and pets.
Troubleshooting
Flies keep coming back after treatment. This usually means the soil is still too wet or you missed some larvae. Reapply the hydrogen peroxide drench, let the soil dry out more, and consider repotting. Also check nearby plants—gnats can spread.
Plant leaves turn yellow after hydrogen peroxide treatment. This can happen if the solution was too strong or the soil was already waterlogged. Flush the soil with plain water once, then let it dry out. Reduce the frequency of peroxide treatments.
Sticky traps are catching flies but the problem persists. Traps only control adults. Focus on the soil treatment and top dressing. Also, check for other sources of flies in the room, like overripe fruit or a dirty drain.
Whiteflies are not affected by sticky traps. Whiteflies are more attracted to yellow cards placed near the tops of plants. You can also vacuum them up with a handheld vacuum early in the morning when they are sluggish. Wipe leaves regularly to remove eggs and nymphs.
Sand layer gets moldy. If the top dressing stays wet, it can grow mold. Remove the moldy layer, let the soil dry out, and replace with fresh sand. Water less frequently.
Frequently Asked Questions
Are fungus gnats harmful to my plants? Adult gnats are mostly a nuisance, but the larvae can damage roots, especially in young or weak plants. Heavy infestations can stunt growth and cause yellowing leaves.
Can I use apple cider vinegar to catch flies? Yes, a small dish of apple cider vinegar with a drop of dish soap can attract and drown adult gnats. It’s a good supplement to sticky traps, but it won’t eliminate larvae in the soil.
How often should I water my houseplants? It depends on the plant species, pot size, and environment. As a general rule, water when the top inch of soil feels dry. For most houseplants, this is about once a week, but always check before watering.
Will cinnamon kill fungus gnats? Cinnamon has mild antifungal properties and can help prevent mold, but it is not an effective gnat killer. It may deter adult gnats from laying eggs when sprinkled on the soil surface, but it won’t kill larvae.
Is it safe to use hydrogen peroxide on all plants? Diluted 3% hydrogen peroxide is generally safe for most houseplants when used as directed. However, sensitive plants like ferns may react. Test on a small area first and monitor the plant for a day.
How long does it take to get rid of fungus gnats? With consistent treatment, you can see a significant reduction within a couple of weeks. Complete elimination may take a few weeks because you need to break the life cycle—killing adults and larvae repeatedly.