Mercury (Hg) methylation in mangrove sediments can result in the accumulation of neurotoxic methylmercury (MeHg). Identification of Hg methyltransferase gene hgcA provides the means to directly characterize the microbial Hg-methylating consortia in environments. Hitherto, the microbial Hg-methylating community in mangrove sediments was scarcely investigated. An effort to assess the diversity and abundance of hgcA genes and transcripts and link them to Hg and MeHg contents was made in the mangrove intertidal sediments along the urbanized Shenzhen Bay, China. The hgcA genes and transcripts associated with Thermodesulfobacteria [mainly Geobacteraceae, Syntrophorhabdaceae, Desulfobacterales, and Desulfarculales (these four lineages were previously classified into the Deltaproteobacteria taxon)], as well as Euryarchaeota (mainly Methanomicrobia and Theionarchaea) dominated the hgcA-harboring communities, while Chloroflexota, Nitrospirota, Planctomycetota, and Lentisphaerota-like hgcA sequences accounted for a small proportion. The hgcA genes appeared in greater abundance and diversity than their transcript counterparts in each sampling site. Correlation analysis demonstrated that the MeHg content rather than Hg content significantly correlated with the structure of the existent/active hgcA-harboring community and the abundance of hgcA genes/transcripts. These findings provide better insights into the microbial Hg methylation drivers in mangrove sediments, which could be helpful for understanding the MeHg biotransformation therein.