Changes in soil bacterial communities, which are crucial for the assessment of ecological restoration in Chinese plantations, have never been studied in the “Three North Shelterbelt” project in the semi-arid areas. We used high-throughput sequencing of the 16S rDNA gene to investigate the soil bacterial community diversity, structure, and functional characteristics in three plantation forests, including Populus × canadensis Moench (PC), Pinus sylvestris var. mongolica (PS), and Pinus tabuliformis (PT). In addition, soil environment factors were measured. There were distinct differences in soil characteristics among different plantation forests. Compared to PS and PT, PC had a higher soil pH, dissolved organic carbon (DOC), and available P, as well as a lower C/N ratio. Furthermore, afforestation with different tree species significantly altered the abundance of Proteobacteria, and Chloroflexi in the soil, and its influence on the bacterial diversity indices. The bacterial community compositions and functional groups related to C and N cycling from PS, and PT were grouped tightly, indicating that the soil bacterial phylogenetic distance of PS and PT were closer than that between PS plus PT and PC. Our results implied that the soil characteristics, as well as the diversity, compositions and functions related to C and N cycling of soil bacterial community obviously differed from the following afforestation, especially between PC and PS plus PT, which in turn enormously established the correlation between the soil microbial community characteristics and the afforestation tree species.