Learning how to make a DIY insect trap for a garden comes down to one decision: what attracts the pest you are dealing with. Sweet or fermented liquid pulls flies, gnats, wasps and mosquitoes. A flat, colored, sticky surface catches whatever lands on it, which makes cards useful against aphids, whiteflies and thrips. A bait sunk below soil level pulls slugs and earwigs down where they cannot climb back out.
The simplest version is a bottle funnel trap. Cut a plastic jug, leave a funnel-shaped opening, add a shallow layer of bait at the bottom, cover the wide end with mesh, and hang it near the affected plants. Twenty minutes, a sharp knife and a pair of gloves cover the whole job.
One thing worth saying up front: a trap monitors and reduces numbers, it does not clear an infestation on its own. Most gardeners get better results by running two or three trap types at once and pairing them with barriers, careful watering and hand-picking.
Table of Contents
- What You Need
- Step-by-Step
- Frequently Asked Questions
- What insects can a DIY garden insect trap catch?
- Is a homemade insect trap safe for pets and children?
- Where should I place a DIY insect trap in a garden?
- How often should I empty and clean a garden insect trap?
- What works best as bait in a DIY insect trap?
- How do I stop a DIY insect trap from catching beneficial insects?
- Conclusion
What You Need
Almost everything comes out of a kitchen cupboard or the recycling bin. Pick your bait before you pick your container, because a trap built for slugs does nearly nothing to a cloud of winged insects.
- A plastic bottle or jug. A two-liter bottle gives you a funnel and a catch chamber in one piece. Clear or green both work, and green disappears into foliage better if you dislike the look of a jug in the bed.
- A shallow bowl, jar lid or plastic tray for pitfall traps that sit level with the soil.
- Bait. Sugar, apple cider vinegar, a ripe banana peel, dried yeast, beer, soy sauce and vegetable oil between them cover most garden pests.
- Liquid dish soap. A few drops break the surface tension so insects drown instead of standing on top of the bait.
- Fine mesh, window screen or a coffee filter to close the wide opening so nothing climbs back out.
- Two wooden stakes or a bamboo cane with twist ties or tape, to hold a trap level and off the ground.
- Cut-resistant gloves and a marker so you can mark a clean circle and cut it without slipping.
- Optional extras: cardboard, petroleum jelly and yellow or blue acrylic paint for sticky cards, plus a lid for any container holding liquid.
Skip anything you would not want a curious dog to lick off its paw. That rules out boric acid, concentrated essential oils and any product you cannot identify from its label.
Step-by-Step
This is the full sequence for a bottle funnel trap, which is the version worth mastering first. The same order works for the pitfall traps further down the page.
- Cut the funnel. Mark a circle roughly 4 inches across on the shoulder of the bottle, just below the neck. Cut it out with scissors or a knife and discard the cap. The circle should curl downward on its own into a cone.
- Invert it into the neck. Push the cone neck-first into the bottle mouth so it sits inside with the rim resting at the opening. This is the one-way entrance: insects drop down and cannot find the narrow neck again.
- Cut the top off. About 5 inches down from the neck, cut the body in a straight line and throw the top away. The remaining base is the catch chamber.
- Add a small amount of bait. For flies and gnats, pour in about half an inch of apple cider vinegar, then add two or three drops of dish soap. For wasps, use a few ounces of sugar water with a spoon of jam. Less is more here; an overfull trap smells like a landfill and pulls in everything in the neighborhood.
- Secure the wide end. Stretch mesh or window screen across the opening and tie or tape it on. A rubber band alone works indoors but usually fails outdoors in wind.
- Stake it in place. Push two stakes into the soil and lash the trap between them, bottom down, about 12 to 24 inches off the ground. Hang it just inside the canopy of the affected plant rather than out in the open lawn.
You will know it is working within 24 to 48 hours. Look for insects floating in the bait, a sticky film inside the cone, and a faint hum of activity above the opening on a warm day. If wasps are investigating rather than entering, take it down and move it away from where people walk.
How to make a DIY insect trap for a garden

The build above is the general-purpose version. Once you have it working, the same materials change shape depending on what you are hunting. These five variations cover most of what a backyard gardener runs into.
Slugs and snails: the pitfall trap
Sink a bowl or jar lid into the soil so the rim sits level with the ground, then pour in beer or a mix of water, brown sugar and a spoonful of dried yeast. Slugs follow the smell, fall in and cannot escape a smooth vertical wall. Press a little of the surrounding soil back around the rim so the surface reads as unbroken. A gardener I know checks the same bowl every morning and finds it full most days in wet weather.
Earwigs: soy sauce and oil
Bury a small open can or a folded plastic cup so the rim is flush with the soil, and pour in a splash of soy sauce with a thin film of vegetable oil on top. Earwigs are attracted to the protein and salt, and the oil stops them from climbing out. Keep it a few inches from the plant stem, never touching the trunk, so nothing on the plant soaks up the salt.
Aphids, whiteflies and thrips: the sticky card
Cut a rectangle of stiff cardboard, cover both sides with petroleum jelly, then paint one side bright yellow or blue. Yellow, around 580 nanometers, pulls in the lighter-bodied pests such as aphids, whiteflies and fungus gnats; blue, in the 400 to 550 nanometer range, is the better choice for thrips. Mount the card on a bamboo cane at the windward edge of the plant canopy, where drifting insects actually hit it. Replace it when the surface turns grey with bodies, because a dirty card attracts nothing.
Fleas, stink bugs and squash bugs: the soapy water pan
Fill a shallow yellow pan or a yellow bowl with water and a teaspoon of dish soap, then float it on the ground or set it on a low block near where you see damage. Soapy water coats the insects and the water holds them up. Small squash bugs and beetles tend to gather in the pan within a day or two. Keep the pan level, or the insects land on the rim and crawl off.
Cutworms: the cardboard collar
Push a toilet paper roll around a seedling stem so about an inch stands above the soil, then pack a little moist material into the top. Cutworms chew through tender stems at ground level; the collar blocks them. Cardboard breaks down in the garden within a season, so nothing needs removing at the end of the year.
Common Mistakes
Most failed traps come down to one of six things, and all of them are fixable.
- Filling the trap too generously. Heavy bait odors spread far past the trap and attract wasps, yellow jackets and pollinators first. Cut the volume back to a thin layer and refresh it rather than topping it up.
- Using one trap against the wrong insect. A pitfall trap does nothing for flies, and a funnel trap full of vinegar will not stop a slug. Match the mechanism to the movement pattern: flying pests need flight-path interception, ground crawlers need a pit.
- Placing the trap in direct sun. Heat drives off volatile bait and makes the liquid evaporate. Mid-morning shade along the windward side of the bed works far better than a sunny fence line.
- Setting a trap next to a freshly sprayed area. Bait and spray together can create a haze that attracts more insects than it kills. Keep traps at least a few feet from any treated row, and skip deployment on a day you plan to spray.
- Letting bait sit until it goes stagnant. Old fermentation turns into a smell that keeps pests away. Dump the contents every two or three days in warm weather, rinse the container, and refill.
- Forgetting to check at all. A trap that fills to the brim can spill, and a full wasp trap is a genuine hazard. Look at every trap on a two-day rhythm and bring the whole thing in before it gets heavy.
For safety, wear gloves when emptying any trap, because trapped wasps and yellow jackets stay defensive inside the bottle. Seal the contents in a lidded container or bag before moving it to the bin. If small children or pets share the space, place traps above their reach and never use a bait they could lick from a spill.
For maintenance, wash traps with hot soapy water rather than leaving detergent residue, because the film that helps insects drown also fouls the bait. Refresh liquid bait weekly through the 2026 growing season, swap sticky cards when they stop tacky, and retire any trap that is leaking or brittle.
Frequently Asked Questions
What insects can a DIY garden insect trap catch?
A bottle funnel trap works best on flying insects: flies, gnats, fruit flies, mosquitoes, wasps and yellow jackets. Pitfall traps built for slugs and snails handle ground crawlers, and the soy sauce and oil version catches earwigs. Sticky cards intercept anything small that flies or lands, including aphids, whiteflies, thrips and fungus gnats. No single design covers everything, so most gardeners run two types at once.
Is a homemade insect trap safe for pets and children?
Most DIY traps are safer than sprays because they contain no pesticides, but a few rules matter. Never use boric acid, essential oils or anything unlabelled. Set traps above the reach of curious pets, keep liquid bait in a container a dog cannot topple, and wipe up spills right away. Wash your hands after handling a trap, and take wasp traps down before emptying so nobody stirs a full bottle of angry insects.
Where should I place a DIY insect trap in a garden?
Put the trap where the pest is already active, not out in the open lawn. Hang a funnel trap inside or just outside the canopy of the affected plant, on the windward edge so drifting insects hit it. Set pitfall traps level with the soil along rows and bed edges. Skip spots in full sun, beside a compost pile if you are targeting flies, or anywhere children play.
How often should I empty and clean a garden insect trap?
Check every trap every two days in warm weather, and empty it as soon as it holds a few inches of insects. Rinse the container with hot soapy water, let it dry, and refill with fresh bait. Knowing how to make a DIY insect trap for a garden is only half the job; a trap that sits for a week develops a smell that repels the very pests you set out to catch.
What works best as bait in a DIY insect trap?
It depends on the pest, and the liquid matters less than the smell. Apple cider vinegar is the reliable choice for fruit flies and gnats, while plain white vinegar works nearly as well once it is mixed with sugar and soap. Ripe banana peel or melon rind ferments and draws a wider range of flies. Slugs respond to beer or yeast, and earwigs come to soy sauce.
How do I stop a DIY insect trap from catching beneficial insects?
Choose the narrowest trap you can and place it away from flowers. Sticky cards work better as monitoring tools than as killers, so hang a few, count what lands on them after a day, and take them down. Funnel traps baited with fermentation smell can pull in bees and wasps, so move them away from the canopy and out of flight paths. Check the trap before you leave it out overnight.
Conclusion
Start with one pest. Decide whether it flies or crawls, pick the matching trap, build it from a bottle or a bowl, and set it where you have already seen the damage. Check it every day or two and refresh the bait before it goes stale.
Traps earn their keep as one part of a wider routine: clean up fallen fruit, water at soil level in the morning, pull up plants that are past their prime, and hand-pick what you can reach. Use the trap to tell you which pest is actually in the bed and when pressure is rising, not as a substitute for the rest of the work.


