ABSTRACT: The South China Sea (SCS), the largest marginal sea in the Western Pacific Ocean, is a huge oligotrophic water body with very limited influx of nitrogenous nutrients. This suggests that sediment microbial N(2) fixation plays an important role in the production of bioavailable nitrogen. To test the molecular underpinning of this hypothesis, the diversity, abundance, biogeographical distribution, and community structure of the sediment diazotrophic microbiota were investigated at 12 sampling sites, including estuarine, coastal, offshore, deep-sea, and methane hydrate reservoirs or their prospective areas by targeting nifH and some other functional biomarker genes. Diverse and novel nifH sequences were obtained, significantly extending the evolutionary complexity of extant nifH genes. Statistical analyses indicate that sediment in situ temperature is the most significant environmental factor influencing the abundance, community structure, and spatial distribution of the sediment nifH-harboring microbial assemblages in the northern SCS (nSCS). The significantly positive correlation of the sediment pore water NH(4)(+) concentration with the nifH gene abundance suggests that the nSCS sediment nifH-harboring microbiota is active in N(2) fixation and NH(4)(+) production. Several other environmental factors, including sediment pore water PO(4)(3-) concentration, sediment organic carbon, nitrogen and phosphorus levels, etc., are also important in influencing the community structure, spatial distribution, or abundance of the nifH-harboring microbial assemblages. We also confirmed that the nifH genes encoded by archaeal diazotrophs in the ANME-2c subgroup occur exclusively in the deep-sea methane seep areas, providing for the possibility to develop ANME-2c nifH genes as a diagnostic tool for deep-sea methane hydrate reservoir discovery.