The most commonly prescribed antibiotics for an uncomplicated urinary tract infection are nitrofurantoin, trimethoprim-sulfamethoxazole (often called Bactrim or Septra), and fosfomycin. These are considered first-line treatments because they work well against the bacteria that cause most UTIs, carry relatively few side effects, and typically clear the infection within a few days.
First-Line Antibiotics for Simple UTIs
Most UTIs are “uncomplicated,” meaning they affect the bladder in an otherwise healthy person without structural abnormalities in the urinary tract. For these infections, three antibiotics are the go-to options.
Nitrofurantoin is one of the most frequently prescribed choices. The extended-release form is taken as 100 mg every 12 hours for 5 to 7 days. It works specifically in the urinary tract, which means it concentrates where the infection is and causes fewer problems throughout the rest of your body. It’s not effective for kidney infections because it doesn’t reach high enough levels in the bloodstream.
Trimethoprim-sulfamethoxazole (TMP-SMX) is the combination antibiotic sold as Bactrim or Septra. A standard course for a UTI is one double-strength tablet (800 mg sulfamethoxazole/160 mg trimethoprim) taken every 12 hours, typically for 3 days. It’s effective, inexpensive, and fast-acting. The catch is that resistance to this antibiotic has been climbing in many areas, so your provider may skip it if local bacteria are frequently resistant to it.
Fosfomycin has a unique advantage: it’s a single-dose treatment. You take one packet of granules dissolved in water, and that’s the entire course. It’s slightly less effective overall than a multi-day regimen of the other options, but the convenience makes it a practical choice for people who have trouble completing a longer course.
Second-Line Options
When first-line antibiotics aren’t appropriate, either because of allergies, resistance patterns, or side effects, providers turn to a few backup options.
Cephalexin (a cephalosporin) and amoxicillin-clavulanate (Augmentin) are commonly used alternatives. Amoxicillin-clavulanate pairs amoxicillin with a compound that blocks the defense mechanism many bacteria use to resist standard penicillin-type drugs. Clinical trials have found it performs comparably to cephalexin in clearing urinary infections. Plain amoxicillin or ampicillin, however, are generally avoided now because resistance to them is widespread.
Pivmecillinam (Pivya) is a newer option the FDA approved in April 2024 specifically for uncomplicated UTIs in women. It targets the most common UTI-causing bacteria, including E. coli, and offers another alternative when other antibiotics aren’t a good fit.
Why Fluoroquinolones Are No Longer Routine
Ciprofloxacin (Cipro) and levofloxacin (Levaquin) were once widely prescribed for UTIs, and they do kill the bacteria effectively. But the FDA added a boxed warning, its strongest safety alert, advising that these drugs carry risks of serious side effects involving the tendons, muscles, joints, nerves, and central nervous system. Some of these effects can be disabling and permanent.
The FDA’s position is clear: for uncomplicated UTIs, the serious risks of fluoroquinolones generally outweigh the benefits when other treatment options exist. They should be reserved for situations where no safer alternative will work, such as certain complicated or resistant infections.
How Treatment Differs for Complicated UTIs
A UTI is considered “complicated” when it involves the kidneys (pyelonephritis), occurs in someone with an abnormal urinary tract, involves a catheter, or happens in men or pregnant individuals. These infections are harder to clear and often require different antibiotics, higher doses, or longer treatment courses.
For kidney infections, providers typically choose antibiotics that reach effective levels in the bloodstream, not just the bladder. Fluoroquinolones, despite their risks, are sometimes appropriate here because the stakes of an untreated kidney infection are higher. Treatment courses for complicated UTIs commonly run 7 to 14 days rather than the 3 to 5 days typical for simple bladder infections. Some severe cases require initial treatment through an IV before switching to oral antibiotics.
UTIs During Pregnancy
UTIs are common during pregnancy and need prompt treatment because untreated infections can lead to complications. The American College of Obstetricians and Gynecologists lists nitrofurantoin, certain penicillin-type antibiotics (beta-lactams), sulfonamides, and fosfomycin as treatment options, with the specific choice depending on culture results and how safe the drug is at that stage of pregnancy.
If your provider starts treatment before culture results come back, they will generally avoid ampicillin or amoxicillin alone because E. coli resistance to these antibiotics is high in most communities. The combination of amoxicillin with clavulanic acid is a better option when a penicillin-type drug is needed, since the added compound overcomes that resistance.
What to Expect During Treatment
Most people notice their symptoms, the burning, urgency, and frequent trips to the bathroom, start improving within 24 to 48 hours of starting antibiotics. It’s important to finish the full course even after symptoms fade, because stopping early can leave enough bacteria behind to cause a relapse or contribute to resistance.
For relief while the antibiotic kicks in, your provider may suggest phenazopyridine, a urinary pain reliever that numbs the bladder lining. It turns your urine bright orange (which is harmless) and is meant for short-term use only. It does nothing to fight the infection itself, so it’s always used alongside an antibiotic, never instead of one.
When the First Antibiotic Doesn’t Work
If your symptoms don’t improve within 2 to 3 days, the bacteria causing your infection may be resistant to the antibiotic you were prescribed. This is increasingly common, particularly with TMP-SMX and ampicillin-based drugs. Your provider will likely order a urine culture if one wasn’t done initially. The culture identifies the exact bacteria and tests which antibiotics will kill it, allowing your provider to switch to something targeted.
Recurrent UTIs, typically defined as two or more infections in six months or three in a year, sometimes call for a different strategy altogether. Options include low-dose preventive antibiotics taken daily or after specific triggers, or a standby prescription you can fill at the first sign of symptoms without waiting for an office visit. The right approach depends on how often infections recur and what’s driving them.