The beer fly, Drosophila melanogaster, occasionally becomes a pest in homes, restaurants, fruit markets or similar places containing food sources.
Due to their small size, it is practically impossible to exclude them from buildings. Although Drosophila melanogaster flies can transmit pathogens to plants and animals, their importance is primarily the annoyance caused by their presence.
The Drosophila melanogaster is cosmopolitan and attracted to fresh and fermenting fruits and vegetables. Beer flies are also attracted to sugary substances, as well as sticky and moist areas.