section name header

Basic Information

AUTHORS: James P. Reichart, MD and Nelson Kopyt, DO

Definition

Pyelonephritis is an ascending infection of a bacterial pathogen that infects the renal pelvis and kidney. It primarily presents as a urinary tract infection (UTI) characterized by painful urination (dysuria) with associated flank pain/tenderness, nausea, vomiting, and/or fever. Older adults may also present with failure-to-thrive, unexplained anorexia, other organ system decompensation, or generalized deterioration.

Consists of two groups

  • Uncomplicated: Can be treated as an outpatient with oral (PO) antibiotics.
  • Complicated: Inpatient treatment with intravenous (IV) antibiotics is required. Hospitalization is indicated for persistent vomiting, progression of uncomplicated UTI, suspected sepsis, immunosuppression, or urinary tract obstruction. This is a potentially life-threatening infection that can lead to renal parenchymal damage. Timely diagnosis and management can significantly impact patient outcomes.
Synonyms

Acute pyelonephritis

Pyonephrosis

Renal carbuncle

Lobar nephronia

Acute bacterial nephritis

ICD-10CM CODES
N10Acute pyelonephritis
N11Chronic tubulo-interstitial nephritis
N11.0Nonobstructive reflux-associated chronic pyelonephritis
N11.1Chronic obstructive pyelonephritis
N11.8Other chronic tubulo-interstitial nephritis
N11.9Chronic tubulo-interstitial nephritis, unspecified
N12Tubulo-interstitial nephritis, not specified as acute or chronic
N20.9Calculus pyelonephritis
Use additional code (B95-B97) to identify infectious agent.
Epidemiology & Demographics
Incidence

Pyelonephritis is common in the U.S. with overall rates of 15 to 17 cases/10,000 women and 3 to 4 cases/10,000 men. Pyelonephritis accounts for 9.1% to 31% of severe sepsis cases annually, depending on geographic area. Average annual mortality is 16.1%, ranging from 5% for patients <25 yr to 43% for ages >64 yr.

Predominant Sex

Women are 5 times more likely to be hospitalized than men until the age of 65 yr. In men beyond the age of 65 yr, the difference in prevalence narrows. Risk factors associated with pyelonephritis in healthy women are sexual intercourse (3 times wk over the previous 30 days), a new sex partner in the past year, use of spermicide, UTI during the past 12 mo, mother with a history of UTI, diabetes mellitus, and urinary incontinence. Urinary tract obstruction is the most important risk factor for a complicated UTI.

Predominant Age

Trimodal distribution described in female patients:

  • Girls, ages 0 to 4 yr
  • Women, ages 15 to 35 yr, especially if sexually active
  • Gradual increase in frequency after age 50 yr, with peak incidence at 80 yr

Bimodal distribution in male patients:

  • Boys, ages 0 to 4 yr
  • Gradual increase in prevalence after age 35 yr, with peak incidence at 85 yr
Genetics

Congenital urologic structural disorders associated with vesicoureteral reflux predispose individuals to infections at an early age (<5 yr) and produce renal scarring in most male and some female patients. Pyelonephritis may produce an Ask-Upmark kidney (segmental renal hypoplasia) that is found more often in young female patients with severe hypertension.

Physical Findings & Clinical Presentation

Diagnosis established by clinical presentation, history, and physical examination.

Pyelonephritis is suspected in cases of lower urinary tract symptoms (e.g., urinary frequency, urgency, and dysuria) and frequently accompanied by any of the following:

  • Fever, rigors, chills (fever may not be present in older adults or the immunosuppressed)
  • Flank pain
  • Hematuria: Gross hematuria occurs rarely in acute pyelonephritis and raises suspicion for acute cystitis, papillary necrosis, or lower genitourinary malignancy
  • Toxic appearance
  • Nausea and vomiting
  • Headache
  • Diarrhea

Physical examination may elicit costovertebral angle tenderness with flank pain, a nearly universal finding. Its absence suggests an alternative diagnosis. Patients presenting with nephrolithiasis/ureterolithiasis usually do not present with costovertebral angle tenderness. Usually, abdominal or suprapubic tenderness is present.

Etiology

Ascending infections from intestinal bacteria that colonize the perineum and vulvae in women account for most infections. Less commonly, bacteria, viruses, or fungal pathogens may produce hematogenously induced pyelonephritis.

  • Gram-negative bacilli cause >80% of cases (e.g., Escherichia coli and Klebsiella species).
  • Less common gram-negative bacteria may produce infection, particularly after urinary tract instrumentation (e.g., Proteus mirabilis, Enterobacter, Serratia, and Pseudomonas species).
  • Resistant gram-negative organisms or fungi such as Candida may colonize indwelling catheters.
  • Gram-positive organisms such as enterococci and rarely, Staphylococcus saprophyticus.
  • Staphylococcus aureus indicates hematogenous spread to the kidneys.
  • Viruses generally are limited to the lower urinary tract.
  • Urea-splitting organisms generate alkaline urine that fosters production of staghorn calculi. These stones may grow to large size and cause infection, obstruction, or both.

In older adults, E. coli is less common (60%). Patients with diabetes develop infections from Klebsiella species, Enterobacteriaceae, Clostridioides species, or Candida species.

During the past decade, community-acquired bacteria (particularly E. coli) that produce extended-spectrum beta-lactamases have emerged as a cause of acute pyelonephritis worldwide. The most common risk factors for these uropathogens include frequent visits to health care centers, recent use of antimicrobials (e.g., cephalosporins and fluoroquinolones), older age, immunosuppression, recurrent pyelonephritis, nephrolithiasis, and comorbid conditions such as diabetes mellitus and recurrent UTIs.

Diagnosis

Differential Diagnosis

Differential diagnosis includes the following:

  • Abdominal abscess
  • Acute abdomen
  • Appendicitis
  • Basilar pleural process
  • Diverticulitis
  • Endometriosis
  • Herpes zoster
  • Lower rib fracture
  • Metastatic disease
  • Musculoskeletal disorders
  • Nephrolithiasis
  • Pancreatitis
  • Papillary necrosis
  • Pelvic inflammatory disease
  • Prostatitis
  • Pulmonary infarctions
  • Renal corticomedullary necrosis
  • Renal vein thrombosis
  • Retroperitoneal hemorrhage or abscess
  • Splenic abscess or infarct
  • Urinary tract obstruction
  • Vascular pathology
Workup
Urinalysis

Obtained from and conducted on a clean-catch voided or catheterized specimen, if unable to void or cooperate. Dipstick and microscopic examination must be performed on a fresh specimen for preservation of formed elements (e.g., cells, casts, and microorganisms). Most cases demonstrate pyuria and positive leukocyte esterase in association with a positive blood reaction and microhematuria. Leukocyte casts are generally of kidney origin but may be absent.

Urine Culture

Historically, clean, midstream cultures are obtained from all patients suspected of having acute pyelonephritis to guide antibiotic therapy. However, a clean-catch specimen may not be necessary. Recent evidence demonstrates no significant difference in the number of contaminated or unreliable culture results when urine is collected with or without preparatory cleansing. Obtain a catheterized urine sample if the patient is unable to void, uncooperative, or has an altered mental status. There is no difference in colony counts or organisms between catheterized and midstream voiding samples.

More than 95% of acute pyelonephritis cases exhibit >105 colony forming units of a single bacterium per milliliter of urine. However, it is important to obtain an accurate history regarding the timing of culture acquisition and prior antibiotic administration. A negative culture with classic clinical and radiologic findings does not rule out acute pyelonephritis, as shown by a prospective study, in which only 23.5% of 196 patients with clinical and radiologic evidence of acute pyelonephritis had demonstrated positive urine cultures. A urine Gram stain may aid in the choice of empiric antimicrobial therapy pending urine culture. If gram-positive cocci are seen, consider Enterococcus species or S. saprophyticus as causative.

Posttreatment urinalysis and culture are unnecessary if symptomatic improvement occurs, but these studies should be obtained when symptomatic improvement does not occur after 2 or 3 days of antibiotic treatment, or if symptoms recur within 2 wk of treatment. Urinary tract imaging is recommended in such cases.

Blood Cultures

Cultures are obtained from hospitalized patients but may not be routinely required in uncomplicated cases. Approximately 15% to 30% of patients with acute pyelonephritis are bacteremic. Older adults and individuals with complicated acute pyelonephritis are more likely to develop bacteremia and sepsis.

Urine cultures yield a causative organism in nearly all cases of acute pyelonephritis. Therefore, a positive blood culture may be diagnostically redundant. However, in unclear cases, or when an alternative diagnosis to acute pyelonephritis is considered, blood cultures should be obtained.

Imaging Studies

The primary imaging modalities used in patients with pyelonephritis are computed tomography (CT), MRI, and ultrasound. Most uncomplicated cases of acute pyelonephritis do not require imaging studies unless symptoms do not improve, recurrence occurs, or if the patient has prolonged fever (>72 h) or persistent bacteremia. Abdominal radiographs (i.e., kidney, ureter, and bladder x-ray [KUB]) are of limited utility in acute pyelonephritis, unless staghorn calculi are present. Retrograde or antegrade pyelography may be helpful in severe obstruction that is not evident after noninvasive evaluations. Voiding cystourethrography demonstrates vesicoureteral reflux and generally is conducted routinely only in children.

Recommendations for radiologic tests:

  • Healthy patients with uncomplicated pyelonephritis typically do not require radiologic evaluation when therapeutic responses occur within 72 h of antibiotic therapy.
  • If no response to therapy occurs within 72 h, abdominal CT is the study of choice.
  • Patients with diabetes and immunocompromised patients should undergo precontrast and postcontrast abdominal and pelvic CT scans (Fig. 1) within 24 h of diagnosis when response to therapy is not prompt.
  • Ultrasound (Fig. 2) is reserved for patients in whom exposure to contrast or radiation is considered hazardous. There is a high false-negative rate for renal abscess with ultrasound. In a prospective study of acute pyelonephritis that included 213 patients who had a CT/nuclear magnetic resonance (NMR) study done, 50 patients (23.5%) had a renal abscess, yet only 2 were detected by ultrasound.
  • All other adults with complicated cases (i.e., history of stones or other urologic conditions, prior urologic surgery, repeated episodes of pyelonephritis) should be evaluated early by CT.
  • Helical CT detects calculi with high sensitivity.
  • Urologic imaging studies should be conducted in all young men and boys.

Figure 1 Acute pyelonephritis: Contrast material-enhanced computed tomography (CT) scan.

The heterogeneous CT nephrogram shows the diffuse involvement of the right kidney. Stranding and some fluid are visible in the perinephric space with thickening of Gerota fascia.

From Skorecki K et al: Brenner & Rector’s the kidney, ed 10, Philadelphia, 2016, Elsevier.

Figure 2 Acute pyelonephritis.

A, Subtle focal increased echogenic areas are seen in the anterior cortex of the right kidney. B, Single focal hypoechoic area is seen in the upper pole of the kidney in another patient.

From Rumack CM et al: Diagnostic ultrasound, ed 4, Philadelphia, 2011, Elsevier.

Although the risk of contrast-induced nephropathy has declined substantially, exert caution during contrast administration in patients with chronic kidney disease or for those taking metformin. When evaluating kidney function, diagnostic decision-making must include estimated glomerular filtration rate trends, not serum creatinine levels, especially in older adults with reduced muscle mass. Patients with acute pyelonephritis and acutely elevated baseline serum creatinine concentrations may warrant CT imaging to rule out obstruction. If the risk of radiocontrast media administration outweighs its benefits, consider MRI or retrograde or antegrade pyelography.

The purpose of imaging is to identify underlying structural abnormalities such as occult obstruction from a stone or abscess and serious complications such as emphysematous pyelonephritis (EPN). In a prospective study of 213 patients with acute pyelonephritis, there were no differences in frequency of fever, leukocytosis, C-reactive protein, pyuria, urine cultures, and duration of symptoms before hospitalization for positive or negative CT. Accordingly, systematic CT or MRI is not required to exclude an anatomic abnormality. Such abnormalities cannot be predicted based on clinical, biochemical, or culture parameters.

EPN is a necrotizing infection that produces intraparenchymal kidney gas visualized by renal imaging. This disorder is associated with high mortality. Risk factors include diabetes mellitus and/or urinary tract obstruction. Gas-forming bacteria, most commonly E. coli, produce gas typically restricted within the Gerota fascia. Studies suggest an overall EPN mortality rate of 19%, reporting significant treatment success rates with percutaneous drainage and antibiotics (66%) and with nephrectomy (90%). EPN must be differentiated from a renal abscess, which can also be associated with a gas collection. With drainage and antibiotic treatment, a renal abscess has a favorable prognosis.

Laboratory Tests

A basic metabolic profile and CBC with differential count are required to estimate kidney function in patients with suspected acute pyelonephritis. If the diagnosis is in doubt, other laboratory tests may be appropriate to clarify the differential diagnosis (e.g., lipase, transaminase, and β-hCG levels).

Treatment

Acute General Rx
Uncomplicated Acute Pyelonephritis

Close outpatient follow-up is possible for patients with minimal GI symptoms and the ability to maintain fluid intake and oral medications. Prompt antibiotic therapy prevents progression of infection and must be initiated following acquisition of appropriate cultures. Begin empiric therapy based on risk of adverse effects, local community bacterial profiles, and resistance rates. Antibiotics are revised after urine culture results are available.

The concept of requiring long-term treatment for acute pyelonephritis has been questioned. Women with acute pyelonephritis were randomized to PO treatment with ciprofloxacin 500 mg bid for 7 days or 14 days, and 27% of these patients experienced bacteremia from E. coli. No differences in the cure rates were found (87% and 96%, respectively).

Outpatient regimens:

  • Fluoroquinolones are preferred in communities where the local prevalence of resistant E. coli is 10%.
  • Ciprofloxacin 500 mg PO bid or a single, 1000-mg/day PO dose in the extended-release form for 7 days.
  • Levofloxacin 750 mg/day PO for 5 to 7 days.
  • The initial dose may be administered intravenously (ciprofloxacin 400 mg or levofloxacin 500 mg).
  • When a fluoroquinolone is contraindicated, alternative treatment with trimethoprim-sulfamethoxazole (TMP-SMX) 160/800 mg PO bid for 10 to 14 days may be administered if the pathogen is susceptible.

Because of the high prevalence of resistance to PO beta-lactam antibiotics and TMP-SMX, these agents usually are reserved for cases in which susceptibility results are known. Additional factors (e.g., allergy history, potential drug-drug interactions, drug availability) may require empiric treatment with these agents before susceptibility testing results are known. In this circumstance, a long-acting, broad-spectrum parenteral drug (e.g., ceftriaxone 1 g or gentamicin 5 mg/kg) may be administered as a one-time dose or longer, until sensitivities of the organism are known. If the local prevalence of fluoroquinolone resistance to E. coli exceeds 10%, an initial IV dose of ceftriaxone or gentamicin is recommended, followed by an oral fluoroquinolone regimen.

Significant clinical improvement during appropriate empiric antibiotic therapy should occur within 48 to 72 h. If improvement does not occur, a complication of acute pyelonephritis or an alternative diagnosis such as an abscess, EPN, or an obstructing calculus should be considered. Any unexpected change in the clinical picture warrants immediate investigation with a CT scan.

Complicated Acute Pyelonephritis

Hospitalization is indicated for the following reasons:

  • Toxic patients
  • Complicated infections
  • Diabetes or otherwise immunosuppressed
  • Suspected bacteremia

Inpatient care includes supportive care, monitoring of culture results, adjustment of antibiotic regimen, and IV volume repletion as required. IV antibiotics are continued until defervescence occurs and clinical improvement occurs. Next, there is conversion to a PO antibiotic regimen for a total duration of 10 to 14 days.

  • IV antibiotic options for more toxic patients pending cultures include IV ceftriaxone (once daily), IV ciprofloxacin (400 mg bid), IV levofloxacin (500 mg/day), piperacillin/tazobactam (3.375 g IV qid), or carbapenems such as meropenem (500 mg IV tid).
  • Ceftazidime 1 to 2 g IV tid, piperacillin/tazobactam, or carbapenems are optimal choices for Pseudomonas because of increasing ciprofloxacin resistance.
  • Aminoglycosides are potentially nephrotoxic. These agents should be used only if no better alternative exists.
  • Vancomycin 1 g IV bid, linezolid 600 mg IV or PO bid, or daptomycin 4 to 6 mg/kg/day IV for gram-positive cocci (e.g., enterococci, staphylococci).
  • Ampicillin 1 to 2 g IV every 4 to 6 h for ampicillin-sensitive enterococci with aminoglycoside for synergy. Urinary obstruction is promptly drained by nephrostomy tube. Surgical drainage of abscess formation(s).
  • Pregnant women with acute pyelonephritis are hospitalized and treated initially with a second- or third-generation cephalosporin.
Renal Abscesses (Renal Carbuncles)

Cortical abscesses historically required surgical drainage; however, using current antibiotics is commonly sufficient for cure.

  • Semisynthetic penicillin, cephalosporin, fluoroquinolone, or vancomycin with guidance from culture and sensitivity results.
    1. Parenteral therapy for 10 to 14 days followed by PO therapy for 2 to 4 wk.
    2. Fever should resolve in 5 to 6 days and pain within 24 h.
    3. If no clinical response occurs within 48 h, percutaneous (preferred) or open drainage should be considered. More extreme measures are occasionally required, including enucleation or nephrectomy.
Corticomedullary Abscesses

  • Parenteral therapy for at least 48 h is generally successful.
  • May require incision and drainage and possibly, nephrectomy.
  • If defervescence occurs, IV antibiotic treatment may be switched to complete a 2-wk course of PO antibiotic therapy.
Perinephric Abscesses

  • Serious complication with mortality in the 25% to 50% range.
  • Lesions require early recognition, surgical drainage, and parenteral antibiotics (not adequate alone) to reduce mortality.
  • Initial antibiotic therapy may include piperacillin-tazobactam, cefepime, or meropenem.
  • Empiric therapy in the setting of S. aureus bacteremia includes nafcillin, oxacillin, cefazolin, or vancomycin (when methicillin-resistant Staphylococcus aureus is suspected).
  • Tuberculosis and fungi are rare reported causes.
  • deterioration despite aggressive therapy.
Calculi-Related Infections

Chronic pyelonephritis may lead to formation of struvite stones (magnesium ammonium phosphate stones). Formation requires infection with a urease-producing organism such as Proteus or Klebsiella. Symptoms directly attributable to struvite stones are uncommon. Typically, patients will present with symptoms of a UTI, mild flank pain, or hematuria. The stone may grow rapidly over a period of weeks to months if treatment is inadequate. Medical treatment for struvite stones is often ineffective and only indicated when surgery is not an option. The most common surgical intervention is percutaneous nephrolithotomy. Open surgery, once the gold standard, is now rarely used.

Surgical intervention is generally recommended in patients with newly discovered stones or in patients with a solitary kidney or two equally functioning kidneys. Nephrectomy is a reasonable option in patients with a nonfunctional kidney, particularly when chronic infection is present.

Renal Papillary Necrosis

  • Admission for parenteral antibiotics:
    1. Initial therapy should cover E. coli, Enterobacter, Proteus, and Klebsiella species, pending culture results.
    2. For more serious infections, Pseudomonas and Enterococcus should also be covered.
    3. Empiric therapy agent options include the following:
      1. Aminoglycosides
      2. Cefotaxime
      3. Ceftriaxone
      4. Ceftazidime
      5. Cefepime
      6. Piperacillin-tazobactam
      7. Imipenem-cilastatin
      8. Meropenem
      9. Ciprofloxacin
    4. Continue parenteral therapy until fever and clinical symptoms improve.

Xanthogranulomatous pyelonephritis (XGP) is a rare variant of chronic pyelonephritis with destruction of renal parenchyma.

  • Generally unilateral
  • Affects women more than men from newborn to advanced age
  • Usually in individuals with obstructing stones
  • Presents with flank or abdominal pain, lower urinary tract symptoms, fever, palpable mass, gross hematuria, or weight loss
  • Urine cultures commonly demonstrate E. coli or Proteus mirabilis
  • CT is the diagnostic modality of choice and provides staging information
  • Can be confused with malignancy
  • Treatment is surgical nephrectomy

Chronic nephrolithiasis, especially in high-risk populations such as patients with diabetes or immunosuppressed patients, can predispose individuals and promote complicated infections leading to XGP and ENP. These are very rare disorders that are difficult to diagnose, and an unrecognized renal tumor can be hidden behind a suspected diagnosis of XGP and ENP.

Chronic Rx

  • Repair underlying structural problems, especially when kidney function is compromised.
    1. Reflux
      1. Obstruction
      2. Suspect nephrolithiasis
  • Avoid urinary catheters.
Disposition

  • If pyelonephritis is uncomplicated with no significant GI symptoms, treatment may be initiated on an outpatient basis with close monitoring of therapeutic response(s) in 48 to 72 h.
  • If pyelonephritis is complicated and symptoms persist for >48 to 72 h, admission is recommended for any of the following: Significant GI symptoms that preclude PO therapy, pregnancy, urinary tract obstruction, suspected renal or perinephric abscess, bacterial sepsis, diabetes or other immunocompromised states, recurrent or refractory pyelonephritis, or infection with unusual or antibiotic-resistant microorganisms.
  • If sepsis is present, consider intensive care unit hospitalization.
  • Acute pyelonephritis may be fatal when complications develop such as EPN (mortality rate, 20% to 80%), perinephric abscess (mortality rate, 20% to 50%), or sepsis syndrome (>25% overall mortality rate).
  • Acute deterioration or nonresponse to conventional therapy may be due to a complication, resistant organism, or unrecognized comorbidity.
  • Patients with diabetes and acute pyelonephritis are prone to bacteremia, longer hospital stays, and greater mortality. Those with diabetes should be considered to have complicated status.
  • Patients older than 65 yr have greater mortality, septic shock, bedridden status, and immunosuppression. In men, mortality is also increased with the use of antibiotics in the previous month.
Referral

  • General surgery or urology for suspected abscess
  • Infectious disease for resistant organisms and poor response to routine antibiotic therapy as outlined
  • Urology to correct underlying urologic problems (e.g., reflux and hydronephrosis)
  • Nephrology consult for renal dysfunction or nephrolithiasis evaluation
  • Critical care monitoring, if intensive care unit admission is required

Pearls & Considerations

Related Content

Pyelonephritis (Patient Information)

Suggested Readings

    1. Ciccarese F. : Complicated pyelonephritis associated with chronic renal stone diseaseRadiol Med. ;126(4):505-516, 2021.doi:10.1007/s11547-020-01315-7
    2. Colgan R. : Diagnosis and treatment of acute pyelonephritis in womenAm Fam Physician. ;84(5):519-526, 2011.
    3. Lee S.H. : Renal abscesses measuring 5 cm or less: outcome of medical treatment without therapeutic drainageYonsei Med J. ;51(4):569-573, 2010.doi:10.3349/ymj.2010.51.4.569
    4. Medina M, Castillo-Pino E: An introduction to the epidemiology and burden of urinary tract infections, Ther Adv Urol 11:1756287219832172, 2019. https://doi.org/10.1177/1756287219832172.
    5. Melia M. : Pyelonephritis, acute, uncomplicatedJohns Hopkins ABX guide. The Johns Hopkins University-Baltimore, 2016.www.hopkinsguides.com/hopkins/view/Johns_Hopkins_ABX_Guide/540458/all/Pyelonephritis__Acute__Uncomplicated
    6. Nikolaidis P. : ACR appropriateness criteria® acute pyelonephritis. Expert Panel on Urologic ImagingJ Am Coll Radiol. ;15(11S):S232-S239, 2018.doi:10.1016/j.jacr.2018.09.011
    7. Rollino C. : Acute pyelonephritis in adults: a case series of 223 patientsNephrol Dial Transplant. ;27(9):3488-3493, 2012.doi:10.1093/ndt/gfr810
    8. Sandberg T. : Ciprofloxacin for 7 days versus 14 days in women with acute pyelonephritis: a randomised, open-label and double-blind, placebo-controlled, non-inferiority trial PMID 22726802 Lancet. ;380(9840):484-490, 2012.doi:10.1016/S0140-6736(12)60608-4