Abstract:[Objective]In order to study the microorganisms on the surface of the ancient stones in Yungang Grottoes and nearby rock samples,a rapid microbial detection assay was designed.[Methods] The microbial community composition from the rock samples of the Yungang Grottoes and nearby was analyzed by PCR-DGGE. [Results] According to the phylogenetic analysis,the microbes from the rock samples of Yungang Grottoes were divided into four groups: Gammaproteobacteria,Sphingobacteria,Alpha-proteobacter and Actinobacteria. By aligning the sequencing results in GenBank,Gamma-proteobacteria,Firmicutes and Alpha-proteobacter were found in the rock samples near Yungang Grottoes.[Conclusion] Our research successfully detected the microbial community composition on the surface of the rock samples in and near the Yungang Grottoes,which brought us significant theoretical basis for the future protection of the Yungang Grottoes. We also proved that the combination of DGGE and molecular cloning was a useful,rapid and accurate method for detecting the microbial community composition on stone relics.