In the Sanqi-Pinus armandii system, the alpha-diversity of rare nitrogen-fixing bacteria and network complexity are the primary drivers of increased soil multifunctionality in Sanqi and pine soils, respectively.