The asymmetric unit of the title compound, C18H17N3O2, comprises three independent molecules (1, 2 and 3). In molecule 1, the dihedral angles between the pyrazolone ring and the pendant phenyl and hydroxybenzene rings are 54.43 (6) and 28.72 (6)degrees, respectively. The corresponding data for molecule 2 are 86.84 (6) and 25.69 (5)degrees, respectively, and for molecule 3 are 47.41 (7) and 17.09 (7)degrees, respectively. The three molecules feature an intramolecular C-H center dot center dot center dot O interaction, which closes an S(6) ring in each case. In the crystal, molecules are linked by 0-H center dot center dot center dot O hydrogen bonds, which generate  chains incorporating all three asymmetric molecules. Two weak C-H center dot center dot center dot O interactions connect three independent molecules to each other along the c-axis direction.