Using operando electrochemical processes, we found a way to restore oxygen-redox active materials exhibiting structural and voltage decay to their pristine state, providing a framework for the design of functional materials with zero thermal expansion.