In the title compound, (C5H8N3)2[Co(H2O)6](SO4)2·2H2O, the complete complex cation is generated by crystallographic inversion symmetry, such that the CoII cation is octahedrally coordinated by six water molecules. The organic cation is essentially planar, with a maximum deviation of 0.013 (1) Å. In the crystal structure, the ions and molecules are linked into a pseudo-layered three-dimensional supramolecular network via O—H⋯O and N—H⋯O hydrogen bonds. Weak intermolecular π–π interactions further stabilize the crystal structure [centroid–centroid distance = 3.5231 (4) Å]