Seriously, they seem to come out of thin air, don’t they?

And try and squash one of them?

Good luck with that!

Stone fruit in bowl

Credit: Getty Images

Here’s how to make a fruit fly trap that will have them gone in no time.

What Causes Fruit Flies

These tiny pests are more than annoying.

Why It’s Hard To Get Rid Of Fruit Flies

Turns out fruit flies are escape artists.

They have around 270-degree vision, so they can see what is coming at them from almost any angle.

They have the ability to calculate the angle of your attack and will plan their escape accordingly.

Scientists figured this out due to a resting fruit fly repositioning its legs when it senses an attack.

Not bad for a brain that’s smaller than that of ahouse fly.

Considering all of this aeronautical prowess, how do you get rid of them?

Fruit flies are attracted to the smell of overripe fruit.

It helps to keep your environment fresh.

How To Set A Fruit Fly Trap

This all-natural fruit fly trap is a game changer.

Gather together your supplies and follow our easy instructions tocontrol the fruit fliesthat are plaguing your kitchen.

The longer it sits, it will lose potency and they won’t be attracted to it.

One of your strategies can be olfactory.

Fruit flies cant stand the smell of basil, peppermint, eucalyptus, lemongrass, lavender, and clove.

You could also buy them in essential oil form and use them in a diffuser.

Other methods of prevention include the following:

University of Kentucky Department of Entomology.Fruit Flies.

NIH National Library of Medicine.Catching more flies with vinegar.