[NH2:1][C:2]1[N:3]=[C:4]([O:12][CH3:13])[C:5]([C:8](OC)=[O:9])=[N:6][CH:7]=1.[NH3:14]>CO>[NH2:1][C:2]1[N:3]=[C:4]([O:12][CH3:13])[C:5]([C:8]([NH2:14])=[O:9])=[N:6][CH:7]=1In 100 mL of methanol is suspended 1.96 g of methyl 5-amino-3-methoxy-2-pyrazinecarboxylate obtained according to the method described in literature (JP-A-50-105675). The resulting suspension is saturated with ammonia by introducing gaseous ammonia thereinto at −20° C. Then, the solution thus obtained is allowed to react at 95° C. for 24 hours in a stainless steel-made closed vessel. After cooling, the solvent is distilled off under reduced pressure to obtain 1.57 g of 5-amino-3-methoxy-2-pyrazinecarboxamide.