What Antibiotic Is Used for UTI: First-Line Options

Nitrofurantoin is the most commonly recommended antibiotic for a standard urinary tract infection. It’s the preferred first-line treatment for uncomplicated UTIs (simple bladder infections without fever or signs of spread), typically prescribed as a five-day course. Several other antibiotics also work well, and which one you receive depends on your allergy history, the severity of infection, and local resistance patterns.

First-Line Antibiotics for Bladder Infections

For a straightforward UTI, meaning the infection is confined to your bladder without fever or other signs it has spread, the standard options break down like this:

  • Nitrofurantoin (Macrobid) is the top choice. You take it twice a day for five days. It works specifically in the urinary tract and has low resistance rates, which is why guidelines put it first. The most common side effects are mild: diarrhea and gas. Less commonly, it can cause chest tightness or rash, which warrants a call to your doctor.
  • Trimethoprim-sulfamethoxazole (Bactrim, Septra) is a three-day course taken twice daily. It’s effective but has higher resistance rates in many regions, so your provider may check a urine culture first or choose it only if local resistance is below a certain threshold.
  • Fosfomycin is a single-dose option: one packet mixed with water, taken once, and you’re done. That convenience makes it appealing, though it’s generally considered slightly less effective than the multi-day options.

If none of those options work for you, alternatives include cephalexin (a five-day course) and amoxicillin-clavulanate (also five days). These are common backups when allergies or resistance rule out the first-line choices.

Why Fluoroquinolones Are No Longer First Choice

Ciprofloxacin and levofloxacin used to be widely prescribed for UTIs, and they still work. But guidelines now recommend reserving them for patients who have no other treatment options. These antibiotics carry a risk of serious side effects involving tendons, nerves, and muscles that makes them a poor trade-off for a simple bladder infection when safer alternatives exist. A three-day course of ciprofloxacin remains an option when first-line drugs can’t be used, but it’s no longer considered appropriate as an initial choice for uncomplicated UTIs.

How Quickly Symptoms Improve

Most people notice a meaningful decrease in burning and urgency within 24 to 48 hours of starting their antibiotic. By 72 hours, symptoms are typically much more manageable, though mild irritation can linger until you finish the full course, especially if the infection was more severe to begin with.

An over-the-counter urinary pain reliever called phenazopyridine (sold as AZO or Uristat) can help bridge that gap. It numbs the lining of your urinary tract and reduces the burning sensation within hours. It’s taken three times a day after meals, but only for a day or two while the antibiotic kicks in. It turns your urine bright orange, which is harmless but worth knowing about before it surprises you. People with kidney disease should not take it.

Even if you feel completely better after two days, finish the entire course. Stopping early increases the chance of the infection coming back and contributes to antibiotic resistance.

When the Infection Is More Serious

A complicated UTI means the infection has spread beyond the bladder, usually to the kidneys. The hallmark signs are fever, flank pain (pain in your side or lower back), chills, nausea, or vomiting. This is called pyelonephritis, and it requires different, stronger antibiotics.

Oral treatment for a kidney infection typically involves trimethoprim-sulfamethoxazole, amoxicillin-clavulanate, or cefixime. More severe cases may need IV antibiotics in a hospital setting for one to three days before switching to oral medication. If sepsis is involved, meaning the infection has triggered a dangerous body-wide response, treatment escalates to broad-spectrum IV antibiotics.

Catheter use, urinary tract abnormalities, or the presence of fever and systemic symptoms are the main factors that push a UTI into the “complicated” category and change the treatment approach.

UTI Antibiotics During Pregnancy

UTIs are treated more aggressively during pregnancy because untreated infections carry risks for both the pregnant person and the baby. Even bacteria in the urine without symptoms (called asymptomatic bacteriuria) gets treated in pregnancy, which is not the case for other adults.

Safe options include nitrofurantoin, certain penicillin-type antibiotics, sulfonamides, and fosfomycin. Treatment courses run five to seven days rather than the shorter durations used outside of pregnancy. Fosfomycin’s single-dose convenience makes it a practical choice here as well, since it has shown good results for both symptom-free bacteria and active bladder infections during pregnancy.

Preventing Recurrent UTIs With Low-Dose Antibiotics

If you get three or more UTIs in a year, preventive antibiotic strategies can significantly reduce how often they come back. There are two main approaches.

Continuous daily prophylaxis involves taking a low dose of an antibiotic every day for months. Common regimens include a small daily dose of nitrofurantoin, trimethoprim-sulfamethoxazole (either daily or three times per week), cephalexin daily, or fosfomycin once every 10 days. These doses are much lower than what you’d take to treat an active infection.

If your UTIs are triggered by sexual intercourse, a single low dose of an antibiotic taken right before or after sex can be enough to prevent infection. This approach uses the same medications but only when needed, which means fewer total doses and fewer side effects over time.

Both strategies are backed by multiple clinical trials and recommended in current American Urological Association guidelines for women with recurrent uncomplicated UTIs.