Municipal landfills are hot spots of dynamic bioprocesses facilitated by complex interactions of a multifaceted microbiome, whose functioning in municipal landfills at different maturing stages is poorly understood. This study determined bacterial community composition, interaction conetworks, metabolic functions, and controlling physicochemical properties in two landfills aged 14 and 36 years. High throughput sequencing revealed a similar distribution of bacterial diversity, evenness, and richness in the 14‐ and 36‐year‐old landfills in the 0–90 cm depth. At deeper layers (120–150 cm), the 14‐year‐old landfill had significantly greater bacterial diversity and richness indicating that it is a more active microcosm than the 36‐year‐old landfill, where phylum Epsilonbacteraeota was overwhelmingly dominant. The taxonomic and functional diversity in the 14‐year‐old landfill was further reflected by the abundant presence of indicator genera Pseudomonas,Lutispora,Hydrogenspora, and Sulfurimonas coupled with the presence of biomarker enzymes associated with carbon (C), nitrogen (N), and sulfur (S) metabolism. Furthermore, canonical correspondence analysis revealed that bacteria in the 14‐year‐old landfill were positively correlated with high C, N, S, and phosphorus resulting in positive cooccurrence interactions. In the 36‐year‐old landfill, negative coexclusion interactions populated by members of N fixing Rhizobiales were dominant, with metabolic functions and biomarker enzymes predicting significant N fixation that, as indicated by interaction network, potentially inhibited ammonia‐intolerant bacteria. Overall, our findings show that diverse bacterial community in the 14‐year‐old landfill was dominated by copiotrophs associated with positive conetworks, whereas the 36‐year‐old landfill was dominated by lithotrophs linked to coexclusion interactions that greatly reduced bacterial diversity and richness.