Cl[C:2]1[N:7]=[C:6]([CH3:8])[CH:5]=[C:4]([CH3:9])[N:3]=1>C(N)C=C>[CH2:4]([NH:3][C:2]1[N:7]=[C:6]([CH3:8])[CH:5]=[C:4]([CH3:9])[N:3]=1)[CH:5]=[CH2:6]20 g (0.14 mol) 2-chlor-4,6-dimethylpyrimidine are heated under reflux in 60 ml allylamine. After 4 hours the reaction is terminated. The excess allylamine is distilled off. Thereafter the residue is withdrawn in ethyl acetate and then washed with 150 ml saturated bicarbonate solution. After drying across Na2SO4 the solvent is discharged. In this manner are obtained 22.5 g (99% of theoretical) 2-allylamino-4,6-dimethylpyrimidine.