Pyelonephritis (Kidney Infection) Causes and Treatment

Male kidney anatomy, illustration
PIXOLOGICSTUDIO/SCIENCE PHOTO LIBRARY / Getty Images
Table of Contents
View All
Table of Contents

A kidney infection—called pyelonephritis—is a bacterial infection of one or both of your kidneys. The infection can cause sudden, severe symptoms like fever, chills, lower back (flank) pain, nausea, and vomiting.

The diagnosis of pyelonephritis involves a medical history, physical exam, and lab tests, most notably a urine culture. Antibiotics are the cornerstone treatment of pyelonephritis.

The article describes the symptoms and causes of pyelonephritis and explains how kidney infections are diagnosed and treated.

How Can You Tell You Have a Kidney Infection?

The kidneys are two bean-shaped organs of the urinary system, each about the size of a fist. They are situated just below the rib cage on each side of your spine.

Pyelonephritis is characterized by kidney pain. The infection may be acute (sudden and severe) or chronic (persistent or recurrent).

Signs and symptoms of pyelonephritis include:

With acute pyelonephritis, symptoms can come on fast and furiously, often within hours or a day.

With chronic pyelonephritis commonly seen in older adults with underlying kidney problems, symptoms are lower-grade but may also include malaise (a general feeling of unwellness), loss of appetite, and unintentional weight loss.

Complications

Kidney infections can sometimes spread to the bladder, causing a bladder infection (cystitis). Symptoms of cystitis include pain with urination (dysuria), foul-smelling urine, blood in urine (hematuria), and the need to pee frequently (urinary frequency) or urgently (urinary urgency).

If left untreated, pyelonephritis can turn severe and lead to potentially serious complications, such as:

  • Kidney abscess (a pocket of pus on the kidney)
  • Emphysematous pyelonephritis (in which the infections start killing kidney tissues)
  • Sepsis (a severe immune response to a spreading infection)
  • Kidney failure

Kidney Infection vs. Bladder Infection

A kidney infection and bladder infection have similar symptoms, but a kidney infection is more likely to be abrupt and severe, causing the rapid onset of fever and a deep stabbing or crushing pain in your lower back or sides,

What Are the Main Causes of a Kidney Infection?

A kidney infection occurs when bacteria travels from the urethra (the tube through which urine exits the body) to the bladder and then passes to one of both kidneys through the ureters (the tubes that connect the bladder and kidneys).

Bacteria associated with pyelonephritis include:

Kidney infection can also happen if urine flow is blocked due to kidney stones, an enlarged prostate, and congenital malformations in the shape of your urinary tract.

Fungus are rare causes of pyelonephritis, most commonly seen in immunocompromised people, such as organ transplant recipients and people with advanced, untreated HIV.

Risk factors for pyelonephritis include:

  • Being female: This is due to the location of the urethra nearer the anus as well as the shorter length of the urethra (making it easier for bacteria to reach the kidneys)
  • Diabetes: High blood sugar can damage the urinary tract, making it harder to empty the bladder
  • Having a weakened immune system: This can make it harder to fight infections.
  • Spinal cord injury: This can keep you from noticing symptoms of a urinary tract infection
  • Urinary catheters: These can introduce bacteria more easily into the bladder.
  • Vesicoureteral reflux: This condition causes urine to backflow from the bladder to the kidneys.

How Kidney Infections Are Diagnosed

The diagnosis of pyelonephritis is based on your symptoms, a review of your medical history, a physical exam, and lab tests. Sudden, severe, flank pain and fever are tell-tale signs.

As part of the physical exam, your healthcare provider will check for costovertebral angle (CVA) tenderness by tapping your lower back just below the ribcage. With pyelonephritis, sharp pain will be felt in the underlying kidney.

Pyelonephritis is positively diagnosed with a urinalysis and urine culture, The urinalysis can check for signs of blood, pus, or white blood cells (a common sign of infection), while the urine culture can identify the exact bacteria causing the infection. Between 70% and 80% of kidney infections are caused by E. coli.

Imaging isn't needed for most cases of pyelonephritis. That said, imaging with an ultrasound or computed tomography (CT) scan can identify blockages or structural abnormalities in the urinary tract if symptoms are severe, resistant to treatment, or causing significant blood in the urine.

What Is the Best Treatment for a Kidney Infection?

The standard treatment of pyelonephritis is the administration of fluids to flush bacteria from the kidneys and antibiotics to kill bacteria causing the infection.

For uncomplicated infections, one or more antibiotics are taken by mouth over several days, most commonly:

In severe cases where hospitalization is needed, fluids and antibiotics may need to be administered intravenously (into a vein).

Prevention

There are certain steps that you can take to reduce your risk of pyelonephritis, particularly if you are female and have recurrent urinary tract infections (UTIs):

  • Drink plenty of water and urinate regularly,
  • Urinate before and after sexual intercourse,
  • Females should wipe from front to back to avoid introducing bacteria from stool into the urethra.
  • Avoid feminine hygiene products like douches, sprays, and powders.

Summary

Pyelonephritis is a kidney infection. It is almost always caused by bacteria like E. coli, causing symptoms like flank pain, fever, nausea, vomiting, and chills. Pyelonephritis is diagnosed with a physical exam and urine tests. The treatment involves increased fluid intake and antibiotics.

4 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Urology Care Foundation. Kidney (renal) infection: pyelonephritis.

  2. Herness J, Buttolph A, Hammer NC. Acute pyelonephritis in adults: rapid evidence reviewAm Fam Physician. 2020;102(3):173-180.

  3. Gupta K et al. International clinical practice guidelines for the treatment of acute uncomplicated cystitis and pyelonephritis in women: A 2010 update by the Infectious Diseases Society of America and the European Society for Microbiology and Infectious Diseases. Clin Infect Dis. 2011 Mar 1;52(5(:e103-20. doi: 10.1093/cid/ciq257

  4. Centers for Disease Control and Prevention. Urinary tract infection.

Additional Reading
  • Keenan DB, O'Rourke DM, Courtney AE. Pyelonephritis can lead to life-threatening complications. Practitioner. 2017 Feb;261(1801):17-20.

  • Gupta K, Trautner BW. Urinary Tract Infections, Pyelonephritis, and Prostatitis. In: Kasper D, Fauci A, Hauser S, Longo D, Jameson J, Loscalzo J. eds. Harrison's Principles of Internal Medicine, 19e. New York, NY: McGraw-Hill; 2015.
  • Howes DS, Bogner MP. Chapter 94. Urinary Tract Infections and Hematuria. In: Tintinalli JE, Stapczynski J, Ma O, Cline DM, Cydulka RK, Meckler GD, T. eds. Tintinalli's Emergency Medicine: A Comprehensive Study Guide, 7e. New York, NY: McGraw-Hill; 2011.

By Naveed Saleh, MD, MS
Naveed Saleh, MD, MS, is a medical writer and editor covering new treatments and trending health news.