Cl[CH2:2][C:3]1[N:8]=[CH:7][CH:6]=[CH:5][N:4]=1.[C-:9]#[N:10].[Na+]>CS(C)=O>[N:4]1[CH:5]=[CH:6][CH:7]=[N:8][C:3]=1[CH2:2][C:9]#[N:10]A solution of 6.8 g. of 2-(chloromethyl)pyrimidine is added dropwise to a solution of 5.2 g. of sodium cyanide in 100 ml. of dimethylsulfoxide. The mixture is heated at 50° C. for 2 hours, then diluted with 150 ml. of 5% aqueous sodium carbonate solution and extracted with ether. The extract is dried and concentrated to give 2-(2-pyrimidyl)acetonitrile.