Most bladder infections in women are caused by E. coli, and a small group of antibiotics clears them reliably in a few days. Which drug counts as best depends partly on what it leaves behind: some antibiotics spare the gut and keep resistance low, while others breed resistance in people who take them often. The best choice for a bladder infection is also not always the best once the infection reaches the kidneys, or for men and pregnant women.
The First-Choice Antibiotics for a Simple Bladder Infection
Nitrofurantoin (Macrobid), 100 mg twice a day for 5 days, is a leading first choice.1Clinical Infectious Diseases. International Clinical Practice Guidelines for the Treatment of Acute Uncomplicated Cystitis and Pyelonephritis in Women: A 2010 Update by the Infectious Diseases Society of America and the European Society for Microbiology and Infectious Diseases Few E. coli resist it, and it does little harm to the rest of the body’s bacteria.1Clinical Infectious Diseases. International Clinical Practice Guidelines for the Treatment of Acute Uncomplicated Cystitis and Pyelonephritis in Women: A 2010 Update by the Infectious Diseases Society of America and the European Society for Microbiology and Infectious Diseases It works about as well as 3 days of trimethoprim-sulfamethoxazole (TMP-SMX, Bactrim).1Clinical Infectious Diseases. International Clinical Practice Guidelines for the Treatment of Acute Uncomplicated Cystitis and Pyelonephritis in Women: A 2010 Update by the Infectious Diseases Society of America and the European Society for Microbiology and Infectious Diseases Take it with food, which helps absorption and reduces nausea. It can turn your urine dark yellow or brown, which is harmless.
TMP-SMX, often sold as Bactrim, is one double-strength tablet twice a day for 3 days.1Clinical Infectious Diseases. International Clinical Practice Guidelines for the Treatment of Acute Uncomplicated Cystitis and Pyelonephritis in Women: A 2010 Update by the Infectious Diseases Society of America and the European Society for Microbiology and Infectious Diseases Guidelines advise it only if fewer than 20% of local E. coli resist it, or if your strain is known to be sensitive.1Clinical Infectious Diseases. International Clinical Practice Guidelines for the Treatment of Acute Uncomplicated Cystitis and Pyelonephritis in Women: A 2010 Update by the Infectious Diseases Society of America and the European Society for Microbiology and Infectious Diseases
Fosfomycin is a single 3 g dose of powder mixed in water.1Clinical Infectious Diseases. International Clinical Practice Guidelines for the Treatment of Acute Uncomplicated Cystitis and Pyelonephritis in Women: A 2010 Update by the Infectious Diseases Society of America and the European Society for Microbiology and Infectious Diseases You drink it once, often at bedtime. Few bacteria resist it, and it spares the gut.1Clinical Infectious Diseases. International Clinical Practice Guidelines for the Treatment of Acute Uncomplicated Cystitis and Pyelonephritis in Women: A 2010 Update by the Infectious Diseases Society of America and the European Society for Microbiology and Infectious Diseases It appears slightly less effective than the short multi-day courses.1Clinical Infectious Diseases. International Clinical Practice Guidelines for the Treatment of Acute Uncomplicated Cystitis and Pyelonephritis in Women: A 2010 Update by the Infectious Diseases Society of America and the European Society for Microbiology and Infectious Diseases
When more than one drug fits, allergies and recent use often settle it. If you have a sulfa allergy or took TMP-SMX recently, nitrofurantoin or fosfomycin is the more natural pick, because the main reason to avoid TMP-SMX is already present.
Amoxicillin isn’t the default because many E. coli resist it, so it often fails when given before testing. Ciprofloxacin works, but it is held back for more serious infections because of its side effects.
Symptoms usually ease within 1 to 2 days. Call back if you see no improvement after 48 to 72 hours. Fever, back pain, or vomiting suggest the infection has reached the kidneys and needs prompt care.
Other Antibiotics Your Doctor Might Choose
Short courses of cephalexin taken twice a day cleared symptoms in about 8 of 10 people with simple UTIs.2PubMed. Revisiting β-Lactams for Treatment of Urinary Tract Infections: Assessing Clinical Outcomes of Twice-Daily Cephalexin for Empiric Treatment of Uncomplicated Urinary Tract Infections About 1 in 10 needed to switch drugs once their culture came back.2PubMed. Revisiting β-Lactams for Treatment of Urinary Tract Infections: Assessing Clinical Outcomes of Twice-Daily Cephalexin for Empiric Treatment of Uncomplicated Urinary Tract Infections Pivmecillinam, common in Europe, is another penicillin-related option.3PubMed Central. Pivmecillinam compared to other antimicrobials for community-acquired urinary tract infections with Escherichia coli, ESBL-producing or not – a retrospective cohort study
These drugs make sense when you are allergic to a first-line drug, when your culture shows resistance to those drugs, or when kidney function rules out nitrofurantoin. Courses are often a few days up to a week, depending on the drug and your prescriber’s choice. These drugs tend to be a bit less effective than the first-line drugs, which is part of why they are kept as backups.
The FDA’s strongest warning advises against ciprofloxacin and its relatives for uncomplicated UTIs.4Infection Control & Hospital Epidemiology. Impact of FDA black box warning on fluoroquinolone and alternative antibiotic use in southeastern US hospitals Rare side effects, such as tendon damage and nerve problems, outweigh the benefit when safer drugs work. If you are offered one for a simple bladder infection, it is worth asking about.
When E. coli Resists the Usual Drugs
In US emergency departments, about 1 in 4 E. coli urine infections resisted TMP-SMX.5PubMed. Risk Factors for Trimethoprim and Sulfamethoxazole-Resistant Escherichia Coli in ED Patients with Urinary Tract Infections Across hospitals, rates ranged from 13% to 45%.6PubMed. Prevalence and risk factor analysis of trimethoprim-sulfamethoxazole- and fluoroquinolone-resistant Escherichia coli infection among emergency department patients with pyelonephritis In many areas, that puts TMP-SMX above the 20% resistance level that guidelines set.
Many clinics use a local resistance summary to pick a first drug before your own results are in. It is also why a prescriber may choose nitrofurantoin over TMP-SMX without testing first: the local numbers make it the safer bet.
A urine culture grows the bacteria from your sample and tests which antibiotics kill them, usually within 2 to 3 days. In one hospital, culture results led doctors to change the antibiotic for about a third of patients.7PubMed Central. Optimizing antimicrobial therapy in urinary tract infections: A focus on urine culture and sensitivity testing If you aren’t improving, ask whether your culture is back. You usually start a first-choice antibiotic right away, based on your symptoms and local resistance patterns, and the prescriber changes it if the culture shows resistance and you are still sick.
On the report, S means sensitive, so the drug should work. R means resistant, so it is unlikely to work, and if your current drug shows R, your doctor will usually switch you. Recent antibiotic courses, recent hospital stays or travel abroad, and frequent repeat UTIs raise your risk of resistance, so tell your doctor about any of these.
Options for Resistant ESBL E. coli
ESBL E. coli produce an enzyme that destroys many common antibiotics, including most penicillins and cephalosporins. Many ESBL strains also carry other resistance genes, so TMP-SMX and ciprofloxacin often fail too.8PubMed. Oral treatment options for patients with urinary tract infections caused by extended spectrum βeta-lactamase (ESBL) producing Enterobacteriaceae Still, more than 9 in 10 ESBL strains in one survey were killed by fosfomycin and nitrofurantoin.8PubMed. Oral treatment options for patients with urinary tract infections caused by extended spectrum βeta-lactamase (ESBL) producing Enterobacteriaceae The enzyme doesn’t touch those drugs, which kill bacteria in a different way. Another study found most were killed by pivmecillinam.9PubMed Central. Oral treatment options for ambulatory patients with urinary tract infections caused by extended-spectrum-beta-lactamase-producing Escherichia coli
If your report says ESBL, a bladder infection can often still be treated with pills at home. A kidney infection with ESBL E. coli may need IV antibiotics. Tell future prescribers you have had an ESBL infection, since it guides their first choice.
Oral carbapenem antibiotics such as tebipenem and sulopenem are in testing.10PubMed Central. Oral Antibiotics in Clinical Development for Community-Acquired Urinary Tract Infections They could help people who now need IV drugs for resistant infections.
How Kidney Function Affects the Choice
Nitrofurantoin works by collecting in urine, so weaker kidneys deliver less of it to the bladder.11PubMed Central. Kidney function and the use of nitrofurantoin to treat urinary tract infections in older women With poor kidney function, more of the drug may also build up in the liver.12PubMed Central. Development of a Physiologically Based Pharmacokinetic Model for Nitrofurantoin in Rabbits, Rats, and Humans Your lab report may list eGFR, an estimate of how much blood your kidneys filter per minute, calculated from a blood creatinine test along with age and sex. The evidence for the common cutoff of 60 is thin, and some experts accept an eGFR of 40 or more.13PubMed. Nitrofurantoin contraindication in patients with a creatinine clearance below 60 mL/min: looking for the evidence
Older adults often have lower numbers without knowing it. If you are older or have kidney disease, ask your doctor about this before taking nitrofurantoin.
Kidney Infections Need Different Drugs
In a kidney infection, the bacteria have climbed up the ureters into the kidney itself, where they can damage tissue and enter the bloodstream. TMP-SMX and ciprofloxacin and its relatives reach infected kidney tissue well, and are preferred over penicillin-type drugs for kidney infections.14PubMed. Treatment of pyelonephritis in adults Nitrofurantoin and fosfomycin mainly reach the bladder, so they can’t clear bacteria sitting in kidney tissue and are not used here.
The signs are fever and chills, pain in the side or back, and nausea or vomiting. These need same-day care.
Treatment usually lasts about a week or longer, and a severe infection may start with IV antibiotics. Because these drugs can fail against resistant strains, doctors often start with a drug that covers more bacteria, sometimes a single IV dose, then adjust when the culture comes back.
Antibiotics During Pregnancy
Most UTI antibiotics recommended in pregnancy have shown no harm in human pregnancies.15PubMed Central. Which Antibiotic for Urinary Tract Infections in Pregnancy? A Literature Review of International Guidelines TMP-SMX, trimethoprim, and ciprofloxacin carry more caution.15PubMed Central. Which Antibiotic for Urinary Tract Infections in Pregnancy? A Literature Review of International Guidelines Trimethoprim interferes with folate, a vitamin important for early fetal development, so it is generally avoided in the first trimester unless there is no better option. Ciprofloxacin and related drugs are generally avoided when safer drugs will work, because of concerns about effects on developing tissue.
Cephalexin is widely used during pregnancy. Nitrofurantoin is often used too, though it is usually avoided near delivery. Tell any prescriber you are pregnant before you start an antibiotic.
Pregnancy changes the urinary tract in ways that make it easier for bacteria to travel up to the kidneys. For that reason, even E. coli found without symptoms is treated, because it can lead to a kidney infection.16PubMed Central. The Paradigm Shift to Non-Treatment of Asymptomatic Bacteriuria A urine culture is routinely used, so treatment can be matched to the bacteria and checked afterward.
Treatment Length for Women, Older Adults, and Men
In older women, 3 to 6 days worked about as well as 7 to 14 days.17PubMed. Antibiotic duration for treating uncomplicated, symptomatic lower urinary tract infections in elderly women Long-term care residents with bladder infections did as well on short courses.18Public Health Ontario. Duration of Antibiotic Treatment for Uncomplicated Urinary Tract Infection in Long-Term Care Residents Shorter courses cause fewer side effects such as diarrhea and yeast infections, and they give resistant bacteria less chance to grow.
UTIs in men are often treated as complicated, because the prostate may be involved.19Drug Information Group. What is the optimal duration of antibiotics for complicated UTI in a male patient? Bacteria can settle in the prostate, and antibiotics must reach that tissue, so drugs that concentrate only in urine are less suitable. For men without fever, 7 days of ciprofloxacin or TMP-SMX worked as well as 14 days.20PubMed Central. Effect of 7 vs 14 Days of Antibiotic Therapy on Resolution of Symptoms Among Afebrile Men With Urinary Tract Infection: A Randomized Clinical Trial A man with fever, pelvic pain, or trouble urinating may need a longer course. A man with a first UTI is usually offered a culture, and your prescriber may adjust the drug and length based on it.
E. coli in Urine Without Symptoms
Sometimes bacteria grow in the urine of a person with no burning, urgency, fever, or other urinary symptoms. It is common, especially in older women and people with diabetes, and often does no harm. Guidelines advise against treating it in most adults, including older and diabetic people.16PubMed Central. The Paradigm Shift to Non-Treatment of Asymptomatic Bacteriuria Treating it is linked to more resistant infections later.21PubMed. Asymptomatic bacteriuria treatment is associated with a higher prevalence of antibiotic resistant strains in women with urinary tract infections In young women with repeat UTIs, these bacteria may even help protect against new infections.22Urogenital Infections and Inflammations. Living Handbook. Asymptomatic bacteriuria in recurrent UTI – to treat or not to treat A urine test detects bacteria but cannot tell whether they are causing illness or simply living there.
Cloudy or smelly urine on its own is not a reason for antibiotics. Ask whether you have true symptoms such as burning, urgency, or fever. The question matters especially for older relatives in care homes, who are often tested and treated unnecessarily.
Preventing Repeat Infections
Daily low-dose antibiotics, a single dose after sex, and self-started treatment at the first symptoms all reduce repeat infections.23PubMed. Recurrent urinary tract infection A dose after sex works as well as taking antibiotics every day.24Open Forum Infectious Diseases. Antibiotics for Preventing Recurrent Urinary Tract Infection: Systematic Review and Meta-analysis A daily low dose suits people with frequent infections not clearly linked to a trigger. A dose after sex suits people whose infections follow intercourse. Self-start treatment suits people who recognize their symptoms and can get a urine sample tested promptly.
Repeat UTIs usually means two infections in six months or three in a year. Keep a record of the dates and culture results to bring to your doctor.
D-mannose, a sugar sold as a supplement, can stick to E. coli in urine and keep it from attaching to the bladder wall.25PubMed Central. Systematic review of the effect of D-mannose with or without other drugs in the treatment of symptoms of urinary tract infections/cystitis Most of the evidence comes from lab and animal work, so it is an add-on rather than a treatment.26PubMed Central. Role of D-mannose in urinary tract infections – a narrative review

