Genotype-by-genotype interactions demonstrate the existence of variation upon which selection acts in host–parasite systems at respective resistance and infection loci. These interactions can potentially be modified by environmental factors, which would entail that different genotypes are selected under different environmental conditions. In the current study, we checked for a G × G × E interaction in the context of average temperature and the genotypes of asexual lines of the endoparasitoid wasp Lysiphlebus fabarum and isolates of Hamiltonella defensa, a protective secondary endosymbiont of the wasp's host, the black bean aphid Aphis fabae. We exposed genetically identical aphids harbouring different isolates of H. defensa to three asexual lines of the parasitoid and measured parasitism success under three different temperatures (15, 22 and 29 °C). Although there was clear evidence for increased susceptibility to parasitoids at the highest average temperature and a strong G × G interaction between the host's symbionts and the parasitoids, no modifying effect of temperature, that is, no significant G × G × E interaction, was detected. This robustness of the observed specificity suggests that the relative fitness of different parasitoid genotypes on hosts protected by particular symbionts remains uncomplicated by spatial or temporal variation in temperature, which should facilitate biological control strategies.