There are all-in-one fruit fly traps you can buy and set out. These are nontoxic because they use technology to bait, trap and banish fruit flies from your home without using poison. They can be expensive, but they get the job done. There are also disposable fruit fly traps on the market that don’t use toxic chemicals. There are also sticky stake traps that you can put in your houseplants. They attract and trap fruit flies, mites, mosquitoes and other pests and can be used inside or outside.
A morbidly fun activity is zapping the airborne flies with a bug-zapper racket. A plus side of a bug racket is that it works on all types of insects, so you can use them for mosquitoes, house flies and the like as well as fruit flies.