The title compound, C15H14N4O, crystallizes with two mol-ecules in the asymmetric unit with similar conformations (r.m.s. overlay fit for the 20 non-H atoms = 0.175 Å). In the first mol-ecule, the dihedral angles between the planes of the central pyrazole ring and the pendant phenyl and pyrrole rings are 42.69 (8) and 51.88 (6)°, respectively, with corresponding angles of 54.49 (7) and 49.61 (9)°, respectively, in the second mol-ecule. In the crystal, the two mol-ecules, together with their inversion-symmetry counterparts, are linked into tetra-mers by O-H⋯N hydrogen bonds. The tetra-mers form layers parallel to (211) through pairwise C-H⋯π inter-actions.
Keywords: crystal structure; hydrogen bonding; hydroxylamine; pyrrole ring.