← Master Index· Section 8 · Infectious Diseases · Chapter 51

Urinary Tract Infections and Prostatitis

Cystitis vs PyelonephritisNitrofurantoin/TMP-SMX/FosfomycinProstatitisDiPiro Ch 51 + PHAR 741

30-Second Snapshot

What it is:A urinary tract infection is microorganisms in the urine that can't be explained by contamination, with the potential to invade the bladder, urethra, prostate, or kidney. That single definition covers a spectrum from a nuisance case of cystitis to a patient who is septic from pyelonephritis.

The core problem:Symptoms alone can't tell you whether you're dealing with a 3-day problem or a 6-week problem. A 25-year-old with dysuria and a 70-year-old man with the exact same organism need completely different workups, drugs, and durations, and picking the wrong lane is the most common way students get UTI questions wrong.

What you do about it:Sort the patient into a lane first (uncomplicated cystitis vs. pyelonephritis vs. complicated vs. male vs. prostatitis), then match the drug to the site. Cystitis just needs high urine concentrations for a few days. Pyelonephritis and prostatitis need drugs that actually penetrate kidney and prostate tissue, for weeks, because that's where the bacteria actually are.

Worth knowing

Every decision in this chapter collapses to three questions: where is the infection(bladder vs. kidney vs. prostate), is it complicated(any structural, functional, or host factor that impairs normal urine flow or defenses), and is the patient male(if yes, treat it as complicated by default and get a culture, full stop). Answer those three and the drug and duration almost pick themselves.

Classifying UTIs

UTI is really an umbrella term. Urethritis, cystitis (bladder), prostatitis (prostate), and epididymitis are lower tract infections. Pyelonephritis (kidney) is the only upper tract infection.That anatomic split is the whole reason duration and drug selection change so much between "just cystitis" and "it's in the kidney now."

CategoryDefinitionWhy it matters
UncomplicatedNo structural or functional abnormality interfering with urine flow or voidingPredictable organism (E. coli), predictable susceptibility, short empiric course without a culture
ComplicatedA predisposing lesion is present: congenital abnormality, stone, indwelling catheter, prostatic hypertrophy, obstruction, or neurologic deficit affecting urine flowWider range of organisms, higher resistance, culture-directed therapy, longer course
Recurrent≥2 UTIs in 6 months, or ≥3 in 1 yearSplits into reinfection (different organism, most common) vs. relapse (same organism) - the two have completely different workups
Reinfection vs. relapse is a testable distinction

Reinfectionis caused by a different organism and accounts for the majority of recurrent UTIs; it's often behavioral (sexual activity, spermicide use) and gets managed with prophylaxis or per-episode treatment. Relapseis the same organism coming back, usually because the original course didn't fully sterilize the tissue, a stone or abscess is harboring bacteria, or the drug never penetrated the source well enough. Relapse is the one that earns a urologic workup, not just a repeat round of antibiotics.

Pathophysiology - Why the Drug List Looks Like This

Almost every UTI-causing organism starts as normal bowel flora. Bacteria reach the urinary tract by three routes: ascending(by far the dominant route, and the reason women get UTIs so much more often, since the urethra is short and close to the rectum), hematogenous/descending, and lymphatic.

SettingTypical organisms
Uncomplicated, community-acquiredE. coli(>80-90%), Staphylococcus saprophyticus, Klebsiella pneumoniae, Proteusspp., Pseudomonas aeruginosa, Enterococcusspp.
Complicated or nosocomialE. colidrops to <50% of isolates; more Proteus, Klebsiella, Enterobacter, P. aeruginosa, staphylococci. Enterococcusis the second most common organism in hospitalized patients.

Most UTIs are caused by a single organism. Multiple organisms showing up on culture is itself a clinical clue, it points toward stones, indwelling catheters, or a chronic renal abscess rather than routine cystitis. Vancomycin-resistant enterococci (VRE)are increasingly seen in patients with long hospitalizations or underlying malignancy, which matters when you're building empiric coverage for a sick, hospitalized, complicated patient.

Why empiric therapy is fine in cystitis but not in complicated infection

Uncomplicated cystitis is dominated by one predictable organism with predictable local susceptibility, so it's cost-effective to treat empirically off a urinalysis alone, without waiting on a culture. Complicated and nosocomial infections pull from a much wider, less predictable organism pool that includes Pseudomonasand enterococci, so empiric coverage has to broaden and a culture becomes essential rather than optional.

Clinical Presentation

TractSymptoms
Lower UTIDysuria, urgency, frequency, nocturia, suprapubic heaviness, gross hematuria, costovertebral tenderness
Upper UTI (pyelonephritis)Flank pain, fever, nausea, vomiting, malaise
Symptoms alone don't diagnose a UTI

The only way to actually distinguish contamination from infection is demonstrating significant numbers of organisms in a properly collected specimen. That's why a urinalysis, and often a culture, is part of the workup even when the story sounds classic.

Older adults are the classic trap.They frequently skip the textbook dysuria/frequency picture entirely and instead present with altered mental status, a change in eating habits, or nonspecific GI symptoms. If you're only screening elderly patients for "the usual" UTI symptoms, you'll miss a real infection sitting behind a vague presentation.

Diagnosis

Start with a standard urinalysis on every patient. Microscopic exam via Gram stain of an unspun or centrifuged specimen is the fastest window into what you're dealing with.

TestWhat it tells you
Gram stain, oil-immersion field≥1 organism/field on a properly collected, uncentrifuged specimen correlates with >105CFU/mL of urine
Quantitative colony count≥105CFU/mL is the classic threshold for a UTI, but up to 50% of symptomatic femalespresent with lower counts (as low as 103CFU/mL) - the cutoff misses real, symptomatic infection nearly half the time
Pyuria>10 WBC/mm3in a symptomatic patient correlates with significant bacteriuria; 5-10 WBC/mm3is the accepted upper limit of normal
Nitrite testDetects nitrate-reducing organisms (e.g., E. coli); dipstick, fast
Leukocyte esteraseRapid dipstick surrogate for pyuria
Quantitative urine cultureThe most reliable diagnostic method. >105bacteria/mL is typical, but as many as one-third of symptomatic femalesculture below that threshold
Where the nitrite test fails you

A negative nitrite test doesn't rule out infection. It only detects nitrate-reducing organisms, so infections caused by non-nitrate reducers like S. saprophyticusor Enterococcuswill read falsely negative. Pair it with clinical judgment and pyuria, don't lean on it alone.

Treatment Approach

Goals of therapy:eradicate the invading organism, prevent or treat systemic consequences, prevent recurrence, and minimize collateral damage from unnecessarily broad-spectrum antimicrobials. Selection hinges on severity of presentation, site of infection, complicated vs. uncomplicated status, local susceptibility, side-effect profile, cost, recent antibiotic exposure, and how convenient the regimen actually is for the patient to complete.

Acute uncomplicated cystitis

Because E. colidominates and its susceptibility is generally predictable, the cost-effective approach is a urinalysis plus empiric therapy, without a routine urine culture. Short-course therapy (3 days) beats single-dose therapyfor uncomplicated infection, with one deliberate exception: fosfomycin is designed as a single dose and stays effective as one.

Antibiotic stewardship, not just "what works"

Nitrofurantoin, TMP-SMX, and fosfomycin are first-linefor uncomplicated cystitis. Fluoroquinolones work too, but they're deliberately held in reserve for suspected or possible pyelonephritisbecause of their collateral damage risk (C. difficile, tendon injury, resistance selection pressure on other organisms). Don't reach for a fluoroquinolone just because it "covers everything" in straightforward cystitis, that's the wrong instinct here.

Most E. coliremain TMP-SMX susceptible, but resistance is climbing and has been reported as high as 27% in some areas. If local E. coliresistance to TMP-SMX exceeds 20%, switch to nitrofurantoin or fosfomycin instead.β-lactams as a class are less effective than TMP-SMX or fluoroquinolones for acute cystitis, and amoxicillin or ampicillin alone should not be used given resistance rates.

The women's algorithm, in plain steps

1

Lower tract symptoms

Urinalysis/Gram stain. Significant bacteriuria present? If no, think symptomatic abacteriuria.
2

Short-course therapy

Treat empirically. Clinical cure vs. failure vs. recurrence drives the next step.
3

Recurrence workup

Repeat culture 2 weeks post-therapy: negative = reinfection pathway; positive = relapse, retreat and consider urologic evaluation.
4

Upper tract symptoms

Flank pain/fever routes the patient straight to the pyelonephritis pathway (obtain culture, assess for hospitalization).

Dosing by Diagnosis

IndicationDrugOral doseIntervalDuration
Uncomplicated cystitisTrimethoprim-sulfamethoxazole1 DS tabletTwice daily3 days
Nitrofurantoin monohydrate100 mgTwice daily5 days
Fosfomycin trometamol3 gSingle dose1 day
Ciprofloxacin250 mgTwice daily3 days
Levofloxacin250 mgOnce daily3 days
Amoxicillin-clavulanate500 mgEvery 8 hours5-7 days
Complicated cystitisTrimethoprim-sulfamethoxazole1 DS tabletTwice daily7-10 days
Ciprofloxacin250-500 mgTwice daily7-10 days
Levofloxacin250 mg (or 750 mg)Once daily10 days (or 5 days at 750 mg)
Amoxicillin-clavulanate500 mgEvery 8 hours7-10 days
Recurrent infection prophylaxisNitrofurantoin50 mgOnce daily6 months
Trimethoprim-sulfamethoxazole1/2 SS tabletOnce daily6 months
Acute pyelonephritisTrimethoprim-sulfamethoxazole1 DS tabletTwice daily14 days
Ciprofloxacin500 mg (or 1000 mg ER)Twice daily (ER once daily)14 days (ER: 7 days)
Levofloxacin250 mg (or 750 mg)Once daily10 days (or 5 days at 750 mg)
Amoxicillin-clavulanate500 mgEvery 8 hours14 days
Notice the pattern

Same drug, same drug family, but the duration climbs as the infection moves from bladder to kidney to complicated disease: 3 days for simple cystitis, 7-10 days once it's complicated, 14 days once it's in the kidney. Dose intervals stay mostly the same, duration is what does the work.

Drug-by-Drug: What Each Agent Is Actually For

Trimethoprim-sulfamethoxazole (TMP-SMX) - the workhorse, if local resistance allows

Highly effective against most aerobic enteric bacteria except P. aeruginosa. Achieves high urinary tract tissue concentrations, which is exactly why it holds up in complicated infections and why it's also used as long-term prophylaxis for recurrent UTIs, not just acute treatment.

Adverse effects

Rash, including Stevens-Johnson syndrome, renal failure, photosensitivity, and hematologic toxicity (neutropenia, anemia). Monitor serum creatinine, BUN, electrolytes, rash, and CBC.

Local resistance matters here more than almost any other UTI drug decision: reported resistance up to 27% in some regions means you cannot assume it will work without knowing your local antibiogram.

Nitrofurantoin - the low-resistance workhorse, bladder-only

Effective both therapeutically and prophylactically in recurrent UTIs. Its main advantage is durable low resistance, even after long courses of therapy, which is unusual and part of why it's still first-line despite decades of use.

Adverse effects:GI intolerance, neuropathies, and pulmonary reactions. Get a baseline serum creatinine and BUN.

It only achieves meaningful concentrations in the bladder, not the kidney or prostate, which is exactly why it has no role in pyelonephritis or prostatitis.

Fosfomycin trometamol - one dose, done

Single-dose therapy for uncomplicated infections, with low levels of resistance. Adverse effects: diarrhea, headache, angioedema. No routine monitoring tests are recommended. Use with caution in hepatic dysfunction.

Fluoroquinolones (ciprofloxacin, levofloxacin) - broad, but held in reserve

Greater spectrum of activity, including P. aeruginosa, and effective for both pyelonephritis and prostatitis because they penetrate tissue well. Avoid in pregnancy and children.Moxifloxacin should not be usedfor UTI, it doesn't achieve adequate urinary concentrations despite being a fluoroquinolone.

Adverse effects

Hypersensitivity, photosensitivity, GI symptoms, dizziness, confusion, and tendonitis/tendon rupture (black box warning). Monitor CBC, baseline serum creatinine, and BUN.

Amoxicillin-clavulanate - the preferred penicillin now

Rising E. coliresistance to plain aminopenicillins has made amoxicillin-clavulanate the preferred penicillin for uncomplicated cystitis(plain amoxicillin/ampicillin alone should not be used). Adverse effects: hypersensitivity (rash, anaphylaxis), diarrhea, superinfection, seizures. Monitor CBC and for rash/hypersensitivity.

Oral cephalosporins (cefaclor, cefpodoxime) - no real advantage

No major advantage over other first-line agents, more expensive, and not active against enterococci. Same monitoring as other β-lactams: CBC, signs of rash/hypersensitivity.

Parenteral options for severe or complicated infection

Aminoglycosides (gentamicin, tobramycin, amikacin):renally excreted, achieve good urinary concentrations. Amikacin is generally reserved for multidrug-resistant organisms. Toxicities: ototoxicity, nephrotoxicity. Monitor serum creatinine, BUN, and individualized pharmacokinetics.

Extended-spectrum penicillins (ampicillin-sulbactam, piperacillin-tazobactam):more active against P. aeruginosaand enterococci than cephalosporins, and useful when you want to avoid an aminoglycoside or the patient has renal impairment.

Parenteral cephalosporins:second- and third-generation agents (ceftriaxone, ceftazidime, cefepime) have broad gram-negative activity but no enterococcal coverage. Ceftazidime and cefepime cover P. aeruginosa; useful for nosocomial infection and urosepsis.

Carbapenems/monobactams:imipenem, meropenem, and doripenem cover P. aeruginosaand enterococci, but ertapenem does not. Aztreonam is gram-negative only, useful in penicillin-allergic patients. Generally reserved for nosocomial infection when aminoglycosides need to be avoided.

Acute Pyelonephritis

High-grade fever (>38.3°C / 100.9°F) plus severe flank pain should be treated as pyelonephritis, and it warrants aggressive management. At presentation: Gram stain of urine, urinalysis, culture, and sensitivities, every time.

SeveritySettingApproach
Mild-to-moderateOutpatient, oralFluoroquinolone (cipro or levo) orally x 7-10 days is first-line.TMP-SMX x 14 days is an alternative. If Gram stain shows gram-positive cocci, think Enterococcus faecalisand direct therapy at it (ampicillin).
Severely illHospitalize, IVIV fluoroquinolone, an aminoglycoside with or without ampicillin, or an extended-spectrum cephalosporin with or without an aminoglycoside
When to widen empiric coverage

If the patient was hospitalized in the last 6 months, has a urinary catheter, or lives in a nursing home, think P. aeruginosa, enterococci, and multidrug-resistant organisms. That triggers broad-spectrum empiric therapy: an extended-spectrum β-lactam/β-lactamase inhibitor or a carbapenem.

Obtain a follow-up urine culture 2 weeks after completing therapyto confirm a satisfactory response and catch relapse early.

Walking through a real case

D.S., a 36-year-old otherwise healthy woman with 4 days of dysuria plus 2 days of chills, fever, and flank pain, is diagnosed with pyelonephritis. Baseline labs are normal, she's not pregnant, and she's allergic to sulfa. That allergy takes TMP-SMX off the table immediately, which is exactly the kind of detail that should reroute you to an oral fluoroquinolone for mild-to-moderate outpatient management. When her culture returns 4+ E. coliand she isn't improving by day 2, that's a signal to reassess (adequate dosing, adherence, possible need for IV therapy or hospitalization) rather than just waiting it out. Once she's afebrile 36-48 hours and clinically improving, she can step down to an oral regimen to complete the full course as an outpatient. That IV-to-PO, culture-directed narrowing is the core workflow for any hospitalized pyelonephritis patient, not just this one.

UTIs in Men & Prostatitis

Therapy in men requires prolonged treatment, and the reasons trace straight back to anatomy: the prostate is a reservoir that ordinary short courses don't sterilize.

StepDetail
Culture firstAlways obtain a urine culture before treating; the causative organism is far less predictable in men than in women
Empiric choiceIf gram-negative bacteria are presumed, TMP-SMX or a fluoroquinolone
Initial duration10-14 days
Recurrent infection in menCure rates are much higher with a 6-week TMP-SMX regimenthan with a standard short course

The men's management pathway branches on whether there's a prostatic source: a complicated but non-prostatic infection gets treated for 2 weeks with a follow-up culture; signs of acute prostatitis or pyelonephritis route the patient to 6 weeks of prostatic-source therapy, sometimes starting with 2 weeks of hospitalization and parenteral antibiotics before the oral phase. Persistent positive cultures after the prostatic course prompt consideration of long-term suppression or surgery.

Prostatitis specifically

PathogensRecommended therapyComments
E. coli, K. pneumoniae, Proteusspp., P. aeruginosaTMP-SMX x 4-6 weeks, or a fluoroquinolone x 4-6 weeksAcute prostatitis may require IV therapy initially. Chronic prostatitis may require longer treatment periods or surgery.
Why prostatitis needs 4-6 weeks, not 7-14 days

The prostate is a pharmacologic reservoir that most antibiotics can't reach in useful concentrations. TMP-SMX and the fluoroquinolones are the agents that actually achieve therapeutic prostatic tissue levels, which is exactly why they show up here and in the fluoroquinolone drug summary as "effective for prostatitis" while nitrofurantoin, which never leaves the bladder, has no role at all. The extended duration exists because you're trying to sterilize tissue that's hard to penetrate in the first place, not because the organism is unusually resistant.

Recurrent Infections

Recurrent UTIs (reinfections and relapses together) make up a significant share of all UTIs, and they're overwhelmingly a female problem. Split patients into two groups based on frequency.

A

Infrequent (<3/year)

Treat each episode as its own separate infection with standard short-course therapy.
B

Frequent, no clear trigger

Long-term prophylaxis: nitrofurantoin 50 mg daily or TMP-SMX 1/2 SS tablet daily, generally for 6 months, with monthly urine cultures to track it.
Coital prophylaxis is a real, specific strategy

In women whose symptomatic reinfections track with sexual activity, voiding after intercoursecan help mechanically clear organisms before they establish infection, and self-administered, single-dose TMP-SMX taken after intercoursesignificantly reduces recurrence. This is a distinct strategy from daily suppressive prophylaxis, matched to a distinct trigger.

Relapse gets escalating durations, not a repeat of the same course:relapse after short-course therapy earns a 2-week course; relapse after that 2-week course extends therapy another 2-4 weeks; and relapse after 6 weeks of treatment triggers a urologic examination, with therapy for 6 months or longer on the table.

Special Populations

Pregnancy

Treat both symptomatic and asymptomatic bacteriuriain pregnancy to avoid downstream pregnancy complications. Use a low-adverse-effect agent, typically cephalexin, amoxicillin, or amoxicillin/clavulanate for 7 days.

Drugs to avoid in pregnancy

Tetracyclines(teratogenic). Sulfonamides in the third trimester(risk of kernicterus and hyperbilirubinemia in the newborn). Fluoroquinolones, entirely, throughout pregnancy (potential to inhibit fetal cartilage and bone development).

Catheterized patients

ScenarioApproach
Asymptomatic bacteriuria, short-term catheter (<30 days)Withhold systemic antibiotics. Remove the catheter as soon as possible.
Symptomatic, short-term catheterRemove the catheter again, and treat as a complicated infection.
Long-term catheterizationAntibiotics only postpone bacteriuria and select for resistant organisms; asymptomatic bacteriuria is not treated here either.
The trap: treating asymptomatic catheter bacteriuria

Positive urine culture in an asymptomatic catheterized patient is not, by itself, a reason to prescribe antibiotics. Overtreating it doesn't help the patient and actively breeds resistant organisms. This is one of the most common inappropriate-antibiotic-use scenarios in inpatient settings.

Monitoring - What, When, Why

ParameterWhenWatching for
Symptom resolution48-72 hours after starting therapyClinical improvement; lack of improvement should prompt reassessment of the regimen, adherence, or need for escalation
Follow-up urine culture2 weeks post-therapy for pyelonephritis, complicated infection, and infections in menRelapse vs. cure; positive culture routes to retreatment and possible urologic workup
Serum creatinine, BUNBaseline, especially with TMP-SMX, nitrofurantoin, fluoroquinolones, or aminoglycosidesRenal function, dose adjustment needs
CBC / signs of rashBaseline and during therapy with TMP-SMX, β-lactams, or fluoroquinolonesHematologic toxicity, hypersensitivity reactions
Serum aminoglycoside concentrationsDuring IV aminoglycoside therapyIndividualized pharmacokinetic dosing; ototoxicity and nephrotoxicity avoidance
Monthly urine cultureThroughout a 6-month prophylactic course for recurrent infectionsBreakthrough infection despite prophylaxis

Patient Counseling - What You'll Actually Say

  • "Finish every dose, even once you feel better."Stopping early, especially in pyelonephritis or prostatitis, is how relapse and resistance happen.
  • "Take this with food"for nitrofurantoin, it cuts down on GI upset and helps absorption.
  • "Dissolve the whole packet in a glass of water, don't take it dry"for fosfomycin, and remind the patient it's a single dose, there's nothing else to take tomorrow.
  • "You may burn more easily in the sun on this medication,"for TMP-SMX and fluoroquinolones, so recommend sunscreen and sun avoidance.
  • "Call right away if you get a rash, especially with blistering or peeling,"for TMP-SMX, given the Stevens-Johnson risk.
  • "Report any tendon pain, swelling, or a snapping feeling,"for fluoroquinolones, and hold the drug and call if that happens, tendon rupture is a black box warning.
  • "Try to urinate after sex,"for women with infections tied to sexual activity, it's a simple, effective habit to reduce reinfection.
  • "Drink enough fluids to stay well hydrated"throughout treatment, it helps flush the urinary tract and eases symptoms.
  • "This can turn your urine a harmless brown or dark yellow color"on nitrofurantoin, so patients aren't alarmed by it.
  • "Call if your fever or flank pain gets worse instead of better,"especially in pyelonephritis, since that can mean the current regimen isn't working.

High-Yield Recall Sheet

  • Lower tract= urethritis, cystitis, prostatitis, epididymitis. Upper tract= pyelonephritis only.
  • Uncomplicated= no structural/functional abnormality. Complicated= any lesion, catheter, obstruction, or neuro deficit impairing urine flow.
  • Recurrent= ≥2 in 6 months or ≥3 in 1 year. Reinfection(different organism, most common) vs. relapse(same organism, needs workup).
  • E. colicauses 80-90% of uncomplicated UTIs; drops to <50% in complicated/nosocomial infection, where Enterococcusis the #2 organism in hospitalized patients.
  • Ascending route from bowel flora is the dominant infection pathway, explaining female predominance.
  • ≥105CFU/mLis the classic culture cutoff, but up to 50% of symptomatic women culture lower(as low as 103).
  • Pyuria = >10 WBC/mm3; 5-10 is the accepted upper limit of normal.
  • Nitrofurantoin, TMP-SMX, and fosfomycin are first-linefor uncomplicated cystitis; fluoroquinolones are reservedfor suspected pyelonephritis due to collateral damage risk.
  • If local TMP-SMX resistance >20%, switch first-line to nitrofurantoin or fosfomycin.
  • Duration climbs with severity:3 days uncomplicated cystitis, 7-10 days complicated cystitis, 14 days pyelonephritis (or 7 days with ciprofloxacin ER 1000 mg).
  • Moxifloxacin should never be used for UTI, inadequate urinary concentrations despite being a fluoroquinolone.
  • Pyelonephritis definition:fever >38.3°C plus flank pain. Mild-moderate = outpatient oral FQ x 7-10 days; severely ill = hospitalize, IV therapy.
  • Broaden empiric pyelonephritis coverage(BL/BLI or carbapenem) if hospitalized in the last 6 months, catheterized, or in a nursing home.
  • UTIs in men are always treated as complicated: culture first, 10-14 days initial therapy, 6-week TMP-SMX for recurrence.
  • Prostatitis needs 4-6 weeksof TMP-SMX or a fluoroquinolone, because only those agents reach therapeutic prostatic tissue concentrations.
  • Recurrent infection prophylaxis:nitrofurantoin 50 mg daily or TMP-SMX 1/2 SS daily x 6 months, with monthly cultures; post-coital single-dose TMP-SMX for sexually-associated reinfection.
  • Pregnancy:treat asymptomatic bacteriuria too. Use cephalexin/amoxicillin/amoxicillin-clavulanate x 7 days. Avoid tetracyclines, third-trimester sulfonamides, and fluoroquinolones entirely.
  • Asymptomatic bacteriuria in a catheterized patient is not treated, remove the catheter instead; long-term catheters only get antibiotics if symptomatic.
  • Follow-up culture at 2 weeks post-therapyfor pyelonephritis, complicated infections, and infections in men.
  • Nitrofurantoin never leaves the bladder, no role in pyelonephritis or prostatitis; it's a cystitis-only and prophylaxis-only drug.