[Objective] To explore the differences and potential associations of endophytic microbial communities in different niches of chili pepper and provide a theoretical basis for the exploration and application of endophytic microbial resources in chili pepper. [Methods] The 16S rRNA and internal transcribed spacer (ITS) genes sequencing were employed to study the community structure characteristics of endophytic bacteria and fungi in different ecological niches (roots, stems, leaves, and fruits) of 91 pepper germplasm accessions, along with functio...