In the title compound, C18H14Br2N2O3, an intramolecular N—H⋯N hydrogen bond forms an eight-membered ring. The dihedral angle between the planes of the quinoline system and the benzene ring is 41.69 (1)°. The crystal packing is stabilized by intermolecular C—H⋯O hydrogen bonds and short Br⋯O interactions [3.0079 (19) Å].