Levofloxacin is used to treat infections including: respiratory tract infections, cellulitis, urinary tract infections, prostatitis, anthrax, endocarditis, meningitis, pelvic inflammatory disease, traveler's diarrhea, tuberculosis, and plague and is available by mouth, intravenously, and in eye drop form.
As of 2016, the US Food and Drug Administration (FDA) recommended that "serious side effects associated with fluoroquinolone antibacterial drugs generally outweigh the benefits for patients with acute sinusitis, acute bronchitis, and uncomplicated urinary tract infections who have other treatment options. For patients with these conditions, fluoroquinolones should be reserved for those who do not have alternative treatment options."
Levofloxacin is used for the treatment of pneumonia, urinary tract infections, and abdominal infections.  As of 2007 the Infectious Disease Society of America (IDSA) and the American Thoracic Society recommended levofloxacin and other respiratory fluoroquinolines as first line treatment for community acquired pneumonia when co-morbidities such as heart, lung, or liver disease are present or when in-patient treatment is required. Levofloxacin also plays an important role in recommended treatment regimens for ventilator-associated and healthcare-associated pneumonia.
As of 2010 it was recommended by the IDSA as a first-line treatment option for catheter-associated urinary tract infections in adults. In combination with metronidazole it is recommended as one of several first-line treatment options for adult patients with community-acquired intra-abdominal infections of mild-to-moderate severity. The IDSA also recommends it in combination with rifampicin as a first-line treatment for prosthetic joint infections. The American Urological Association recommends levofloxacin as a first-line treatment to prevent bacterial prostatitis when the prostate is biopsied. and as of 2004 it was recommended to treat bacterial prostatitis by the NIH research network studying the condition.
Levofloxacin and other fluoroquinolones have also been widely used for the treatment of uncomplicated community-acquired respiratory and urinary tract infections, indications for which major medical societies generally recommend the use of older, narrower spectrum drugs to avoid fluoroquinolone resistance development. Due to its widespread use, common pathogens such as Escherichia coli and Klebsiella pneumoniae have developed resistance. In many countries as of 2013, resistance rates among healthcare-associated infections with these pathogens exceeded 20%.
Levofloxacin is also used as antibiotic eye drops to prevent bacterial infection. Usage of levofloxacin eye drops, along with an antibiotic injection of cefuroxime or penicillin during cataract surgery, has been found to lower the chance of developing endophthalmitis, compared to eye drops or injections alone.