What Antibiotic Should You Take for a UTI?

The most commonly prescribed antibiotics for a UTI are nitrofurantoin, trimethoprim/sulfamethoxazole, and fosfomycin. Which one you get depends on your local resistance patterns, whether you’re pregnant, and how complicated the infection is. Most uncomplicated UTIs clear up within three to five days of starting treatment.

First-Line Antibiotics for Uncomplicated UTIs

An uncomplicated UTI means a bladder infection (acute cystitis) in someone without structural abnormalities or other complicating factors. For these infections, guidelines from the American Academy of Family Physicians list five first-line options:

  • Nitrofurantoin (extended-release): 100 mg twice daily for five days
  • Trimethoprim/sulfamethoxazole (TMP-SMX): one double-strength tablet twice daily for three days
  • Trimethoprim alone: 200 mg twice daily for three days
  • Fosfomycin: a single 3-gram dose (one packet mixed into water)
  • Pivmecillinam: 400 mg three times daily for three days

Nitrofurantoin is one of the most frequently chosen because resistance rates remain relatively low. TMP-SMX works well too, but there’s a catch: if resistance in your area exceeds 20%, your provider should pick something else. Resistance to common UTI antibiotics has been climbing across all regions of the United States, which is one reason your provider may order a urine culture before prescribing.

Fosfomycin stands out as the only single-dose option. You take one packet dissolved in water, and that’s it. It works best for straightforward bladder infections that have been causing symptoms for fewer than four days, with no signs the infection has spread to the kidneys (like fever, chills, or flank pain).

Second-Line Options

When first-line antibiotics aren’t an option, whether due to allergies, resistance, or side effects, providers turn to beta-lactam antibiotics like amoxicillin-clavulanate or cephalexin. These are generally well tolerated but have shown slightly lower effectiveness in clinical trials compared to the first-line choices, which is why they’re held in reserve.

Fluoroquinolones like ciprofloxacin used to be a go-to UTI treatment, but that’s changed significantly. The FDA now reserves these drugs for situations where no alternative treatment exists. An advisory panel voted 20 to 1 against supporting their use for uncomplicated UTIs. The concern is a cluster of serious side effects, including tendon damage, nerve damage in the hands and feet, and central nervous system effects, that can occur together and may be irreversible. For a simple bladder infection that could be treated with safer alternatives, the risk isn’t worth it.

How Treatment Differs for Men

UTIs are far less common in men, and when they occur, they’re typically treated for longer. Where a woman might take nitrofurantoin for five days, a man with the same infection would take it for seven. The longer course accounts for the fact that UTIs in men are more likely to involve the prostate or deeper urinary structures, even when symptoms seem mild.

UTI Antibiotics During Pregnancy

Treating a UTI during pregnancy requires extra caution because some antibiotics can affect fetal development. The American College of Obstetricians and Gynecologists lists nitrofurantoin, certain penicillin-type antibiotics (beta-lactams), sulfonamides, and fosfomycin as options for bladder infections in pregnant individuals.

The timing matters, though. TMP-SMX and trimethoprim alone should be avoided in the first trimester. Nitrofurantoin should be avoided in both the first and third trimesters. That leaves beta-lactams and fosfomycin as the safest choices during those windows. If the infection spreads to the kidneys, treatment shifts to stronger antibiotics given through an IV, typically broader-spectrum penicillin-type drugs, sometimes combined with other agents.

Managing Symptoms While Antibiotics Work

Antibiotics start killing bacteria quickly, but it can take a day or two before the burning and urgency fade. A bladder-numbing medication called phenazopyridine can bridge that gap. It’s available over the counter in 100 mg tablets (the typical dose is 200 mg three times a day) and works by dulling pain receptors in the urinary tract lining. It will turn your urine bright orange, which is harmless but can stain clothing and contact lenses. This medication is only meant for short-term relief alongside antibiotic treatment, not as a substitute for it.

What Happens With Recurrent UTIs

If you’re getting two or more UTIs within six months, that meets the clinical definition of recurrent UTIs. At that point, the approach shifts from just treating each infection to figuring out how to prevent them. One option is low-dose antibiotic prophylaxis, where you take a small daily dose of an antibiotic specifically to keep infections from returning. Your provider will weigh the benefits of prevention against the downsides of long-term antibiotic use, including the risk of building resistance and side effects over time.

Before jumping to daily antibiotics, many providers will explore other strategies first, such as post-intercourse prophylaxis (a single dose after sex, if that’s a trigger), topical estrogen for postmenopausal women, or behavioral changes like hydration habits. Recurrent UTIs deserve a conversation about what’s driving them rather than just another prescription each time symptoms flare.

Why Your Provider Might Order a Urine Culture

For a first, uncomplicated UTI with classic symptoms, many providers will prescribe based on symptoms alone. But if you’ve had recurrent infections, if a previous antibiotic didn’t work, or if your symptoms are atypical, a urine culture identifies the exact bacteria causing the infection and tests which antibiotics will kill it. This takes about 48 hours, so you may start on a best-guess antibiotic and switch if the culture results suggest something more targeted. Given that resistance rates across the U.S. now exceed the thresholds that older guidelines considered safe for prescribing without testing, cultures are becoming more routine rather than reserved for complicated cases.