Fruit fly pests (Diptera: Tephritidae) are a serious problem for fruit production and for local and international trade. Biological control is increasingly included as a pest control tool within integrated pest management (IPM) programmes, seeking to reduce pesticides and improve fruit quality. Ceratitis capitata Wiedemann, the Mediterranean fruit fly (medfly), is probably the most damaging fruit fly pest, with a global distribution and more than 200 host species. The solitary larval endoparasitoid Diachasmimorpha longicaudata Ashmead (Hymenoptera: Braconidae) is a biocontrol agent widely used against Tephritidae fruit fly pests. Previous studies showed that female wasps locate host larvae using visual, mechanical, and chemical cues. Here, we investigated the chemical basis of female parasitoid attraction to cues that guide D. longicaudata to the host, and thus unveil volatile organic compounds that might be used in IPM programmes. Female orientation to chemical cues was tested in a Y‐tube olfactometer, where attraction to C. capitata‐infested oranges, oranges with residues of larval activity, oranges infected with a green mould, and overripe oranges was confirmed. Volatiles from all these types of fruit were collected and used in gas chromatography‐electroantennographic detection (GC‐EAD) and GC‐mass spectrometry (MS) analyses. These studies allowed us to identify six candidate compounds that were present in all treated oranges but not in the control fruit (ripe and uninfested oranges): D‐limonene, acetophenone, linalool, nonanal, decanal, and eugenol. Electroantennography (EAG) showed that acetophenone, nonanal, and decanal triggered dose‐dependent responses, suggesting a relevant role in the process of host finding. Although responses to D‐limonene, linalool, and eugenol were independent of the dose, they could be involved in host location in areas with high probability of host presence. The fact that these six compounds are shared by the four behaviourally attractive sources opens new possibilities for the development of novel tools to improve biocontrol programmes.