In the title compound, C7H9N3O3S, the planes of the 2-amino-1,3-thiazol-4-yl and the methyl ester groups are oriented at a dihedral angle of 67.06 (7)°. In the crystal, inversion dimers linked by pairs of N—H⋯N hydrogen bonds occur, forming R
2
2(8) ring motifs. The dimers are interlinked by N—H⋯O hydrogen bonds, resulting in sheets propagating in the ac plane.