The storage of photogenerated electric energy and its release on demand are still among the main obstacles in artificial photosynthesis. One of the most promising, recently identified photocatalytic new materials is inexpensive graphitic carbon nitride. Scientists have now explored a modified form that can produce light-generated electrons and store them for catalytic hydrogen production even after the light has been switched off.