Whiteflies vs. Fungus Gnats: How to Tell Them Apart
By Paul Smith, pemdasgarden.com
You tap the plant. A puff of tiny insects rises. And now you're squinting — what is that?
Welcome to the most common pest identity crisis in home gardening. Whiteflies and fungus gnats are the two most confused small flying pests, and treating the wrong one wastes time, money, and patience.
Here's the side-by-side — diagnose with confidence, but keep the honest uncertainty good pest ID requires.
The Quick Answer
- Whiteflies — tiny, white, moth-like, clustered on leaf undersides. Disturb them and they puff up, then settle back on foliage.
- Fungus gnats — tiny, dark, mosquito-like, hovering around the soil surface. Rarely on leaves.
Rule of thumb: on the leaves → most likely whiteflies; above the potting mix → most likely gnats. But mixed situations happen — read on.
Side by Side: Know the Differences
Size
Whiteflies are about 1/16 inch (1–2 mm) — truly tiny. Fungus gnats run about 1/8 inch (2–4 mm), noticeably larger once you know to look.
Color and Shape
Whiteflies: white, powdery wings, moth-like, wings tent-like over the body. Fungus gnats: dark gray to black, mosquito-like, narrow body, long legs and antennae. White versus dark is one of the fastest field marks you've got.
Where They Gather
Whiteflies: leaf undersides, upper canopy. Fungus gnats: soil surface — mix, pot rims, drainage holes. They barely visit each other's neighborhoods.
Flight Behavior
Whiteflies: short fluttering flights, resettling on leaves — the classic "puff and settle." Gnats: weak, erratic hovering near soil. Thirty seconds of watching usually reveals the difference.
The Larvae
Whitefly larvae: flat, oval, immobile scale-like nymphs on leaf undersides. Gnat larvae: translucent worms with black heads in the top inch of soil.
The Damage They Cause
Whiteflies feed on sap: leaves yellow, honeydew makes foliage sticky, sooty mold may blacken surfaces. Fungus gnat larvae feed on roots and fungi: seedlings wilt or stall, transplants look thirsty despite wet soil. Foliage damage points up. Root damage points down.
On Sticky Traps
Both get caught on yellow traps — which is exactly why traps alone can't diagnose. Whiteflies show up on traps at canopy height; fungus gnats at soil level. The trap tells you something is flying. The plant tells you which pest it is.
Three Tests You Can Do Right Now
When in doubt, observe first — five minutes total.
The Leaf Test
Shake the foliage gently. Whiteflies erupt in a white puff and drift back onto the canopy within seconds. Gnats scatter upward and hover — no coordinated resettling.
The Soil Test
Hold a white card just above the soil and watch. Fungus gnats cruise low over the surface, sometimes walking on it. Whiteflies rarely visit the soil at all.
The Underside Test
Flip several leaves. Whiteflies leave evidence: tiny oval eggs, flat scale-like nymphs, sticky honeydew, or black sooty mold. Fungus gnats leave no trace on leaves — their damage is all below the surface.
The Damage Looks Nothing Alike
This is the most reliable distinction, because the two pests harm plants in entirely different ways.
Whitefly damage shows on foliage: pale or yellowing leaves, stalled growth, sticky honeydew, blackening sooty mold. Heavy infestations on basil or tomatoes are easy to spot once you know the signs — see our whitefly identification guide.
Fungus gnat damage is general decline with no leaf symptoms: wilting seedlings, stalling transplants, thirsty-looking plants in wet soil. No honeydew, no sooty mold — the larvae feed on roots down in the mix.
Foliage symptoms? Look up. Mysterious decline with clean leaves? Look down.
Why Everyone Mixes Them Up
Both are small, both fly weakly, both haunt the same places — indoor plants, greenhouses, seedling setups. See "tiny flying things," grab the first spray, treat the wrong pest: then the treatment "doesn't work" and the real pest thrives.
Plus trap confusion: yellow sticky traps catch both. A full trap says something is flying — not which pest. Always confirm on the plant.
What If You Have Both?
It happens, especially in greenhouses. The good news: they barely interact — canopy versus soil — so treat them independently.
For the Whiteflies
Work the IPM sequence: monitoring, water blasts, parasitic wasps, least-toxic sprays last. Canopy problem, canopy solutions.
For the Fungus Gnats
Let the top inch of soil dry between waterings, remove dead leaves from the surface, and consider Bacillus thuringiensis israelensis (Bti) — a naturally occurring bacterium university extensions recommend for gnat larvae. Soil problem, soil solutions.
The Uncertainty Rule
Hold your diagnosis lightly until you've seen the evidence:
- Puff from leaves, insects resettling on foliage, signs on leaf undersides → most likely whiteflies. Confirm with a close look.
- Hovering over soil, no leaf symptoms, declining seedlings → most likely fungus gnats. Check the soil for larvae to be sure.
- Insects everywhere, unclear signs → inspect more before treating. A hand lens and five patient minutes beat a confident guess.
Still torn? Walk through the free Plant Problem ID tool — it ranks common causes from the symptoms you check off.
Never present a diagnosis to yourself as certain when the evidence is thin. Misidentification is the most common reason pest control "doesn't work."
Frequently Asked Questions
Are fungus gnats the same as whiteflies?
No. Whiteflies (Aleyrodidae) feed on canopy sap; fungus gnats (Sciaridae) are dark flies with soil-dwelling larvae. Different insects, different treatments.
Can fungus gnats damage leaves like whiteflies do?
No — gnat adults don't feed on plants, and larvae feed on roots and soil fungi. Yellowing, sticky leaves point to whiteflies (or aphids), not gnats.
Do yellow sticky traps catch both whiteflies and fungus gnats?
Yes. Hang traps at canopy height for whiteflies, at soil level for gnats. The trap tells you something is flying; the plant tells you which pest it is.
Which is worse for my plants?
Heavy whitefly feeding can defoliate and transmit plant viruses; heavy gnat larvae can kill seedlings via root damage. Both deserve attention — neither is a guaranteed plant-killer at low numbers.
I see tiny white insects in the soil — are those whiteflies?
Probably not. Whiteflies live on foliage, not soil. Tiny white insects in soil are more likely springtails or soil mites (usually harmless), or possibly root mealybugs. Look at where they live, not just their color.
Wrapping Things Up!
Ten minutes of observation — where they gather, how they fly, what damage you see — tells you which pest you have, and that diagnosis decides everything.
Grab a hand lens. Watch thirty seconds. Flip leaves. Check soil. Then act with confidence.
Growing the plants they both love? Start with vigorous seed: basil seeds, tomato seeds, and herb seeds — healthy plants shrug off light pest pressure far better than stressed ones.
Sources: University of California Statewide IPM Program — Whiteflies and Fungus Gnats Management Guidelines; Cornell Cooperative Extension — Indoor plant pest identification resources.
Last reviewed: September 2026. Growing conditions and pest pressure vary by climate region — adjust timing to your local extension guidance.