Quinolone antibacterials have been used to treat bacterial infections for over 40 years. A crystal structure of moxifloxacin in complex with Acinetobacter baumannii topoisomerase IV now shows the wedge-shaped quinolone stacking between base pairs at the DNA cleavage site and binding conserved residues in the DNA cleavage domain through chelation of a noncatalytic magnesium ion. This provides a molecular basis for the quinolone inhibition mechanism, resistance mutations and invariant quinolone antibacterial structural features.