Fungus gnat adults are strongly attracted to yellow, and sticky cards exploit that. They are cheap, harmless and worth having, provided the expectation is right.
What they do well
Monitoring, above all. A trap gives an objective count of the adult population, which is otherwise judged by impression. Comparing catches week to week tells you whether a control programme is working – something that is genuinely difficult to assess by eye.
A trap that caught forty gnats last week and eight this week is evidence that the approach is succeeding, and that reassurance is worth the price on its own.
They also intercept newly arrived adults before they lay, which matters most in a quarantine area or beside a newly bought plant.
What they do not do
Eliminate an infestation. The trapped adults are a fraction of the population, and the larvae in the compost are unaffected. A pot can produce adults indefinitely while the trap fills.
Traps also catch other insects, including beneficial ones, which is worth knowing if you use predatory mites or parasitic wasps.
Using them properly
Place them close to the compost surface rather than up among the foliage, since that is where the adults are. Cut cards into strips and mount them on skewers pushed into each pot, which is more effective than one card hanging above a whole collection.
Use enough of them. One trap in a room with twenty plants is a monitor; a strip in each pot is a control measure.
Replace them when the surface is covered, since a full trap catches nothing.
Homemade versions
Yellow card coated with petroleum jelly, or yellow plastic with a thin smear of vegetable oil, works reasonably well and is messier than the commercial product. The colour matters more than the adhesive – a specific yellow-green around 570 nanometres is most attractive, which is why commercial traps are that particular shade.
Where they fit in a programme
As the monitoring component alongside a control that addresses the larvae. Traps plus surface drying is a sound combination; traps alone is not.
Keep one in place permanently even after an infestation clears, since it will show a new arrival within days rather than weeks.
Placement details that matter
Adults spend most of their time within a few centimetres of the compost, walking on the surface and making short flights. A trap at that level catches several times what one hanging above the foliage does.
Cutting a large card into four or five strips and pushing each into a different pot spreads the coverage far more effectively than leaving the card whole in one place.
Using the count
Write the date on each trap when you put it out. Comparing one week's catch with the next converts a vague impression into evidence, and it is the only practical way to know whether a control programme is succeeding before the adults disappear entirely.
Three consecutive weeks with an empty trap is a reasonable definition of success.