How to Make a Fruit Fly Trap

It doesn’t matter where you live, but at this time of year, you can find yourself inundated with fruit flies around the back yard and the kitchen.

The problem can be even worse if you have a chicken coop.

There are many ways that suffers try to eliminate these pecky flies, and it can be much easier than you think when you follow some simple instructions.

How to get rid of Fruit Fly

Here we will look at how to make a homemade fruit fly trap, and how to make some homemade fly spray.

Homemade Fruit Fly Trap

To catch fruit flies, you may think it is the sweetness of fruit that attracts them. However, this isn’t exactly the case.

While they do like the sweetness of fruit, it is the fruit breaking down that they enjoy. It is this action in the fruit that enables us to devise a trap to catch fruit flies.

When fruit breaks down, it begins fermenting as it slowly decomposes. Because of this, these flies are attracted to beer, wine and ciders.

These are all fermented and fit the bill for what attracts these flies.

These flies for whatever reason, are drawn toward vinegar more than anything else. Here are the instructions you need to follow to make a fruit fly trap, DIY version that is very effective.

DIY Fruit Fly Trap

What you Need

  1. A small jar with cap or plastic wrap
  2. Rubber bands
  3. A small amount of liquid soap
  4. Apple Cider Vinegar

The way to make this is very straightforward.

  1. Add a little of the vinegar to the bottom of the jar
  2. Add a couple of drops of dish soap onto the vinegar
  3. Cover with the cap or sandwich wrap
  4. Place a rubber band around plastic to hold it in position
  5. Poke small holes into the top of the plastic wrap

Why does this work?

  1. The flies love the smell of the vinegar. Apple cider gives a fruitier aroma, which drives them crazy.
  2. Where you poke holes, they will crawl inside to get to the vinegar
  3. The dish soap you added acts as a glue, so they are unable to get away from the surface of the vinegar
  4. Even if they are still able to fly, they are unable to find their way out of the holes in the lid.
  5. The flies die inside the jar

This is one of the most effective ways to get rid of fruit flies, and even if you purchase a store model, it is the same ingredients and components.

Alternative DIY Fly Traps

Things you need:

  • 1/2 cup of milk
  • 2 teaspoons of granulated sugar
  • One dash liquid dish detergent
  • Cracked black pepper
  1. Add the sugar to the milk and heat on the stove
  2. Once the sugar dissolves, add the liquid detergent
  3. Pour into a small bowl and then crack black pepper across the top

This can be hard to check the effectiveness. The flies appear to be pieces of black pepper.

Guide on How to make a Fruit Fly Trap

How to Repel Fruit Flies

On some occasions, you may need to know how to repel fruit flies rather than catch them.
Luckily, this can be as easy as making your own DIY fly spray. While it doesn’t kill them like a regular insecticide, it will drive them away while being less harmful for pets and family members.

Here is the recipe of what you will need to make your DIY fly repellant.

  1. 4 cups of raw apple cider
  2. 1 tablespoon of liquid soap
  3. 2 tablespoons of oil – you can use mineral oil, olive oil or canola oil
  4. 20 drops of peppermint oil
  5. 20-drops basil essential oils
  6. 20-drops of rosemary essential oil

All you need to do then is add these into a good plastic spray bottle. You can use these in any areas where a trap is of little use.

You can spray it in your chicken runs, in your barn, or anywhere there is a problem with animals. It may take a couple of sprays throughout the day, but it is strong and very effective as a form of pest control. (Read What Do Baby Lizards Eat)

If you use it on animals such as goats, horses, or cattle, they will be thankful for the relief from swishing their tails all day.

If you can’t find the above essential oils, many other oil blends are equally as effective. You can swap any of these for any of the following:

  • Lavender oils
  • Tea tree oil
  • Pine oil
  • Citronella
  • Thyme

You can mix and match any of these to see which is the most effective. You should be cautious with citronella and not use this in enclosed environments where there are pets of family members.

If using the method with the plastic cover, you may wish to empty these, and some of the flies trapped are not dead.

Tossing this waste mixture into the trash means the flies can escape. The ideal way is to dig a small hole, pour the waste into the hole, and cover it quickly.

By the time the flies realize, it will be too late, and you will have covered them. (Learn How to Grow a Lemon Tree from Seed)


Keeping flies out of your home can be easier than you think with some easy to make DIY methods.

In many cases, they are more effective than store-bought variants and cost pennies compared to dollars.

The other upside is that these won’t cause any harm to your home or your family. While they do kill or repel the flies, nasty chemicals do not do it.

For a flytrap, this is the closest you can get to being organic.

Got Bees? Learn how to get rid of sweat bees and carpenter bees here.

How to Make a Fruit Fly Trap

Leave a Comment

Your email address will not be published.