The reaction of aliphatic ketones with aliphatic or aromatic nitriles in the presence of trifluoromethanesulfonic anhydride has been shown to be a very useful method for the preparation of alkyl- and aryl-pirimidines. The reaction shows a high degree of regioselectivity that depends on the characteristics of the residues attached at the carbonyl group. The results from different branched symmetric