The study investigated whether nitrogen‑fixing rhizobial symbiosis in Medicago truncatula primes defense against the pea aphid Acyrthosiphon pisum. Metabolite profiling (LC‑MS, GC‑MS) and qPCR revealed that symbiotic plants uniquely accumulated triterpenoid saponins and up‑regulated flavonoid‑biosynthetic genes after aphid infestation, suggesting that NFS enhances pest‑specific defenses.