How to Get Rid of Fruit Flies
Fruit flies can develop anyplace where fermenting organic matter stays moist, such as a slow-moving or seldom-used sink or shower, a floor drain with buildup, or on spoiled produce. Like other flies, fruit flies develop from larvae, and fruit-fly larvae must have moist, fermenting organic matter in order to survive. Therefore, the best protection is to throw away spoiled produce and unclog drains. Then try these tips from "Martha Stewart's Homekeeping Handbook."