Indoor bug traps work best when you match the trap type to the pest you’re dealing with. The main categories are UV light traps for flying insects, sticky glue traps for crawling pests, and pheromone or bait traps for specific species like pantry moths and roaches. Each uses a different attractant mechanism, and where you place them matters as much as which one you buy.
Trap Types and What They Catch
Most indoor bug traps fall into one of four categories, and each targets a different group of insects.
UV light traps draw in flying insects like fruit flies, gnats, fungus gnats, and houseflies. These devices use fluorescent or ultraviolet bulbs that emit light in the 360 to 370 nanometer range, which is the peak wavelength for attracting most flying insects. The bugs fly toward the light and get caught on a sticky board or sucked in by a small fan. Research from the University of Nebraska found that traps with standard black light bulbs attract and capture significantly more flies than those with black light blue bulbs, even though both emit UV light. The difference comes down to intensity: standard black light bulbs are slightly brighter in the attractive range.
Sticky glue traps are flat boards coated with strong adhesive, placed along floors, walls, or shelves. These are the go-to option for crawling insects like cockroaches, spiders, silverfish, crickets, earwigs, and scorpions. They contain no pesticides and work purely through placement. Some versions are designed as fold-over boxes that create a dark, enclosed space roaches are naturally drawn to.
Yellow sticky traps are a subcategory worth knowing about. The color yellow specifically attracts winged aphids, whiteflies, and fungus gnats, which is why these small cards are so popular for houseplant owners dealing with tiny flies around their soil. The insects are drawn to the yellow color’s reflectance and land directly on the adhesive.
Pheromone traps use synthetic versions of the chemical signals insects produce to find mates. Pantry moth traps are the most common indoor example. They release a sex pheromone that lures male Indian meal moths, flour moths, and other food moths onto a sticky card, breaking the breeding cycle. These are highly targeted and won’t attract unrelated insects.
Food bait traps use a liquid or gel attractant. Fruit fly traps often contain apple cider vinegar or a fermented solution that mimics ripening fruit. Ant bait stations use a sugar-based liquid that worker ants carry back to the colony. Roach bait traps combine a food attractant with a sticky surface or slow-acting poison inside an enclosed station.
Where to Place Traps for Best Results
Placement is the single biggest factor in whether a trap works or collects dust. The general rule: put traps where you’ve seen the bugs, not where they’d be convenient for you.
For crawling insects like roaches, spiders, and silverfish, place glue boards in floor corners, under cabinets, along baseboards, and on the backs of shelves. These insects travel along edges and walls, so a trap in the middle of a room will catch almost nothing. Tuck them into the dark, undisturbed spots where these pests actually congregate.
Pantry moth traps go inside your pantry and cupboards, near the food sources where larvae feed. One important detail: don’t use too many pheromone traps in a small space. University of Florida entomologists note that clustering multiple pheromone traps in a confined area can confuse moths and actually reduce effectiveness. One or two per pantry is typically enough.
Fruit fly and gnat traps should sit on the kitchen counter near fruit bowls, compost bins, drains, or wherever you notice the most activity. UV light traps for flying insects work best in darker areas, since the light needs to stand out against the surroundings to draw bugs in. A UV trap competing with bright overhead kitchen lights won’t perform as well as one placed in a dim corner or hallway.
For fleas, a simple DIY approach works surprisingly well: place a shallow, light-colored dish of soapy water under a lamp at night. Adult fleas are attracted to the warmth and light while foraging in the dark and jump into the water. An incandescent or heat-generating bulb works best for this. Set it up near the bed or areas where pets sleep.
If you’re using hanging fly traps or fly ribbon, position them 4 to 5 feet above the ground and away from areas where people walk or sit. This height catches flies in their natural flight path without becoming a nuisance.
How to Choose the Right Trap
Start by identifying what you’re actually dealing with. Tiny flies hovering around your kitchen are almost certainly fruit flies or fungus gnats, and a UV light trap or yellow sticky card will handle them. Small moths fluttering near your pantry call for a pheromone trap. Roaches and spiders on the floor need glue boards placed flat along edges.
For fruit flies specifically, you have two main options. Liquid bait traps (like vinegar-based products) attract flies into a container they can’t escape. UV fan traps use light to pull them in and a small suction fan to hold them on an adhesive pad. Both work, but UV traps tend to catch a wider range of small flying insects, including fungus gnats from houseplant soil, while liquid bait is more targeted to fruit flies.
If you’re not sure what’s in your home and just want broad coverage, a combination approach works well: a UV light trap in the kitchen for fliers, glue boards along baseboards in bathrooms and closets for crawlers, and yellow sticky stakes in any potted plants. This setup covers the three most common entry points for indoor bugs.
What Traps Can and Can’t Do
Traps are excellent monitoring tools. Even before you notice a problem, a glue board under your bathroom vanity will tell you if silverfish or roaches are present. Many pest control professionals use sticky traps specifically for this purpose, checking them regularly to identify what’s active in a home and where populations are concentrated.
For light infestations, traps alone can eliminate the problem. A few fruit fly traps combined with removing overripe produce will clear a kitchen in a week or two. A pair of pantry moth traps, along with tossing contaminated dry goods, breaks the breeding cycle within a few weeks.
For heavier infestations of roaches, ants, or spiders, traps work better as one piece of a larger strategy. Glue boards will reduce numbers and show you where activity is highest, but they won’t reach insects hiding deep in walls or behind appliances. In those cases, traps help you locate the problem while other methods address the source.
Maintenance and Replacement
Sticky traps lose their grip over time as they collect dust, debris, and dead insects. Most glue boards stay effective for about one to three months, depending on conditions. Check them every week or two and replace any that are full or visibly dusty. In humid environments like bathrooms, adhesive degrades faster.
UV bulbs in light traps also lose effectiveness before they burn out. The phosphors that produce the attractive UV wavelengths degrade with use. If your light trap seems to be catching fewer insects after several months, replacing the bulb often restores performance. Some manufacturers recommend stabilizing new bulbs by running them for about 200 hours before peak output is reached.
Pheromone traps for pantry moths typically last 8 to 12 weeks before the lure fades. If you’ve cleaned out infested food but still see the occasional moth, replacing the trap with a fresh pheromone lure will help you determine whether the problem is truly resolved or if you missed a food source.