In the title pyrazoline compound, C19H14BrN5O2, the essentially planar pyrazoline and pyrimidine rings [maximum deviations = 0.013 (1) and 0.009 (1) Å, respectively] are inclined slightly to one another, making a dihedral angle of 10.81 (10)°. The nitrobenzene unit is almost perpendicular to the attached pyrazoline ring, as indicated by the dihedral angle of 84.61 (8)°. In the crystal structure, intermolecular C—HN contacts link the molecules into dimers in an antiparallel manner. These dimers are further linked into one-dimensional chains along the b axis via C—HO contacts. The crystal structure is consolidated by three different intermolecular π–π interactions [range of centroid–centroid distances = 3.5160 (11)–3.6912 (11) Å].