The mol-ecule of the title compound, C15H18N4, adopts a trans conformation with respect to the diazo N=N bond. The dihedral angle between the benzene and pyridine rings in the mol-ecule is 8.03 (5)°. In the crystal, a weak C-H⋯π inter-action arranges the mol-ecules into a corrugated ribbon, with an anti-parallel orientation of neighboring mol-ecules propagating in the [100] direction.