The complete organic molecule in the title dihydrate, C(20)H(22)N(4)O(4), is generated by crystallographic twofold symmetry, with two C atoms lying on the rotation axis. The symmetry unique pyridine ring forms a dihedral angle of 83.16 (8)° with the central benzene ring. In the crystal, inter-molecular N-H⋯O, O-H⋯N and O-H⋯O hydrogen bonds connect the components into a two-dimensional network lying parallel to (101).