House plant flies are a common nuisance, but you can get rid of them for good. This guide walks you through identifying the type of fly, removing the infestation at the source, and preventing them from coming back. You’ll need a few household items and a bit of patience, but the results are worth it.
What You’ll Need
- Yellow sticky traps (small cards or flags)
- Watering can or spray bottle
- Hydrogen peroxide (3% solution, the standard first-aid type)
- Fine sand or small gravel (like aquarium gravel)
- Fresh potting soil
- Scissors or a knife (for trimming roots, if needed)
- Old towel or newspaper (to protect surfaces)
Step-by-Step
- Identify the fly. Most house plant flies are fungus gnats—small, dark, gnat-like insects that hover around the soil surface. If you see tiny flies with wings that look like miniature moths, you may have whiteflies. If they’re jumping when disturbed, they’re springtails. Fungus gnats are the most common and the focus here.
- Stop watering immediately. Fungus gnats lay eggs in moist, organic-rich soil. Let the top one to two inches of soil dry out completely before you water again. This breaks the breeding cycle because the eggs and larvae need moisture to survive.
- 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, and they get stuck. This won’t eliminate the problem alone, but it catches the adults and helps you monitor progress.
- Water with a diluted hydrogen peroxide solution. Mix one part 3% hydrogen peroxide with four parts water. Water your plants with this mixture instead of plain water. The peroxide kills larvae in the soil on contact, but it breaks down into oxygen and water, so it’s safe for your plants. Use this only after the top layer of soil has dried out.
- Repeat the peroxide treatment. Wait until the top of the soil dries again, then water with the peroxide solution once more. You’ll likely need to do this two or three times, spaced about a week apart, to catch newly hatched larvae.
- Remove heavily infested soil. If the problem persists, take the plant out of its pot. Shake off as much old soil as you can from the roots. Inspect the roots for any soft, brown, or mushy areas—these are signs of root rot from overwatering. Trim those parts with clean scissors. Repot the plant in fresh, well-draining potting mix.
- Add a top dressing. After repotting, spread a thin layer (about half an inch) of fine sand or small gravel over the top of the soil. This creates a physical barrier that keeps adult gnats from reaching the soil to lay eggs, and it dries out quickly, discouraging larvae.
- Adjust your watering habits. Going forward, water your plants less frequently but more thoroughly. Stick your finger into the soil up to your first knuckle; if it feels dry, it’s time to water. If it feels damp, wait a few more days. Always water at the base of the plant, not over the leaves.
- Keep new plants separate. Before bringing any new plant home, inspect the soil for flies. Keep the new plant in a separate room for a couple of weeks to make sure it’s not carrying pests.
Common Mistakes
- Overwatering while treating. The biggest mistake is continuing to water on a schedule. You must let the soil dry out between treatments, or the gnats will keep breeding.
- Only using sticky traps. Sticky traps catch adults, but they don’t kill eggs or larvae in the soil. You need the peroxide drench or soil replacement to break the cycle.
- Ignoring the saucer. Standing water in the drainage saucer is a breeding ground. Empty saucers after every watering.
- Using regular soil for houseplants. Garden soil or heavy potting mixes hold too much moisture. Use a well-draining mix labeled for indoor plants, often containing perlite or bark.
- Treating once and stopping. Fungus gnats have a life cycle of several weeks. One treatment kills current larvae, but new eggs may hatch later. Consistency is key.
Tips
- Water from the bottom. Place your pot in a tray of water and let the soil wick up moisture from the drainage holes. This keeps the top layer of soil dry, which deters gnats.
- Use a fan. A small fan blowing gently over your plants keeps the air moving and makes it harder for adult gnats to land and lay eggs.
- Repot with fresh soil regularly. Even without an infestation, refreshing the top inch of soil once a year reduces organic buildup that attracts gnats.
- Try a potato slice test. Place a raw potato slice on the soil surface for a day. If you see tiny black worms (larvae) on the underside, you have an active infestation and need to treat the soil.
- Be patient with natural methods. Chemical sprays can work, but they’re harsh. The drying and barrier methods take a few weeks but are safer for you, your pets, and your plants.
Troubleshooting
Flies are still present after several weeks. You may have missed a plant. Check every plant in the room, including ones that look healthy. Also check the soil of plants you haven’t watered recently—gnats can survive in barely moist soil.
Your plant looks worse after treatment. If leaves yellow or wilt, you may have overwatered while trying to dry out the soil, or the peroxide solution was too strong. Dilute more next time (use more water). If roots were mushy, you trimmed too much. Give the plant bright, indirect light and let it recover without watering for a week.
The sticky traps catch many flies, but new ones keep appearing. The traps are working, but you likely still have larvae in the soil. Repeat the peroxide drench and be stricter about letting the soil dry completely. Consider repotting if the infestation is heavy.
You see tiny white bugs in the soil. These are likely springtails, not fungus gnats. They are harmless and actually help break down organic matter. They appear when soil is very wet. Letting the soil dry out will reduce their numbers; they don’t need treatment.
Your plant is in a pot without drainage holes. This is a major problem. Water collects at the bottom, creating a perfect gnat habitat. Repot the plant into a pot with drainage holes immediately, using fresh soil.
Frequently Asked Questions
Are house plant flies harmful to humans? No. Fungus gnats don’t bite, sting, or transmit diseases. They are purely a nuisance. However, their larvae can damage plant roots in large numbers, especially in seedlings.
Will the flies go away on their own? No. As long as there’s moist soil and organic matter, they will continue to breed. You must interrupt their life cycle by drying out the soil and treating the larvae.
Can I use apple cider vinegar to catch them? Yes, it can help. Fill a small jar with apple cider vinegar and a drop of dish soap, cover with plastic wrap, and poke small holes. The gnats are attracted to the vinegar, get in, and can’t escape. This is a good supplement to sticky traps, but it doesn’t kill larvae in the soil.
Is hydrogen peroxide safe for all plants? In the diluted form (one part peroxide to four parts water), it is safe for most houseplants. It’s a common, gentle treatment. Avoid using it on very sensitive plants like ferns; for those, rely on the soil drying and top dressing method instead.
How often should I water to prevent gnats? There’s no fixed schedule. The key is to check the soil moisture before watering. Most houseplants prefer to dry out partially between waterings. When the top inch feels dry, water thoroughly until it drains from the bottom, then empty the saucer.
Should I throw away the plant if the infestation is bad? Rarely necessary. Most plants can be saved by repotting in fresh soil and trimming damaged roots. Only consider discarding if the plant is severely rotted and beyond recovery, which is usually due to overwatering rather than the gnats themselves.