In the mating behaviour of Aphidius ervi Haliday the antennae play a pivotal role in partner recognition and acceptance. Mating failure was always observed when antennal contact was experimentally prevented. The male of A. ervi has filiform antennae, consisting of scape, pedicel and 18-20 cylindrical antennomeres (flagellar segments), which bear numerous types of sensory structures and, interspersed among the multiporous plate sensilla, especially on the 1th and 2nd flagellar segments, scattered pores. A secretion oozes from these pores in virgin males exposed to conspecific females. Transmission electron microscopy revealed that these pores are the external openings of integumentary glands. Behavioural and morpho-functional observations indicated that a double step sex recognition mechanism is present in A. ervi, as in other parasitic Hymenoptera. Basically, female recognition by males appears to be mediated by a volatile sex pheromone, that triggers the behavioural sequence leading to mounting. Then, the female recognizes and accepts the male after antennal contact. This is mediated by the secretion that oozes from the male antennal glands, which acts as a contact pheromone.