To understand the microbial diversity and community composition within the main constructive tree species, Picea crassifolia, Betula platyphylla, and Pinus tabuliformis, in Helan Mountain and their response to changes in soil physicochemical factors, a high throughput sequencing technology was used to analyze the bacterial and fungal diversity and community structure. RDA (Redundancy Analysis) and Pearson correlation analysis were used to explore the influence of soil physicochemical factors on microbial community construction, and co-occurrence network analysis was conducted on the microbial communities. The results showed that the fungal and bacterial diversity was highest in B. platyphylla, and lowest in P. crassifolia. Additionally, the fungal/bacterial richness was greatest in the rhizosphere soils of P. tabuliformis and B. platyphylla. RDA and Pearson correlation analysis revealed that NN (nitrate nitrogen) and AP (available phosphorus) were the main determining factors of the bacterial community, while NN and SOC (soil water content) were the main determining factors of the fungal community. Pearson correlation analysis between soil physicochemical factors and the alpha diversity of the microbial communities revealed a significant positive correlation between pH and the bacterial and fungal diversity, while SOC, TN (total nitrogen), AP, and AN (available nitrogen) were significantly negatively correlated with the bacterial and fungal diversity. Co-occurrence network analysis revealed that the soil bacterial communities exhibit richer network nodes, edges, greater diversity, and greater network connectivity. Indicating that bacterial communities exhibit more complex and stable interaction patterns in soil. This study reveals the complex interactive relationship between microbial communities and soil physicochemical factors in forest ecosystems. By analyzing the response of rhizosphere microbial communities of major tree species in Helan Mountain to nutrient dynamics and pH changes, we can deepen our understanding of the role of microorganisms in regulating ecosystem functions and provide theoretical basis for soil improvement and ecological restoration strategies.