Cl[C:2]1[N:7]=[C:6]([NH2:8])[CH:5]=[CH:4][N:3]=1.[CH3:9][O-:10].[Na+]>CO>[CH3:9][O:10][C:2]1[N:7]=[C:6]([NH2:8])[CH:5]=[CH:4][N:3]=1The solution of 2-chloropyrimidin-4-amine (1 mmol) and sodium methoxide (1.5 mmol) in 10 ml methanol was refluxed for 2 h, after removing of solvent, the residue was dissolved in CH2Cl2 and washed with water, dried over anhydrous NaSO4, concentrated in vacuo to give 2-methoxypyrimidin-4-amine.