The use of biologically occurring redox centres holds a great potential in designing sustainable energy storage systems. Yet, to become practically feasible, it is critical to explore optimization strategies of biological redox compounds, along with in-depth studies regarding their underlying energy storage mechanisms. Here we report a molecular simplification strategy to tailor the redox unit of pteridine derivatives, which are essential components of ubiquitous electron transfer proteins in nature. We first apply pteridine systems of alloxazinic structure in lithium/sodium rechargeable batteries and unveil their reversible tautomerism during energy storage. Through the molecular tailoring, the pteridine electrodes can show outstanding performance, delivering 533 Wh kg À 1 within 1 h and 348 Wh kg À 1 within 1 min, as well as high cyclability retaining 96% of the initial capacity after 500 cycles at 10 A g À 1 . Our strategy combined with experimental and theoretical studies suggests guidance for the rational design of organic redox centres.