Xanthogranulomatous Pyelonephritis

This is a long-lasting infection in the kidney. It causes the kidney to become very swollen and damaged, often leading to kidney stones. It's a serious condition that needs careful treatment.

Condition

What people with Xanthogranulomatous Pyelonephritis report

Every report comes from a Lived member, sent anonymously.

Have you had Nephrectomy for Xanthogranulomatous Pyelonephritis?

NameHow it went

About Xanthogranulomatous Pyelonephritis

What It Is

Xanthogranulomatous pyelonephritis (XGP) is a rare, long-lasting form of kidney infection in which inflammation gradually destroys the tissue of a kidney. Instead of clearing the infection, the body walls it off with clusters of immune cells packed with fat, called foam cells, which give the damaged tissue a yellowish look. The affected kidney often becomes enlarged and stops working, and in advanced cases the inflammation spreads into the fat around the kidney and sometimes into nearby organs. It almost always involves one kidney. XGP is different from the common kidney infection (acute pyelonephritis), which usually starts suddenly and clears with antibiotics. In XGP, symptoms have often been present for weeks or months and can be vague: pain in the side or belly, fever, tiredness, poor appetite and weight loss, sometimes with blood in the urine or a lump that can be felt. Some people first come to medical attention very unwell with a severe infection. Because XGP can look like kidney cancer on scans, it is often not recognized until the kidney is examined after surgery.

Causes & Risk Factors

XGP develops in a kidney where urine has been partly blocked and infected for a long time. The most common setting is a large kidney stone, often a staghorn stone, which branches to fill the kidney's central collecting area. Many of these are infection stones, formed when certain bacteria change the chemistry of the urine, so the stone and the infection tend to sustain each other. Bacteria such as E. coli or Proteus persist in the trapped urine, and the immune response fails to clear them, producing the slow, destructive inflammation that defines XGP. Other causes of blockage, such as a narrowing where the kidney joins the ureter (the tube that carries urine to the bladder) or severe backflow of urine from the bladder, can play the same role. Most people diagnosed are adults in middle age, and women are affected about twice as often as men, although XGP has been described from infancy to old age. About 3 in 10 people with XGP have diabetes. Repeated urinary tract infections, obesity and conditions that weaken the immune system are also associated with it. These are risk factors rather than direct causes: most people with kidney stones or recurring infections never develop XGP, and researchers still do not fully understand why some do.

How It's Diagnosed

Assessment usually starts with blood and urine tests. Blood tests often show anemia (a low red blood cell count), a raised white blood cell count and other signs of inflammation, and sometimes reduced kidney function. A urine culture, which grows bacteria from a urine sample to identify them and show which antibiotics will work, is positive in roughly 6 in 10 people. A negative culture does not rule out XGP, because the infection can be sealed inside the damaged kidney. Urine collected directly from the kidney through a drainage tube, or tissue removed at surgery, is more likely to identify the bacteria. A computed tomography (CT) scan, a detailed cross-sectional X-ray, is the main imaging test. It typically shows an enlarged kidney, a stone near its center and rounded pockets of inflammation fanning outward, a pattern radiologists call the bear-paw sign. The sign appears in about two-thirds of confirmed cases, so its absence does not exclude XGP. CT also shows whether the inflammation is confined to the kidney, has reached the surrounding fat or has spread further, which shapes the surgical plan. A kidney scan using a small amount of radioactive tracer may be done to measure how much each kidney still contributes. XGP is sometimes called a great imitator because it can resemble kidney cancer, kidney tuberculosis and other inflammatory conditions. In a large review, it was correctly identified before surgery in only about 45% of cases. The diagnosis is confirmed when a pathologist examines kidney tissue, usually after removal and occasionally from a needle biopsy, and finds the characteristic foam cells. Because XGP and kidney cancer can occasionally occur together, doctors are careful before attributing every finding to inflammation.

Treatment Options

There is no standard guideline for treating XGP, and the evidence comes from case series rather than clinical trials, so care is planned individually, usually by a urologist working with radiologists and infectious disease specialists. The usual definitive treatment is surgery to remove the affected kidney (nephrectomy), combined with antibiotics. In most cases the affected kidney has little or no remaining function and harbors the infection, so removing it treats the source. Antibiotics are matched to the bacteria found where possible and are given before and after surgery. Many people first need the infection brought under control. If the kidney is blocked or an abscess (a walled-off pocket of pus) has formed, a radiologist may place a thin tube through the skin to drain it, called a nephrostomy tube or drain, or a urologist may place a stent inside the ureter. Draining and treating the infection first can stabilize someone who is very unwell, give a better sample for identifying the bacteria and make the later operation safer. When inflammation is extensive, some centers give several weeks of antibiotics before surgery rather than a few days, although the best duration has not been established. Surgery for XGP is harder than a routine kidney removal because dense inflammation can bind the kidney to surrounding tissue. It can be done as open surgery or as minimally invasive (laparoscopic or robotic) surgery through small incisions. In selected people at experienced centers, the minimally invasive approach has been linked to less blood loss, fewer transfusions and shorter hospital stays, with similar overall complication rates, but surgeons sometimes need to switch to open surgery partway through. When XGP affects only part of the kidney (focal XGP), removing just that portion (partial nephrectomy) may preserve the healthy tissue. Treatment with antibiotics and drainage alone, without surgery, has been reported mainly in children and in people too unwell for an operation, and its long-term results are not well studied.

What to Expect

XGP is a serious illness, and reaching a diagnosis often takes time because the early symptoms are vague. Once it is identified, treatment usually unfolds over weeks: controlling the infection, sometimes with a drainage tube left in place for a period, followed by surgery. Complications after the operation are common, especially when inflammation has spread beyond the kidney or an abscess was present, and can include bleeding needing a transfusion, an abscess after surgery or an abnormal connection (fistula) between the kidney area and the bowel or skin. Recovery time depends on how far the disease had spread and the type of operation. Death around the time of surgery is uncommon in recent series, at a little over 1 in 100 people. Removing the affected kidney removes the source of the infection. Complications from living with one kidney are uncommon, but follow-up focuses on protecting the remaining one: periodic blood and urine tests to check how well it filters and whether protein is leaking into the urine, keeping blood pressure under control, and attention to any new urinary infections or stones, since the conditions that led to XGP may still be present. It also helps to tell other clinicians that you have one kidney, because some medicines and procedures need adjusting.

When to Seek Help

Arrange a medical evaluation for side or belly pain, tiredness or weight loss that lingers for weeks, or for blood in the urine, particularly if you have a history of kidney stones or repeated urinary infections. If you are being treated for XGP, contact your care team promptly if fever persists or returns, or if pain gets worse despite treatment. XGP can lead to sepsis, a dangerous whole-body reaction to infection. Seek emergency care for confusion, very fast breathing or heartbeat, shortness of breath, or shaking chills or feeling very cold with clammy skin.

Questions to Ask Your Doctor

  1. 1.How confident are we that this is XGP rather than kidney cancer, and what would confirm it?
  2. 2.How far has the inflammation spread, and how does that affect the kind of surgery you recommend?
  3. 3.Do I need drainage or a longer course of antibiotics before surgery, and how long might that take?
  4. 4.Can any part of this kidney be saved, and how well is my other kidney working?
  5. 5.After treatment, what follow-up will help protect my remaining kidney and prevent new stones or infections?

Last reviewed • Oct 2026

Educational content, not medical advice.