Fruit flies and I go way back to my high school biology class and a unit on genetics. They can detect the smell of ripe fruits and vegetables from miles away. head or dive bombing any thing that could be considered edible. Even the best-maintained kitchens occasionally get a fruit fly infestation. Apple Cider Vinegar, Soap, & Plastic Wrap. In order to reduce their population, you need a few ingredients: a shallow container, apple cider vinegar, dishwashing soap, and plastic wrap. Fruit flies get brought into your home from fruits or vegetables at the market that were You can also buy fruit fly traps at better garden stores as well as online.