Xanthogranulomatous pyelonephritis
Also known as: XGP
Xanthogranulomatous pyelonephritis is a rare, destructive chronic infection of the kidney, usually driven by obstruction and recurrent urinary infection, featuring lipid-laden foamy macrophages.
Written with AI and checked automatically before it is published; not reviewed by a physician.
Updated November 13, 2026
Symptoms and clinical features
Xanthogranulomatous pyelonephritis is a rare chronic granulomatous infection of the kidney, most often seen in middle-aged women with long-standing obstruction, usually from staghorn calculi, and recurrent urinary tract infection. Symptoms are vague and prolonged, with flank pain, fever, malaise, and weight loss developing over weeks to months. Many patients have been treated repeatedly for pyelonephritis before the diagnosis is made. Diabetes is a recognized risk factor, and the affected kidney is usually nonfunctioning.
- Typically women in their 40s to 60s with a history of recurrent urinary tract infections or kidney stones.
- Dull flank pain, fever, malaise, anorexia, and weight loss over weeks to months.
- A palpable, tender flank mass in a minority of patients.
- Anemia, elevated inflammatory markers, pyuria, and bacteriuria on laboratory testing.
- Urine cultures usually grow Proteus mirabilis, Escherichia coli, or Klebsiella; Pseudomonas and fungi are less common.
- The affected kidney is usually nonfunctioning, so loss of function may be the main clue.
Diagnosis
Diagnosis rests on imaging, which typically shows a low-attenuation renal mass with a thick enhancing rim, a staghorn calculus, and possible extension into perinephric fat. Ultrasound may show a hypoechoic mass with stones and acoustic shadowing. Nuclear renography such as a MAG3 scan usually confirms a nonfunctioning kidney. Histopathology remains the gold standard, showing foamy lipid-laden macrophages, chronic inflammation, and giant cells.
- Urinalysis and urine culture, with blood cultures when the patient is febrile, to guide antibiotic choice.
- Complete blood count, creatinine, and electrolytes to assess anemia, renal function, and inflammation.
- Contrast-enhanced CT of the abdomen and pelvis as the key imaging study, looking for staghorn calculus and perinephric spread.
- Renal scintigraphy such as a MAG3 or DMSA scan to document loss of function before planning surgery.
- Histopathology of resected or biopsied tissue showing foamy macrophages, granulomas, and mixed inflammatory infiltrate.
- Biopsy carries bleeding risk and is usually reserved for cases where imaging is unclear.
Differential diagnosis
Xanthogranulomatous pyelonephritis mimics renal cell carcinoma and other destructive renal processes on imaging, so tissue diagnosis is often required. The clues that separate it are a staghorn calculus, a history of infection, and a low-attenuation mass with rim enhancement rather than a solid enhancing tumor.
- Renal cell carcinoma – solid enhancing mass without staghorn calculus or a history of recurrent infection.
- Emphysematous pyelonephritis – gas within the renal parenchyma or collecting system, often in patients with poorly controlled diabetes.
- Renal tuberculosis – sterile pyuria, calcifications, and ureteral strictures, with acid-fast bacilli on urine testing.
- Renal or perinephric abscess – discrete fluid collection with an abrupt septic course and no chronic foamy histology.
- Angiomyolipoma – macroscopic fat density on CT, without infection, stones, or a nonfunctioning kidney.
- Renal lymphoma – bulky solid mass without calculi or a history of recurrent urinary infection.
Emergency department approach
Most patients are hemodynamically stable, but those with obstruction and sepsis need immediate resuscitation. Start with airway, breathing, and circulation, establish monitoring and intravenous access, and check lactate. Draw blood and urine cultures before starting empirical broad-spectrum antibiotics covering gram-negative organisms, Proteus, and enterococci, adjusted to the local antibiogram. Urgent imaging and urology consultation are needed to decide between drainage and nephrectomy.
- Manage as sepsis if the patient is hypotensive or lactate is elevated, using fluid resuscitation and vasopressors per protocol.
- Obtain contrast CT if renal function allows, to define extent, perinephric spread, and the contralateral kidney.
- If the system is obstructed, decompress urgently by percutaneous nephrostomy or ureteral stent as a temporizing step.
- Definitive treatment is usually nephrectomy of the nonfunctioning kidney once the patient is stabilized and contralateral function is confirmed.
- Check glucose and treat diabetes if present, since hyperglycemia worsens infection and outcomes.
- Red flags include septic shock, spreading perinephric infection, or deteriorating renal function; these warrant ICU-level care.
Türkçesi:Ksantogranülomatöz piyelonefrit
For medical education only. This page is a study resource for medical students. It is not medical advice, diagnosis or treatment; cases are fictional.