Here we show that a bacterial endosymbiont, Regiella insecticola, protects pea aphids (Acyrthosiphon pisum) from the aphid-specific fungal entomopathogen Zoophthora occidentalis but not from the generalist insect fungal pathogen Beauveria bassiana. This finding highlights the complex influence of fungi on the dynamics of this economically important agricultural pest.