Fruit flies appear from nowhere, and it is not very pleasant when they invade you home. Nut, below you have 5 handy tricks to get rid of fruit flies around the fruit basket and your home.

Apple cider vinegar trap
Put apple cider vinegar in a container with a funnel inside. The funnel can be also made of paper.
Instead of the funnel, you can also use a plastic foil where you can make some small holes in it.
Fruit flies will be attracted by the smell of apple vinegar, will enter the container, but will not be able to get out.

Red wine trap
Use the same trap, but instead of vinegar, use red wine. You will find them inside, floating, because they’ll get drunk, of course.

Apple cider vinegar and dish detergent trap
In a container put 30 ml of apple cider vinegar then add a few drops of dishwashing detergent. Mix the solution very well.
The flavor of vinegar will attract the flies, and the dish detergent will no longer allow them to get out of the trap.
Also put the funnel or perforated plastic foil on this container, too.

Vinegar trap and a piece of fruit
Put a piece of fruit (apple for example) in a container, and add warm apple cider vinegar over it. Put the funnel or perforated plastic foil over tit.
Fruit flies will be attracted by the flavor of these two delicacies.

Milk, sugar and pepper trap
In 1850, this method was used by farmers.

Mix milk with sugar and pepper in a saucepan, and put it on medium-high heat. After the sugar melts, reduce the heat and let it boil for another 10 minutes.
Put the solution in small containers then spread these containers over your house. Fruit flies will come to taste but they won’t be able to get out of the trap.
The mixture is dense and sticky for them.

Image Credits: Healthandlovepage and Care2