Clinical Knowledge › Internal medicine › Nephrology › Kidney stones, infection and obstruction
Acute pyelonephritis
Acute pyelonephritis is bacterial infection of the renal pelvis and parenchyma, usually ascending from the bladder. Escherichia coli causes most cases; P fimbriae let it bind the urothelium and climb the ureter. The classic picture is fever, loin pain and renal angle tenderness, with or without cystitis symptoms, nausea and vomiting; older adults may present only with confusion or sepsis. Diagnosis is clinical, supported by a positive dipstick, white cell casts and a urine culture taken before antibiotics; blood cultures are needed if the patient is unwell. Imaging is reserved for sepsis, suspected obstruction or stones, diabetes with severe illness, or failure to improve within 48–72 hours. Treatment follows local resistance: oral options include a fluoroquinolone for 5–7 days or a culture-directed beta-lactam or co-trimoxazole, while septic patients need IV therapy and source control. The 2025 IDSA guideline groups pyelonephritis with complicated UTI and supports shorter courses and early oral step-down. An obstructed infected kidney needs urgent drainage.
Patient case, mechanism, investigations, management, flashcards and exam-style questions.Open the lesson →

Key facts
- E. coli causes about 75–90% of community pyelonephritis; Klebsiella, Proteus and Enterococcus cause most of the rest
- Fever, loin pain and renal angle tenderness define the syndrome; white cell casts localise infection to the kidney
- Always send a urine culture before the first antibiotic dose; take blood cultures in anyone who is unwell or admitted
- Nitrofurantoin and oral fosfomycin are not suitable because they do not reach adequate kidney tissue or blood levels
- Treat for 5–7 days with a fluoroquinolone or about 7 days with other effective agents in most adults (IDSA 2025)
- Image urgently (ultrasound or CT) if septic shock, suspected obstruction or stone, or no improvement after 48–72 hours
- Emphysematous pyelonephritis (gas in the kidney) occurs mainly in poorly controlled diabetes and may need drainage or nephrectomy
- In pregnancy, screen for and treat asymptomatic bacteriuria to prevent pyelonephritis; avoid fluoroquinolones
Differential diagnosis
| Condition | Clues | Key test |
|---|---|---|
| Ureteric colic without infection | Colicky loin-to-groin pain, haematuria, no fever | CT KUB; normal inflammatory markers |
| Infected obstructed kidney (pyonephrosis) | Pyelonephritis with stone or hydronephrosis and sepsis | Ultrasound or CT showing dilatation |
| Acute appendicitis (retrocaecal) | Right-sided pain, anorexia, mild pyuria from adjacent inflammation | CT abdomen; urine culture usually negative |
| Acute cholecystitis | Right upper quadrant pain with Murphy sign | Ultrasound of the gallbladder |
| Pelvic inflammatory disease or ectopic pregnancy | Lower abdominal pain, vaginal discharge, cervical motion tenderness | Pregnancy test, NAAT for chlamydia and gonorrhoea, pelvic ultrasound |
| Basal pneumonia | Fever and upper abdominal or loin pain with cough | Chest X-ray |
| Renal infarction | Sudden flank pain, high LDH, haematuria, atrial fibrillation | Contrast CT showing wedge-shaped perfusion defect |
Exam pearls
Guideline
IDSA guideline on complicated urinary tract infections including pyelonephritis (2025), EAU Guidelines on Urological Infections (2025 edition), NICE NG111 acute pyelonephritis antimicrobial prescribing (2018) and IDSA/ESCMID uncomplicated cystitis and pyelonephritis guideline (2011)
References
- Infectious Diseases Society of America (IDSA). Clinical Practice Guideline for the Management of Complicated Urinary Tract Infections, including pyelonephritis. Infectious Diseases Society of America 2025.
- European Association of Urology (EAU). EAU Guidelines on Urological Infections. EAU Guidelines Office, Arnhem 2025.
- Gupta K, Hooton TM, Naber KG, et al.. International clinical practice guidelines for the treatment of acute uncomplicated cystitis and pyelonephritis in women: a 2010 update. Clin Infect Dis 2011.
- National Institute for Health and Care Excellence (NICE). Pyelonephritis (acute): antimicrobial prescribing (NG111). NICE, London 2018.
- Johnson JR, Russo TA. Acute pyelonephritis in adults. N Engl J Med 2018.
- Sandberg T, Skoog G, Hermansson AB, et al.. Ciprofloxacin for 7 days versus 14 days in women with acute pyelonephritis: a randomised, open-label and double-blind, placebo-controlled, non-inferiority trial. Lancet 2012.
Related topics
By Dr Khalid Seidi (B.Sc., M.D.) · MedEd World Clinical Knowledge library. Original teaching content checked against current guidelines (November 2026); confirm the latest local guidance before clinical use. Not a substitute for clinical judgement.