Most uncomplicated urinary tract infections are cured with a short course of oral antibiotics, often lasting just three to five days. The specific antibiotic your provider chooses depends on local resistance patterns, your medical history, and whether the infection is in the bladder or has spread to the kidneys.
First-Line Antibiotics for Uncomplicated UTIs
Three antibiotics are consistently recommended as first choices for a straightforward bladder infection in women. Nitrofurantoin is taken as 100 mg twice daily for five days. It works through multiple mechanisms against bacteria simultaneously, which keeps resistance rates remarkably low even after decades of use. The tradeoff is that it only reaches effective concentrations in the bladder, so it can’t treat kidney infections.
Fosfomycin is the simplest option: a single 3-gram dose, taken once. A systematic review and meta-analysis found that this one-dose treatment was just as effective as multi-day courses of other antibiotics for clearing uncomplicated UTIs. That convenience makes it a popular choice, though it tends to cost more than a five-day course of nitrofurantoin.
Pivmecillinam, a penicillin-type antibiotic taken 400 mg three times daily for three to five days, rounds out the first-line options. It’s especially effective against E. coli and other common UTI-causing bacteria, including some drug-resistant strains. It won’t work against every type of urinary bacteria, but since E. coli causes the vast majority of bladder infections, it covers most cases well.
Trimethoprim-Sulfamethoxazole as a Second Choice
Trimethoprim-sulfamethoxazole (often called TMP-SMX or by the brand name Bactrim) was once the go-to UTI antibiotic. It’s still effective, but resistance has climbed significantly. Hospital data tracking E. coli resistance from 2019 to 2023 found that 25 to 34 percent of E. coli samples were resistant to TMP-SMX in any given year. That means roughly one in three infections may not respond to it.
Current guidelines recommend TMP-SMX only in areas where local E. coli resistance stays below 20 percent. When it does work, a typical course is one double-strength tablet twice daily for three days. Trimethoprim alone (without the sulfa component) is another option at 200 mg twice daily for five days, with similar resistance concerns.
Why Fluoroquinolones Are No Longer Recommended
Ciprofloxacin and levofloxacin were once widely prescribed for UTIs. That changed after the FDA added its strongest warning, a boxed warning, to all fluoroquinolone labels. The agency identified a pattern of disabling, sometimes permanent side effects that could involve muscles and joints, nerve damage, and neuropsychiatric symptoms. In reviewed cases, 97 percent involved musculoskeletal problems, 68 percent had neuropsychiatric effects, and 63 percent had peripheral nerve damage. These effects lasted 30 days or longer after stopping the drug.
An FDA advisory committee voted 20 to 1 that the risks of fluoroquinolones do not justify their use for uncomplicated UTIs. The labeling now states these drugs should be reserved for patients who have no alternative treatment options. For a simple bladder infection, safer antibiotics work just as well.
How Quickly Symptoms Improve
Most people notice pain and burning starting to ease within one to two days of their first dose. The urgency and frequency typically take a bit longer to fully resolve. Even though you may feel better quickly, finishing the entire prescribed course is important. Stopping early gives surviving bacteria a chance to regrow and potentially develop resistance.
UTI Antibiotics During Pregnancy
Pregnancy narrows the list of safe options considerably, and the trimester matters. Amoxicillin and cephalosporins like cephalexin and cefuroxime are generally considered safe throughout pregnancy and breastfeeding. Fosfomycin is another option, though some guidelines advise against it when there’s an increased risk of premature birth.
Several common UTI antibiotics carry trimester-specific restrictions. Trimethoprim interferes with folate metabolism, so it’s avoided in the first trimester when the neural tube is forming. If no alternative exists, it can be used alongside high-dose folic acid. TMP-SMX is avoided in both the first and third trimesters. Nitrofurantoin is typically avoided after 36 weeks because it can cause a type of blood cell breakdown in newborns. UTIs during pregnancy always require a urine culture to confirm which bacteria is present and which antibiotics will work against it.
Antibiotics for Recurrent UTIs
If you get three or more UTIs in a year, your provider may suggest a preventive strategy. The most established approach is low-dose, long-term antibiotic prophylaxis, typically taken at bedtime for at least six months. The preferred options for prevention are nitrofurantoin at 50 to 100 mg nightly, TMP-SMX at a reduced dose nightly, or trimethoprim at 100 mg nightly. These doses are lower than what you’d take to treat an active infection.
An alternative that works equally well for some people is self-directed therapy. You keep a short course of antibiotics on hand and start taking them at the first sign of symptoms, ideally after collecting a urine sample for culture. This approach results in fewer gastrointestinal side effects than daily prophylaxis and uses less total antibiotic exposure over time. It does require that you can reliably recognize your UTI symptoms early.
People with significant kidney impairment (filtration rate below 30) can’t safely use nitrofurantoin or sulfa-based drugs for prevention. In those cases, trimethoprim alone or fosfomycin taken once every 10 days are the preferred alternatives.
Why Antibiotic Choice Depends on Your Situation
No single antibiotic is the universal best choice. The right one depends on your local resistance patterns, whether you’re pregnant, your kidney function, whether you have drug allergies, and whether the infection is confined to the bladder or has reached the kidneys. Nitrofurantoin and fosfomycin remain the most reliably effective options for uncomplicated bladder infections because bacteria have been slow to develop resistance to them. For anything beyond a straightforward first-time bladder infection, a urine culture helps identify exactly which bacteria is responsible and which antibiotics will clear it.