Aspilia grazielae(J. U. Santos) is an endemic plant species in Morro do Urucum in the Pantanal wetland (Brazil).A. grazielaeis used for the restoration of areas impacted by iron mining activities. This study evaluates the diversity (composition, value and abundance) of endophytic fungal communities, considering parts of the plant and soil condition. The leaves and roots ofA. grazielaewere collected from native vegetation areas (NVA) and recovery areas (RCA) in Morro do Urucum. Illumina sequencing technology was used to investigate variation in endophytic fungal biodiversity. The operational taxonomic units detected in NVA ranged from 183 to 263 (leaf) and 115 to 285 (root), while RCA samples ranged from 200 to 282 (leaf) and 156 to 348 (root). Ascomycota phylum was the most common species among all plant samples. The most significant classes identified were Lecanoromycetes and Dothideomycetes that differed significantly (p≤ 0.05) according to their plant hosts and soil stress. The relative abundance ofPestalotiopsis(Sordariomycetes class) andStereocaulon(Lecanoromycetes class) genera was influenced by the iron mining activities according to the leaf samples analysed. However, the abundance and wealth of endophytic fungal communities inA. grazielaefrom RCA were evidence that could explain their high resilience to environmental disturbances and the source-sink dynamics of fungal propagules.