C-terminally encoded peptides (CEPs) are small secreted signaling peptides that promote nitrogen-fixing root nodulation symbiosis in legumes, depending on soil mineral nitrogen availability.1 In Medicago truncatula, their action is mediated by the leucine-rich repeat receptor-like protein kinase COMPACT ROOT ARCHITECTURE 2 (CRA2).2,3,4 Like most land plants, under inorganic phosphate limitation, M.truncatula establishes another root endosymbiotic interaction with arbuscular fungi, the arbuscular mycorrhizal symbiosis (AMS). Because this interaction is beneficial for the plant but has a high energetic cost, it is tightly controlled by host plants to limit fungal infections mainly depending on phosphate availability.5 We show in this study that the expression of a subset of CEP-encoding genes is enhanced in the low-phosphate conditions and that overexpression of the low-phosphate-induced MtCEP1 gene, previously shown to promote the nitrogen-fixing root nodulation symbiosis, enhances AMS from the initial entry point of the fungi. Conversely, a loss-of-function mutation of the CRA2 receptor required for mediating CEP peptide action2 decreases the endomycorrhizal interaction from the same initial fungal entry stage. Transcriptomic analyses revealed that the cra2 mutant is negatively affected in the regulation of key phosphate transport and response genes as well as in the biosynthesis of strigolactone hormones that are required for establishing AMS. Accordingly, strigolactone contents were drastically decreased in cra2 mutant roots. Overall, we showed that the CEP/CRA2 pathway promotes both root nodulation and AMS in legume plants, depending on soil mineral nutrient availability.