Previous research has found total mercury (THg) and methylmercury (MeHg) levels increase with litterfall decay, thus suggesting litterfall decomposition plays an essential role in the biogeochemical transformation of mercury (Hg). However, it remains unclear how Hg accumulates in the decaying litter, how bacterial taxa networks vary and what roles various microorganisms play during litterfall decomposition, especially nitrogen (N)-fixing, MeHg-degrading and Hg-methylating microbes. Here, we demonstrated as degradation proceeded, a gradually-complex network evolved for litterfall bacteria for the subtropical mixed broadleaf-conifer (MBC) forest, whereas a relatively static network existed for the evergreen broadleaf (EB) forest. N-fixing and MeHg-degrading bacteria dominated throughout litterfall decomposition process, with relative abundances of N-fixing genera and nifH copies maximum and relative abundances of MeHg-degrading bacteria and merAB copies minimum in summer. Hence, N-fixing bacteria likely mediate THg increase in the decomposing litterfall, while MeHg enhancement may be regulated by aerobic MeHg-degrading microbes which can transform MeHg to inorganic divalent Hg (Hg2+) or further to elemental Hg (Hg0). Together, this work elucidates variations of N-fixing and MeHg-degrading microbes in decaying litterfall and their relationships with Hg accumulation, providing novel insights into understanding the biogeochemical cycle of Hg in the forest ecosystem.