Heavy-metal stress shapes habitat-specific microbial survival strategies in estuarine environments.
Estuarine ecosystems face increasing heavy metal pollution from rapid urbanization and industrialization, yet the microbial adaptive strategies to multiple metal stressors across different habitats remain poorly understood. This study investigated the diversity and composition of bacterial and fungal communities across free-living (FL), particle-attached (PA), and sediment (SE) fractions from three estuaries with varying heavy metal contamination, and further investigated functional adaptations of bacterial communities. High-throughput amplicon sequencing revealed habitat-specific communities, with SE hosting the highest alpha diversity and enrichment of metal-resistant genera such as Woeseia and Sva1033. Environmental filtering, particularly by Zn, was the dominant driver shaping bacterial assemblages across all habitats, whereas fungal communities displayed greater stochastic assembly patterns. Analysis of 44 high-quality bacterial metagenome-assembled genomes (MAGs) revealed diverse metal resistance genes (cusA, znuB, and zntA), along with enriched metabolic pathways for carbon, nitrogen, and sulfur cycling. Notably, both active efflux/oxidative stress defense and indirect immobilization mechanisms were observed across all habitats, but their relative importance differed: FL and PA communities exhibited a greater reliance on active metal efflux (czcAB) and oxidative stress defense (trxAB) to maintain intracellular homeostasis, whereas SE communities displayed a stronger genomic potential for sulfate reduction (dsrAB) that may contribute to metal immobilization through sulfide precipitation. This metabolic partitioning highlights the complementary roles of different habitats in mediating metal toxicity and biogeochemical cycling, providing new insights into microbial resilience in polluted estuaries and underscoring the urgency of addressing heavy-metal contamination in these critical ecosystems.