The mol-ecules of the title compound, C(18)H(18)N(4), are linked by two different N-H⋯N(pyrid-yl) hydrogen bonds into a linear chain.