Kidney infection · Stones and imaging

Xanthogranulomatous pyelonephritis: CT, stones and treatment

Xanthogranulomatous pyelonephritis (XGP) is an uncommon, long-lasting kidney infection and inflammation that can damage kidney tissue. It often occurs alongside urinary obstruction and stones. Symptoms and scans can resemble other kidney conditions, including cancer, so clinicians use cultures, imaging and kidney-function testing to plan care.

The short answer

Xanthogranulomatous pyelonephritis is a chronic kidney infection and inflammation often associated with obstruction and stones. CT helps map the damage and distinguish possible causes, although it can resemble kidney cancer. Treatment may include antibiotics, drainage and, for extensive disease in a poorly functioning kidney, surgery.

October 21, 2026 · Sources checked October 21, 2026

About 6 min read

Illustration of an inflamed kidney with a branching stone in the collecting system, beside a CT scan motif.
A branching stone and expanded kidney spaces can appear on CT, but imaging is interpreted with symptoms, cultures and kidney function.

What is xanthogranulomatous pyelonephritis?

XGP is a chronic inflammatory condition in which infected, damaged kidney tissue is replaced by inflammatory cells and scarred areas. The process can involve one region of the kidney or spread through much of it. It is often associated with long-term obstruction, recurrent infection and kidney stones, including a staghorn calculus, a branching stone that can fill several parts of the kidney’s collecting system.

Common urine-culture findings in published XGP series include Escherichia coli and Proteus mirabilis, although cultures can be negative, especially after antibiotics or when infected urine is trapped behind an obstruction. Diabetes and other health conditions can affect illness severity and surgical planning. XGP is uncommon, so it may not be the first possibility considered when symptoms begin.

What symptoms should prompt assessment?

People may have recurring urinary infections, fever, flank or abdominal pain, fatigue, nausea, weight loss or blood in the urine. Symptoms can develop gradually. A palpable abdominal or flank mass is less common but can occur when the kidney is enlarged or inflammation extends beyond it. Blood and urine tests can show infection, inflammation or impaired kidney function, but no single result confirms XGP.

Seek urgent medical care for fever or shaking chills with flank pain, confusion, weakness, vomiting that prevents fluid intake, very little urine or rapid worsening. An infected obstructed kidney can progress to sepsis. The European Association of Urology treats an obstructed kidney with signs of infection or no urine output as an emergency requiring urgent drainage, cultures and antibiotics. Do not wait for an outpatient appointment if these symptoms are present.

How do scans and cultures help?

Urinalysis and urine culture help detect infection and guide antibiotic selection. Blood cultures are often collected when a person has fever, sepsis or other signs of systemic illness. Blood tests assess kidney function, blood counts and inflammation. If an obstruction is suspected, ultrasound can show collecting-system dilation and some stones.

CT is central to evaluating XGP because it shows stones, fluid-filled or dilated areas, inflammation around the kidney and possible spread into nearby tissues. The classic “bear-paw” appearance describes expanded, rounded kidney spaces around a central branching stone. That pattern can support XGP, but it does not by itself settle the diagnosis. XGP can resemble kidney cancer, an abscess or other inflammatory disease. MRI or additional imaging may be used in selected cases. The urology and radiology teams interpret the scan alongside cultures, symptoms and the question of whether a kidney mass or tumor extension is present.

A nuclear renogram may measure how much each kidney contributes to overall function. This can help the team assess whether the affected kidney has useful function and plan surgery when needed. A biopsy is not automatic; clinicians consider it when imaging cannot distinguish XGP from a tumor or another process and when a tissue result would change the plan.

What does treatment involve?

Antibiotics treat bacterial infection, but antibiotics alone may not resolve a chronically damaged kidney with persistent obstruction, infected stones or extensive inflammatory tissue. Treatment is planned around the person’s stability, culture results, kidney function, the extent of disease and whether infection has spread outside the kidney. If there is an infected obstruction, drainage with a ureteral stent or nephrostomy may be needed urgently before definitive treatment.

For extensive disease in a poorly functioning kidney, nephrectomy, surgical removal of the kidney, remains a common definitive approach. Surgery can be difficult because inflammation and scarring may attach the kidney to nearby organs or blood vessels. Preoperative drainage and antibiotics may help stabilize selected patients, but timing and duration vary; the evidence does not support one universal schedule.

Kidney-sparing treatment may be considered in selected focal disease when infection and stones can be controlled while preserving useful kidney tissue. Options may include antibiotics, drainage, stone treatment or partial nephrectomy. These approaches are chosen case by case and may require close imaging and clinical follow-up. If the other kidney has reduced function, the implications of removing one kidney need careful discussion before surgery.

What does the research show?

The 2022 systematic review of XGP treatment identified 52 studies, with 32 retrospective observational cohorts containing 868 patients included in its descriptive analysis. Across those cohorts, 99.8% underwent nephrectomy, and about 60% of patients in studies reporting drainage received a procedure before surgery. Seven studies with 211 patients were pooled to compare minimally invasive and open surgery; minimally invasive surgery was associated with fewer postoperative complications, shorter stays and fewer transfusions. These data come from selected surgical cohorts, and the comparisons may be affected by differences in disease severity, patient selection and local expertise.

A separate 2023 CT study reviewed 18 patients who underwent nephrectomy for histologically confirmed XGP. It describes how CT findings can extend beyond the kidney and help with staging and surgical planning, but the small, surgery-selected sample cannot tell how accurately CT distinguishes XGP in all patients with a kidney mass. The available evidence is largely retrospective, and there is no single treatment pathway for every presentation.

Questions to bring

Choose the questions that fit your situation and leave space to note the answers.

  • Does imaging show obstruction, stones, spread beyond the kidney or features that need further evaluation for a tumor?
  • How much function does the affected kidney provide, and how was that measured?
  • What is the reason for drainage, antibiotics or surgery in my case, and how will the other kidney be protected?

Sources

  1. Gravestock P et al. Xanthogranulomatous pyelonephritis: a review and meta-analysis with a focus on management. International Urology and Nephrology. 2022;54:2445-2456. Systematic review and meta-analysis of surgical cohorts.
  2. MDCT Diagnosis and Staging of Xanthogranulomatous Pyelonephritis. Diagnostics. 2023;13(7):1340. Imaging features and staging in a small nephrectomy cohort.
  3. Xanthogranulomatous Pyelonephritis: A Narrative Review with Current Perspectives on Diagnostic Imaging and Management, Including Interventional Radiology Techniques. 2021. Imaging, differential diagnosis and kidney-sparing options.
  4. European Association of Urology. Guidelines on Urological Infections, current online edition. Imaging, culture and urgent source control for systemic infection and infected obstruction.

Educational information only. Fever with flank pain, reduced urine or rapidly worsening illness needs urgent medical assessment.

Browse all Mighty Bladder articles