The most commonly prescribed antibiotics for an uncomplicated urinary tract infection are nitrofurantoin, trimethoprim-sulfamethoxazole (often called TMP-SMX or Bactrim), and fosfomycin. Most people start feeling better within a day or two of starting treatment, though symptoms like lower back pain or low-grade fever can take up to a week to fully resolve.
Which antibiotic your provider chooses depends on the type of UTI, your allergy history, local resistance patterns, and whether you’re pregnant. Here’s what to know about each option.
First-Line Antibiotics for Bladder Infections
A straightforward bladder infection in an otherwise healthy person is called an “uncomplicated UTI,” and three antibiotics are considered first-line treatment.
Nitrofurantoin is one of the most frequently prescribed options. The extended-release form is typically taken twice a day for five to seven days. It works well because most of the drug concentrates directly in the urine rather than spreading throughout the body, which keeps side effects relatively mild and helps it stay effective against common UTI bacteria. Nausea is the most common complaint, and taking it with food helps.
Trimethoprim-sulfamethoxazole (TMP-SMX) is the antibiotic many people know as Bactrim or Septra. A typical course lasts three days for a simple bladder infection. It’s effective and inexpensive, but resistance is a growing concern. In areas where a high percentage of UTI-causing bacteria have developed resistance, your provider may skip it in favor of another option. If you have a sulfa allergy, this one is off the table entirely.
Fosfomycin stands out because it’s a single-dose treatment: one packet of powder dissolved in water, taken once, and you’re done. That convenience makes it appealing, though some studies suggest it may be slightly less effective than a full course of nitrofurantoin. It’s generally reserved for situations where other options aren’t suitable or when a one-dose approach is preferred.
Why Fluoroquinolones Are No Longer First Choice
Ciprofloxacin and levofloxacin (fluoroquinolones) used to be go-to UTI antibiotics, but that’s changed significantly. In 2016, the FDA updated its strongest safety warning to recommend against using fluoroquinolones for uncomplicated UTIs, stating that the risks of serious side effects generally outweigh the benefits for these infections. Those risks include tendon rupture, irreversible nerve damage in the hands and feet, and problems affecting the central nervous system. More recent evidence has also linked them to aortic aneurysm and dissection.
These drugs still have a role in more serious urinary infections, particularly kidney infections or complicated UTIs where other antibiotics won’t work. But for a routine bladder infection, they’re no longer appropriate as a first pick.
Second-Line and Alternative Antibiotics
When first-line antibiotics aren’t an option due to allergies, resistance, or side effects, providers turn to alternatives. These are considered second-line because they tend to be slightly less effective for UTIs specifically, or they carry broader side-effect profiles.
Amoxicillin-clavulanate (Augmentin) can treat uncomplicated bladder infections in a three- to seven-day course. Plain amoxicillin or ampicillin alone are not recommended because resistance rates among common UTI bacteria are too high. Adding clavulanate helps overcome some of that resistance.
Cephalexin and other cephalosporins like cefpodoxime are also used as alternatives. They cover the most common UTI-causing bacteria effectively and are generally well tolerated, though a full course typically runs five to seven days.
When a UTI Is More Complicated
Not all UTIs are simple bladder infections. A complicated UTI means the infection has spread beyond the bladder, involves a kidney infection (pyelonephritis), is associated with a catheter, or occurs in someone with structural abnormalities in the urinary tract. Men’s UTIs are also generally treated as complicated.
These infections require different antibiotics and longer treatment. Outpatient treatment for a complicated UTI typically runs seven days and may include TMP-SMX, cefpodoxime, or ciprofloxacin (one of the situations where fluoroquinolones are still appropriate). If the infection is severe enough to require hospitalization, intravenous antibiotics like ceftriaxone are used initially, then switched to oral antibiotics once symptoms improve.
For patients whose recovery is slower than expected, treatment may extend to 10 to 14 days. Catheter-associated UTIs also require the catheter itself to be changed, since bacteria can cling to the surface and reinfect the urinary tract.
UTI Treatment During Pregnancy
UTIs are common in pregnancy and carry higher stakes because untreated infections can lead to kidney infections and pregnancy complications. The American College of Obstetricians and Gynecologists lists nitrofurantoin, beta-lactam antibiotics (like amoxicillin-clavulanate and cephalexin), and fosfomycin among the options considered appropriate during pregnancy. Sulfonamides like TMP-SMX may also be used depending on the timing and clinical situation.
Antibiotic choice during pregnancy depends heavily on urine culture results, so your provider will almost always send a sample to the lab rather than prescribing empirically. Screening for UTIs is routine at prenatal visits because even infections without symptoms (asymptomatic bacteriuria) are treated during pregnancy.
Preventing Recurrent UTIs With Antibiotics
If you get three or more UTIs in a year, you may be a candidate for preventive (prophylactic) antibiotic therapy. The American Urological Association outlines several approaches. Continuous daily prophylaxis uses a low dose of an antibiotic taken every day, with options including nitrofurantoin (50 or 100 mg daily), trimethoprim (100 mg daily), TMP-SMX taken once daily or three times a week, or cephalexin (125 to 250 mg daily). Fosfomycin taken once every 10 days is another option.
For people whose UTIs are closely tied to sexual activity, a different strategy works: taking a single low dose of an antibiotic right before or after intercourse. This approach uses the same drugs at similar doses and has been shown to significantly reduce infection frequency without requiring daily medication.
How Quickly Antibiotics Work
Most people notice improvement in burning, urgency, and frequency within the first one to two days of starting antibiotics. Systemic symptoms like fever and back pain can take longer, sometimes up to a full week to completely resolve. If your symptoms aren’t improving after two to three days on antibiotics, contact your provider. This can signal antibiotic resistance, meaning the bacteria causing your infection aren’t susceptible to the drug you’re taking, and a switch may be needed.
Finishing the full prescribed course matters even after you feel better. Stopping early increases the chance of the infection returning and contributes to antibiotic resistance over time.