In the title pyrazolone derivative, C15H12N2O, the five-membered ring is approximately planar (r.m.s. deviation = 0.018 Å), and the N- and C-bound benzene rings are inclined to this plane [dihedral angles = 21.45 (10) and 6.96 (10)°, respectively] and form a dihedral angle of 20.42 (10)° with each other. Supramolecular layers are formed in the crystal structure via C—H⋯O and C—H⋯N interactions, and these are assembled into double layers by C—H⋯π and π–π interactions between the pyrazole and C-bound benzene rings [ring centroid–centroid distance = 3.6476 (12) Å]. The double layers stack along the a axis being connected by π–π interactions between the N- and C-bound benzene rings [ring centroid–centroid distance = 3.7718 (12) Å]