In the crystal structure of the title molecule, C8H11N7O·H2O, a network of O—H...O, O—H...N, N—H...O and N—H...N hydrogen bonds links the components, forming layers which include the lattice water molecules. The layers are held together by π–π stacking interactions.