Learn how to DIY a fly trap that actually works using a mason jar (a soda bottle works too) and bait. These results are 100% real from my own backyard using household items and a stinky bait.

This fly trap DIY works so well outside for green bottle flies, aka blowflies, that it'll turn your stomach. How's that for an endorsement? But more than the trap, the most important thing about this DIY - is the fly trap bait.
Living in an almost 200 year old house with backyard chickens means I've learned how to control a lot of pests.
The best time to control pests is BEFORE you see pests. And I know my flies. I dried and counted hundreds of fruit flies while coming up with the best possible fruit fly traps.
Catching flies is a whole lot easier if you start baiting before they start mating.
Get your fly trap made and placed outside a couple of days before warm weather arrives to keep the population under control from day 1.
As with most pest solutions, double whammying is the best way to go. Don't use just one method. Use several. For instance, pair these fly traps with controlling flies with natural predators like parasitic wasps.
When one of my chickens became sick with flystrike, a deadly affliction caused by bottle flies, I knew I had to head into battle against them.
I made and compared a few homemade fly traps including:
- a mason jar with paper cone
- a soda bottle with the top cut off and inverted
- good old fashioned fly strips (not DIY but I had to test them out!)
The results showed the trap wasn't so much the determining factor in how well a homemade trap worked - it was the bait.
Table of Contents
Mason Jar & Paper Cone Trap
Baited with raw shrimp.

SUPPLIES
- Mason jar
- Standard sized sheet of construction paper
- 1 raw shrimp
- water
INSTRUCTIONS
- Roll a piece of paper or cardstock into a cone and tape it together.
- Put the cone into a mason jar of any size, making sure there's room at the bottom of the jar for at least 2" of water. You may need to adjust the shape of your cone.
- Add water and a single raw shrimp to the jar.
- Wait. Within a couple of days your jar will be FULL of flies.
Yep. A raw shrimp allowed to rot in the sun for days until it has the putrid smell of liquid internal organs. That was the key to a successful fly trap.

Soda Pop Bottle Fly Trap
Baited with commercial, store bought fly bait (although not THIS fly bait which actually looks kind of great. I just ordered some.)

This is the basic DIY fly catcher you see all over Pinterest.
SUPPLIES
- Plastic soda bottle
- Scissors
- Commercial fly bait
INSTRUCTIONS
- Cut the top off of the plastic pop or water bottle.
- Flip the top upside down (it'll look like a funnel) and stick it back into the bottle.
- Pour a couple of inches of water into the bottom of the trap and then bait it.
In this experiment I used I used store bought fly bait. The container is a 2 litre pop bottle. The flies can get into the bottle, but can't figure out how to get out. Then they drown.
This trap caught NO flies. Not a single one.
But it isn't the design of the trap that was flawed, it was the bait. Store bought fly bait attracted no flies at all.
Fly bait is the most important part of your fly traps.
Fly Strips
The fly strip cost a couple of dollars and dangled sadly from my window frame enticing no flies at all, just hanging there like a limp tongue.
I wanted to make sure I gave all the fly traps a good shot so I kept them all out for a week. This is how things had progressed after 4 days.
Fly Trap Results



Mason Jar with natural fly bait (shrimp) - Caught HUNDREDS of flies in 4 days
Soda bottle with commercial fly bait - Caught ZERO flies in 4 days
Fly strip - Caught 7 flies in 4 days
Would you like to save this stuff?
After 4 days it was pretty clear that the rotting shrimp was the only way to go in terms of bait.
My homemade fly trap recommendations
The trap
Either the mason jar or soda bottle method will work very well to catch flies outdoors.
The bait
Raw shrimp is your BEST choice for fly trap bait.
For this experiment I only baited the soda bottle with commercial bait (which caught nothing) but since then I've tried it successfully with shrimp as a bait. It works just as well as the mason jar with paper cone.
Testing Different Baits
I experimented with different baits including:
- Fermented chicken feed
- Raw sweet corn
- Fresh chicken poop*
- Raw shrimp*
* If you use meat, seafood or poop understand that this gives the flies a place to lay their eggs. That means if you use any of these things that after several days you will ALSO have maggots appear in your fly trap. Consider this when choosing your bait.
The rotting shrimp was the winner by a shrimpboat load.
The only issue with the enticing smell of rotting shrimp was the vile smell of rotting shrimp. If you place your container up high enough (above nose level) you miss most of the stench but given any kind of downward breeze you suddenly feel like you're walking through a rotting whale carcass.
By day 7 I was pretty sure I would have to try something else because I couldn't stand the stench of the shrimp no matter how well it worked. Then a funny thing happened. By days 8 and 9 the trap was so filled with flies they actually suffocated the smell of the shrimp. Yet somehow the stink was enough to continue to attract the flies.
By day 14 the mason jar trap was almost completely FULL of flies.

Home Fly Trap on Day 14
Because there were so many flies I couldn't smell the shrimp at all and the jar was almost full.
After 20 days it stunk again. Stunk like the guts of a hot monkey. But the stink could have been the mass grave of flies as well.

To save myself some grief and whatever happens to be in my stomach, when it comes time to remove the jar I just tie a plastic bag around my head, put a lid on the jar and throw the whole thing in the garbage.
Just kidding. I don't tie a bag on my head. I'm an excellent breath holder on account of my cat's horrific gut issues when she - coincidentally - eats seafood.
Fly trap placement
The best place to put fly traps is actually AWAY from where your fly problem is. (The dog run/chicken coop/picnic area.) The point is to draw the flies way from wherever it is they're fond of.
Top Tip
To repeat ... the best way to get rid of flies around your house is to use TWO methods.
- Parasitic wasps (really just tiny little flying things that are in no way as menacing as their name alludes to) will kill most flies before they even become flies. The wasps kill them in the larvae stage.
AND
- A DIY fly trap like this (or you can buy a similar sort of trap)
What about indoor flies?
Honestly, I just horsetail them with a kitchen towel.
But you can try this indoor fly bait recipe if you want.
Fly Bait Recipe
- ½ cup water
- ½ cup vinegar
- 2 Tbsps sugar
- 1 tablespoon dish soap (the dish soap breaks the surface tension of the water and vinegar, making the flies unable to use it as a launching pad when they fall in it)
Use either the mason jar or plastic bottle method. You can use a small water bottle instead of a large soda bottle.
Now that you've mostly eliminated one insect from your yard (totally understandable, flies are sex crazed monsters that feed on crap and then land on your corn on the cob), you might want to help out another.
Learn how to raise monarch butterflies on you property, something I've been doing for over a decade.
If you have a great fly bait recipe, leave it in the comments below. If you have a great maggot story maybe just keep that to yourself. Just kidding. Obviously, I'd love to hear the maggot stories.
→Follow me on Instagram where I often make a fool of myself←

Joe
Hi Karen
i read on this post somebody calling you a little scientist. which i agree. Therefor any suggestions on Japanese Beetles? We have tried traps, nematodes with no success, spraying at different times to eradicate the egg laying time period, pupa stage and of course grub stage. Skunks are now in looking for the grubs. If you can solve that problem i am nominating you for a Pulitzer award.
Thanks joe in Woodstock
Pamela Hancock
We use rotten eggs. Yes eggs work better than the store bought bait. But we bought the traps and just reuse them.
Yolanda
Hey Karen!
Any thoughts about feeding the dead flies (strained out of the shrimp slurry) to the chickens? Because protein.
Andrea
What if you use the plastic bottle technique with the shrimp bait? It just seems like a waste of a mason jar. Lol
Leilani
Amazing how many comments you are still getting on this article! I have to say you cracked me up the whole time too. Thank you for the laugh and the advice. Will definitely be trying something like this soon near (but not too near) our coop area!
Karen
I have a jar filling up with flies in the coop as we speak. :) Or type. Whatever. You know what I mean I'm sure. At one point earlier in the season I had 3 jars lined up on a windowsill and they were ALL full and writhing.🤢 ~ karen!
Vicki
This is gross but I use dog poop instead of shrimp to lure the flies. I have raccoons that come around and was afraid they would like shrimp. Everyone know flies can't resist poop. In the house I have a jar with apple in it along with the apple cider vinegar and brown sugar. Water to of course.
PS: If you try the poop wear gloves and still wash your hands afterwards. 😁
Karen
Yup. That'd be gross, lol!! I had 2 raw shrimps going for the past 2 weeks. And by week 2 they were both full AND started to stink. So I've started with a fresh one. I'm not sure I'd ever get brave enough to use dog poop, lol. ~ karen!
Kansas
You're funny! And helpful :)
Karen
I really am. 😑 LOL! ~ karen
Sheila Selby
Rotting shrimp huh? Well I'm up for anything that will kill s#*t flies as we call them here on the farm. Just try getting your tongue around that number sign/asterisk combo, no easy task. We're not just farmers by gawd, we're linguists.
As for the sticky traps, I buy them by the dozen and fill 'em up faster than I can hang them. I use them as a last stand when the flies have breached the no-fly zone in the goat shed. The "disgustabags" we get from the feed store and hang at the required distance apparently don't hold the same appeal as goat pebbles and milky kids.
The principal value of sticky traps is when you lure unsuspecting people into your goat shed on the pretext of "helping" with the kids. "Watch the fly traps," the obligatory disclaimer. Visitors will dutifully duck and weave their way through the fly-spotted fiesta streamers to the kidpile in the back corner. Then they forget.
First, there's the frozen moment when they feel the tug in their hair. Then the tarantula dance ensues, you know, where they try to paw it off without actually touching it. Unfortunately, the sticky tapes are equipped with nasty sharp tacks that I don't want lost in the goat bedding, so when the dance has reached a fever pitch I usually reach out and pluck the tape off instead of grabbing my phone and filming, which is why you'll just have to take my word for how much fun it is.
A little-known fact about barn flies: once trapped in your vehicle, they never leave. Four windows down at, let's say 100 km, and they are still in the truck cab, while every McDonald's napkin and piece of unopened junkmail has been sucked out in the vortex. I've taken them on a four-hour round trip to the city with me. People stare.
It's probably the sticky trap hanging from the rearview mirror.
Karen
LOL!! ~ karen
Mark
Not a very definitive post. Were you testing fly traps or fly bait? I am not sure. But when you put a different bait in each trap you have tested neither. Was number 2 a good trap with bad bait or a bad trap with good bait? To be even rudimentally scientific you need the same bait in each trap each time so three tests. You proved nothing accept that a particular combination works. But would the shrimp in the soda bottle have been even better?
Christina
My husband and I have weak stomachs, so I had to find an alternative bait. I used one of those kool-aid single serve packs in about 1/4 cup water with a dash of creamer, in an inverted water bottle. They can't resist. Granted I'm using this indoors and not in competition with chicken poo.
Karen
I'll still give it a shot! Kool aid would be SO much nicer than shrimp, lol. ~ karen!
Joe Mota
Excellent post Karen. Now if we can only figure out a way of annihiliating Japanese beetles at any stage, egg, larvae pupa and grub would be a great accomplishment. These babies do a lot of crop damage everywhere.
Melissa
I died laughing reading this post! Thank you so much for the information and the laughs
Karen
You bet! And it's actually a fantastic fly trap too! Which of course isn't as important as laughing, but hey ... it's something, lol. ~ karen!
Elna@YoNature
Now that's gross but the results are fascinating. Thanks for sharing your real experience. Cheers, Elna.
Kelly C
My mom stubbed her toe quite badly on her patio furniture. Her big toenail broke and there was a little blood. She sat down and put her foot up for awhile. Fast forward several days...her toe was throbbing so bad she couldn't sleep or walk. She went to the hospital because of the pain and they decided to remove the toenail. Well ....the doctor jumped back so fast when the nail came off and he yelled. My mom sat up to see what happened and a ton of maggots were spilling out of her big toe. A fly had landed on her toe as she sat with her foot elevated that day she stubbed it! Doctor had never seen anything like it before! Now I'm terrified of flies and will definitely try your method!
Karen
That is the most terrifying story I have ever heard. ~ karen!
Cheryl Fencl
Does anyone have anything that works for crickets? We have a horrible problem with crickets in our chicken coop.
Patricia
I love it that you do experiments to find the best possible solution for a problem. I also use this method. Thanks for all your hard work!
Louann
We just use a 2 litre plastic bottle like the coke or sprite ones. Instead of cutting the top off and inverting it like you did, you just burn some fly sized holes through the plastic in a ring around the bottle - a couple of inches from the top. We put in a few pieces of Kapenta (a dried fish) and some water. Leave it to rot like the shrimp and then it starts attracting flies. when it comes time to empty the bottle, take the lid off, tip it out, rinse it. Restock and away you go.
Elizabeth A Chase
Hi Karen! Thanks, this will help sooooo much! I don't have chickens, but I do have dogs and myself that get bothered by flies, as I live in a very wooded area. I get deer flies, or horse flies, or whatever they are; bite so hard I have a welt for days! I ended up finding some disposable traps at Walmart, no less! I hang one up & it catches all kinds of flies. Pretty soon, I can go out to garden without constantly waving my hands around like a lunatic! LOL When I run out of the fly traps I purchased last year on clearance, I will be doing this! Thanks for the great info!
As a side note, I also have wasp problems, so I tried one of those soda bottle things for wasps that I found on Pinterest, and caught zero wasps in it. I'm right there with you, girl!
LS Nelson
Why not bury the contents? It would be more religious, easier, might fertilize something nearby, and would stink less.
Marie Lybrook
Use window fly traps. Available online. You could make your own but it would be messy.