Specific mate communication and recognition underlies reproduction and hence speciation. Mate communication evolves during adaptation to ecological niches and makes use of social signals and habitat cues.Our study provides new insights in Drosophila melanogaster premating olfactory communication, showing that female pheromone (Z)-4-undecenal (Z4-11Al) and male pheromone cVA interact with food odour in a sex-specific manner. Furthermore, Z4-11Al, which mediates upwind flight attraction in both sexes, also elicits courtship in experienced males.Twin variants of the olfactory receptor Or69a are co-expressed in the same olfactory sensory neurons, and feed into the same glomerulus in the antennal lobe. Z4-11Al is perceived via Or69aB, while the food odorant (R)-linalool is a main ligand for the other variant, Or69aA. That Z4-11Al mediates courtship in experienced males, not (R)- linalool, is probably due to courtship learning. Behavioural discrimination is reflected by calcium imaging of the antennal lobe, showing distinct glomerular activation patterns by these two compounds.Male sex pheromone cVA is known to affect male and female courtship at close range, but does not elicit upwind flight attraction as a single compound, in to contrast to Z4-11Al. A blend of cVA and the food odour vinegar attracted females, while a blend of female pheromone Z4-11Al and vinegar attracted males instead.Sex-specific upwind flight attraction to blends of food volatiles and male and female pheromone, respectively, adds a new element to Drosophila olfactory premating communication and is an unambiguous paradigm for identifying the behaviourally active components, towards a more complete concept of food-pheromone odour objects.SummaryThe female-produced, species-specific volatile pheromone of D. melanogaster attracts both sexes from a distance, alone and in concert with food odorants, and elicits courtship in experienced males.