In the title compound, C(24)H(19)N(3)O, the pyrazole ring is close to being planar (r.m.s. deviation of the five fitted atoms = 0.062 Å), and each of the N-bound quinoline ring [dihedral angle = 9.90 (7)°] and the C-bound phenyl ring in the 3-position is close to being coplanar [dihedral angle = 8.87 (9)°]. However, the phenyl ring in the 5-position forms a dihedral angle of 72.31 (9)°. The hy-droxy group forms an intra-molecular hydrogen bond to the quinoline N atom. In the crystal, mol-ecules are connected into supra-molecular layers two mol-ecules thick in the bc plane by C-H⋯O and C-H⋯π inter-actions.