In the title compound, C14H16N4, the six-membered hexa-hydro-pyrimidine ring adopts a chair conformation. In the crystal, one of the two pyrimidine N atoms engages in N-H⋯N hydrogen bonding with one of the pyridine N atoms, generating a helical chain running along the c axis. The helical pitch is the length of the c axis.