The asymmetric unit of the title compound, C(16)H(13)N(3)O(2), contains two independent mol-ecules in which the pyridine and benzene rings form dihedral angles of 81.7 (2) and 79.8 (2)°, indicating the twist in the mol-ecules. In the crystal, weak C-H⋯N inter-actions link mol-ecules into chains along [100].