Skip to main content

Urinary Tract Infections

Urinary tract infections (UTIs) are among the most common bacterial infections in the world and one of the top reasons antibiotics are prescribed in outpatient practice. They range from a self-limiting nuisance — the classic "burning" and urgency of bladder cystitis — to a life-threatening emergency when infection ascends to the kidneys and spills into the bloodstream. Understanding UTIs well means understanding a small number of principles very deeply: which bugs cause them, why some patients are at risk, how to distinguish infection from mere colonization, and how to treat effectively without fuelling antibiotic resistance.

This page teaches UTIs the way an infectious-disease clinician thinks about them: not as a single disease but as a spectrum defined by anatomy, host factors, and severity. Get those distinctions right and the management almost writes itself.

Learning Objectives

  • Define the UTI spectrum: asymptomatic bacteriuria, uncomplicated cystitis, complicated UTI, and pyelonephritis.
  • Identify the major uropathogens and the "UTI" acronym for the usual suspects.
  • Explain the pathophysiology of ascending infection and the host defences that normally prevent it.
  • Interpret urinalysis and urine culture results, including what counts as significant bacteriuria.
  • Select appropriate empirical antibiotics and understand when NOT to treat.
  • Recognise red flags for sepsis and when imaging or urological referral is needed.

Quick Answer

A UTI is infection anywhere along the urinary tract, most often caused by Escherichia coli ascending from the perineum. Lower-tract infection (cystitis) causes dysuria, frequency, and urgency; upper-tract infection (pyelonephritis) adds fever, flank pain, and systemic illness. Diagnosis rests on symptoms plus urinalysis (pyuria, nitrites), confirmed by culture in complicated cases. Uncomplicated cystitis in a non-pregnant woman is treated with a short course of nitrofurantoin, trimethoprim-sulfamethoxazole, or fosfomycin; pyelonephritis needs a fluoroquinolone or broader agent and sometimes admission. Crucially, asymptomatic bacteriuria should NOT be treated except in pregnancy or before urological procedures — treating it wastes antibiotics and breeds resistance.

Where It Came From

For most of medical history, "the stone" and "strangury" (painful, drop-by-drop urination) were described but not understood. The link between bacteria and urinary disease had to wait for the germ theory of the nineteenth century. The real motivation for studying UTIs systematically came from two practical pressures. First, maternal medicine: obstetricians in the early twentieth century noticed that pregnant women with bacteria in their urine — even without symptoms — went on to develop kidney infections and premature labour at alarming rates. This drove the concept of screening urine in pregnancy, still standard today.

Second, the quantitative revolution came from Edward Kass in the 1950s. Before Kass, any bacteria in a urine sample were treated as suspect, but urine collected past the urethra is easily contaminated by skin flora. Kass showed that counts of 100,000 (10^5) colony-forming units per millilitre reliably distinguished true bladder infection from contamination. This single insight — that the number of organisms matters, not just their presence — transformed urine culture from guesswork into a real diagnostic test and remains the reference standard, though we now use lower thresholds in symptomatic patients.

The modern chapter is antimicrobial resistance. Because UTIs are so common and so often treated empirically, they became one of the first arenas where community resistance to trimethoprim, ciprofloxacin, and even extended-spectrum beta-lactamase (ESBL) producing E. coli forced clinicians to change first-line therapy. UTIs are now a front line in antibiotic stewardship.

The UTI Spectrum: Anatomy Drives Everything

Think of the urinary tract as a one-way system: kidneys, ureters, bladder, urethra. Infection almost always begins at the bottom and climbs. Where it stops defines the disease.

Asymptomatic bacteriuria means significant bacteria in the urine with no symptoms. This is common in elderly patients, catheterised patients, and pregnant women. It is usually colonisation, not disease — and this is the single most important stewardship point in the whole topic.

Cystitis (lower UTI) is infection confined to the bladder. Symptoms are local: dysuria (burning), frequency, urgency, suprapubic discomfort, and sometimes cloudy or bloody urine. There is no fever and no systemic upset — if there is, suspect the kidney.

Pyelonephritis (upper UTI) is infection of the kidney itself. Alongside lower-tract symptoms the patient has fever, rigors, flank or costovertebral-angle pain, nausea, and vomiting. This is a systemic illness that can progress to sepsis.

Complicated UTI is a functional label, not an anatomical one. A UTI is "complicated" when it occurs in a urinary tract that is structurally or functionally abnormal, or in a host with impaired defences: men, pregnant women, catheters, stones, obstruction, diabetes, immunosuppression, recent instrumentation, or renal impairment. Complicated infections are harder to clear, more likely to relapse, and demand longer courses and often culture-guided therapy.

The usual suspects

A handy mnemonic for common uropathogens is KEEPS: Klebsiella, E. coli, Enterococcus, Proteus, Staphylococcus saprophyticus. In practice:

  • E. coli causes roughly 75–90% of uncomplicated UTIs. Its uropathogenic strains carry P-fimbriae that let them cling to the urothelium.
  • Staphylococcus saprophyticus is a classic cause in young, sexually active women.
  • Proteus mirabilis produces urease, splitting urea into ammonia, raising urine pH and forming struvite ("staghorn") stones — a clue when you see alkaline urine and stones.
  • Klebsiella and Enterococcus appear more in complicated and healthcare-associated infection.
  • Pseudomonas aeruginosa signals catheters, instrumentation, or prior antibiotics.

Why Ascending Infection Happens: Pathophysiology and Risk

The bladder is normally sterile because of layered defences: the flushing action of voiding, the low pH and high osmolality of urine, antibacterial urinary proteins, and the one-way valve of the ureterovesical junction that stops reflux. Infection results when bacteria overcome these defences.

This explains the epidemiology. Women get far more UTIs than men because the female urethra is short and close to the anus and vagina — a shorter journey for gut bacteria. Sexual intercourse mechanically massages organisms toward the bladder ("honeymoon cystitis"). Anything that obstructs or slows flow — stones, prostatic enlargement, pregnancy-related ureteric dilation, a neurogenic bladder — creates a reservoir of stagnant urine for bacteria to multiply. Catheters provide a direct biofilm-coated highway into the bladder and are the leading cause of healthcare-associated UTI. Diabetes impairs both bladder emptying and neutrophil function and adds glucose to the urine.

Worked example. A 24-year-old sexually active woman presents with two days of burning on urination, urinary frequency, and needing to void urgently. She has no fever, no back pain, no vaginal discharge, and is not pregnant. This is textbook uncomplicated cystitis: the pretest probability with this cluster of symptoms and no vaginal symptoms is high enough (over 90%) that many guidelines endorse empirical treatment without even sending a culture. Contrast this with a 70-year-old man with the same symptoms plus fever — that is a complicated UTI by definition (male sex, likely prostatic involvement) and needs culture and a longer course.

Diagnosis: Symptoms First, Tests to Confirm

Diagnosis is clinical first. The strongest single predictor of cystitis is the combination of dysuria and frequency without vaginal discharge or irritation.

Urine dipstick is a fast bedside screen. Two findings matter:

  • Nitrites: many gram-negative bacteria (including E. coli) convert urinary nitrate to nitrite. A positive nitrite is fairly specific for infection but not sensitive — gram-positives and Pseudomonas do not make it.
  • Leukocyte esterase: an enzyme from white cells, a marker of pyuria (pus in urine). Sensitive but less specific.

A negative dipstick for both in a low-risk patient makes UTI unlikely; a positive supports it.

Urine microscopy confirms pyuria (white cells) and may show bacteria and red cells. Sterile pyuria — white cells without bacterial growth on routine culture — is an exam favourite: think of tuberculosis of the urinary tract, chlamydia/gonorrhoea urethritis, recently treated UTI, or stones.

Urine culture is the definitive test. It identifies the organism and gives sensitivities. Use the Kass threshold (10^5 CFU/mL) as the classic cutoff, but accept lower counts (10^2–10^4) in a symptomatic patient, especially with a "clean-catch" midstream specimen. Culture is not needed for straightforward uncomplicated cystitis but is essential in pyelonephritis, complicated UTI, pregnancy, treatment failure, and recurrence.

A key caution: the sample must be a clean midstream catch. A bag or poorly collected specimen full of mixed skin flora leads to overdiagnosis and needless antibiotics.

Treatment: Match the Drug to the Disease

The guiding principles are: treat symptomatic infection, choose the narrowest effective agent, and keep courses short where evidence allows.

Uncomplicated cystitis (non-pregnant woman). First-line options include:

  • Nitrofurantoin for 5 days — excellent for cystitis because it concentrates in urine; avoid if the estimated GFR is low or if pyelonephritis is suspected (it does not reach adequate tissue levels).
  • Trimethoprim-sulfamethoxazole for 3 days — effective where local resistance is under about 20%.
  • Fosfomycin as a single 3 g dose — convenient and active against many resistant strains.

Fluoroquinolones (ciprofloxacin) are generally reserved, not first-line, for simple cystitis because of resistance and side effects (tendon rupture, QT, neuropsychiatric effects).

Pyelonephritis. This needs an antibiotic that penetrates kidney tissue and blood. Outpatient options for a stable patient include an oral fluoroquinolone for 7 days. Sick, vomiting, pregnant, or septic patients are admitted for intravenous therapy — commonly a third-generation cephalosporin (ceftriaxone), an aminoglycoside, or a broad beta-lactam — narrowed once cultures return. Consider imaging (CT or ultrasound) to exclude obstruction or abscess if the patient fails to improve in 48–72 hours.

Complicated UTI generally needs 7–14 days and culture-guided therapy; correcting the underlying problem (removing or changing a catheter, relieving obstruction) is as important as the antibiotic.

Pregnancy. Treat asymptomatic bacteriuria and all UTIs. Safe choices include nitrofurantoin (avoid near term and in G6PD deficiency), cephalexin, and amoxicillin-clavulanate; avoid trimethoprim in the first trimester and sulfonamides near term, and avoid fluoroquinolones and tetracyclines throughout.

When NOT to treat. Asymptomatic bacteriuria in non-pregnant adults, including the elderly and catheterised, should not be treated. Cloudy or smelly urine alone is not a UTI. In frail elderly patients, non-specific confusion without any urinary symptoms or systemic signs of infection is usually NOT a UTI, and reflexively treating it is a major driver of resistance and Clostridioides difficile infection.

Real-World Applications

In primary care, UTIs are a daily decision about whether to test, treat empirically, or watch and wait. Good practice — treating only symptomatic disease, choosing short-course narrow-spectrum drugs, and resisting the urge to treat asymptomatic bacteriuria — is one of the highest-yield antibiotic stewardship interventions available. In hospitals, catheter-associated UTI (CAUTI) is a tracked quality metric; the single most effective prevention is removing unnecessary catheters promptly. For patients, simple measures reduce recurrence: adequate hydration, voiding after intercourse, and, for women with frequent recurrences, options such as topical vaginal oestrogen after menopause or, in selected cases, low-dose prophylaxis. Everyday recognition matters too: knowing that fever and flank pain change a "simple" UTI into a potential emergency can prompt timely care and prevent urosepsis.

Common Mistakes

  • Treating asymptomatic bacteriuria. Misconception: bacteria in the urine always need antibiotics. Why it is wrong: outside pregnancy and pre-urological procedures, treating colonisation gives no benefit and causes harm — resistance, side effects, C. difficile. Correction: treat symptoms, not culture reports.
  • Blaming confusion in the elderly on a UTI. Misconception: new confusion plus positive dipstick equals UTI. Why it is wrong: dipsticks are frequently positive in older adults from chronic bacteriuria, so a positive test does not prove the confusion is infective. Correction: look for genuine urinary or systemic signs and search for other causes of delirium before treating.
  • Using nitrofurantoin for pyelonephritis. Misconception: any UTI antibiotic works for any UTI. Why it is wrong: nitrofurantoin concentrates in urine but not renal tissue or blood, so it under-treats kidney infection. Correction: use a tissue-penetrating agent for upper-tract disease.
  • Skipping culture in men, pregnancy, or recurrence. Misconception: empirical treatment is always enough. Why it is wrong: these are complicated scenarios where the organism and resistance pattern must be known. Correction: always culture before treating complicated UTI.

Comparison and Connections

FeatureCystitis (lower UTI)Pyelonephritis (upper UTI)
SiteBladderKidney
Fever/systemic upsetAbsentPresent
Flank/CVA painAbsentPresent
Nausea/vomitingRareCommon
Culture neededNot if uncomplicatedAlways
Typical course3–5 days oral7–14 days, may need IV
Antibiotic choiceNitrofurantoin, TMP-SMX, fosfomycinFluoroquinolone, ceftriaxone

Related distinctions. Do not confuse cystitis with urethritis (often sexually transmitted — chlamydia, gonorrhoea — causing dysuria with discharge and sterile pyuria) or with vaginitis (discharge and itch, dysuria "external"). In men, distinguish UTI from prostatitis, which causes perineal pain and a tender prostate and needs prolonged, tissue-penetrating therapy. For broader context see the branch overview at Infectious Diseases and the related pages on antibiotics and stewardship in this branch.

Practice Questions

Recall

Q: What is the most common causative organism of uncomplicated UTI? A: Escherichia coli, responsible for roughly 75–90% of cases, aided by adhesive P-fimbriae.

Understanding

Q: Why does Proteus mirabilis infection predispose to struvite kidney stones? A: Proteus produces urease, which splits urea into ammonia and carbon dioxide. Ammonia raises urine pH, making it alkaline, which precipitates magnesium ammonium phosphate (struvite) and forms staghorn calculi. Alkaline urine plus stones should raise suspicion of a urease-producing organism.

Application

Q: A 30-year-old non-pregnant woman has 2 days of dysuria and frequency, no fever, no vaginal symptoms. What is your management? A: This is uncomplicated cystitis. Empirical short-course therapy is appropriate — nitrofurantoin for 5 days (or TMP-SMX if local resistance is low, or single-dose fosfomycin). Culture is not mandatory. Advise return if fever or flank pain develops.

Analysis

Q: An 82-year-old nursing-home resident with a chronic catheter has cloudy, foul-smelling urine and a positive dipstick but no fever, no new symptoms, and is at her usual mental baseline. Should she receive antibiotics? A: No. This is catheter-associated asymptomatic bacteriuria. Cloudy, malodorous urine and a positive dipstick are expected in a chronically catheterised patient and do not indicate infection without symptoms or systemic signs. Treating it offers no benefit and promotes resistance and C. difficile. Monitor; treat only if genuine signs of infection appear.

FAQ

Is cranberry juice actually effective for preventing UTIs? The evidence is weak and inconsistent. Cranberry proanthocyanidins may reduce bacterial adherence and might modestly cut recurrence in some women, but it is not a treatment for an active infection and should never replace antibiotics when a real UTI is present.

Can men get "simple" UTIs? By convention, UTIs in men are considered complicated because they are less common and often reflect an underlying issue such as prostatic enlargement or obstruction. Men warrant urine culture, a longer course, and consideration of prostatitis.

Why do I keep getting UTIs? Recurrence is common in women and usually reflects re-infection from perineal flora rather than treatment failure. Contributing factors include sexual activity, spermicide use, and, after menopause, low oestrogen. Options include behavioural measures, post-coital or continuous low-dose prophylaxis, and vaginal oestrogen — worth discussing with a clinician if you have three or more per year.

How is a UTI different from an STI? Both can cause dysuria, but STIs like chlamydia and gonorrhoea typically cause urethral or vaginal discharge and produce sterile pyuria on routine culture. If there is discharge or a new sexual partner, testing for STIs is important.

When is a UTI an emergency? Fever, shaking chills, flank pain, vomiting, confusion, low blood pressure, or a rapid deterioration suggest pyelonephritis or urosepsis and need urgent medical care. Obstruction with infection (an infected, blocked kidney) is a urological emergency requiring drainage.

Quick Revision

  • UTI spectrum: asymptomatic bacteriuria → cystitis → pyelonephritis; "complicated" reflects host/anatomy, not site.
  • E. coli dominates; remember KEEPS for the rest; S. saprophyticus in young women; Proteus + urease + stones.
  • Cystitis = local symptoms, no fever; pyelonephritis = fever, flank pain, systemic upset.
  • Dipstick: nitrites (specific) and leukocyte esterase (sensitive). Culture at 10^5 CFU/mL (lower if symptomatic).
  • Cystitis: nitrofurantoin, TMP-SMX, or fosfomycin, short course. Pyelonephritis: fluoroquinolone or ceftriaxone, longer.
  • Do NOT treat asymptomatic bacteriuria except in pregnancy or before urological procedures.
  • Confusion alone in the elderly with a positive dipstick is usually NOT a UTI.

Prerequisites

Next Topics