Fruit flies lay their eggs near the surface of fermenting foods or other moist, organic materials. Upon emerging, the tiny larvae continue to feed near the surface of the fermenting mass. This surface-feeding characteristic of the larvae is significant in that damaged or over-ripened portions of fruits and vegetables can be cut away without having to discard the remainder for fear of retaining any developing larvae. The reproductive potential of fruit flies is enormous; given the opportunity, they will lay about 500 eggs. The entire lifecycle from egg to adult can be completed in about a week.
Fruit flies are especially attracted to ripened fruits and vegetables in the kitchen. But they also will breed in drains, garbage disposals, empty bottles and cans, trash containers, mops and cleaning rags. All that is needed for development is a moist film of fermenting material. Infestations can originate from over-ripened fruits or vegetables that were previously infested and brought into the home. The adults can also fly in from outside through inadequately screened windows and doors.
Fruit flies are primarily nuisance pests. However, they also have the potential to contaminate food with bacteria and other disease-producing organisms.