Xanthogranulomatous Pyelonephritis (XGP)
What is Xanthogranulomatous Pyelonephritis?
Xanthogranulomatous pyelonephritis (XGP) is a rare, severe, chronic infection of the kidney characterized by destruction of renal parenchyma and replacement with granulomatous tissue that contains lipidâladen (foamy) macrophages. The condition mimics a tumor on imaging and often leads to a nonâfunctioning kidney. Although uncommon (â1âŻ% of all pyelonephritis cases), it can cause significant morbidity if not recognized promptly.1,2
Common Causes
Several underlying problems predispose a person to develop XGP. The most frequent contributors are listed below:
- Obstructive uropathy â longâstanding kidney stones (especially staghorn calculi) block urine flow.
- Recurrent or chronic urinary tract infections (UTIs) â usually caused by Escherichia coli, Klebsiella, Proteus, or Pseudomonas species.
- Diabetes mellitus â high glucose levels impair immune response and promote bacterial growth.
- Immunosuppression â from HIV, organ transplantation, steroids, or chemotherapy.
- Renal calculi with associated biofilm â provide a nidus for persistent infection.
- Congenital urinary tract anomalies â such as ureteropelvic junction obstruction.
- Neurogenic bladder or voiding dysfunction â leads to urine stasis.
- Chronic pyelonephritis â longâstanding inflammation that weakens renal tissue.
- Obesity â increases risk of infection and stone formation.
- Previous renal surgery or instrumentation â may introduce bacteria.
Associated Symptoms
Patients with XGP usually present with a combination of systemic and local kidney signs. Commonly reported symptoms include:
- Flank or side pain that may be dull, constant, or colicky.
- Fever, chills, and night sweats â reflecting ongoing infection.
- Unexplained weight loss or fatigue.
- Painful or frequent urination (dysuria, urgency, frequency).
- Hematuria (blood in the urine) â sometimes visible, sometimes detected only on labs.
- Palpable abdominal mass (especially in advanced disease).
- Feeling of fullness or pressure in the lower back.
- General malaise, loss of appetite.
When to See a Doctor
Because XGP can progress to kidney failure or spread infection to the bloodstream, early medical evaluation is essential. Seek care promptly if you experience any of the following:
- Persistent fever (>38âŻÂ°C / 100.4âŻÂ°F) lasting more than 48âŻhours.
- Severe, worsening flank pain that does not improve with overâtheâcounter pain relievers.
- Blood in the urine or a sudden change in urine color or odor.
- Recurrent UTIs that are not fully resolving with antibiotics.
- Unexplained weight loss, night sweats, or fatigue.
- Swelling or a noticeable lump in the abdomen or side.
- Any signs of sepsis (rapid heart rate, low blood pressure, confusion).
Diagnosis
Diagnosing XGP requires a combination of clinical suspicion, laboratory tests, and imaging studies.
1. Medical History & Physical Exam
The clinician will ask about urinary symptoms, past kidney stones, diabetes, and any prior surgeries. A physical exam may reveal tenderness over the flank or a palpable mass.
2. Laboratory Tests
- Urinalysis â often shows pyuria (white cells), bacteriuria, and sometimes microscopic hematuria.
- Urine culture â identifies the causative organism and guides antibiotic choice.
- Blood tests â complete blood count (elevated white cells), Câreactive protein or ESR (inflammation), and renal function panel (creatinine, BUN).
- Blood cultures â if fever or signs of sepsis are present.
3. Imaging Studies
- Ultrasound â firstâline; may show an enlarged kidney with heterogeneous echotexture and stones.
- Contrastâenhanced CT scan â gold standard. Typical findings: a âbearâpawâ sign (multiple lowâattenuation areas), thickened renal capsule, and staghorn calculi.
- MRI â useful if CT contrast is contraindicated (e.g., severe kidney disease).
4. Histopathology (Rare)
Definitive diagnosis may require a kidney biopsy or examination of the removed kidney after surgery. Pathology reveals foamy macrophages, multinucleated giant cells, and chronic inflammatory infiltrates.
Treatment Options
Management of XGP is multidisciplinary, involving urologists, infectious disease specialists, and sometimes nephrologists.
1. Medical Therapy
- Targeted antibiotics â based on urine culture results; typical regimens include a fluoroquinolone, a thirdâgeneration cephalosporin, or carbapenems for resistant organisms. Treatment often lasts 4â6âŻweeks.
- Supportive care â hydration, analgesics (acetaminophen or NSAIDs if renal function permits), and antipyretics.
- Management of comorbidities â tight glucose control in diabetics, adjustment of immunosuppressive drugs when possible.
2. Surgical Intervention
Because XGP destroys renal tissue, antibiotics alone are rarely curative. Surgical removal of the affected kidney (nephrectomy) is the definitive treatment in most cases.
- Open nephrectomy â traditional approach; preferred when extensive inflammation or large stones are present.
- Laparoscopic or robotâassisted nephrectomy â minimally invasive; suitable for selected patients with less severe disease.
- Partial nephrectomy â occasionally feasible if only a portion of the kidney is involved and function can be salvaged.
Postâoperative antibiotics are continued for 1â2âŻweeks to eradicate residual infection.
3. Home and Lifestyle Measures
- Complete the full course of prescribed antibiotics even if symptoms improve.
- Increase fluid intake (â2â3âŻL/day unless contraindicated) to promote urine flow.
- Follow a lowâoxalate, lowâsodium diet if stones are a concern.
- Monitor temperature and pain; keep a symptom diary to report to your doctor.
Prevention Tips
While XGP cannot always be prevented, certain strategies lower the risk of the underlying conditions that lead to it:
- Stay hydrated â adequate water intake reduces stone formation and urinary stasis.
- Treat kidney stones early â prompt urologic evaluation and removal of calculi prevents chronic obstruction.
- Control blood sugar â target A1C <7âŻ% (or individualized goal) to reduce infection risk.
- Maintain good bladder habits â empty the bladder regularly, especially if you have neurogenic bladder.
- Practice proper genital hygiene â helps prevent ascending UTIs.
- Seek prompt care for UTIs â complete prescribed antibiotics and follow-up urine cultures when advised.
- Regular medical followâup â especially if you have known risk factors such as diabetes, recurrent stones, or immunosuppression.
- Avoid unnecessary urinary catheterization â and ensure catheters are changed aseptically if required.
Emergency Warning Signs
If any of the following develop, seek emergency medical care (call 911 or go to the nearest ER) immediately:
- High fever (â„39âŻÂ°C / 102âŻÂ°F) with shaking chills.
- Severe, sudden worsening of flank pain accompanied by nausea or vomiting.
- Signs of sepsis: rapid heart rate (>100âŻbpm), low blood pressure, confusion, or difficulty breathing.
- Persistent vomiting preventing you from keeping fluids down.
- Sudden loss of kidney function â decreased urine output, swelling of the legs or face, or rapid rise in creatinine.
Sources:
1. Mayo Clinic. âXanthogranulomatous pyelonephritis.â mayoclinic.org.
2. National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK). âKidney Infection (Pyelonephritis).â niddk.nih.gov.
3. WHO. âAntimicrobial resistance.â who.int.
4. Cleveland Clinic. âKidney Stones: Causes, Symptoms, and Treatment.â clevelandclinic.org.
5. Radiology Society of North America. âImaging of Xanthogranulomatous Pyelonephritis.â Radiographics, 2022.