This post may contain affiliate links. Please read our disclosure policy.

Say goodbye to fruit flies with this easy and non-toxic tried and true method!

DIY gnat trap on a wood table.
Save This Recipe!
Just enter your email and get it sent to your inbox! Plus you’ll get new recipes from us every week!

Homemade Fruit Fly Trap

I hate fruit flies. They are such pests! They have to be one of the most annoying insects because they multiply and can be hard to eradicate.

When a bout of these pesky bugs pop up, I immediately make a fruit fly trap, and within a few hours, they are all gone. I’m sharing my go-to trap in case you also need quick, easy, and natural pest control.

Strawberries laying out on paper towels.

Ingredients

  • 16-ounce jar – I used a pint-size mason jar with a regular mouth opening, but any similarly sized jar will work like a clean empty jam, spaghetti sauce, or pickle jar.
  • 1 cup apple cider vinegar – you can also use fruit juice, honey water, or make a mixture of yeast, sugar & water.
  • 3 drops liquid dish soap – any brand or scent
  • 8.5 x 11-inch piece of paper I used white copy paper, but any type of paper that is similar in size will work. If you have a funnel with a wider tip, that may work as well. 
  • tape or a stapler to secure the cone shape of the paper
Dozens of gnats floating at the bottom of a glass mason jar.

How to Make a Fruit Fly Trap

  1. CONE. Create a cone with 1 piece of 8.5×11 paper, making it smaller at the base and wider up top.
    • Make sure it’s wide enough that the paper sits about halfway in the (16-ounce) mason jar. Tape the paper so it stays in a cone shape.
  2. MIXTURE. Remove the cone from the jar and add about 1 cup of apple cider vinegar. Squeeze about 3 drops of dish soap into the jar and stir to mix.
    • Microwave the jar for about 20-30 seconds. This will make the smell of the mixture more potent, drawing the flies in more quickly.
  3. ASSEMBLE. Add the cone and place it in a spot where the fruit flies have been.

Alternative Method

The paper cone method is my favorite and I have great results. I have also seen people successfully poke holes in the lid of the jar and screw the lid on. Another idea is to secure a piece of plastic wrap on the top of the jar with a rubber band, then poke a few tiny holes in it. 

DIY gnat trap on a wood table.
5 from 20 votes

DIY Fruit Fly Trap {Gnat Trap}

By: Lil’ Luna
This DIY fruit fly trap literally takes 2 minutes to put together and works AWESOME! Say goodbye to fruit flies!
Servings: 1 trap
Prep: 2 minutes
Cook: 2 minutes
Total: 4 minutes

Ingredients 

  • 1 (16-ounce) mason jar or any similar sized glass jar
  • 1 cup apple cider vinegar
  • 3 drops liquid dish soap
  • 1 piece paper 8.5×11
  • tape

Instructions 

  • Create a cone with 1ย pieceย of 8.5×11 paper, making it smaller at the base and wider up top.
  • Make sure it's wide enough that the paper sits about halfway in the (16-ounce) mason jar. Tape the paper so it stays in a cone shape.
  • Remove the cone from the jar and add about 1 cup of apple cider vinegar. Squeeze about 3 drops of dish soap into the jar and stir to mix.
  • Microwave the jar for about 20-30 seconds. This will make the smell of the mixture more potent, drawing the flies in more quickly.
  • Add the cone and place it in a spot where the fruit flies have been.

Video

Notes

To clean out the jar after you’ve caught fruit flies:

  • Take the jar outside before removing the cone, that way any insects that may still be able to fly won’t escape back into your house.
  • I usually pour the contents into the rocks I have outside and then spray it with the hose. You can also pour the contents down the drain.
  • Either way, rinse the empty jar with hot soapy water.

Nutrition information is automatically calculated, so should only be used as an approximation.

FAQs

  • The apple cider vinegar attracts the fruit flies towards the scent and the dish soap’s purpose is to break the surface tension of the vinegar so the flies can’t sit on top of the liquid.
  • The inverted cone made out of paper is what traps them because the wide top and small bottom make it easy for the flies to enter the jar, and harder for them to get back out once they’re in!
  • Since they can’t get out, and they can’t sit on the surface of the liquid, it’s only a matter of time before they meet their end. (Unfortunate for them, but a victory for us and our fruit!)
  • Throw out overripe or rotting fruit in the trash, or compost it.
  • Take out the garbage regularly.
  • Keep your sink and garbage disposal clear.
  • Store ripe fruits and vegetables in the fridge instead of a fruit bowl.
  • Fruit flies don’t like fresh basil so keep a fresh basil plant in the kitchen or place fresh basil leaves around the fruit basket. 
  • Plants that can be kept in your kitchen that repel flies, fungus gnats, and even mosquitoes are rosemary, mint, sage, catnip, and lavender.
  • There is a way to catch and release. Instead of using vinegar and a bit of dish soap, place overripe fruit in the jar and top with the paper cone. A few flies may be able to find their way back through the cone, but most will stay in the jar. You can then release them outside.
  • If the flies are attracted to the trap but aren’t getting stuck inside, try adjusting the size of the cone. If the tip is too small they may not go all the way down inside. If the tip is too large, they can more easily escape.

For More How To Articles:

About Kristyn

My name is Kristyn and Iโ€™m the mom of SIX stinkinโ€™ cute kids and the wife to my smokinโ€™ hot hubby, Lo. My momโ€™s maiden name is Luna, and Iโ€™m one of the many crafty โ€œLilโ€™ Lunasโ€ in the fam. On this site I like to share all things creative - from recipes to home decor to gifts and home decor ideas. Welcome!

So Easy & So Yummy

Get my cookbook!

My new cookbook is the ultimate resource for feeding your friends and family with 200+ simple recipes including videos, tips & more!

5 from 20 votes (4 ratings without comment)

Leave a comment

Your email address will not be published. Required fields are marked *

Recipe Rating




40 Comments

  1. Kristen M says:

    5 stars
    Brilliant! I’ve tried traps without the cone and without the dish detergent, but this combination is the one that works. Heating the jar a little also seemed to draw them immediately. 12 hours later with three strategically placed traps, there are very few fruit flies left after a major infestation. I’ll keep the traps out for a while longer to make sure they’re all gone. Thanks for these directions!

    1. Lil'Luna Team says:

      You’re welcome! Glad to hear they helped!

  2. Jessica says:

    5 stars
    This works!! I was able to rid my kitchen of these annoying pesks. Give it a try!

    1. Lil'Luna Team says:

      Yay! So glad to hear it worked for you.

  3. Joy says:

    5 stars
    This works every time!! It’s the only thing I do to trap fruit flies!! It’s the easiest thing to make & I am always amazed at how many flies are in the jar!

  4. Ali says:

    5 stars
    This fruit fly trap is the best! My kids are always leaving fruit out on the counter (especially the cutie oranges) and I’m not always home to put them away in the fridge so they’re out of the reach of the gnats. I wish my kids could just put away their food like I ask them to but this “trap” has been a lifesaver and takes care of that so I don’t come home to a swarming mess!