2-anilinopyrimidines including novel derivatives has been obtained from 2-chloro-4,6-dimethylpyrimidine by aromatic nucleophilic substitution with differently substituted anilines under microwave conditions. The substituents had a significant impact on the course and efficiency of the reaction. The results reported herein demonstrate the efficacy of microwaves in the synthesis of the title heterocyclic compounds