Abstract:[Background] The community composition of endophyes changes with species genotypes, different parts and growth environmental, while plant-related microorganisms affect plant growth, metabolism, accumulation and synthesis of chemical components, and the synthesis of active components of medicinal plants. [Objective] By studying the diversity of Paris polyphylla endophytic and soil fungal communities in different growth environments, the differential microbes were found from the garden environment and wild environment, which provided the theoretical basis for the artificial cultivation of wild medicinal plants. [Methods] Physical and chemical indexes in two soil environments were determined, and Illumina HiSeq high-throughput sequencing technique was used to determine the genes of endophytic and soil fungi communities in wild and garden environments. Bioinformatics analysis was carried out on the composition and the differences of fungal communities in different environments. [Results] The results of diversity analysis of soil and endophytic fungi showed that the abundance and diversity of fungi in wild environment were higher than garden environment. Among them, there was significant difference in the abundance of rhizosphere soil and soil fungal in the garden (P<0.05). The results of fungal community annotation showed that there were 8 phyla in the two environments, 82 gena in the wild and 78 gena in the garden. There were 4.04% unique OTU in the wild environment and 4.84% unique in the garden environment. In addition, through the LEfSe analysis, we found the significant difference biomarker from garden environment and the wild environment, Ttracladium marohalianum, Thelephorales, and Thelephoraceae was the biomarker which distinguishes the two environments. [Conclusion] The wild environment than the garden environment has higher water content, higher mineral element content, and its fungal community diversity and abundance is more abundant than the soil conditions of garden environment. The results of this study provide a theoretical basis for the change of quality and effect after introduction and cultivation of Paris polyphylla.