The molecules of the title compound, C18H18N4, are linked by two different N-H center dot center dot center dot N-pyridyl hydrogen bonds into a linear chain.