A hydrogen-oxygen regenerative fuel cell (RFC) energy storage system based on high temperature solid oxide fuel cell (SOFC) technology is described. The reactants are stored as gases in lightweight insulated pressure vessels. The product water is stored as a liquid in saturated equilibrium with the fuel gas. The system functions as a secondary battery and is applicable to darkside energy storage for solar photovoltaics.