Pinus squamata is one of the most threatened conifer species in the world. It is endemic to northeastern Yunnan Province, China, and has been prioritized as a Plant Species with Extremely Small Populations (PSESP). The integrated study of soil properties and rhizosphere bacteria can assist conservation to understand the required conditions for the protection and survival of rare and endangered species. However, differences between the rhizospheric bacterial communities found in the soil surrounding P. squamata at different conservation sites remain unclear. In this study, Samples were collected from wild, ex situ, and reintroduced sites. Bacterial communities in different conservation sites of P. squamata rhizosphere soils were compared using Illumina sequencing. The soil physicochemical properties were determined, the relationships between the bacterial communities and soil physicochemical factors were analyzed, and the potential bacterial ecological functions were predicted. The reintroduced site Qiaojia (RQ) had the highest richness and diversity of bacterial community. Actinobacteria, Proteobacteria, and Acidobacteriota were the dominant phyla, and Bradyrhizobium, Mycobacterium, Acidothermus were the most abundant genera. Samples were scattered (R = 0.93, p = 0.001), indicating significant difference between the different conservation sites. The abundance of Mycobacterium differed between sites (0.01 < p ≤ 0.05), and the relative abundances of Bradyrhizobium and Acidothermus differed significantly among different sites (0.001 < p ≤ 0.01). Soil total potassium (TK) and available nitrogen (AN) were the main factors driving bacterial community at the phylum level (0.01 < p ≤ 0.05). This study generated the first insights into the diversity, compositions, and potential functions of bacterial communities associated with the rhizosphere soils of P. squamata in different conservation sites and provides a foundation to assess the effect of conservation based on bacterial diversity and plant growth-promoting rhizobacteria (PGPR) to guide future research into the conservation of P. squamata.