Soil fungal communities play a central role in natural systems and agroecosystems. As such, they have attracted significant research interest. However, the fungal microbiota of aromatic plants, such as clary sage (Salvia sclarea L.), remain unexplored. This is especially the case in trace element (TE)-polluted conditions and within the framework of phytomanagement approaches. The presence of high concentrations of TEs in soils can negatively affect not only microbial diversity and community composition but also plant establishment and growth. Hence, the objective of this study is to investigate the soil fungal and arbuscular mycorrhizal fungi (AMF) community composition and their changes over time in TE-polluted soils in the vicinity of a former lead smelter and under the cultivation of clary sage. We used Illumina MiSeq amplicon sequencing to evaluate the effects of in situ clary sage cultivation over two successive years, combined or not with exogenous AMF inoculation, on the rhizospheric soil and root fungal communities. We obtained 1239 and 569 fungal amplicon sequence variants (ASV), respectively, in the rhizospheric soil and roots of S. sclarea under TE-polluted conditions. Remarkably, 69 AMF species were detected at our experimental site, belonging to 12 AMF genera. Furthermore, the inoculation treatment significantly shaped the fungal communities in soil and increased the number of AMF ASVs in clary sage roots. In addition, clary sage cultivation over successive years could be one of the explanatory parameters for the inter-annual variation in both fungal and AMF communities in the soil and root biotopes. Our data provide new insights on fungal and AMF communities in the rhizospheric soil and roots of an aromatic plant, clary sage, grown in TE-polluted agricultural soil.