Urinary tract infection and pyelonephritis

Urinary tract infection and pyelonephritis: the complete clinical approach to Urinary tract infection and pyelonephritis: definition; causes and risk factors in our setting (including HIV.

After reading this note you will be able to describe the clinical presentation, perform a focused examination, interpret the key investigations and outline the immediate and definitive management of uncomplicated and complicated UTI/pyelonephritis in Kenyan patients. Always verify drug choices, doses and local protocols against the Kenya MoH guideline and your hospital formulary.

White blood cells seen under a microscope from a urine sample. Bobjgalindo, CC BY-SA 4.0
White blood cells seen under a microscope from a urine sample. Bobjgalindo, CC BY-SA 4.0

Definition

  • Urinary tract infection (UTI): microbial invasion of any part of the urinary system (urethra, bladder, ureters, renal pelvis) with accompanying host inflammatory response.
  • Acute pyelonephritis: infection that has ascended to involve the renal parenchyma and pelvis, producing systemic signs of infection and renal inflammation.

Anatomy and physiology you need

StructureRelevance to infection
Urethra (short in females)Easy bacterial entry; catheter trauma predisposes
Bladder (distensible, mucosal glycosaminoglycan layer)Stasis or mucosal damage facilitates colonisation
Vesicoureteric junction (VUJ)Antireflux mechanism; obstruction or reflux ↑ risk
Renal pelvis & calycesSite of bacterial proliferation in pyelonephritis
Renal interstitium & tubulesInflammation can impair concentrating ability
Autonomic innervationPain signals (flank tenderness) arise from renal capsule

Causes and risk factors

CategorySpecific factors in Kenya
Sex‑relatedFemale sex, recent intercourse, contraceptive diaphragm
Anatomical/functionalPregnancy, urinary obstruction (stones, BPH), neurogenic bladder, VUR
ProceduralCatheterisation, cystoscopy, recent surgery, obstetric delivery
Systemic illnessesHIV infection, diabetes mellitus, sickle‑cell disease, TB (genitourinary TB), malaria (hemolysis → urinary stasis), rheumatic fever with valvular disease causing renal hypoperfusion
ImmunosuppressionCorticosteroids, chemotherapy, transplant immunosuppression
BehaviouralInadequate perineal hygiene, delayed voiding, high fluid loss (e.g., hot climate, diarrhoea)
MicrobialEscherichia coli (most common), Klebsiella, Proteus, Enterococcus, Staphylococcus saprophyticus, Pseudomonas (catheter‑associated), Candida (immunocompromised)

Pathophysiology

  1. Colonisation of peri‑urethral area →
  2. Ascension of bacteria up urethra → bladder (cystitis) →
  3. Bladder mucosal invasion → inflammatory exudate, dysuria →
  4. Overflow or reflux (obstruction, VUR) → bacteria reach renal pelvis →
  5. Renal parenchymal infection → neutrophil infiltration, tubular damage → systemic inflammatory response (fever, chills) → possible bacteremia.

Clinical features

History – what to ask

DomainKey questionsRationale
Typical urinary symptomsDysuria, frequency, urgency, suprapubic pain, nocturia, hematuriaDirect irritation of the bladder mucosa; helps differentiate lower UTI from pyelonephritis (systemic signs added).
Systemic featuresFever, chills, rigors, flank pain, malaise, anorexia, vomitingFever and flank pain suggest renal parenchymal involvement (pyelonephritis).
Risk‑factor exposureRecent sexual activity, contraceptive use, recent catheterisation, recent hospitalisation, recent antibiotics, diabetes, HIV status, TB history, sickle‑cell disease, pregnancy, known urinary tract anomaliesThese conditions predispose to colonisation, ascending infection or atypical organisms.
Previous episodesPrior UTI, recurrent infections, prior imaging showing stones or obstructionRecurrence often signals underlying structural problem.
Medication & allergiesCurrent drugs (especially immunosuppressants, antiretrovirals), drug allergiesGuides choice of empiric agents and avoids adverse reactions.
Associated tropical illnessesRecent malaria treatment, rheumatic fever, known TB, sickle‑cell crisesCertain infections (e.g., TB) can produce atypical pyelonephritis; sickle‑cell disease predisposes to papillary necrosis.
PregnancyGestational age, obstetric complicationsPregnancy alters urinary stasis and changes antimicrobial safety.
Fluid intake & voiding patternDaily fluid volume, voiding frequency, any obstruction symptoms (hesitancy, weak stream)Low fluid intake and obstruction increase infection risk.

Examination – what to look for and why

FindingWhat it indicatesWhy it occurs
Vital signs (temperature, pulse, blood pressure)Fever, tachycardia, hypotensionSystemic response to infection; hypotension signals sepsis.
Costovertebral angle (CVA) tendernessPositive CVA tendernessInflammation of renal capsule or parenchyma (pyelonephritis).
Suprapubic tendernessLocalised bladder painIrritation of bladder wall in cystitis.
Abdominal exam (distension, masses)Palpable kidney, flank massMay indicate obstructing stone or enlarged kidney from infection.
Genitourinary inspectionPerineal erythema, discharge, urethral meatus lesionsPossible sexually transmitted infection or external source of bacteria.
Neurological assessment (confusion, altered mental status)Especially in elderly or immunocompromisedSepsis‑associated encephalopathy; important for severity grading.
Skin (pallor, rash)Signs of systemic infection or drug reactionHelps differentiate from other febrile illnesses.
Peripheral edemaMay suggest renal impairment or heart failureProvides context for renal function assessment.

Differential diagnosis

ConditionPoints toward itDistinguishing features
Acute cystitisDysuria, frequency, no fever, normal CVAAbsence of systemic signs, normal renal labs
Acute pyelonephritisFever, flank pain, CVA tenderness, possible bacteremiaPositive CVA, elevated inflammatory markers, renal imaging changes
Renal/urinary calculiFlank pain colicky, hematuria, possible obstructionPain radiates to groin, no fever unless infected stone
Tuberculous pyelonephritisChronic low‑grade fever, weight loss, TB historySterile pyuria, granulomatous changes on imaging
Sickle‑cell papillary necrosisFlank pain, hematuria, sickle‑cell diseaseHistory of crises, imaging shows papillary sloughing
Acute prostatitis (men)Perineal pain, urinary retention, feverTender, enlarged prostate on DRE
Sexually transmitted urethritisDischarge, dysuria, recent partnersPositive STI testing, no CVA tenderness
Sepsis from non‑urinary sourceFever, hypotension, organ dysfunction, no urinary symptomsNegative urinalysis, source identified elsewhere

Investigations

TestWhat it answersInterpretation
Urine dipstick (leukocyte esterase, nitrite)Presence of pyuria & possible Gram‑negative bacteriaPositive → supports infection; negative does not rule out atypical organisms
Mid‑stream clean‑catch urine microscopy & cultureIdentify organism, quantify colony‑forming units≥10⁵ CFU/mL of a single pathogen = significant infection; polymicrobial growth suggests contamination or complicated source
Blood cultures (2 sets)Detect bacteremia, guide systemic therapyPositive → indicates severe infection, need for IV antibiotics
Full blood countLeukocytosis, anemiaElevated WBC supports infection; anemia may suggest chronic disease or TB
Serum creatinine & eGFRBaseline renal function, drug dosing safetyRising creatinine indicates renal involvement or drug nephrotoxicity
C‑reactive protein / ESRInflammatory burdenHigh levels correlate with severity, useful for monitoring
Ultrasound kidney‑ureter‑bladder (KUB)Obstruction, stones, hydronephrosis, abscessDetects structural causes; hydronephrosis suggests obstruction needing relief
CT abdomen/pelvis (contrast if not contraindicated)Detailed anatomy, abscess, emphysematous changesGold standard for complicated pyelonephritis or gas‑forming organisms
HIV test (if status unknown)Immunosuppression riskPositive → higher risk of atypical pathogens, influences prophylaxis
TB urine PCR or culture (if suspicion)Mycobacterial infectionPositive → treat as TB‑related renal disease

Diagnosis and severity

Diagnostic criteria

  1. Uncomplicated lower UTI – Typical urinary symptoms plus positive dip‑stick or urine culture without systemic signs, normal renal function, and no structural abnormality.
  2. Acute uncomplicated pyelonephritis – Fever ≥38 °C, flank pain/CVA tenderness, urinary symptoms plus pyuria and a positive urine culture, with normal or mildly impaired renal function.
  3. Complicated UTI / Pyelonephritis – Any of the above plus one or more of: pregnancy, diabetes, immunosuppression (HIV, steroids), urinary obstruction, renal stones, structural anomaly, or infection with resistant/atypical organisms.

Severity grading (adapted for Kenyan setting)

SeverityClinical hallmarksManagement implication
MildFever <39 °C, stable vitals, no vomiting, normal mental status, eGFR >60 mL/min/1.73 m²Oral antibiotics, outpatient follow‑up if reliable
ModerateFever ≥39 °C, vomiting, mild dehydration, eGFR 30‑60 mL/min/1.73 m², no organ dysfunctionIV antibiotics, inpatient observation, fluid resuscitation
Severe / SepticHypotension, tachycardia, altered mental status, eGFR <30 mL/min/1.73 m², positive blood cultures, evidence of abscess or emphysematous changeICU‑level care, broad‑spectrum IV antibiotics, aggressive fluid resuscitation, possible drainage

Key points for the student

  • Always correlate laboratory data with the clinical picture; a sterile urine culture does not exclude infection in immunocompromised patients (e.g., HIV, TB).
  • In pregnant women, any febrile urinary illness is treated as pyelonephritis until proven otherwise.
  • Presence of obstruction on imaging upgrades the case to “complicated” and mandates prompt urological intervention.
  • Monitor renal function daily in moderate/severe cases; rising creatinine may signal obstructive component or drug toxicity.
  • Re‑culture urine 48‑72 h after starting therapy if the patient is not improving; persistent bacteriuria suggests resistant organism or inadequate source control.

By systematically gathering the targeted history, performing a focused exam, and interpreting the concise set of investigations, the clinician can accurately classify the infection, decide on the level of care, and initiate appropriate antimicrobial therapy while anticipating and preventing complications.

Management

Immediate stabilisation

  • Airway, Breathing, Circulation – give supplemental O₂ if SpO₂ < 94 %; establish IV access; give isotonic crystalloid bolus for hypotension or signs of sepsis.
  • Sepsis bundle – obtain blood cultures before antibiotics, give broad‑spectrum IV antibiotics within the first hour, monitor lactate, and reassess perfusion (urine output ≥ 0.5 mL/kg/h).

Definitive antimicrobial therapy

Clinical scenarioFirst‑line IV class*Oral step‑down (if stable)Rationale
Uncomplicated cystitis in non‑pregnant adultFluoroquinolone (e.g., ciprofloxacin)Fluoroquinolone POExcellent urinary penetration, low resistance in most Kenyan isolates.
Complicated UTI / pyelonephritisThird‑generation cephalosporin (e.g., ceftriaxone) or carbapenem if ESBL riskTrimethoprim‑sulfamethoxazole or nitro‑furantoin (if susceptible)Cephalosporin covers most Gram‑negatives; carbapenem reserved for proven ESBL.
Pregnant womanIV ampicillin + gentamicin (or oral amoxicillin)Continue oral amoxicillinSafe for fetus, covers common uropathogens.
HIV‑positive with CD4 < 200 cells/µLIV cefepime ± vancomycin (if MRSA risk)Switch to oral fluoroquinolone when stableBroader Gram‑negative coverage; consider opportunistic pathogens.

*Choose agents based on local antibiogram; avoid fluoroquinolones in patients with QT prolongation or tendon disease.

Adjuncts

  • Analgesia – paracetamol or NSAID (if renal function permits).
  • Hydration – encourage oral fluid intake ≥ 2 L/day; consider bladder irrigation only for obstructive stones.

Monitoring

  • Vital signs q1‑2 h until afebrile, then q4 h.
  • Urine output hourly; catheterize only if retention.
  • Repeat blood/urine cultures 48‑72 h if no clinical improvement.
  • Renal function (creatinine, electrolytes) daily while on nephrotoxic agents.

Safety / Contra‑indications

  • Avoid aminoglycosides in pre‑existing renal impairment or when serum creatinine rises > 1.5 × baseline.
  • Fluoroquinolones contraindicated in pregnancy, known tendon disorders, or severe QT prolongation.
  • Nitro‑furantoin avoided in GFR < 30 mL/min or late pregnancy.
  • Ensure allergy history; if β‑lactam allergy, use fluoroquinolone or carbapenem with desensitisation if needed.

Complications and prognosis

  • Acute complications – renal abscess, emphysematous pyelonephritis, septic shock, acute kidney injury.
  • Chronic sequelae – renal scarring, hypertension, chronic kidney disease, recurrent infections.
  • Pregnancy – pre‑term labour, low birth weight, pyelonephritis in mother.
  • Prognosis – excellent with timely appropriate antibiotics; mortality rises markedly with delayed therapy, ESBL infection, or severe sepsis.

High‑yield exam points

  • Look‑alike conditions: differentiate pyelonephritis from renal colic (flank pain + hematuria, no systemic signs) and from acute interstitial nephritis (eosinophilia, rash, recent drug).
  • Common wrong first step: prescribing oral antibiotics without obtaining cultures in a febrile patient with suspected pyelonephritis.
  • Bedside examiner questions:
    • “What are the three cardinal signs of pyelonephritis on examination?” (Costovertebral angle tenderness, fever, urinary symptoms).
    • “Why do you obtain a mid‑stream clean‑catch urine sample before starting antibiotics?” (To guide therapy and avoid contamination).
    • “Explain the rationale for switching from IV to oral therapy.” (Clinical stability, ability to tolerate PO, and comparable bioavailability).

Clinical case

Case: A 28‑year‑old woman, 10 weeks pregnant, presents with dysuria, suprapubic pain, and fever = 38.7 °C for 24 h. UA shows leukocyte esterase +, nitrites +, and numerous WBCs. No flank tenderness.

Questions

  1. What is the most appropriate initial management?

Answer: Obtain a clean‑catch urine sample for culture, start IV ampicillin + gentamicin after blood cultures, give IV fluids, and monitor vitals.

  1. **If the urine culture grows E. coli susceptible to ampicillin, how would you modify therapy?**

Answer: De‑escalate to IV ampicillin alone, then step down to oral amoxicillin once afebrile and able to tolerate PO.

  1. What follow‑up is required after discharge?

Answer: Repeat urine culture 1 week later, ensure symptom resolution, and schedule a renal ultrasound if recurrent infections occur.


Practice questions

Question 1

A 65‑year‑old man with diabetes presents with fever, chills, left flank pain, and dysuria. His BP is 92/58 mmHg, pulse 118 bpm, and urine dipstick is positive for leukocytes and nitrites. What is the next best step?

A. Oral nitro‑furantoin
B. Immediate IV ceftriaxone after blood cultures
C. CT abdomen without contrast
D. Foley catheter insertion

Answer: B. Immediate IV ceftriaxone after blood cultures
Explanation: Septic presentation with suspected pyelonephritis requires prompt broad‑spectrum IV antibiotics and cultures; oral agents are inadequate.

Question 2

A 22‑year‑old woman presents with dysuria, frequency, and low‑grade fever. UA shows pyuria but no nitrites. Which finding would most strongly suggest acute interstitial nephritis rather than uncomplicated cystitis?

A. Bilateral flank tenderness
B. Eosinophiluria on microscopy
C. Positive leukocyte esterase
D. Cloudy urine

Answer: B. Eosinophiluria on microscopy
Explanation: Eosinophils in urine are characteristic of drug‑induced interstitial nephritis.

Question 3

A pregnant woman at 30 weeks gestation has a confirmed E. coli UTI. Which oral agent is safest for step‑down therapy?

A. Ciprofloxacin
B. Nitro‑furantoin
C. Trimethoprim‑sulfamethoxazole
D. Fosfomycin

Answer: B. Nitro‑furantoin
Explanation: Nitro‑furantoin is considered safe in pregnancy (except near term) and achieves high urinary concentrations.

Question 4

A patient with known HIV (CD4 = 150 cells/µL) develops pyelonephritis. Which additional organism should be considered when choosing empiric therapy?

A. Staphylococcus saprophyticus
B. Pseudomonas aeruginosa
C. Candida albicans
D. Klebsiella pneumoniae

Answer: B. Pseudomonas aeruginosa
Explanation: Immunocompromised patients have higher risk of infection with resistant Gram‑negatives like Pseudomonas.

Question 5

A 45‑year‑old man with recurrent UTIs is found to have a 6 mm distal ureteric stone causing obstruction. Which complication is most likely if the infection is not promptly treated?

A. Emphysematous pyelonephritis
B. Acute tubular necrosis
C. Renal papillary necrosis
D. Bladder carcinoma

Answer: A. Emphysematous pyelonephritis
Explanation: Obstructive uropathy combined with infection predisposes to gas‑forming organisms and emphysematous change.

Drafted with AI assistance from standard references and reviewed for structure. Check details against your lecture notes and the Kenya MoH guideline.

More in Renal

All study notes

Compiled by Ompath Study · Ompath Study · shared for MBChB students at Mount Kenya University and other universities.