In the development of lithium–air batteries, managing the phase change between gaseous oxygen and crystalline lithium peroxide is a key challenge. Now, a high-performing sealed battery with an oxygen anion-redox electrode is presented that does not involve any gas evolution.