Fungus Gnats on Tomato: Identify and Control Them
Quick answer
Fungus gnats are most concerning around tomato seeds, plugs, and young transplants: their larvae live in moist growing mix and can injure tender roots when numerous. Confirm larvae in the mix before treating, let the surface dry modestly between waterings without stressing the tomato, remove standing water and debris, and use sticky cards to monitor adults.

Fungus Gnats on Tomato: Identify Larvae and Protect Seedlings
This guide covers fungus gnats on Tomato. See also the general Fungus Gnats guide, watering, and light pages for this plant.
Fungus Gnats on Tomato: Identify Larvae and Protect Seedlings
Quick answer
Fungus gnats around a tomato pot usually point to persistently moist, biologically active growing mix, not a disease of the tomato itself. The adults are tiny, dark, mosquito-like flies that flutter weakly near the soil. Their larvae live in the mix and feed mostly on fungi and decaying material; when numerous, they can also feed on tender roots. The greatest concern is a tray of seedlings, young plugs, or newly transplanted tomatoes, whose small root systems have less margin for injury (UConn Extension’s vegetable-transplant guide; UC IPM’s fungus gnat guide).
Confirm larvae before choosing a treatment. Reduce excess moisture and remove debris first, while still watering tomatoes enough to avoid drought stress. Sticky cards are useful for tracking adult activity, but the larvae in the mix are the stage to target.

Why fungus gnats show up around tomato
Fungus gnats breed where the surface layer of growing media stays damp and contains fungi or decomposing organic matter. Frequent small waterings, poor drainage, algae, spilled potting mix, and water left in a seedling-tray reservoir can keep that habitat available. Compost-rich mixes are not automatically infested, but their microbial activity can attract egg-laying adults when the media is also moist (UConn Extension on media and sanitation; Virginia Tech Extension on fungus gnat habitat).
This is especially relevant during tomato propagation, when seedlings are kept evenly moist for germination. Once seedlings emerge, avoid keeping the entire surface continuously wet. For established tomatoes, ordinary outdoor soil is less likely to support a damaging outbreak than a wet container or crowded propagation tray; an adult or two does not mean the plant has root damage.
How to confirm the pest
Look for small dark flies with long legs and antennae, often walking or flying in short, weak zigzags near the soil line. They are not the same as fruit flies, which are usually rounder and gather around fermenting food. Adult fungus gnats are about one-eighth inch long; larvae are slender, translucent to whitish, and have a distinct dark head. Check the surface and drainage holes of pots and cell trays, especially where the mix stays damp (UConn Extension’s identification guide; Cornell IPM’s fungus gnat guide).
To check a small container, set a thin slice of raw potato cut-side down on the mix and inspect it after a day or two for larvae feeding underneath. A yellow sticky card placed close to the media can show whether flying adults are present and whether their numbers are changing. Neither a sticky card nor wilting alone proves that larvae are harming roots (University of Wisconsin Extension’s monitoring guidance).

Check the growing mix for larvae; adult flies on a sticky card are a monitoring clue, not a measure of root injury.
What damage can they cause?
Most fungus gnat larvae consume fungi and decaying organic matter. High larval numbers can feed on root hairs and tender roots, slowing growth or contributing to poor establishment. Seedlings in plugs are particularly susceptible; mature, healthy tomato plants usually tolerate low populations better (UConn Extension on vegetable-transplant damage; Cornell IPM on larval feeding).
Do not assume that yellowing or wilting is gnat damage. Overwatering, underwatering, transplant shock, root disease, and other pests can cause similar symptoms. If a tomato is declining, check the moisture deeper in the container and inspect roots only when there is a reason, such as persistent wet mix, poor growth, or a confirmed concentration of larvae.
First steps for tomato seedlings and potted plants
- Remove standing water. Empty catch trays and saucers after irrigation. Clear algae, fallen leaves, and spilled mix from under pots and benches.
- Adjust how the surface is watered. Water thoroughly when the plant needs it, then allow free drainage. Avoid repeated light watering that leaves the top layer constantly wet. Let the surface dry modestly between waterings, but keep the tomato root zone appropriately moist; do not use severe drought as pest control (Virginia Tech Extension’s cultural controls; University of Wisconsin Extension’s moisture guidance).
- Use yellow sticky cards to monitor adults. Place them near the media surface and check them regularly. They help reveal whether adult activity is falling, but cannot reach the larvae below (UConn Extension’s scouting recommendations).
- Treat larvae only when the diagnosis supports it. A product containing Bacillus thuringiensis subsp. israelensis (Bti) may be used as a growing-media drench where the label allows the crop and setting. Apply exactly as directed; eggs and pupae may not be affected, so repeat only as the label specifies. Some products are labeled for greenhouse or ornamental use rather than edible tomato—check the label before application. (UConn Extension on Bti and repeat treatments; UC IPM biological-control guidance)
For a seedling tray with a heavy infestation, remove badly deteriorated plants and discard infested media rather than reusing it. Clean containers and trays before starting again, and inspect purchased plugs before bringing them near healthy starts. For general watering adjustments, see the tomato watering guide.
Recovery and prevention
Adult counts can take several weeks to decline because immature stages may remain in the media and new adults can emerge. Continue checking the sticky card and, if used, the potato slice. Judge a tomato by whether new growth is healthy and the plant is establishing—not just by the number of adult flies seen on one day. Keep a watering routine that meets the tomato’s needs while preventing standing water and persistently saturated surface mix (University of Wisconsin Extension on control timing; Virginia Tech Extension on larval development and control).
If the mix smells sour or remains wet, compare the symptoms with root rot on tomato and mold on tomato soil. For more tomato care guidance, visit the tomato overview or tomato problem hub.
FAQs
Can fungus gnats damage a tomato plant?
Adults are mainly a nuisance. Larvae can injure fine roots when numerous, with young seedlings and transplants at greater risk than established tomato plants.
How do I check tomato potting mix for fungus gnat larvae?
Place a thin raw potato slice cut-side down on the moist mix and inspect after a day or two for translucent larvae with dark heads. Sticky cards monitor adults but do not confirm larvae by themselves.
Should I let my tomato dry out to get rid of gnats?
No. Let the surface dry modestly between waterings while keeping enough moisture in the root zone for the tomato. Severe drying can stress seedlings and established plants.
Do yellow sticky traps get rid of fungus gnats?
They catch some flying adults and help track activity, but larvae remain in the mix. Combine monitoring with moisture and sanitation changes and, if needed, a label-approved larval treatment.
How long does fungus gnat control take?
It may take several weeks to see adult numbers decline. Continue monitoring because a treatment aimed at feeding larvae may not affect eggs or pupae, and follow the product label for repeat applications.