An efficient and simple approach for the solid-phase synthesis of 2,4,6-triaminopyrimidines and 2-alkyl-4,6-diaminopyrimidines is described. Primary amines were immobilized on 2-(4-formyl-3-methoxyphenoxy)ethyl polystyrene resin via reductive amination. Attachment of two different 4,6-dichloropyrimidines led to the corresponding 4-chloro-6-aminopyrimidine intermediates. Aromatic nucleophilic substitution with various aliphatic amines or the corresponding lithium amides afforded the desired aminopyrimidines in high yield and excellent purity after acidic cleavage from the resin. The products were characterized by LC–MS, 1 H and 13 C NMR spectroscopy. Deuterium exchange experiments revealed that the investigated aminopyrimidines have a general tendency toward C-5 protonation.