A DIY moth trap can be as simple as a bowl of soapy water under a light, or a homemade sticky trap baited with the right attractant. The best design depends on whether you’re dealing with clothes moths (the ones eating your sweaters) or pantry moths (the ones in your cereal). Both types can be caught with traps you build from household materials, though traps alone won’t solve an infestation since they only catch flying adults, not the larvae doing the actual damage.
Clothes Moths vs. Pantry Moths
Before you build a trap, figure out which moth you’re dealing with. Clothes moths are small, about half an inch, beige or buff-colored with narrow fringed wings. They avoid light and stick to dark, undisturbed spaces like closets, basements, and attics. If you’re seeing small moths fluttering around your kitchen or other well-lit rooms, those are almost certainly pantry moths, which breed in cereals, dried fruit, nuts, and other stored foods.
This distinction matters for trapping. Clothes moths feed exclusively on animal fibers like wool, silk, fur, and feathers, digesting a protein called keratin. They’re drawn to fabrics soiled with perspiration or body oils. Pantry moths are attracted to grain-based foods. Each species responds to different pheromone signals, so a lure designed for one type won’t work on the other. The good news is that light-based traps work on both.
The Soapy Water Light Trap
This is the simplest DIY moth trap and requires no special materials. Fill a shallow bowl or baking dish with water and add a few drops of dish soap. The soap breaks the water’s surface tension so moths that land in it can’t escape. Place a light source directly above or beside the bowl in a dark room at night. Moths fly toward the light, collide with it or circle downward, and end up in the water.
The light source is the most important variable. Moths are overwhelmingly attracted to ultraviolet and blue light. In controlled experiments, 84% of moth counts were recorded at UV lamps (peaking at 365 nanometers) when moths had a choice between UV, blue, green, and white light. When UV wasn’t available, blue light (450 nanometers) drew 63% of moths. A standard warm white bulb will attract some moths, but a UV or “blacklight” LED bulb dramatically increases your catch. These bulbs cost a few dollars online and screw into regular lamp sockets.
Set the trap up at dusk and check it in the morning. Place it in the room where you’ve noticed the most moth activity, and turn off competing light sources so the trap light is the dominant draw.
The Bucket Funnel Trap
For a more permanent setup, especially if you’re catching moths repeatedly, a bucket trap works well. Cut a hole in a bucket lid and fit a funnel into it, wide end up. Suspend a UV or blue LED light above the funnel, and optionally attach transparent plastic vanes (cut from a soda bottle or clear folder) around the light. Moths fly toward the light, hit the vanes, and slide down through the funnel into the bucket. They can’t easily fly back up through the narrow funnel opening.
You can power the light with a battery pack, a USB power bank, or an extension cord. If ants are a concern, set the bucket in a shallow tray of water as a moat. A weight or bungee cord on the lid keeps it secure overnight. This design collects moths without soapy water, so you can check the bucket each morning and release any non-target insects if you prefer.
DIY Sticky Traps With Homemade Lures
Pheromone-baited sticky traps are the gold standard for targeting a specific moth species indoors. Commercial pheromone lures are species-specific (webbing clothes moths and casemaking clothes moths each have their own unique pheromone), and replicating synthetic pheromones at home isn’t realistic. But you can make effective sticky traps using other attractants.
For pantry moths, coat a piece of cardboard or an index card with a thin layer of honey mixed with equal parts warm water, or use a commercial sticky surface like flypaper cut to size. Place a small amount of fish oil or a piece of dried fruit near the center as bait. For clothes moths, a small swatch of wool fabric lightly dabbed with fish oil can serve as an attractant, since these moths are drawn to animal-fiber odors.
If you want a pheromone lure, inexpensive ones are available online for a few dollars per pack. Stick one to your homemade cardboard trap and you’ll have something functionally identical to a commercial moth trap at a fraction of the cost.
Where to Place Your Traps
Placement can make or break a moth trap’s effectiveness. The core principle is to put traps near the source of activity with enough open air around them for the scent or light to reach moths.
For pantry moths, use a triangle formation: one trap inside the pantry near the food showing the most activity, one on the inside of the pantry door or an open shelf, and one near another dry food source like pet food or birdseed. Vary the height, placing one on an upper shelf and one closer to the floor, if you’re seeing moths at different levels.
For clothes moths, focus on dark, quiet, low-traffic areas where you’ve already found damage. Set at least two traps: one high (on a closet rod or upper shelf) and one low (on a lower shelf or the floor). Keep traps no more than 22 feet apart. Don’t wedge them between tightly packed garments or hide them behind stored items. Airflow around the trap is what carries the attractant scent outward.
Keep traps away from lavender sachets, cedar products, essential oil diffusers, and strong-smelling cleaners. These competing scents can mask the lure and reduce your catch rate. Also avoid placing a fan directly next to a trap, which disperses the scent plume too quickly.
Why Traps Alone Won’t Fix an Infestation
Adult moths don’t actually eat anything. Clothes moth adults lay 40 to 50 tiny eggs on vulnerable fabrics, and it’s the larvae that do all the feeding and damage. A trap catches flying adults (primarily males, in the case of pheromone traps), which helps you monitor the problem and reduce breeding. But it won’t touch the eggs or larvae already embedded in your wool sweater or bag of flour.
To actually eliminate an infestation, you need to target the larvae directly. For clothes moths, dry cleaning or hot laundering kills all life stages. Items that can’t be washed can be sealed in a plastic bag and placed in a household freezer for two weeks, which kills eggs and larvae. Thoroughly clean closets, drawers, and storage areas, since cleaning removes the perspiration and body oil residues that attract clothes moths in the first place.
For pantry moths, discard any infested food, vacuum shelves and crevices thoroughly, and wipe surfaces down with soap and water. Store dry goods in airtight glass or hard plastic containers going forward. Thin plastic bags and cardboard boxes won’t stop pantry moth larvae from chewing their way in.
Think of your DIY trap as the monitoring system and population reducer, not the whole solution. When your traps start coming up empty after a few weeks, that’s a good sign the infestation is under control.