How to Make a Homemade Fly Trap That Actually Works

A homemade fly trap takes about five minutes to build from things already in your kitchen, and the most effective version uses just a plastic bottle, apple cider vinegar, and a drop of dish soap. The design you choose depends on whether you’re dealing with tiny fruit flies hovering around your counter or larger houseflies buzzing through your yard.

The Bottle Funnel Trap

This is the most versatile homemade fly trap, and it works for both fruit flies and houseflies depending on what bait you use. Take a plastic water bottle or 2-liter soda bottle and cut off the top third. Remove the cap, then flip that top piece upside down and nestle it into the bottom portion so it forms a funnel pointing downward into the bottle. Flies follow the scent of the bait inside, crawl through the narrow funnel opening, and can’t figure out how to fly back up through the small hole to escape.

You can tape the seam where the two pieces meet to keep things stable, but it’s not strictly necessary. The key is making sure the funnel opening doesn’t touch the liquid bait below, so flies have room to enter before they hit the surface.

Bait That Actually Works

The best bait for fruit flies is apple cider vinegar. Pour about a quarter cup into your trap, then add a few drops of liquid dish soap. Fruit flies are drawn to fermented, sweet-smelling materials because they feed and lay eggs on rotting fruit. Apple cider vinegar mimics those same odors, specifically acetic acid and ethanol, which are the volatile compounds fruit flies track through the air.

The dish soap is the part that actually kills them. Normally, a fly can land on a liquid surface and take off again because water molecules hold together tightly enough to support its weight. Dish soap is a surfactant: it breaks apart that surface tension, so when a fly touches the liquid, it punches right through and drowns instead of walking across the top.

For houseflies and blowflies, which are less attracted to vinegar, a sugar and yeast mixture works better. Combine one cup of sugar, one teaspoon of baker’s yeast, and one cup of warm water. The yeast ferments the sugar and produces carbon dioxide along with a sweet, fermenting smell that draws larger flies. This bait is especially effective in outdoor bottle traps.

Leftover wine also makes excellent fruit fly bait. Just leave a small amount in the bottle, add a few drops of dish soap, and set it near your fruit bowl. The fermented grape sugars hit the same chemical triggers as vinegar.

The Bowl and Plastic Wrap Trap

If you don’t want to cut up a bottle, this version is even simpler. Pour about half an inch of apple cider vinegar into a small bowl or jar. Add a drop or two of dish soap. Stretch plastic wrap tightly over the top and secure it with a rubber band, then poke several small holes in the plastic wrap with a fork.

Fruit flies squeeze through the holes to reach the vinegar and get trapped inside. This method is especially practical for kitchens because it’s compact, doesn’t spill easily, and looks less conspicuous on a countertop than a cut-up soda bottle. It’s less effective for larger houseflies, though, because the holes need to be bigger and the flies are better at finding their way back out.

Homemade Sticky Fly Paper

For flies that won’t go near liquid traps, sticky paper catches them on contact. Cut a brown paper bag into strips about two inches wide and six inches long. Punch a hole in one end and thread a string through for hanging. Mix a quarter cup of corn syrup, a quarter cup of sugar, and two tablespoons of water in a small saucepan and heat until the sugar dissolves completely. Dip each strip into the warm mixture, let the excess drip off, and hang them to dry until they’re tacky but not dripping.

These strips work the same way commercial fly paper does. Flies land on the sweet, sticky surface and can’t pull free. Hang them near windows, doorways, or anywhere you see flies congregating. They lose their stickiness over time as dust collects on the surface, so replace them every few days.

Where to Place Your Traps

Indoor fruit fly traps belong near the source of the problem: next to your fruit bowl, by the kitchen trash can, or near the sink where food scraps accumulate. The closer the trap is to where flies are already feeding and breeding, the faster it fills up.

Outdoor traps need a different strategy. Place them at least 20 to 30 feet away from doors, patios, and outdoor eating areas. The goal is to intercept flies before they reach you, not to attract more flies toward your dinner table. Position traps downwind of where people gather and closer to the actual sources of fly activity like trash bins, compost piles, or animal areas. If a trap isn’t catching anything after three days, move it to a spot with different sun exposure and airflow patterns.

Keeping Traps Effective

A homemade fly trap stops working once the bait dries out, loses its smell, or gets so full of dead flies that new ones can’t reach the liquid. For vinegar-based traps, the scent fades after about a week, so swap out the liquid on that schedule even if the trap is still catching flies. Yeast and sugar mixtures lose potency faster, usually within three to four days, as the yeast runs out of sugar to ferment.

When you empty a trap, dump the contents down the toilet or into a sealed trash bag rather than rinsing it into your kitchen sink. Fruit flies can carry bacteria like E. coli, Salmonella, and Listeria on their bodies from the food sources they’ve been crawling on. While the actual infection risk to humans hasn’t been firmly established, there’s no reason to wash a slurry of dead flies into the same sink where you prep food.

For a persistent fruit fly problem, running multiple traps at once in different locations works better than relying on a single trap. Fruit flies reproduce quickly, and one trap may not keep pace with a large population. Pair traps with basic sanitation: store ripe fruit in the refrigerator, clean up spills immediately, and take out kitchen trash before it starts to smell sweet.