Lignin, as an abundant organic carbon, plays a vital role in the global carbon cycle. However, our understanding of the global lignin‐degrading microbiome remains elusive. The greatest barrier has been absence of a comprehensive and accurate functional gene database. Here, we first developed a curated functional gene database (LCdb) for metagenomic profiling of lignin degrading microbial consortia. Via the LCdb, we draw a clear picture describing the global biogeography of communities with lignin‐degrading potential. They exhibit clear niche differentiation at the levels of taxonomy and functional traits. The terrestrial microbiomes showed the highest diversity, yet the lowest correlations. In particular, there were few correlations between genes involved in aerobic and anaerobic degradation pathways, showing a clear functional redundancy property. In contrast, enhanced correlations, especially closer inter‐connections between anaerobic and aerobic groups, were observed in aquatic consortia in response to the lower diversity. Specifically, dypB and dypA, are widespread on Earth, indicating their essential roles in lignin depolymerization. Estuarine and marine consortia featured the laccase and mnsod genes, respectively. Notably, the roles of archaea in lignin degradation were revealed in marine ecosystems. Environmental factors strongly influenced functional traits, but weakly shaped taxonomic groups. Null mode analysis further verified that composition of functional traits was deterministic, while taxonomic composition was highly stochastic, demonstrating that the environment selects functional genes rather than taxonomic groups. Our study not only develops a useful tool to study lignin degrading microbial communities via metagenome sequencing but also advances our understanding of ecological traits of these global microbiomes.