[NH2:1][C:2]1[S:3][C:4]([SH:7])=[N:5][N:6]=1.[OH-].[Na+].Br[CH2:11][CH2:12][CH2:13][CH2:14][CH2:15][CH2:16][CH3:17]>C(O)C.O>[NH2:1][C:2]1[S:3][C:4]([S:7][CH2:11][CH2:12][CH2:13][CH2:14][CH2:15][CH2:16][CH3:17])=[N:5][N:6]=1In 185 ml of ethanol and 185 ml of water, 68.0 g of 2-amino-5-mercapto-1,3,4-thiadiazole and 22.4 g of sodium hydroxide were added. To this mixture, 84.6 g of 1-bromoheptane was added, and the resulting mixture was warmed to 60° C. and stirred for 2 hours. After cooling, water was added and the mixture was filtered. The residue was washed with water, dried under reduced pressure, and recrystallized from an ethanol/hexane mixture. Thus 90.2 g of 2-amino-5-heptylthio-1,3,4-thiadiazole was obtained. m.p. 112°~113° C. Yield 78%.