What is xanthogranulomatous pyelonephritis?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: February 23, 2026View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

Xanthogranulomatous Pyelonephritis (XGP)

Xanthogranulomatous pyelonephritis is a rare, chronic, destructive inflammatory kidney disease characterized by replacement of normal renal parenchyma with lipid-laden macrophages (foamy histiocytes), granulomatous inflammation, and progressive tissue destruction that typically requires nephrectomy for definitive treatment. 1, 2, 3

Pathologic Definition and Characteristics

  • XGP represents an uncommon form of severe chronic pyelonephritis where the kidney parenchyma is destroyed and replaced by masses of lipid-laden macrophages (xanthoma cells), granulomatous inflammation, and fibrosis 1, 3, 4

  • The disease creates yellow tissue masses with focal hemorrhage and necrosis that grossly resemble renal cell carcinoma on macroscopic examination, making preoperative differentiation challenging 4

  • Histopathological examination definitively confirms XGP by demonstrating the characteristic foamy macrophages, granulomatous inflammation, and fibrotic replacement of renal tissue 1, 2

Predisposing Factors and Associations

  • XGP is strongly associated with obstructive uropathy and nephrolithiasis (renal stones), particularly staghorn calculi 1, 5

  • The condition occurs more commonly in females and diabetic patients 5

  • Stone composition in XGP typically shows mixed calcium oxalate and apatite variants consistent with chronic infection-related calculi 1

  • Additional risk factors include chronic urinary tract infections, immune compromise, and limited access to healthcare leading to delayed diagnosis 1, 5

Clinical Presentation

  • Patients present with prolonged fever, flank pain (costovertebral angle tenderness), weight loss, and fatigue 1, 2

  • Recurrent urinary tract infections and nonspecific systemic symptoms are common presenting features 1

  • The disease is especially uncommon in pediatric patients but can occur with devastating consequences when diagnosis is delayed 1

Microbiology

  • The most commonly cultured organisms are Escherichia coli and Proteus mirabilis 5

Diagnostic Imaging

  • Computed tomography (CT) typically reveals an enlarged, non-functioning kidney with multiloculated appearance and associated staghorn calculi 1, 3

  • MRI shows intermediate intensity on T1-weighted images and very intense signal on T2-weighted sequences (indicating long T2), correlating well with CT findings of an enlarged multiloculated kidney 3

  • XGP is often indistinguishable from renal cell carcinoma by radiographic and clinical examination alone, necessitating histopathologic confirmation 4

Critical Diagnostic Pitfall

  • XGP closely mimics malignancy both clinically and radiologically, exhibiting local tissue invasion and destruction of adjacent organs (including duodenum, pancreas, or spleen), and can only be definitively diagnosed by histopathologic examination 4

  • The disease is notorious for fistula formation, including pyelocutaneous and ureterocutaneous fistulae 4

Rare Variant Combination

  • XGP can rarely coexist with emphysematous pyelonephritis (EPN), documented by gas within the renal parenchyma on CT imaging, which significantly increases disease severity and mortality risk 2

  • Only 7 cases of combined XGP-EPN have been reported in the literature, requiring high clinical suspicion and appropriate imaging for correct diagnosis 2

Management Approach

  • The mainstay treatment is antibiotic therapy combined with nephrectomy in 99.8% of cases 5

  • Approximately 60% of patients undergo preoperative upper urinary tract drainage (percutaneous nephrostomy), though evidence supporting this practice is limited 1, 5

  • Minimally invasive (laparoscopic) nephrectomy significantly reduces postoperative complications, length of hospital stay, and transfusion requirements compared to open nephrectomy 5

  • About one-third of nephrectomies are performed laparoscopically 5

  • Early recognition and timely surgical intervention guided by a multidisciplinary team are essential to prevent irreversible renal damage, particularly in socioeconomically disadvantaged populations with limited healthcare access 1

Prognostic Considerations

  • Surgical treatment produces dramatic results, particularly when diagnosis is not delayed 2

  • Concurrent underlying diseases (diabetes mellitus, stroke, coronary artery disease, hypertension) combined with severe systemic symptoms increase disease severity and complicate management 2

  • Progressive destruction of renal parenchyma leads to non-functioning kidney requiring nephrectomy when conservative management with antibiotics and drainage fails 1

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.