A convenient synthetic method of five- and six- membered cyclic guanidines fused with aromatic ring was presented. 2-Aminoaniline or 2-(aminomethyl)aniline was treated with dimethyl carbonimidodithioates to give isothiourea which was cyclized to cyclic guanidine by using soft metal cations (Ag+, Hg2+).