Abstract: In the title compound, C23H22N4O, the pyrazole ring makes dihedral angles of 45.57 (11)° with the attached phenyl ring, and 83.98 (10) and 67.85 (10) °, respectively, with the other phenyl ring and the pyridyl ring. The pyridyl ring makes a dihedral angle of 80.15 (10)° with the adjacent phenyl ring. In the crystal, N—H⋯O hydrogen bonds supplemented by weak C—H⋯O hydrogen bonds link the molecules into chains which run parallel to the a-axis direction.