fungus gnats · 13 min read

How to Identify and Treat Fungus Gnats

Fungus gnats are easy to notice and easy to misdiagnose. The black adults are annoying, but the larvae in damp potting soil are what you need to control.

October 6, 2026

By Valeria Navarro

fungus gnatspest treatmenthouseplant pestsseed startingfall gardeningBti
Tiny black fungus gnats hovering above the damp surface of a potted seedling tray beside a yellow sticky card. The larvae in the soil are the problem, not the adults you see

Fungus gnats are tiny black flies that lift off from damp potting soil when you water or move a container, but the larvae in that wet, organic-rich soil are the problem you need to treat. Dry the soil surface, remove decaying material, and use a labeled larvicide such as a Bti treatment, because sticky traps alone only catch the adults after the damage is already underway.

How can you identify fungus gnats in fall?

You can identify fungus gnats by their small black bodies and weak hovering flight directly above damp soil, especially in seed trays, houseplant pots, and containers filled with rich compost. If several flies rise when you water, fungus gnats are a strong possibility, according to this description of fungus gnats around basil soil.

They are not usually darting around the whole room like fruit flies. They stay close to the growing medium. Look first at the soil surface, not the leaves.

In fall, bring-in season makes this especially common. A tray of seedlings, a nursery plant, or a bag of used potting mix can carry eggs or larvae, and used soil may harbor both, according to this warning about pests in reused substrate.

Do this tonight. Tap the pot gently, then watch the soil for ten seconds. If black flies rise from the surface, place one yellow sticky card at the soil line so you can confirm the pattern over the next two days. Sticky cards are useful for monitoring, but they do not treat larvae, and replacing cards costs money without solving wet soil.

Why are fungus gnat larvae more important than the adult flies?

Fungus gnat larvae are more important than adult flies because they live in damp, organic-rich soil, where they feed and continue the infestation. The adults are the visible clue. Treating only those flying insects leaves the soil stage in place, so new adults keep emerging after each round of swatting or trapping.

The larvae are small and easy to miss. You may notice slow seedlings, weak stems, or a plant that stays unhappy even though the leaves do not show obvious chewing. Do not blame every droopy plant on gnats, though. Wet roots, poor light, and a tired potting mix can overlap with the same symptoms.

I learned this the annoying way with basil. I saw the little flies and kept catching adults, then wondered why the pot still seemed to produce more every morning. The soil was the nursery. The flies were just the receipts.

The reason this matters is timing. Adults can disappear from a sticky card while larvae remain below the surface. If you want the infestation to stop, your plan has to reach the growing medium and also make that medium less inviting.

Who should treat fungus gnats this way, and who should ignore it?

This approach suits anyone with black flies rising from damp seed trays, indoor containers, greenhouse pots, or fall plants brought inside. Ignore fungus gnat treatment if you have only one unrelated flying insect away from the soil, because treating every insect as a gnat wastes product and may hide the real problem.

Use this plan for seedlings, herbs, ornamental plants, and vegetables growing in containers. The soil connection is the giveaway. The research on fungus gnat treatments specifically describes ornamental plants and vegetables as appropriate settings for a soil drench, as shown by the Fungus Gnat Death Drops directions.

Do not pour a treatment into a pot simply because a plant looks tired. First check the moisture, the soil surface, and the insects. A plant with dry soil and no flies has a different problem.

This also suits the fall gardener who is cleaning up a greenhouse or moving plants indoors. It is less useful as a first move for an outdoor bed with no containers and no damp organic potting mix, where the source may be elsewhere.

How should you dry the soil without harming the plant?

Let the top layer of growing medium dry between waterings, while keeping the plant’s root needs in mind, because fungus gnat larvae depend on damp soil. Water the plant thoroughly when it needs water, then stop watering on a fixed calendar and check the surface first; drying compost helps break the larval cycle, but a drought-stressed seedling can fail too.

Start by moving the pot into brighter light if the plant can tolerate it. Improve airflow around crowded trays. Empty saucers after watering so the container is not sitting in a shallow pond.

Remove fallen leaves, dead stems, and visibly decomposing scraps from the soil surface. Organic matter is useful in a garden, but in a perpetually wet seed tray it becomes a buffet and a sponge. That is a bad little combination.

Everyone says, “Just let it dry out.” In practice, that advice loses plants when applied blindly. A mature rosemary can tolerate a drier interval than a newly germinated lettuce seedling, so adjust the interval to the plant, then use a larvicide if the larvae are established.

Do sticky traps kill fungus gnats?

Sticky traps do not kill the fungus gnat larvae in soil, but they can catch adult flies and show whether emergence is slowing. Put the card near the soil surface, not across the room, and treat the growing medium at the same time; otherwise the trap becomes a tiny scoreboard for an infestation that is still reproducing.

Use one card per heavily affected container or tray area. Check it after two days, then again after a week. A growing number of adults means the soil stage is still active or another pot is acting as the source.

The downside is simple. Traps catch adults, not larvae. They also catch beneficial small insects that wander onto the adhesive, and they look grimy fast in a busy kitchen or sunny windowsill.

Keep them as a monitoring tool. I like them because they tell the truth. I do not like them as the whole plan, because the adult is not where your money should go first.

What soil treatment works best for fungus gnat larvae?

A soil treatment that reaches the growing medium works better than an adult-only spray for fungus gnats. My first choice is a properly prepared Bti treatment, including a Mosquito Bits tea used to water the affected soil, because the supplied product guidance describes it as effective for controlling fungus gnat larvae in plants.

The Mosquito Bits guidance recommends making a tea and using it to water plants. Follow the product label for preparation, contact time, and application rate. Do not guess because “more” sounds faster. More product can cost you money and may not improve control.

A ready-to-use soil drench is another option. Fungus Gnat Death Drops directions say to apply the product as a drench that sufficiently wets the surface of the growing medium for ornamental plants and vegetables. Its trade-off is that you must buy and apply a specific product, and a drench can add moisture to soil you are trying to dry, so timing matters.

Bti-based treatments target the larval stage, not every adult already flying around your room. Keep the sticky card in place while the soil treatment works. One product is not a permission slip to water constantly.

Option Best use Honest downside
Drying the soil surface Reducing the damp conditions larvae need Can stress seedlings or shallow-rooted plants if pushed too far
Sticky cards Monitoring and catching adult flies Does not remove larvae from the soil
Mosquito Bits tea Treating larvae through irrigation Requires preparation and label-following, plus it adds water
Labeled soil drench Applying a ready-made treatment to the growing medium Costs more and must wet the surface without keeping the pot soggy

Should you replace potting soil after a fungus gnat infestation?

Replace potting soil when a container is heavily infested, stays wet for days, smells sour, or contains obvious decaying material that you cannot remove. For a mild infestation, drying the surface and treating the soil may be enough; replacing every pot immediately costs time, fresh mix, and healthy roots without proving it was necessary.

If you repot, use a clean container and discard the old mix rather than storing it beside your seedlings. Do not reuse a bag of questionable soil just because it looks fine. Eggs and larvae can be hidden in used growing media, as the substrate storage guidance warns.

Repotting is not gentle. It disturbs roots, adds transplant shock, and can leave a plant worse if the original problem was simply overwatering. I would reserve it for a pot that is clearly holding too much moisture or has a persistent infestation after two properly timed soil treatments.

For seed trays, prevention is cheaper. Clean the tray, remove old compost, and start with fresh growing medium. A tray that has already hosted a gnat nursery is not a sentimental heirloom, mi vida. It is a tray that needs washing.

What should you do about fungus gnats this fall?

In fall, inspect every plant before bringing it indoors, place a sticky card near suspicious soil, reduce unnecessary watering, and treat the growing medium if flies keep emerging. Keep new plants separate for about two weeks while you watch them, because one damp pot can re-seed a whole windowsill of seedlings.

Day one: identify the flies and remove dead material from the surface. Check which pots are actually damp. Mark the suspicious containers with a pencil on the rim so you do not forget them after dinner, when every plant suddenly looks innocent.

Day two: place monitoring cards and choose either a labeled drench or a properly prepared Mosquito Bits tea. Apply it according to the label, aiming at the soil surface rather than spraying the leaves. The product guidance for both approaches focuses on wetting the growing medium where larvae live.

Days seven through fourteen: check whether new adults are appearing. Continue allowing appropriate drying between waterings. If the cards keep filling, inspect nearby pots, propagation trays, and stored soil, because the source may be one container you never suspected.

You are standing in the garden now, so start with the pot closest to the door. Do not drag every container inside and hope for the best. In Austin, fall can still be warm, and a protected pot can stay damp long after the air feels crisp; your watering schedule needs to follow the soil, not the calendar.

Are fungus gnats dangerous to people or pets?

Fungus gnats are mainly a plant and growing-medium nuisance in the situation described here, and seeing adults around a pot does not prove that your home has a larger flying-insect problem. Focus on the damp soil, follow the treatment label, and avoid using any product in a way the label does not allow.

They are unpleasant. Nobody wants a little cloud of black flies rising over the basil before breakfast. But the useful question is not, “How many adults can I kill?” It is, “Which pot is keeping the larvae alive?”

If you are unsure whether the insect is a fungus gnat, pause before treating. Take a close photo of the adult and the soil surface, then compare the behavior. Flies that do not gather around damp growing medium may need a different identification.

A good fall routine prevents drama. Inspect soil, clean plant debris, and quarantine newcomers before they join the family row on the windowsill.

How can you prevent fungus gnats from returning?

Prevent fungus gnats by keeping the soil surface from staying continuously wet, removing decaying organic debris, inspecting new plants, and avoiding reused potting mix that may contain eggs or larvae. Prevention is not about making every pot bone dry; it is about stopping the repeated damp conditions that let the larval stage continue.

Water based on the container and plant, not because it is Saturday. Check the surface before watering. Use a saucer only if you empty it afterward. Keep seed trays from sitting in runoff.

Inspect nursery plants outdoors before bringing them in. Look for adults lifting off the soil. Place a sticky card nearby if you are uncertain, and keep that plant apart from your other containers while you watch it.

I killed basil by loving it with water. The memory still makes me laugh a little, because my abuela’s Miami patio taught me plants in sandy fill that drained before I finished watering, while Austin clay and potting mix can hold moisture much longer. Different yard, different rule. Your soil gets a vote.

If you are redesigning a container area, use the plant database to check the care needs of the plants you want to group together, then get a concept for your yard if you need help arranging pots, paths, and watering zones so one soggy corner does not become the neighborhood gnat nursery.

How do I know if the flies are fungus gnats?

You likely have fungus gnats when small black flies hover directly over damp potting soil and rise from a seed tray or container whenever you water or move it. Check the soil connection first. If the insects stay away from growing medium, do not assume they are fungus gnats or apply a treatment meant for soil larvae.

Do sticky traps kill fungus gnat larvae?

No, sticky traps do not kill fungus gnat larvae because the larvae remain in the soil. Traps catch adult flies and help you monitor emergence, but they should be paired with drier soil conditions and a labeled larval treatment. Using traps alone can make the infestation look quieter while new adults continue emerging from the pot.

What is the best treatment for fungus gnat larvae?

A Bti-based soil treatment, such as a properly prepared Mosquito Bits tea, is a practical choice for fungus gnat larvae when used according to the product label. A labeled soil drench is another option. Both approaches target the growing medium, while drying the surface helps reduce the damp conditions larvae need.

Should I let my houseplant soil dry out to stop fungus gnats?

Let the soil surface dry between appropriate waterings, but do not force every plant bone dry. Drying helps disrupt the larval cycle, while excessive drought can harm seedlings and shallow-rooted plants. Check the plant and container first, then combine sensible watering with a larval treatment if flies keep emerging.

Should I throw away potting soil with fungus gnats?

Throw away potting soil when the infestation is heavy, the mix stays wet, or decaying material is widespread. A mild infestation may respond to drying and soil treatment, so replacing every pot is not always necessary. If you discard mix, do not store it beside clean seed trays or reuse it for new plants.

How long should I isolate a plant with fungus gnats?

Isolate a suspicious plant for about two weeks while you monitor the soil and adult flies, especially before bringing it indoors in fall. Keep a sticky card near the pot, reduce unnecessary moisture, and treat the growing medium if adults continue appearing. Inspect nearby containers too, because the source may not be the first plant you noticed.

Want a plan for your own yard?

Tell us the space and we will put a planting plan together for it. Start at get my concept, or browse what actually grows where you are over on plants.

Frequently asked questions

How do I know if the flies are fungus gnats?

You likely have fungus gnats when small black flies hover directly over damp potting soil and rise from a seed tray or container whenever you water or move it. Check the soil connection first. If the insects stay away from growing medium, do not assume they are fungus gnats or apply a treatment meant for soil larvae.

Do sticky traps kill fungus gnat larvae?

No, sticky traps do not kill fungus gnat larvae because the larvae remain in the soil. Traps catch adult flies and help you monitor emergence, but they should be paired with drier soil conditions and a labeled larval treatment. Using traps alone can make the infestation look quieter while new adults continue emerging from the pot.

What is the best treatment for fungus gnat larvae?

A Bti-based soil treatment, such as a properly prepared Mosquito Bits tea, is a practical choice for fungus gnat larvae when used according to the product label. A labeled soil drench is another option. Both approaches target the growing medium, while drying the surface helps reduce the damp conditions larvae need.

Should I let my houseplant soil dry out to stop fungus gnats?

Let the soil surface dry between appropriate waterings, but do not force every plant bone dry. Drying helps disrupt the larval cycle, while excessive drought can harm seedlings and shallow-rooted plants. Check the plant and container first, then combine sensible watering with a larval treatment if flies keep emerging.

Should I throw away potting soil with fungus gnats?

Throw away potting soil when the infestation is heavy, the mix stays wet, or decaying material is widespread. A mild infestation may respond to drying and soil treatment, so replacing every pot is not always necessary. If you discard mix, do not store it beside clean seed trays or reuse it for new plants.

How long should I isolate a plant with fungus gnats?

Isolate a suspicious plant for about two weeks while you monitor the soil and adult flies, especially before bringing it indoors in fall. Keep a sticky card near the pot, reduce unnecessary moisture, and treat the growing medium if adults continue appearing. Inspect nearby containers too, because the source may not be the first plant you noticed.

Free, no obligation

Ready to design your dream landscape? Start here.

Tell us where you are and we will start a free profile for you, with plants that actually survive your climate and a real sense of what the build would cost.

We send your concept here. We do not sell your address.

Either works, for example Austin or 78704. It decides which plants we suggest.