Chinese pine (Pinus tabulaeformisCarr.) is widely planted for restoration in destroyed ecosystems of the Loess Plateau in China. Although soil microbial communities are important subsurface components of the terrestrial ecosystems, little is known about fungal and bacterial communities in the rhizosphere of planted and naturalP. tabulaeformisforests in the region. In this study, fungal and bacterial communities in the rhizosphere ofP. tabulaeformiswere analyzed by nested PCR-DGGE (denaturing gradient gel electrophoresis). Diversity analysis revealed that the values of the Shannon-Wiener index (H) and the Simpson index (D) of fungal communities were higher in natural secondary forests than in plantations except for the 3-year-old site. Moreover, the values of species richness,H, andDof the bacterial communities were also higher in the former. Totally, 18 fungal and 19 bacterial DGGE band types were successfully retrieved and sequenced. The dominant fungi in the rhizosphere ofP. tabulaeformisbelonged to the phylum of Basidiomycota, while the dominant bacteria belonged to the phylum of Proteobacteria. Principal component analysis indicated that fungal and bacterial species were more unitary in plantations than in natural secondary forests, and the majority of them were more likely to appear in the latter. Correlation analysis showed no significant correlation between the fungal and bacterial community diversities.