Host-parasite interactions represent complex co-evolving systems in which genetic variation within a species can significantly affect selective pressure on traits in the other (for example via inter-species indirect genetic effects). While often viewed as a two-species interaction between host and parasite species, some systems are more complex due to the involvement of symbionts in the host that influence its immunity, enemies of the host, and the parasite through intraguild predation. However, it remains unclear what the joint effects of intraguild predation, defensive endosymbiosis, within-species genetic variation and indirect genetic effects on host immunity are. We have addressed this question in an important agricultural pest system, the pea aphid Acyrthosiphon pisum, which shows significant intraspecific variability in immunity to the parasitoid wasp Aphidius ervi due to immunity conferring endosymbiotic bacteria. In a complex experiment involving a quantitative genetic design of the parasitoid, two ecologically different aphid lineages and the aphid lion Chrysoperla carnea as an intraguild predator, we demonstrate that aphid immunity is affected by intraspecific genetic variation in the parasitoid and the aphid, as well as by associated differences in the defensive endosymbiont communities. Using 16s rRNA sequencing, we identified secondary symbionts that differed between the lineages. We further show that aphid lineages differ in their altruistic behaviour once parasitised whereby infested aphids move away from the clonal colony to facilitate predation. The outcome of these complex between-species interactions not only shape important host-parasite systems but have also implications for understanding the evolution of multitrophic interactions, and aphid biocontrol.