Various persistent organic pollutants (POPs) including estrogens are often enriched in mangrove regions. This research investigated the estrogens pollution levels in six mangroves located in the Southern China. The estrogen levels were found to be in the range of 5.3–24.9 ng/g dry weight, suggesting that these mangroves had been seriously contaminated. The bacterial communities under estrogen stress were further enriched by supplementing 17β-estradiol (E2) as the sole carbon source. The enriched bacterial communities showed an excellent E2 degradation capacity > 95 %. These communities were able to transform E2 into estrone (E1), 4-hydroxy-estrone, and keto-estrone, etc. 16 S rDNA sequencing and metagenomics analysis revealed that bacterial taxa Oleiagrimonas, Pseudomonas, Terrimonas, and Nitratireductor etc. were the main contributors to estrogen degradation. Moreover, the genes involved in E2 degradation were enriched in the microbial communities, including the genes encoding 17β-hydroxysteroid dehydrogenase, estrone 4-hydroxylase, etc. Finally, the analyses of functional genes and binning genomes demonstrated that E2 was degraded by bacterial communities via dehydrogenation into E1 by 17β-hydroxysteroid dehydrogenase. E1 was then catabolically converted to 3aα-H-4α(3′-propanoate)− 7aβ-methylhexahydro-1,5-indanedione via 4,5-seco pathway. Alternatively, E1 could also be hydroxylated to keto-estrone, followed by B-ring cleavage. This study provides novel insights into the biodegradation of E2 by the bacterial communities in estrogen-contaminated mangroves.