DIY Fly Trap From a Soda Bottle: Step-by-Step

Turn an empty 2-liter bottle into a funnel fly trap. Get bait recipes for house flies and fruit flies, placement rules, and safe disposal tips.

By · Reviewed by LeafyPixels Review Board · Published · Updated · 11 min read

Homemade soda bottle funnel fly trap hanging on a sunny backyard patio with garden in soft focus

A gray house fly on the window and a cloud of tiny brown flies over the fruit bowl look similar from across the room—but they respond to different baits. Build the soda-bottle funnel trap first; it takes about ten minutes and costs nothing beyond bait you may already have. Then match the lure to the insect. Get that wrong and you will swear the trap “does not work” while the real breeding site keeps producing new adults.

The design is simple: cut the neck off a 2-liter bottle, invert the top like a funnel, and fill the base with attractant plus a few drops of dish soap. Flies crawl or fly down the funnel toward the smell, hit the liquid, and drown because soap breaks surface tension. Texas A&M AgriLife Extension illustrates this exact bottle method for small flies and notes that eliminating the breeding site—not trapping alone—is what finishes the job (Texas A&M AgriLife Extension).

Completed DIY soda bottle funnel fly trap hanging outdoors on a patio

Why a Soda Bottle Trap Beats Swatting (for Some Flies)

Fly swatters work for the occasional intruder, but they do not touch eggs and larvae in a forgotten trash liner, a compost bin, or pet waste. Aerosol sprays can knock down adults fast indoors, yet repeated indoor spraying raises exposure concerns; a 2016 review in Frontiers in Public Health highlighted growing evidence linking chemical pesticide use to human health risks and called for safer agricultural and home practices (Frontiers in Public Health).

A homemade bottle trap sits in the middle: no broadcast chemicals, reusable materials, and steady adult capture while you hunt the source. It will not replace cleaning. It will buy you quieter evenings and tell you whether your bait choice matches the fly species in the room.

For fruit-fly-heavy kitchens, also see our guide to DIY fruit fly traps. For a broader indoor trap comparison, read four DIY fly traps that use what you have.

Know Your Fly Before You Pick the Bait

Trap geometry is forgiving. Bait is not. The inverted soda bottle catches anything that enters and cannot climb back out—but only if the smell matches what that fly is seeking.

House Flies vs Fruit Flies vs Drain Flies

House flies (Musca domestica) are the chunky gray flies about 1/5 to 1/3 inch long with four dark thorax stripes and sponging mouthparts adapted for liquid foods on surfaces (LSU AgCenter). They breed in decaying organic matter—garbage, manure, compost, and spilled pet food—and can complete a generation in as few as seven days at 95 °F, versus about 45 days at 60 °F (Texas A&M AgriLife Extension). Sweet or fermenting baits may catch a curious house fly, but protein and decay odors outperform vinegar for this species outdoors.

Fruit flies (vinegar flies, family Drosophilidae) are tiny—roughly 1/8 inch—with reddish eyes and a stubborn attraction to fermentation: overripe fruit, cider vinegar, wine dregs, and the yeasty slime in drains and recycling (Texas A&M AgriLife Extension). The soda-bottle funnel with apple cider vinegar and dish soap is one of the most reliable fruit-fly setups extension guides photograph.

Drain flies (moth flies) are fuzzy, weak fliers near sinks and floor drains. They breed in the bacterial film inside pipes. A vinegar trap may catch stragglers, but scrubbing the drain is the fix—not sweeter bait.

Spend thirty seconds on identification before you pour liquid. If you are unsure, set two bottles side by side: one with cider vinegar, one with a pinch of canned fish or raw shrimp scrap outdoors. Whichever fills first tells you what you are dealing with.

What You’ll Need

Tools for Cutting and Hanging

  • Serrated kitchen knife or sturdy scissors — a sharp blade cuts PET plastic cleanly; dull scissors crack the bottle.
  • Permanent marker — marks the cut line below the shoulder.
  • Cutting board — protects counters from slip cuts.
  • Hole punch or awl (optional) — for wire hanger holes through both plastic layers.
  • Wire, twine, or a zip tie (optional) — to hang the trap away from food prep zones.

Materials and Bait Options

  • Empty 2-liter soda bottle (1.5-liter works; wider base holds more bait).
  • Liquid bait matched to fly type (recipes below).
  • Liquid dish soap — two to three drops per trap; more is not better.
  • Tape (optional) — secures a loose funnel if the neck fit is sloppy.

You do not need the bottle cap. Leave it off so scent escapes up the funnel.

Step-by-Step: Build the Bottle Funnel Trap

Texas A&M AgriLife Extension describes this as cutting off the funnel section of a soft-drink bottle and inverting it inside the base (Texas A&M AgriLife Extension). The steps below add fit, bait, and safety details the one-line summary skips.

Mark and Cut the Bottle Neck

Place the bottle on a cutting board. Draw a line just below the tapered shoulder—where the straight sides meet the neck—using a permanent marker. A line too high makes a shallow funnel flies can walk back up; too low wastes bait volume.

Pierce the plastic with a knife tip, then saw around the bottle with a serrated blade, rotating the bottle as you cut. Scissors work on thinner bottles if you make a starter slit first. Trim ragged edges so flies do not land on plastic burrs instead of entering the funnel.

Assemble the Inverted Funnel

Remove the cut top, flip it upside down, and slide the neck into the base so it looks like a rain funnel sitting inside a cylinder. The neck opening should hang an inch or two above where the bait liquid will sit—flies need room to enter, then drown below.

If the funnel wobbles, tape the rim to the base or pinch the plastic slightly. A snug fit matters outdoors in wind.

Plastic soda bottle with inverted funnel top assembled for a homemade fly trap

Add Bait and a Few Drops of Dish Soap

Pour 1 to 2 inches of bait into the bottom—enough to drown flies, not so full that liquid touches the funnel tip (which can create a bridge for escape artists).

Add two or three drops of dish soap and swirl gently. Dish soap is a surfactant: it collapses the water’s surface tension so flies cannot skate on top and fly away. Texas A&M’s fruit-fly bowl trap uses the same principle (Texas A&M AgriLife Extension). Avoid half a teaspoon—thick foam can repel insects or let them land on bubbles.

Lower the funnel in place. Test stability before you hang it.

Best Baits for Indoor vs Outdoor Traps

The competitor DIY pages list honey, syrup, and vinegar as interchangeable. Field comparisons tell a different story: container shape matters less than bait chemistry, especially for large outdoor flies (The Art of Doing Stuff).

Sweet and Fermenting Baits for Kitchen and Patio

Use these for fruit flies and for occasional house flies near food waste:

Bait mixHow to prepareBest for
Apple cider vinegar + 2 drops soapFill 1 inch in base; unpasteurized cider smells strongerFruit flies indoors
50/50 sugar water + pinch of yeastWarm water dissolves sugar; yeast boosts fermentation in 24 hoursFruit flies, some house flies on patio
Overripe banana or peach scrapMash a thumb-sized piece in ½ cup water + soapHeavy fruit-fly pressure
Red wine or beer dregsLast inch from the bottle + soapParty cleanup, patio tables
Honey or maple syrup swirlThin with warm water so it is not glue-thickSweet-lure backup when vinegar fails

Replace fermenting indoor baits every two to three days before they turn rancid (Texas A&M AgriLife Extension). Gardening Know How recommends starting traps early in warm weather before populations explode (Gardening Know How).

Without apple cider vinegar? Use any row above—sugar water with yeast, wine, or overripe fruit. White vinegar is weaker for fruit flies but acceptable in a pinch.

Overripe fruit and fermenting produce used as sweet bait for bottle fly traps

Protein Baits for Yard, Barn, and Compost Flies

Outdoors, house flies and blow flies orient toward decaying protein—pet waste, compost, fish, meat scraps. Sweet indoor baits often catch zero large flies in yard tests while a small piece of raw shrimp in water fills a jar in days (The Art of Doing Stuff).

Outdoor protein options:

  • Raw shrimp tail or fish scrap in 2 inches of water + soap — top performer in side-by-side backyard tests.
  • Canned cat food or fish oil — teaspoon mashed into water; extremely odorous; keep far from doors.
  • Chicken or meat trimmings — small pieces only; never use where pets can reach the trap.

Expect maggots inside a full outdoor trap within a week—that is trapped flies laying eggs on the bait. It is disgusting and effective. Plan disposal before you hang it.

Never use meat or fish bait indoors unless you enjoy replacing your kitchen air with landfill aroma.

Soapy water bait in a shallow dish beside dish soap for drowning flies on contact

Where to Hang Your Trap (and Where Not To)

Yes—fly traps attract flies. That is the point. A baited bottle pulls insects from a radius around the trap. Place it wrong and you invite flies toward the back door, the grill, or the fruit bowl.

Do hang:

  • Downwind and 15 to 30 feet from doorways you want protected—lure flies away from entries.
  • Near confirmed breeding zones outdoors: compost bins, garbage cans, chicken coops, dog run perimeters (LSU AgCenter).
  • On patios at shoulder height or above for protein baits—reduces smell at nose level (The Art of Doing Stuff).
  • Within 12 inches of indoor fruit-fly activity—counter edge near the bananas, not across the room.

Do not hang:

  • Directly above food prep surfaces, pet bowls, or dining tables.
  • Inside a closed room with no breeding source— you may catch a few strays but miss the real problem elsewhere.
  • Beside an open window without screens—flies enter faster than the trap removes them.

For porch and patio season, pair traps with the exclusion habits in things I do to keep flies away in summer.

Outdoor soda bottle fly trap hung downwind from a back door near compost and garbage bins

Empty, Refresh, and Dispose Safely

Indoor vinegar traps: empty every 3 to 5 days or when full of flies. Rinse the base, refresh bait, reuse the bottle until plastic cracks.

Outdoor protein traps: empty every 5 to 7 days or sooner in heat. A trap so packed with flies that it muffles the shrimp smell still works—but disposal gets worse daily.

Disposal method:

  1. Cap is already off; slide a plastic bag over the entire trap without tipping.
  2. Twist the bag closed at the neck wire or bottle top.
  3. Place in an outdoor garbage bin with a tight lid—not indoor kitchen trash.

Wash hands after handling. Keep traps out of reach of children and pets; soapy vinegar is less toxic than commercial fly bait, but open meat lures are not pet-safe.

Do not pour bait down the kitchen sink in large quantities—it can feed drain-fly biofilm.

When DIY Traps Are Not Enough

Bottle traps are monitoring and adult-reduction tools, not structural control. Texas A&M notes bait traps alone rarely provide adequate fly control; they help pinpoint problems while you eliminate breeding sites (Texas A&M AgriLife Extension).

Call a stronger response when:

  • Dozens of house flies appear daily after trash removal and deep cleaning—check neighbors’ bins, compost, or animal waste within a half mile (Texas A&M AgriLife Extension).
  • Flies return within 48 hours of emptying traps—breeding material remains hidden (cracked tile under appliances, liner under the bin, forgotten lunch in a backpack).
  • Restaurant or childcare settings need documented pest management—open DIY baits may not meet health codes.
  • Drain flies persist after pipe scrubbing—professional plumbing or biofilm treatment may be required.

LSU AgCenter lists sticky traps, UV light traps, and exclusion as cultural controls for house flies in agricultural settings; indoors, screens and swatters still matter (LSU AgCenter).

Stop Flies at the Source

Traps catch adults; sanitation stops the cycle. House flies lay up to 75 to 150 eggs per batch and hundreds over a lifetime on moist decaying material (LSU AgCenter). Remove that material and the trap becomes a mop-up tool instead of a permanent fixture.

High-impact habits:

  • Line trash cans, rinse recyclables, and take kitchen garbage out before fruit flies breed (life cycle as short as eight to ten days in warmth) (Texas A&M AgriLife Extension).
  • Refrigerate ripening produce; toss bruised fruit the same day.
  • Rinse pet food bowls and pick up yard waste within 24 hours in fly season.
  • Turn compost weekly; bury fresh scraps in the center so they are not exposed on top.
  • Repair torn window screens and install door sweeps—exclusion beats trapping at the threshold (LSU AgCenter).

Repellent scents—lemongrass, lavender, eucalyptus, cinnamon, citronella—may reduce fly landings on porches when used in diffusers or diluted sprays near (not on) food areas. They do not kill flies or remove breeding sites. Think of them as a complement to traps and cleaning, not a replacement.

Set the first outdoor protein trap a few days before sustained warm weather if you had fly pressure last year—catching adults early slows the summer curve (Gardening Know How).

Conclusion

An empty soda bottle, a clean cut below the shoulder, and the right bait turn into a funnel trap that catches fruit flies indoors and house flies outdoors—if you match lure to species. Use cider vinegar and dish soap for kitchen vinegar flies; use shrimp or fish-scented protein bait for yard and compost flies. Hang traps away from doors, refresh bait before it rots, and bag the whole unit for disposal when maggots appear.

The bottle is the easy part. Finding and removing what the flies are breeding in is what keeps them gone. Run the trap while you clean, screen, and compost smarter—and read our fruit fly trap guide or indoor fly trap roundup when the species in your kitchen does not match this bait chart.

Frequently asked questions

Can I make a fly trap without apple cider vinegar?

Yes. For fruit flies, substitute sugar water with a pinch of yeast, red wine or beer dregs, honey thinned with warm water, or mashed overripe banana in the bottle base—always add two to three drops of dish soap. For large house flies outdoors, skip vinegar entirely and use a protein bait such as raw shrimp, canned fish, or meat trimmings in water. Vinegar is excellent for fermentation-loving fruit flies but unreliable as the sole lure for house flies.

Why do you put dish soap in a fly trap?

Dish soap is a surfactant that breaks water surface tension. Without it, flies can land on the bait liquid, rest on the surface, and fly away. With two or three drops mixed in, they sink and drown on contact. Use only a few drops—excess soap creates foam that can let insects land on bubbles instead of drowning.

Do homemade fly traps attract more flies to my house?

They attract flies to the trap itself, which is intentional. A baited bottle draws insects from the area around it—sometimes 15 to 30 feet or more outdoors. Place traps downwind and away from doorways, dining areas, and pet food so you lure flies away from living spaces rather than toward them. Indoors, position fruit-fly traps within a foot of the infestation, not beside an open screenless window.

How often should I empty a soda bottle fly trap?

Refresh indoor vinegar or sugar baits every three to five days, or sooner if the liquid is cloudy or full of flies. Outdoor protein traps need emptying every five to seven days in warm weather—often sooner if maggots appear. Slip a bag over the entire trap, seal it, and discard in an outdoor garbage bin with a tight lid. Rinse and rebait reusable bottles; replace cracked plastic.

Why is my soda bottle fly trap not catching anything?

The three most common causes are wrong fly identification, weak or stale bait, and poor placement. Fruit flies need fermenting sweet bait near the source; house flies outdoors often ignore vinegar and need protein bait. Replace bait every few days indoors and move the trap within 12 inches of active flies. If catches stay at zero after 48 hours with fresh bait, you likely have a breeding site—garbage, compost, drain film, or pet waste—that must be cleaned; trapping alone cannot outpace new adults emerging from hidden material.

How the "DIY Fly Trap From a Soda Bottle: Step-by-Step" guide is reviewed?

Editorial policyReview board

Written by · Reviewed by LeafyPixels Review Board · Updated September 2, 2026

This "DIY Fly Trap From a Soda Bottle: Step-by-Step" guide was researched and written by . Recommendations in the "DIY Fly Trap From a Soda Bottle: Step-by-Step" guide are checked against multiple independent references before publication.

We prioritize sources that hold up under scrutiny:

  • University cooperative extension bulletins and fact sheets (Penn State, Clemson, UMD, NC State, and similar programs)
  • Botanical garden and horticultural society publications
  • Peer-reviewed plant science and veterinary toxicology references where pet safety matters (including ASPCA Animal Poison Control)
  • Established reference works on indoor plant culture

The LeafyPixels editorial team then reviews the draft for clarity, step-by-step usefulness, and fit with real apartment and home conditions-not ideal greenhouse setups. When guidance changes materially, we update the page and note the revision date.


Sources used

  1. Frontiers in Public Health (n.d.) Fpubh.2016.00148. [Online]. Available at: https://doi.org/10.3389/fpubh.2016.00148 (Accessed: 2 September 2026).
  2. Gardening Know How (n.d.) Controlling Fruit Flies. [Online]. Available at: https://www.gardeningknowhow.com/plant-problems/pests/insects/controlling-fruit-flies.htm (Accessed: 2 September 2026).
  3. LSU AgCenter (n.d.) Page1669656019180. [Online]. Available at: https://www.lsuagcenter.com/articles/page1669656019180 (Accessed: 2 September 2026).
  4. Texas A&M AgriLife Extension (n.d.) Indoor Flies And Their Control. [Online]. Available at: https://agrilifeextension.tamu.edu/library/insects/indoor-flies-and-their-control/ (Accessed: 2 September 2026).
  5. The Art of Doing Stuff (n.d.) The Best Homemade Flytrap And It Probably Isnt The One You See All Over Pinterest. [Online]. Available at: https://www.theartofdoingstuff.com/the-best-homemade-flytrap-and-it-probably-isnt-the-one-you-see-all-over-pinterest/ (Accessed: 2 September 2026).