Injecting hydrogen into subsurface environments could provide seasonal energy storage, but understanding of technical feasibility is limited as large-scale demonstrations are scarce. Now, field tests show that hydrogen can be stored and microbially converted to methane in a depleted underground hydrocarbon reservoir.