What Antibiotics Are Prescribed for a UTI?

The three first-line antibiotics for an uncomplicated urinary tract infection are nitrofurantoin, trimethoprim-sulfamethoxazole (TMP-SMX), and fosfomycin. Most people notice symptom improvement within 24 to 48 hours of starting treatment. The specific antibiotic your provider chooses depends on local resistance patterns, your medical history, and whether the infection is straightforward or complicated.

First-Line Options for Uncomplicated UTIs

An uncomplicated UTI is one that affects the bladder in an otherwise healthy person, typically a woman who isn’t pregnant and has no structural issues in the urinary tract. For these infections, guidelines from the American Academy of Family Physicians recommend three main options:

  • Nitrofurantoin (extended-release): 100 mg twice daily for five days. This is one of the most commonly prescribed options because it concentrates in the urine and has low resistance rates.
  • TMP-SMX: One tablet twice daily for three days. This is effective and short, but providers should avoid it in areas where more than 20% of UTI-causing bacteria are resistant to it.
  • Fosfomycin: A single 3-gram dose, taken once. The convenience is hard to beat, though it may be slightly less effective than a multi-day course.

The shorter courses of TMP-SMX and the one-dose fosfomycin option work well for bladder infections, but they aren’t appropriate for infections that have spread to the kidneys or for people with complicating factors.

Why Cipro Isn’t First Choice Anymore

Fluoroquinolones like ciprofloxacin and levofloxacin were once widely prescribed for UTIs. The FDA now advises against using them for uncomplicated UTIs when other options are available. These drugs carry a boxed warning for serious side effects involving the tendons, muscles, joints, nerves, and central nervous system. Some of these effects can be disabling and permanent. For a straightforward bladder infection that responds well to safer antibiotics, the risks of fluoroquinolones simply aren’t justified.

Fluoroquinolones still have a role in complicated UTIs and kidney infections, where the stakes are higher and the alternatives may not work as well.

Complicated UTIs Need Longer Treatment

A UTI is considered complicated when it involves the kidneys, occurs in men, or happens in someone with an underlying condition like a catheter, kidney stones, or a weakened immune system. These infections are harder to clear and typically require stronger antibiotics for a longer stretch.

For complicated UTIs without sepsis, providers generally choose from a class of powerful antibiotics that can be given by mouth or through an IV, depending on severity. Treatment duration runs 5 to 7 days for fluoroquinolones or about 7 days for other antibiotics, which is notably shorter than the 10 to 14 day courses that were standard in the past. Men with a UTI that may involve the prostate often still need the longer 10 to 14 day course.

Kidney infections take longer to respond. Symptoms typically improve within three to seven days rather than the one to two days you’d expect with a bladder infection.

UTI Antibiotics During Pregnancy

UTIs are common during pregnancy, and untreated infections carry real risks for both mother and baby, so treatment matters. But not all antibiotics are safe at every stage of pregnancy.

Penicillin-type antibiotics (like amoxicillin and ampicillin) and cephalosporins (like cephalexin) are generally considered safe throughout pregnancy. Nitrofurantoin is safe in the second and third trimesters but may raise the risk of cleft lip if used in the first trimester. TMP-SMX should be avoided in the first trimester as well. Tetracyclines are off the table after the fifth week of pregnancy because they can affect fetal bone growth and tooth development.

How Quickly Symptoms Improve

Most people with a bladder infection feel noticeably better within 24 to 48 hours of the first dose. The burning, urgency, and frequent trips to the bathroom start to ease, though they may not disappear entirely right away. It’s important to finish the full course of antibiotics even after symptoms fade. Stopping early can leave behind bacteria that are harder to kill next time.

If your symptoms haven’t improved after two full days on antibiotics, that’s a signal to contact your provider. The bacteria causing your infection may be resistant to the antibiotic you were given, and a urine culture can identify what will work better.

Preventing Recurrent UTIs With Low-Dose Antibiotics

Recurrent UTIs are defined as two or more infections within six months. If you’ve needed more than three or four courses of antibiotics in the past year, your provider may recommend a preventive approach rather than treating each infection as it comes.

Continuous low-dose prophylaxis uses a small daily dose of an antibiotic to keep bacteria from gaining a foothold. Common regimens include a low dose of nitrofurantoin daily, a reduced-strength TMP-SMX taken daily or three times a week, or a low dose of cephalexin daily. Another option is fosfomycin taken once every 10 days.

For people whose UTIs are clearly linked to sexual activity, a different strategy works well: taking a single dose of an antibiotic right before or after intercourse. This targeted approach uses the same medications as daily prophylaxis but limits your overall antibiotic exposure, which helps preserve the healthy bacteria in your gut and reduces the chance of breeding resistant organisms.

Preventive antibiotics are typically used for a defined period, often three to six months, and then reassessed. Many people find that the cycle of recurrent infections breaks during that time.