In the title molecule, C21H14BrFN4O4, the mean planes of the two nitro groups form dihedral angles of 3.1 (2) and 7.1 (5)° with the benzene ring to which they are attached. The dinitro-substituted ring forms dihedral angles of 8.6 (2) and 71.9 (2)° with the bromo- and fluoro-substituted benzene rings, respectively. The dihedral angle between the bromo- and fluoro-substituted benzene rings is 80.6 (2)°. There is an intramolecular N—HO hydrogen bond. In the crystal, pairs of weak C—HO hydrogen bonds form inversion dimers. In addition, π–π stacking interactions between the bromo- and dinitro-substituted rings [centroid–centroid separation = 3.768 (2) Å] are observed.