Best Antibiotic for a UTI in 2026 — Ranked by Evidence

By Bidwell Cranage, APRN, FNP-C · Clinically reviewed · Published April 20, 2026

Short answer: nitrofurantoin (Macrobid) is first-line for uncomplicated UTI in non-pregnant adults, per the Infectious Diseases Society of America. Longer answer: the "best" depends on pregnancy, allergies, local resistance, and whether the infection is simple or complicated. Here's the ranked, evidence-based breakdown — and why fluoroquinolones are not on top of the list anymore.

TL;DR

The ranked list (and why)

1. Nitrofurantoin (Macrobid, Macrodantin) — first-line

Dose: 100 mg orally twice daily for 5 days. The IDSA 2010 uncomplicated cystitis guidelines (which remain the anchor document, with subsequent AUA/CUA/SUFU reaffirmation) place nitrofurantoin as the preferred first-line agent for acute uncomplicated cystitis in non-pregnant adults. Why it wins:

Where it's not the answer: pyelonephritis (kidney infection — nitrofurantoin doesn't concentrate in kidney tissue), significant kidney impairment (creatinine clearance under 30 mL/min), or near-term pregnancy.

2. Trimethoprim-sulfamethoxazole (Bactrim, Septra) — co-first-line where resistance is low

Dose: one double-strength tablet (160/800 mg) twice daily for 3 days. IDSA lists Bactrim alongside nitrofurantoin as a first-line option if local E. coli resistance is under 20% — an important caveat, because resistance has been climbing and now exceeds 20% in many U.S. regions. Bactrim is an excellent, cheap, well-studied drug. It's often the right choice when:

Avoid Bactrim in the first trimester of pregnancy, near term, in severe sulfa allergy, and with significant kidney impairment. Our comparison on Macrobid vs Bactrim walks through the head-to-head.

3. Fosfomycin (Monurol) — single-dose convenience

Dose: 3 g dissolved in water, one-time. Fosfomycin's appeal is adherence — one dose and you're done — which makes it useful for patients who might not finish a 5-day course. The tradeoffs: it's more expensive (often $60–$100 out of pocket), and the clinical cure rate is slightly lower than a full course of nitrofurantoin or Bactrim, although still in the high 80s%. IDSA lists it as an acceptable alternative first-line option. It's also one of the preferred choices in pregnancy.

4. Cephalexin (Keflex) and other cephalosporins

Dose: 250–500 mg four times daily for 3–7 days. Cephalexin isn't ideal for uncomplicated UTI — it has worse efficacy and higher relapse rates than nitrofurantoin or Bactrim in head-to-head studies — but it's a fine choice when the better options can't be used, and it's one of the safer antibiotics in pregnancy. If you've been told "probably a UTI" in pregnancy, cephalexin is often what you'll be prescribed.

5. Fluoroquinolones (ciprofloxacin, levofloxacin) — reserve, don't default

Cipro 250 mg twice daily for 3 days works — it's very effective against the usual UTI organisms. But the FDA has issued multiple boxed warnings for tendon rupture, peripheral neuropathy, CNS effects (including new-onset depression, insomnia, and even psychosis), aortic aneurysm/dissection, QT prolongation, and worsening myasthenia gravis. The FDA's explicit recommendation is to not use fluoroquinolones for uncomplicated cystitis when other options exist.

Where they do belong: complicated UTI, pyelonephritis (when cultures or severe allergy preclude other agents), prostatitis, and culture-proven resistance to first-line agents. If a clinician's first move for your simple bladder infection is Cipro, ask why.

When the answer changes

Pregnancy

Preferred: cephalexin, fosfomycin, and nitrofurantoin in the 1st and 2nd trimester. Avoid nitrofurantoin after 36 weeks (risk of neonatal hemolytic anemia) and Bactrim in the 1st trimester (folate antagonism) and near term (kernicterus risk). Pregnant patients with UTI symptoms should always be evaluated — asymptomatic bacteriuria in pregnancy is treated, which is not true in non-pregnant patients.

Men

UTI in men is never considered "uncomplicated." The anatomy makes ascending infection and prostate involvement much more likely. Workup includes a culture and often longer antibiotic courses (7–14 days), and the choice often shifts toward Bactrim or, when needed, a fluoroquinolone that penetrates prostate tissue. Men with UTI symptoms should not self-select from an OTC or online menu.

Recurrent or treatment-failed UTI

Three or more UTIs per year, or symptoms that don't clear after 48–72 hours of a correct-dose antibiotic, is a signal to get a urine culture before prescribing another round. Antibiotic resistance, atypical organisms, interstitial cystitis, or sexually-transmitted causes (chlamydia and gonorrhea can mimic UTI symptoms) all belong on the differential.

Pyelonephritis (kidney infection)

Fever, flank pain, nausea and vomiting, or chills with your UTI symptoms means pyelonephritis until proven otherwise. The AAFP guidelines on pyelonephritis recommend a different set of antibiotics (ciprofloxacin, ceftriaxone, ertapenem) for longer courses. This is not a telehealth problem — go to urgent care or the ER.

Why duration matters — shorter is usually better

For uncomplicated lower UTI in non-pregnant women, shorter courses are just as effective and cause less collateral damage. Nitrofurantoin 5 days, Bactrim 3 days, fosfomycin one dose. Seven- to ten-day courses for simple cystitis are almost always overkill. That's the CDC's outpatient antibiotic stewardship position too — longer courses drive resistance and add side effects without improving cure rates.

Do not save leftover antibiotics from a prior prescription and self-treat a suspected UTI. Under-dosing and wrong-drug choices are how resistance happens. A $45 telehealth visit is faster and safer than guessing.

Side effects — a rough comparison

When to get a urine culture

Most uncomplicated UTI in low-risk adults can be treated empirically without a culture. Get one if: symptoms haven't cleared after 48–72 hours of correct-dose antibiotics, you've had three or more UTIs in a year, you're pregnant, you have diabetes or immune suppression, you're a man, you have a catheter, or the provider suspects pyelonephritis. See UTI symptoms with a negative culture for the interstitial cystitis angle.

Treat your UTI online — $45 flat
IDSA-aligned first-line antibiotic · Licensed U.S. NP · 15-minute visit
Start my visit →

Bottom line

For most non-pregnant women with a simple bladder infection, nitrofurantoin (Macrobid) for 5 days is the evidence-based answer. Bactrim is a fine alternative in low-resistance regions. Fluoroquinolones have a role, but it's not here. The specifics — pregnancy, allergies, kidney function, complicating factors — are what a prescriber should actually sort through, which is what you're paying them to do.

Related reading

Clinically reviewed by Bidwell Cranage, APRN, FNP-C, AANP board-certified Family Nurse Practitioner, licensed in 12 states.
Last reviewed: April 20, 2026