In the title compound, C
10
H
14
ClN
5
, the imidazole and pyrimidine rings are essentially planar [maximum deviation = 0.0013 (14) and 0.0207 (13) Å, respectively]. In the crystal, the molecules are linked by weak C—H⋯N interactions into chains parallel to the
c
axis and the crystal packing is stabilized by additional weak C—H⋯N and C—H⋯Cl interactions.