Plants can shape their root microbiome to promote growth and nutrient uptake. PHOSPHATE STARVATION RESPONSE 2 (OsPHR2) is a central regulator of phosphate signaling in rice, but whether OsPHR2 can shape the root microbiome to promote phosphorus uptake is unclear. Here, we investigate the role of OsPHR2 in recruiting microbiota for phosphorus uptake using high-throughput sequencing and metabolite analysis. OsPHR2-overexpressing (OsPHR2 OE) rice showed 69.8% greater shoot P uptake in natural soil compared with sterilized soil under high-phosphorus (HP) conditions, but there was only a 54.8% increase in the wild-type (WT). The abundance of the family Pseudomonadaceae was significantly enriched in OsPHR2 OE roots relative to those of WT rice. Compared with the WT, OsPHR2 OE rice had a relatively higher abundance of succinic acid and methylmalonic acid, which could stimulate the growth of Pseudomonas sp. (P6). After inoculation with P6, phosphorus uptake in WT and OsPHR2 OE rice was higher than that in uninoculated rice under low-phosphorus (LP) conditions. Taken together, our results suggest that OsPHR2 can increase phosphorus use in rice through root exudate-mediated recruitment of Pseudomonas. This finding reveals a cooperative contribution of the OsPHR2-modulated root microbiome, which is important for improving phosphorus use in agriculture.