(Drosophila spp.) The adults are attracted to the odors produced by decaying fruits and vegetables. The eggs are laid directly on the food and the larvae hatch soon after. They can complete their life cycle in 5 to 10 days. Adults live for about 30 days. There are several generation per year.
Refrigerate or discard over-ripe fruit and vegetables, cover all garbage. Inspect for breeding sites inside and outside. Vinegar placed in a shallow pan overnight will trap adults.