The title compound, C(20)H(14)N(6)O(2), contains four rings. The dihedral angle between the pyridine ring and the pyrazole ring is 1.9 (1)°, i.e. almost coplanar, which gives rise to a conjugated structure. The dihedral angle between the nitro-substituted phenyl ring and the pyridine ring is 76.3 (1)° and that between the pyrazole ring and the non-substituted phenyl ring is 40.5 (1)°. In the crystal structure, symmetry-related mol-ecules are linked by N-H⋯O and C-H⋯N hydrogen bonds.