Levofloxacin is a broad-spectrum antibiotic that is active against both Gram-positive and Gram-negative bacteria. Like all quinolones, it functions by inhibiting the DNA gyrase and topoisomerase IV, two bacterial type IIA topoisomerases. Topoisomerase IV is necessary to separate DNA that has been replicated (doubled) prior to bacterial cell division. With the DNA not being separated, the process is stopped, and the bacterium cannot divide. DNA gyrase, on the other hand, is responsible for supercoiling the DNA, so that it will fit in the newly formed cells. Both mechanisms amount to killing the bacterium. Levofloxacin acts as a bactericide.
As of 2011, the mechanism of action for the drug's musculoskeletal complications were not clear.