
Fruit Fly (Vinegar Fly)
Drosophila melanogaster
A tiny tan fly with bright red eyes that seems to appear from nowhere the moment a piece of fruit begins to overripen or a splash of wine is left uncovered.
- Size
- 2-4 mm long
- Habitat
- Kitchens, orchards, vineyards, and anywhere overripe or fermenting fruit is present, worldwide
- Danger
- Nuisance pest
Spotted a bug like this?
Identify any bug or insect from a photo, free.
Overview
The common fruit fly, Drosophila melanogaster, is likely the most extensively studied insect in scientific history thanks to its short generation time and simple genetics, but outside the laboratory it is simply a small, fast-breeding fly drawn to fermenting sugars. It has spread to nearly every part of the world alongside human food distribution.
Also called the vinegar fly, this species is attracted less to fresh fruit itself and more to the yeast and bacteria that grow on fruit as it begins to ferment, which is why fruit flies so often appear around ripening bananas, wine glasses, and open containers of vinegar.
Because of its remarkably fast life cycle, a fruit fly population can seem to appear suddenly and grow quickly around any available source of fermenting organic material, whether in a kitchen, market, or orchard.
How to Identify
- Tiny body, only 2-4 mm long
- Tan to yellowish-brown coloring
- Bright red compound eyes
- Clear wings held flat over the body
- Faint dark banding visible at the tip of the abdomen in males
- Weak, fluttering flight
- Lookalikes: drain flies are fuzzier with broad, moth-like wings, while fruit flies are smooth-bodied with narrower clear wings and distinctive red eyes
Habitat & Range
Fruit flies are found nearly worldwide, especially indoors around kitchens, produce markets, wineries, and breweries, and outdoors around orchards, vineyards, and compost piles where fruit is fermenting. They are most abundant during warm weather when fermentation occurs readily.
Behavior & Diet
Adults are strongly attracted to the odor of fermenting or overripe fruit and other sugary, yeasty liquids, feeding primarily on the yeast and microorganisms growing on the decaying material rather than on the fruit's flesh itself. Their extremely short generation time allows populations to expand rapidly wherever a suitable food source persists.
Life Cycle
Eggs are laid directly on fermenting fruit or other moist organic matter. Larvae feed on the yeast and microbes present in the rotting material for about four to five days before pupating nearby. Under warm conditions, an adult can emerge roughly eight to ten days after the egg was laid, and many overlapping generations occur throughout the year wherever suitable food is continuously available.
Frequently asked questions
What attracts fruit flies to a kitchen?
They are drawn to the yeast and fermentation occurring on overripe fruit, spilled juice, wine, or vinegar rather than to fresh produce itself.
How fast can fruit flies reproduce?
Under warm conditions a new generation can develop from egg to adult in about eight to ten days, allowing populations to grow quickly.
How can you tell fruit flies apart from drain flies?
Fruit flies have a smooth body, narrow clear wings, and red eyes, while drain flies are fuzzy with broad, moth-like wings.
Why is Drosophila melanogaster important in science?
Its short life cycle and simple genetics have made it one of the most widely used model organisms in genetics research for over a century.
Fruit Fly (Vinegar Fly) guides
In-depth guides for identifying, understanding, and living alongside Fruit Fly (Vinegar Fly).
Other bugs you may enjoy

Aphid Midge
Gardens, greenhouses, and crops with aphids

Yellow Fever Mosquito
Urban and peri-urban areas near small artificial water containers in tropical and subtropical regions worldwide
Root Maggot
Garden and field soil around the roots of cole crops and other vegetables

Tachinid Fly
Gardens, meadows, and woodlands wherever host caterpillars and other insects occur
Tsetse Fly
Wooded savanna, riverine thickets, and forest edges across sub-Saharan Africa

Anopheles Mosquito
Clean, still or slow-moving freshwater habitats such as marshes, ponds, and rice paddies

Screwworm Fly
Warm, humid lowlands of the Americas, especially near livestock and wildlife wounds
Soldier Fly
Wetland margins, decaying organic matter, and vegetation near water

Asian Tiger Mosquito
Shaded urban and suburban areas near small water-holding containers, tires, and tree holes; native to Southeast Asia, now widespread

Vinegar Fly
Around overripe fruit, compost, and fermenting materials worldwide
Punkie
near marshes, mudflats, ponds, and other standing water

Yellow Dung Fly
Pastures and fields with fresh cattle dung