Originally reported November 11, 2026.
For Drosophila erecta, the smell of food appears to do more than draw flies to a meal. In laboratory experiments described in a study published in Nature, an odor associated with fermenting fruit helped male flies begin—and sustain—courtship.

In the wild, D. erecta depends heavily on the fruit of Pandanus candelabrum: females lay eggs on it, and larvae feed on its flesh. The fruit ripens during a window of roughly two to four months each year. Researchers investigated whether food odors might help the flies time their reproductive behavior, comparing them with the less specialized fruit fly D. melanogaster.

In one test, researchers placed five males and five females on a dish for 40 minutes. With apple cider vinegar added to a small patch of agar, more than 90% of D. erecta mating occurred near that patch. Without the vinegar, the researchers observed no mating during the test. Pandanus fruit pulp produced a similar contrast. D. melanogaster, by comparison, mated with or without the vinegar.

Odor did not seem to work merely by bringing potential mates together. When researchers confined five males and five females to a container less than four centimeters across, D. erecta still showed little courtship without the vinegar. With it, males actively searched: in another experiment, they repeatedly approached fly-sized black beads and, on encountering an immobilized female substituted for a bead, began courting her.

The researchers also tested visual cues and neural circuits involved in courtship. In D. erecta, stimulation of those circuits produced only a short-lived response without the food odor; courtship persisted when the odor was present. Moving visual dots could further increase courtship, particularly when their movement was faster. The researchers propose that food odor and nearby activity together amplify the flies’ response during a limited breeding window. How the odor changes the underlying neural circuitry remains unresolved. These are findings from fly experiments, not evidence for an equivalent effect in humans.



