Doctors Note Logo

Published on: 9/29/2026

What Is Pyelonephritis, and Why It Is Treated Urgently

Pyelonephritis is a bacterial kidney infection that usually begins in the bladder and travels up the urinary tract, causing fever, chills, flank or back pain, nausea, and painful or frequent urination. It is treated urgently because bacteria in the kidney can enter the bloodstream and trigger sepsis, or lead to kidney abscess, scarring, and lasting loss of kidney function, especially in pregnancy, diabetes, older age, or when kidney stones block urine flow. Prompt antibiotics, sometimes given intravenously in the hospital, usually resolve the infection, but delays raise the risk of serious complications. There are several important factors and warning signs to consider, including how it differs from a simple bladder infection and when to seek emergency care, so see below to understand more.

Because flank pain with fever can signal an infection that is already moving beyond the bladder, it helps to sort out how urgent your situation is right now rather than waiting to see if things improve. A free, instant, online symptom check can help you organize your symptoms, understand the possible causes, and decide whether you need same-day care or an emergency visit.

Last reviewed for medical accuracy: 09/29/2026

answer background

Explanation

What Is Pyelonephritis, and Why It Is Treated Urgently

Pyelonephritis is a type of urinary tract infection (UTI) that reaches the kidneys. Unlike a bladder infection, which is usually mild, pyelonephritis can cause serious complications if not treated promptly. Understanding what pyelonephritis is, how it develops, and why timely treatment matters can help you recognize the signs and get care before the infection worsens.

What Is Pyelonephritis?

Pyelonephritis is an infection of one or both kidneys. Bacteria—most often Escherichia coli—travel from the bladder up the ureters into the kidney tissue. There, they multiply and trigger inflammation.

Key points:

  • The kidneys filter waste from your blood and help regulate blood pressure, fluid balance, and red blood cell production.
  • When bacteria invade kidney tissue, they can disrupt these vital functions.
  • Pyelonephritis may start as a lower UTI (cystitis) and ascend, or it may arise when bacteria in the bloodstream localize in the kidneys.

Why It’s Treated as an Emergency

The kidneys are essential organs. An untreated infection can lead to:

  • Abscess formation: Pockets of pus that may require drainage.
  • Sepsis: Bacteria invade the bloodstream, causing life-threatening organ dysfunction.
  • Permanent kidney damage: Scarring and reduced kidney function.
  • Recurrent infections: Ongoing issues that can affect quality of life.

Because of these risks, healthcare providers treat pyelonephritis urgently—often with antibiotics started before all test results return.

Who’s at Risk?

Anyone can develop pyelonephritis, but certain factors increase the likelihood:

  • Female anatomy: A shorter urethra makes it easier for bacteria to reach the bladder and kidneys.
  • Sexual activity: Introduces bacteria into the urinary tract.
  • Urinary tract abnormalities: Kidney stones, anatomical defects, or enlarged prostate can block urine flow.
  • Weakened immune system: Diabetes, HIV, or medications that suppress immunity.
  • Catheter use: Provides a direct route for bacteria.
  • Pregnancy: Hormonal changes and pressure on the urinary tract can promote infection.

Common Symptoms

Symptoms of pyelonephritis often come on suddenly and can resemble a lower UTI, but tend to be more severe:

  • High fever (often above 38°C/100.4°F)
  • Chills and sweats
  • Flank pain (pain on one or both sides, just below the ribs)
  • Nausea and vomiting
  • Frequent, urgent, or painful urination
  • Cloudy or bloody urine
  • Generalized weakness or feeling unwell

Not everyone will experience all symptoms. Older adults and people with diabetes may have milder or atypical signs, such as confusion or lower-than-expected fever.

How It’s Diagnosed

A prompt, accurate diagnosis guides effective treatment:

  1. Medical history and physical exam
    • Discuss recent UTIs, catheter use, kidney stones, and other risk factors.
    • Check for fever, flank tenderness, and signs of dehydration.

  2. Urine tests
    • Urinalysis: Looks for white blood cells, red blood cells, and bacteria.
    • Urine culture: Identifies the specific bacteria and their antibiotic sensitivities.

  3. Blood tests
    • Complete blood count (CBC) to assess infection severity.
    • Blood culture if sepsis is suspected.

  4. Imaging (in select cases)
    • Ultrasound or CT scan to detect abscesses, stones, or structural abnormalities—especially when symptoms don’t improve.

Treatment Overview

Early treatment lowers the risk of complications. Management typically includes:

  • Antibiotics
    • Oral for mild to moderate cases.
    • Intravenous in severe cases, hospitalized patients, or when oral intake isn’t tolerated.
    • Duration usually ranges from 7 to 14 days, depending on severity and response.

  • Pain and fever control
    • Over-the-counter medications like acetaminophen or ibuprofen help with discomfort and lower fever.

  • Hydration
    • Drinking plenty of fluids (unless otherwise directed) supports kidney function and helps flush out bacteria.

  • Follow-up
    • Repeat urine culture after treatment to ensure the infection is fully cleared, especially if symptoms persist.

Potential Complications

If left untreated or inadequately treated, pyelonephritis can lead to:

  • Renal abscess: May require drainage under imaging guidance.
  • Sepsis and septic shock: A life-threatening emergency needing intensive care.
  • Chronic kidney disease: Long-term damage that impairs filtering ability.
  • Pregnancy complications: Increased risk of preterm labor, low birth weight, and preeclampsia.

Prevention Strategies

While some risk factors (like anatomy) can’t be changed, you can take steps to reduce UTI and pyelonephritis risk:

  • Stay well hydrated—urine flow helps clear bacteria.
  • Urinate when you feel the urge; avoid “holding it.”
  • Wipe front to back after using the toilet.
  • Urinate soon after sexual activity.
  • Avoid irritants like harsh soaps or douches near the urethra.
  • Discuss with your doctor whether low-dose antibiotic prophylaxis is appropriate for recurrent infections.

When to Seek Help

Because pyelonephritis can escalate quickly, don’t wait if you experience:

  • High fever with chills
  • Severe flank or back pain
  • Persistent nausea or vomiting
  • Confusion or dizziness
  • Any signs of shock: rapid heartbeat, rapid breathing, clammy skin

For a quick risk assessment, consider a free, online symptom check, using the doctor approved Ubie Symptom Checker. It can help you decide whether to seek medical care right away.

Key Takeaways

  • Pyelonephritis is a kidney infection that requires prompt antibiotic treatment.
  • Symptoms include fever, flank pain, urinary changes, and general malaise.
  • Diagnosis relies on urine tests, blood tests, and sometimes imaging.
  • Early treatment reduces the risk of abscesses, sepsis, and long-term kidney damage.
  • Prevention includes good hydration, hygiene, and addressing urinary tract issues.

If you notice any warning signs or your symptoms worsen, speak to a doctor. Timely medical attention can prevent serious, potentially life-threatening complications.

(References)

  • * Lopatkin NA, Ianenko EK, Simonov VIa, Dzeranov NK, Gol'dguber GV, Kartashov VIu. [The prevention and treatment of complications from extracorporeal lithotripsy]. Urol Nefrol (Mosk). 1991 May-Jun;(3):3-7. PMID: 1871921.

  • * Rebmann U, Otto HJ, Müller GW, Freitag J. [Radionuclide and radiographic studies for the evaluation of results of short and long-term therapy in experimental dog pyelonephritis]. Z Urol Nephrol. 1980 Nov;73(11):785-90. PMID: 7010830.

  • * Gupta R, Gupta S, Joshi K, Ganguly NK. Role of iron and iron chelation therapy in oxygen free radical mediated tissue injury in an ascending mouse model of chronic pyelonephritis. Comp Immunol Microbiol Infect Dis. 1997 Sep;20(4):299-307. doi: 10.1016/s0147-9571(97)00001-5. PMID: 9481514.

  • * BOHN H, KOCH E. [Intravenous treatment with N-pyrrolidinomethyltetracycline (reverin); results of a six-year intravenous treatment with tetracycline preparations]. Munch Med Wochenschr. 1958 Apr 25;100(17):671-5. PMID: 13565929.

  • * NOELLE H. [KIDNEY DISEASES AND THEIR TREATMENT WITH SPECIAL REFERENCE TO DIET]. Med Klin. 1963 Nov 8;58:1850-5. PMID: 14100262.

  • * LEPPAENEN MK. CHRONIC PYELONEPHRITIS FROM THE UROLOGICAL STANDPOINT OF VIEW WITH REGARD TO THE KIDNEY BIOPSIES AND LONG-TERM CHEMOTHERAPY. Ann Chir Gynaecol Fenn. 1964;53:338-48. PMID: 14184471.

  • * COTTIER P, HALDEMANN G. [USE OF A SULFONAMIDE (RO 4-4393) WITH PROLONGED ACTION IN THE TREATMENT OF CHRONIC PYELONEPHRITIS]. J Urol Nephrol (Paris). 1964 Oct-Nov;70:797-809. PMID: 14206001.

  • * FIGDOR PP. [ON PROTEIN THERAPY OF UREMIC PATIENTS WITH AMINO-MEL-"URO"]. Wien Med Wochenschr. 1965 Jan 16;115:41-5. PMID: 14270000.

  • * TALLGREN LG, LIEWENDAHL K, KUHLBAECK B. THE THERAPEUTIC SUCCESS AND NEPHROTOXICITY OF COLISTIN IN ACUTE AND CHRONIC NEPHROPATHIES WITH IMPAIRED RENAL FUNCTION. Acta Med Scand. 1965 Jun;177:717-28. doi: 10.1111/j.0954-6820.1965.tb01882.x. PMID: 14334665.

  • * KASANEN A, KULONEN M, IISALO E. Effect of intramuscular cobalt on the anemia of patients with pyelonephritis. Acta Med Scand. 1962 Apr;171:379-83. doi: 10.1111/j.0954-6820.1962.tb04202.x. PMID: 14454115.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.

Was this page helpful?

Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.