Abstract:[Objective] To discover the diversity of endophytic fungi and establish its germplasm bank in mangrove plants of the Beibu Gulf of Guangxi, and provide the theoretical basis for using the endophytic fungi biotechnology to promote agricultural sustainable development. [Methods] Mangrove tissue samples were collected from Beibu Gulf, the fungi were isolated by surface disinfection method and screened by determining whether the isolates were pathogenic to the host plants, and the endophytic fungi were classified and identified according to the morphological characteristics and molecular biological analyses. [Results] The results showed that 1 764 isolates were obtained from 60 mangrove plant tissue samples, and 41 endophytic fungi were screened by pathogenicity test. The isolation rate of endophytic fungi was 2.3%. Among them, 15 endophytic fungi were isolated from the host plant Rhizophora stylosa, accounting for 36.6% of the total strains with the highest proportion. The results showed that these endophytic fungi were clustered into seven branches both in ITS-NJ and NS-NJ phylogenetic trees, belonging to 8 families/orders. Mycosphaerella, Devriesia, Pseudosercospora, Cladosporium and Pleosporales are the dominant fungi of mangrove in Guangxi. [Conclusion] There is a wide variety of fungal species in mangrove plants of Beibu Gulf, Guangxi.