Fruit Fly Feeding Habits
Fruit flies are attracted to yeast resulting from the initial decomposition of plant materials. Sap flows, overripe produce and mushrooms are also foods of choice for fruit flies. The common fruit fly attacks and punctures the skin of overripe fruit and vegetables in order to lay eggs and feed.
Adult flies are most active during warm, bright days and feed upon the surfaces of fruits, leaves, plant secretions and honeydew produced by aphids. During the preoviposition feeding stage, adult fruit flies spend time feeding on fruits, vegetables and other decaying materials.
Following this phase, the female fruit fly places her eggs beneath the skins of fruits. Fruit fly larvae feed on the surface of decaying masses within which they are laid. Larvae are often present in the blemished and overripened areas of fresh fruits and vegetables.