In the title compound, C(18)H(16)N(4)O(2), the plane defined by the ethyl C atoms and the attached N atom is inclined to the adjacent pyridine ring at an angle of 67.87 (16)°. The dihedral angle between the two heterocyclic rings is 3.33 (16)°. The mol-ecular conformation is stabilized by an intra-molecular N-H⋯O hydrogen bond and the crystal structure by inter-molecular C-H⋯O hydrogen bonds, forming a one-dimensional structure.