As the name implies, fruit flies eat fruit, particularly rotting fruit. You can stop an infestation by protecting your fruit, and you can take advantage of the fly's hunger to exterminate it.
First, get rid of their food source. Clean your kitchen and move any trash with rotting fruit outside. Refrigerate your fruit. If you have fruit that can't be refrigerated, cover it, but keep in mind that this will hold in ethylene gas, which will speed up ripening; bananas are particularly sensitive to this.
The easiest way to kill fruit flies is to get them to drown themselves. Leave a glass with a little wine or either apple cider or balsamic vinegar mixed with a drop of dish soap out overnight. The flies will smell the vinegar and think it's rotting fruit, causing them to climb into the liquid to drown. If that seems inhumane, you can build a trap using a pop bottle:
The shape of the bottle takes advantage of the insect's flight patterns, but you can also build a trap by covering a container with plastic wrap that has been perforated with a fork. The holes are large enough for the insects to land and crawl in, but small enough they won't be able to fly out.
Posted 4034 day ago