Male Drosophila erecta fruit flies require the scent of fermenting fruit to trigger mating behavior, a biological dependency that separates them from their close relatives. While other fruit fly species may use food odors as a helpful cue, D. erecta males remain uninterested in courtship unless a specific olfactory signal is present.
The role of environmental cues in mating
Researchers at The Rockefeller University found that D. erecta relies on a combination of social and ecological inputs to initiate courtship. When placed in large assay chambers with a central patch of apple cider vinegar (ACV) on agar, the flies mimic the conditions of a fermenting fruit in the wild.
While D. erecta shares the same conserved neural circuitry as other closely related Drosophila species, it’s unique among them in that its brain requires an additional environmental input—the aroma of food—to activate neurons promoting sexual arousal,
Philipp Brand, first author and research group leader at the Max Planck Institute for Brain Research
Without the scent of ACV, male D. erecta flies remain largely stationary, showing no interest in their surroundings or potential mates. However, the introduction of the scent causes a dramatic behavioral shift.

As soon as food is there, it becomes a very vigorous interaction between all of the flies,
Philipp Brand, first author and research group leader at the Max Planck Institute for Brain Research
Comparing species-specific thresholds
The study, published in Nature, highlights that Drosophila melanogaster and other related species do not share this strict requirement. These species treat food odour as helpful but not essential. This suggests that while the neural circuitry for mating is conserved across species, the sensitivity to olfactory input is tuned differently based on ecological pressure.
The research indicates that D. erecta does not possess an entirely new arousal pathway. Instead, the species has evolved to use olfactory information as a strict gate that adjusts the weight of visual cues.
Drosophila courtship behaviors are really beautifully tuned to the environment, which is especially interesting in light of fruit flies not being considered a social species,
Vanessa Ruta, lab head at The Rockefeller University
Moving flies stimulate visual arousal in males
Beyond the presence of food, the physical movement of other flies is critical for arousal. As flies cluster on a food source, the motion of nearby individuals increases the visual activity sweeping across a male’s retina. This creates a multisensory feedback loop where the flies are not just feeding, but actively changing each other’s sensory environment.
The observation of courtship and social behaviors in flies has occurred in this very abstracted environment,
Vanessa Ruta, lab head at The Rockefeller University
By using virtual reality setups where flies walk on air-supported balls, researchers observed that the P1 and LC10a neurons—which are known to guide courtship pursuit—were only activated in D. erecta when food odor was present.
This study nicely demonstrates an emerging principle: that courtship is shaped by ecological and social context and can‘t really be divorced from it. Intuitively, it makes a lot of sense. We humans are very sensitive to how we respond to others depending on social context, so it’s not surprising that other animals have evolved to do the same.
Vanessa Ruta, lab head at The Rockefeller University
Reframing courtship as a social practice
The researchers noted that moving away from stripped-down laboratory settings provides a more accurate view of how these behaviors function in nature. In the wild, hundreds of flies congregate on fruit, creating a high-density environment that influences individual mating success.
While the exact neural relay from smell to arousal remains a subject of ongoing investigation, the findings establish that for D. erecta, reproduction is deeply embedded in its immediate ecological context. D. erecta matings occurred on the ACV patch, demonstrating that the food source acts as a hub for social and reproductive activity.