The diversification of macro-organisms over the last 500 million years often coincided with the development of new environmental niches. Microbial diversification over the last 4 billion years likely followed similar patterns. However, linkages between environmental settings and microbial ecology have so far not been described from the ancient rock record. In this study, we investigated carbon, nitrogen, and molybdenum isotopes, and iron speciation in five non-marine stratigraphic units of the Neoarchean Fortescue Group, Western Australia, that are similar in age (2.78-2.72 Ga) but differ in their hydro-geologic setting. Our data suggest that the felsic-dominated and hydrologically open lakes of the Bellary and Hardey formations were probably dominated by methanogenesis (δ C = -38.7 ± 4.2‰) and biologic N fixation (δ N =-0.6 ± 1.0‰), whereas the Mt. Roe, Tumbiana and Kylena Formations, with more mafic siliciclastic sediments, preserve evidence of methanotrophy (δ C as low as -57.4‰, δ C as low as -9.2‰) and NH loss under alkaline conditions. Evidence of oxygenic photosynthesis is recorded only in the closed evaporitic Tumbiana lakes marked by abundant stromatolites, limited evidence of Fe and S cycling, fractionated Mo isotopes (δ Mo = +0.4 ± 0.4‰), and the widest range in δ C (-57‰ to -15‰), suggesting oxidative processes and multiple carbon fixation pathways. Methanotrophy in the three mafic settings was probably coupled to a combination of oxidants, including O and SO . Overall, our results may indicate that early microbial evolution on the Precambrian Earth was in part influenced by geological parameters. We speculate that expanding habitats, such as those linked to continental growth, may have been an important factor in the evolution of life.