Skip to content
Swat & Snap
Fruit Flies & Gnats

Do fruit fly traps work for gnats?

Mostly no, and the reason is the lure rather than the trap. Fruit flies come to fermentation; fungus gnats come to damp soil and the color yellow. Buy for the insect you actually have.

By Ryder M.Published Updated

A collection of potted plants on a windowsill in natural light
Quick answer
Partly, and only for some gnats. A fruit fly trap works by a fermentation lure — vinegar, wine, fruit — and fruit flies are drawn to it strongly. Fungus gnats, the small black flies that rise out of houseplant pots, are drawn to damp soil and to the color yellow, not to fermentation, so a liquid fruit fly trap catches only the handful that blunder in. For fungus gnats you want yellow sticky cards pushed into the pot and, far more importantly, BTI granules watered into the soil to kill the larvae. If the insects are hovering over a plant rather than circling a fruit bowl, you have fungus gnats and the fruit fly trap on your counter is not going to solve it.
Disclosure

Swat & Snap earns a commission from qualifying purchases made through the links on this page, at no extra cost to you. It does not change which products we pick — see how we pick and our affiliate disclosure.

Three insects, one word

"Gnat" is not a species. It is a catch-all for any small flying insect, and in a house it usually means one of three very different things — which is exactly why the trap advice online contradicts itself.

Fruit flies (Drosophila). Tan or brown, often with red eyes, hovering around fruit, the bin, the recycling or a bottle. They breed in fermenting organic matter. A vinegar or commercial fermentation lure catches them extremely well.

Fungus gnats. Tiny, dark, delicate, mosquito-shaped in miniature. They rise in a cloud when you water a houseplant and drift around windows. They breed in the top inch or two of damp potting soil, where the larvae feed on fungus and organic matter. They are NOT interested in your fruit bowl.

Drain flies (moth flies). Fuzzy, grey, moth-like, seen resting on the wall near a sink or shower rather than flying much. They breed in the biofilm inside drains.

Gnats vs fruit flies vs drain flies has the full identification with the behavioral tells. It is the five minutes that saves you buying the wrong product.

Why the lure decides everything

A trap has two parts: the thing that brings the insect in, and the thing that stops it leaving. The second part is easy — liquid, glue, a one-way funnel. The first part is the whole game.

A fruit fly trap's lure is fermentation chemistry: acetic acid, ethanol, and the volatile compounds given off by yeast working on sugar. Fruit flies find rotting fruit by exactly those cues, which is why apple cider vinegar works so reliably. It is a precise match between the lure and the insect's biology.

Fungus gnats do not use those cues. Adults are looking for damp soil to lay eggs in, and they respond strongly to the color yellow — a visual cue, not a chemical one, and the reason sticky cards in this category are always yellow. A bowl of vinegar is close to invisible to them.

So the question in the title has a precise answer: a fruit fly trap works on gnats to the extent that the gnat in question is attracted to fermentation. Fruit flies, yes, overwhelmingly. Drain flies, somewhat — they are not fermentation specialists but they will enter a liquid trap near a sink. Fungus gnats, barely.

What actually catches fungus gnats

Yellow sticky cards, in the pot. Push them into the soil just above the surface, where the adults are emerging and landing. On a windowsill away from the plants they catch a fraction as many. They are cheap, chemical-free and they also tell you whether the population is rising or falling.

BTI in the soil — this is the real fix. Bacillus thuringiensis israelensis is a naturally occurring bacterium whose proteins destroy the gut lining of fly larvae and nothing else. It is the active in mosquito dunks and bits, and granules are sold specifically for this use. Water it into the top of the pot and it kills the larvae where they live. Sticky cards catch adults; BTI stops new ones existing. Do mosquito dunks work covers the mechanism, and mosquito dunks vs bits explains why the granule format is the one you want for soil.

Watering less. The single most effective free intervention. Fungus gnat larvae need the top inch of soil to stay damp. Let it dry out properly between waterings and the breeding habitat disappears. Bottom-watering helps for the same reason.

A layer of coarse grit or sand on top. A half-inch of horticultural grit makes the surface unattractive for egg-laying and is a genuine physical barrier.

A UV-and-glue trap near the plants as a supplement. These catch adults drifting around a room and are silent, which a zapper is not.

Fungus gnats in houseplants is the full treatment, and best gnat traps is the product roundup.

At a glance

Quick picks

#ProductBest forMechanismPrice
1
Hands potting a houseplant, with soil and garden tools alongside
Our pickSafer Brand Houseplant Sticky StakesYellow sticky cards on a stake, pushed into the pot. They catch the adults while you fix the watering, which is the part that actually ends a gnat problem.
Gnats in potting soilYellow adhesive card
2
A metal watering can beside green shrubs in a garden
Summit Mosquito BitsThe same BTI in granules. Releases faster than a dunk and doubles as the correct treatment for fungus gnats in houseplant soil.
Fast knockdown and fungus gnatsBTI granules
3
A collection of succulents and cacti in pots indoors
Katchy Indoor Insect TrapUV light, a small fan and a sticky pad. The fan is what makes it work on gnats — they are weak fliers and get pulled in.
Fungus gnats around plantsUV light + suction fan + glue board
4
A bowl of fresh berries and apples on a wooden board
Terro Fruit Fly Trap (T2500)An apple-shaped lure trap that works because the liquid inside is a real fermentation attractant, not because of the shape.
Kitchen countersLiquid food-based lure

#ad — every price link goes to Amazon and Swat & Snap earns a commission on qualifying purchases. No price is shown until it can be pulled live from the retailer.

Hands potting a houseplant, with soil and garden tools alongside
Our pickPet-safe design

Safer Brand Houseplant Sticky Stakes

Safer Brand · Gnats in potting soil

Yellow sticky cards on a stake, pushed into the pot. They catch the adults while you fix the watering, which is the part that actually ends a gnat problem.

Specification
MechanismYellow adhesive card
PlacementIn the pot, just above the soil
LifeUntil the card is full
ChemicalsNone
Why it is here
  • Also a diagnostic: a full card in three days tells you the soil is the source
  • No chemistry near a plant you might eat from
What it will not do
  • Adults only — larvae in the soil need drying out or a BTI product
  • Visible yellow cards in a display pot

Check price on Amazon

A metal watering can beside green shrubs in a garden
Pick 2Pet-safe design

Summit Mosquito Bits

Summit · Fast knockdown and fungus gnats

The same BTI in granules. Releases faster than a dunk and doubles as the correct treatment for fungus gnats in houseplant soil.

Specification
ActiveBTI granules
ReleaseRapid, roughly 24 hrs
Duration7-14 days
Second useFungus gnat larvae in pots
Why it is here
  • Scatterable, so it treats a bog or a tray a dunk cannot sit in
  • The one product that solves both a yard problem and a houseplant problem
What it will not do
  • Shorter residual than a dunk — reapply more often
  • Granules wash away in heavy rain

Check price on Amazon

A collection of succulents and cacti in pots indoors
Pick 3Pet-safe design

Katchy Indoor Insect Trap

Katchy · Fungus gnats around plants

UV light, a small fan and a sticky pad. The fan is what makes it work on gnats — they are weak fliers and get pulled in.

Specification
MechanismUV light + suction fan + glue board
PowerUSB
RefillGlue boards
NoiseLow fan hum
Why it is here
  • The fan catches fungus gnats that simply ignore a light-only trap
  • USB power means it can sit on a plant shelf with no socket nearby
What it will not do
  • Needs the room dark to compete with a window
  • Glue boards fill quickly in a real gnat bloom

Check price on Amazon

A bowl of fresh berries and apples on a wooden board
Pick 4Pet-safe design

Terro Fruit Fly Trap (T2500)

Terro · Kitchen counters

An apple-shaped lure trap that works because the liquid inside is a real fermentation attractant, not because of the shape.

Specification
MechanismLiquid food-based lure
Service lifeAbout 30 days per trap
PlacementNext to the fruit bowl or bin
RefillReplace the whole trap
Why it is here
  • The lure outperforms homemade vinegar in a side-by-side on the same counter
  • Sealed, so there is no open dish of vinegar to knock over
What it will not do
  • Catches flies; does nothing about the drain or bin that is breeding them
  • Thirty days and it is done — no refill

Check price on Amazon

When a fruit fly trap IS the right answer

Do not over-correct. If what you have really is fruit flies, the liquid lure traps are excellent and nothing else matches them.

Signs you have fruit flies rather than fungus gnats:

  • They circle the fruit bowl, the bin, the recycling or a bottle, not a plant
  • They are tan or brown rather than black, and noticeably stockier than a fungus gnat
  • They appeared after ripe fruit, a spill, or a bag of potatoes
  • They hover in place mid-air rather than drifting about near soil
  • A glass of apple cider vinegar with a drop of dish soap fills up overnight

That last one is a useful diagnostic as well as a treatment. If a vinegar trap catches dozens in a night, they are fruit flies and a commercial lure trap will do the job. If it catches four in a week while a cloud still rises from the ficus, they are fungus gnats.

Best fruit fly traps is the roundup, fruit fly trap bait covers what to put in a trap, and how to get rid of fruit flies is the source-removal sequence that makes the traps unnecessary.

The mistake almost everyone makes

Treating the adults and ignoring where they come from.

Every insect on this page has a larval stage somewhere you are not looking: fruit flies in the film of residue in the bin or the drain, fungus gnats in the top inch of potting soil, drain flies in the biofilm inside the pipe. Adults live a matter of weeks and the cycle from egg to adult can run about a week in warm conditions.

So a trap full of insects is not progress on its own. It is a measurement. If the trap keeps filling, the source is still producing, and the useful work is finding it: take the bin out and wash it, check under the fridge for a rolled-away potato, scrub the drain with a brush and an enzymatic treatment, let the plants dry out, bin the bag of onions at the back of the cupboard.

The trap's real job is to catch the adults while you deal with the source — and to tell you when you have succeeded, because it stops filling.

Quick reference

What you seeInsectWhat works
Hovering at the fruit bowl or binFruit fliesLiquid fermentation lure trap, plus source removal
Cloud rising from a houseplantFungus gnatsYellow sticky cards in the pot, BTI granules in the soil, water less
Fuzzy, resting on the wall by a sinkDrain fliesDrain brush and enzymatic treatment — not a lure trap
Small flies in a damp yard or mulchOutdoor gnatsDrainage and mulch management, not an indoor trap

The short version

Fruit fly traps work on fruit flies. They do not work on fungus gnats, because the lure is fermentation and fungus gnats are looking for damp soil and the color yellow. If the insects come from a plant pot, buy yellow sticky cards and BTI granules and water less. If they come from the fruit bowl, a liquid lure trap is exactly right — and in both cases the trap is a measurement, while removing the breeding source is the actual cure.

Questions

Frequently asked

Do fruit fly traps work for gnats?
Only for gnats attracted to fermentation. Fruit flies are caught very effectively, and drain flies occasionally. Fungus gnats — the ones that rise out of houseplant pots — respond to damp soil and the color yellow rather than to vinegar, so a liquid lure trap catches very few of them.
What traps fungus gnats?
Yellow sticky cards pushed into the pot just above the soil surface, where adults emerge and land. For the actual fix, water BTI granules into the top of the soil to kill the larvae, and let the top inch dry out between waterings so there is no breeding habitat left.
How do I tell fungus gnats from fruit flies?
Look at where they are and what they look like. Fungus gnats are tiny, black and delicate, rise in a cloud when you water a plant and drift toward windows. Fruit flies are tan or brown, stockier, often red-eyed, and hover around fruit, bins and bottles.
Does apple cider vinegar catch gnats?
It catches fruit flies extremely well — a glass of vinegar with a drop of dish soap will fill overnight if that is what you have. It catches fungus gnats poorly, which makes it a useful diagnostic: lots of catches overnight means fruit flies, a near-empty trap alongside a cloud over a plant means fungus gnats.
Will a sticky trap catch fruit flies?
Some, but a liquid fermentation lure is far more effective for fruit flies because it matches how they find food. Sticky cards are the right tool for fungus gnats, where the yellow colour itself is the attractant.
Why do the gnats keep coming back after I trap them?
Because the larvae are still developing somewhere you have not treated — damp potting soil, residue inside a bin or drain, or forgotten produce. Egg to adult can take about a week in warm conditions, so a trap that keeps filling means the breeding source is still active.
Sources
Next step

More on fruit flies & gnats

Tiny flies in the kitchen are almost never one problem. Identify which of the three you have, then treat the source — the trap alone never finishes it.

Not sure yet? Read how we pick.

About the author

Ryder M.

Ryder M. is the hands-on owner behind Magoo Media Group. He writes Swat & Snap because he got tired of pest-control advice that was either a sales pitch or a scare story.

How we pick · Editorial policy · About Swat & Snap

Read next