(S)-(2-Guanidino-4-thiazolyl)methylisothiourea dihydrochloride was synthesized by reacting 1,3-dichloro-acetone with amidinothiourea in the acetone and reacting 2-(4-(chloromethyl)thiazol-2-yl)guanidine hydrochloride with thiourea.Finally,it reacts with N-thiamide-3-chlorpropamidine hydrochloride to form famotidine.In this process,the key intermediate 2-(4-(chloromethyl)thiazol-2-yl)guanidine hydrochloride is prepared by one-pot method.The yield of this reaction can reach more than 95%,and the total yield of synthetic famotidine can reach 60%,which great-ly reduces the production cost of Famotidine.