In the title compound, C8H8N2O, the N—CH2 and CH2—O bond lengths can be correlated to the manifestation of an anomeric effect in the N—CH2—O moiety. In the crystal, intermolecular O—H⋯N hydrogen bonds link the molecules into zigzag chains, with graph-set motif C(6), parallel to [001]. These chains are further linked into sheets by weak nonclassical C—H⋯O hydrogen bonds.