Background and aimsMercury (Hg) contamination poses severe human and environmental health risks. We aimed to evaluate the colonization of Hg-contaminated sites by native plants and the prokaryotic composition of rhizosphere soil communities of the dominant plant species.MethodsA field study was conducted at a Hg-contaminated site in Romania. Metal concentrations in soil and plant samples were analyzed using portable X-ray fluorescence spectrometry. The prokaryotic composition of rhizosphere soil communities was determined through 16S rRNA amplicon sequencing and community functionality was predicted through PICRUSt2.ResultsSite-specific trace metal distribution across the site drove plant species distribution in the highly contaminated soil, with Lotus tenuis and Diplotaxis muralis associated with higher Hg concentrations. In addition, for the bacterial communities in the rhizosphere soil of D. muralis, there was no observable decrease in alpha diversity with increasing soil Hg levels. Notably, Actinomycetota had an average of 24% relative abundance in the rhizosphere communities that also tested positive for the presence of merA, whereas in the absence of merA the phylum’s relative abundance was approximately 2%. merA positive rhizosphere communities also displayed an inferred increase in ABC transporters.ConclusionsThe results suggest a dependence of species-wise plant survival on local trace metal levels in soil, as well as an intricate interplay of the latter with rhizosphere bacterial diversity. Knowledge of these interdependencies could have implications for phytoremediation stakeholders, as it may allow for the selection of plant species and appropriate soil microbial inoculates with elevated Hg tolerance.