Around 50% of humankind relies on groundwater as a source of drinking water. Here we investigate the age, geochemistry, and microbiology of 138 groundwater samples from 95 monitoring wells (<250 m depth) located in 14 aquifers in Canada. The geochemistry and microbiology show consistent trends suggesting large-scale aerobic and anaerobic hydrogen, methane, nitrogen, and sulfur cycling carried out by diverse microbial communities. Older groundwaters, especially in aquifers with organic carbon-rich strata, contain on average more cells (up to 1.4 × 107mL−1) than younger groundwaters, challenging current estimates of subsurface cell abundances. We observe substantial concentrations of dissolved oxygen (0.52 ± 0.12 mg L−1[mean ± SE]; n = 57) in older groundwaters that seem to support aerobic metabolisms in subsurface ecosystems at an unprecedented scale. Metagenomics, oxygen isotope analyses and mixing models indicate that dark oxygen is produced in situ via microbial dismutation. We show that ancient groundwaters sustain productive communities and highlight an overlooked oxygen source in present and past subsurface ecosystems of Earth.