In the cation of the title compound, C(9)H(12)NO(2) (+)·Cl(-), the dihedral angle between the 2-oxoethanaminium N-C-C(=O)- plane [maximum deviation = 0.0148 (12) Å] and the benzene ring is 7.98 (8)°. The meth-oxy group is approximately in-plane with the benzene ring, with a C-O-C-C torsion angle of -2.91 (18)°. In the crystal, the cations and chloride anions are connected by N-H⋯Cl and C-H⋯Cl hydrogen bonds, forming a layer parallel to the bc plane. A C-H⋯π inter-action further links the layers.
The asymmetric unit of the title compound, C9H11N3O2, contains two mol-ecules (A and B), which exist in Z conformations with respect to their C=N double bond. The dihedral angles between the benzene ring and the pendant hy-droxy-carbamimidoyl and acetamide groups are 28.58 (7) and 1.30 (5)°, respectively, in mol-ecule A and 25.04 (7) and 27.85 (9)°, respectively, in mol-ecule B. An intra-molecular N-H⋯N hydrogen bond generates an S(6) ring in both mol-ecules. Mol-ecule A also features an intra-molecular C-H⋯O inter-action, which closes an S(6) ring. In the crystal, the mol-ecules are linked by N-H⋯O, N-H⋯N, O-H⋯O, O-H⋯N, C-H⋯O and C-H⋯N hydrogen bonds and C-H⋯π inter-actions, generating a three-dimensional network.