Synthesis of heteroaryl amines has been an important topic in organic chemistry because of their importance in smallmolecule discovery. In particular, 2-aminopyrimidines represent a highly privileged structural motif that is prevalent in bioactive molecules, but a general strategy to introduce the pyrimidine C2-N bonds via direct functionalization is elusive. Here we describe a synthetic platform for site-selective C-H functionalization that affords pyrimidinyl iminium salt intermediates, which then can be transformed into various amine products in situ. Mechanism-based reagent design allowed for the C2-selective amination of pyrimidines, opening the new scope of site-selective heteroaryl C-H functionalization. Our method is compatible with a broad range of pyrimidines with sensitive functional groups and can access complex aminopyrimidines with high selectivity.