To elucidate soil bacterial network interactions within Pinus sylvestris var. mongolica plantations in the Hulunbuir Desert. P. sylvestris plantations representing three different age groups (25 a, 34 a, and 43 a) and two soil layers (0-10 and 10-20 cm) were selected to assess their soil bacterial networks using molecular ecological network analysis and data from a referenced grassland. The numbers of network edges increased, the average path length reduced from 25 a to 43 a. While the number of network edges reduced and the average path length increased with soil layers from 0-10 cm to 10-20 cm. Compared with the grassland, the P. sylvestris plantations had a lower network edge, and the soil bacterial network was less complicated. The soil bacteria were found to belong to the Acidimicrobiales, RB41, and MB-A2-108 in the 25 a plantation, Gaiellales in the 34 a plantation, and Gaiellales, RB41, Subgroup_7, Subgroup_6, and DA101_soil_group in the 43 a plantation, Latescibacteria in the grassland. The soil bacterial network was significantly positively correlated with ammonia nitrogen, total nitrogen, microbial carbon content, and urease activities and significantly negatively correlated with invertase and catalase activities, soil water content and available phosphorus (P < 0.05). The soil organic matter had both positive and negative effects (P < 0.05). The soil bacterial network complexity and compactness increased from 25 a to 43 a. The opposite was found for the soil layers from 0-10 cm to 10-20 cm. Compared with the grassland, the soil bacterial network of the P. sylvestris plantation was less complicated. The keystone soil bacteria species were different among the three stand ages, and were greatest in stand 43 a. There were more keystone species in the plantation than the grassland. Soil physicochemical properties and enzymatic activity derived the soil bacterial network, and soil organic matter was the major influencing factor. This improved information contributed to a deep understanding of the soil bacterial community and provided a scientific and technological basis for the sustainable management of P. sylvestris plantations in the Hulunbuir Desert.