Updated November 2026
Fungus gnats in indoor plants are tiny dark flies that hover around soil and pots, and their larvae feed on roots and organic matter in the potting mix. You can get rid of them by letting the top of the soil dry out, trapping the adults, and treating the larvae with a biological control. This guide walks through each step so you can break the life cycle and keep the problem from coming back.
Confirm the Problem and Find the Source
Adult fungus gnats are about 2 to 4 millimeters long, with dark bodies and long, thin legs. They fly up in a small cloud when you disturb the plant. Larvae live in the top inch or two of moist soil and are translucent with black heads. The adults are mostly a nuisance, but the larvae can chew on fine roots and young seedlings, especially in soggy mixes.
Shopping for one? See our guide: 4 Best Indoor House Plants Stands for Small Spaces and Sunny Windows.
Check whether the soil is staying wet for days at a time. Overwatering is the most common reason gnats show up, because the adults lay eggs in damp, decomposing material. Also look for old leaves or mulch on the surface, which give larvae extra food.
Step-by-Step Control Plan
- Let the top layer dry. Allow the top 1 to 2 inches of soil to dry before watering again. Most larvae cannot survive in dry surface soil, so this alone breaks the cycle for many plants.
- Set sticky traps. Place yellow sticky cards at soil level or just above it. They catch adults and show you how bad the infestation is. Replace them when they fill up.
- Apply a biological larvicide. Products containing Bacillus thuringiensis israelensis (Bti) kill larvae without harming plants or pets when used as directed. Water the mix with the solution every one to two weeks for about three to four weeks.
- Repot if the mix is soggy or moldy. Remove the plant, shake off the old soil, trim any mushy roots, and repot in a fresh, well-draining mix with added perlite or coarse sand.
- Clean up the surface. Remove fallen leaves, moss, and any decaying debris from pots and saucers.
Preventing Fungus Gnats on Indoor Plants
Once the infestation is under control, keep conditions less attractive to egg-laying adults. Use pots with drainage holes, empty saucers within 30 minutes of watering, and avoid mixes that stay wet for long stretches. Many growers also top-dress with a half-inch layer of sand or fine gravel, which helps the surface dry faster and makes it harder for adults to lay eggs.
Keep an eye on new plants before bringing them indoors. Quarantine them for a week or two and check the soil for gnats so you do not introduce a new group into your collection. If you are working on overall care routines, our guide to Taking Care of Indoor Plants: A Step-by-Step Guide That Works covers watering and light habits that reduce moisture problems.
Watering Habits That Matter Most
Water only when the top of the soil feels dry to your finger, and water thoroughly until it drains from the bottom. Many plants, especially peace lilies and other moisture-loving species, will tolerate a slightly drier surface, but they still need a good soak. Light levels also affect how fast soil dries, so match your watering to the plant’s conditions. Our article on Understanding Light Levels for Healthy Indoor Plants explains why a dim room can keep soil wet for much longer.
Recommended Gear
- Yellow sticky traps: These catch adult gnats and help you monitor whether the population is dropping. View on Amazon
- Bti mosquito dunks or soil drench concentrate: These target larvae in the soil and are widely used by indoor gardeners. View on Amazon
- Perlite or horticultural sand for top-dressing: A dry surface layer makes the top of the pot inhospitable to egg-laying adults. View on Amazon
Common Mistakes to Avoid
- Watering on a fixed schedule instead of checking the soil first.
- Leaving water standing in saucers or cachepots.
- Assuming sticky traps alone will solve the problem, since they mostly catch adults.
- Using organic-rich mixes with lots of compost, which feed larvae.
- Stopping treatment too early. Continue for several weeks to catch newly hatched larvae.
FAQ
Are fungus gnats harmful to indoor plants?
Adults are mainly a nuisance, but larvae can damage fine roots and seedlings, particularly in wet mixes. Heavy infestations can slow growth and make plants more prone to root rot.
How long does it take to get rid of fungus gnats?
Most infestations improve within two to three weeks of drying the soil and using traps and a larvicide. Full control often takes four to six weeks because eggs and larvae continue to hatch for a while.
Can I use household products to kill fungus gnats in soil?
Many home remedies, such as dish soap or vinegar drenches, can harm roots and beneficial soil life. Biological options like Bti are a safer choice, and you should always follow label directions. Consult a professional if you have questions about a specific plant or pet safety concern.
Conclusion
Fungus gnats in indoor plants are easiest to control when you dry the soil surface, trap the adults, and treat the larvae consistently. Keep pots draining well and avoid soggy mixes to prevent the problem from returning. With steady care over a few weeks, most plants recover fully.

