Covalent organic frameworks are receiving increasing attention as promising cathode materials for rechargeable batteries. Here the authors report a honeycomb-like nitrogen-rich COF design in which the pyrazines and carbonyls enable favorable redox chemistry and remarkable Na-ion storage performance.