Pyelonephritis is a bacterial infection of the kidney and its collecting system, usually caused by bacteria ascending from the bladder. It is more serious than a simple bladder infection (cystitis).
Typical symptoms
- Fever or chills
- Pain in the side or back, below the ribs (flank pain)
- Nausea or vomiting
- Burning with urination, urgency, or frequent urination
- Cloudy, bloody, or foul-smelling urine
- Tenderness when the back over the kidney is examined
Fever, rigors, and one-sided flank pain are not typical of uncomplicated cystitis and should prompt assessment for infection involving the kidney or beyond. Harrison's Principles of Internal Medicine, 22e (2025), urinary tract infection section.
Cause and risk factors
Most cases are due to Escherichia coli (E. coli) from the bowel. Infection commonly travels upward through the urethra and bladder to the kidney. Less commonly, bacteria reach the kidneys through the bloodstream. Robbins, Cotran & Kumar Pathologic Basis of Disease, pyelonephritis and UTI section.
Risk rises with:
- Pregnancy
- Kidney stones or urinary blockage
- Urinary catheter or recent urinary procedure
- Vesicoureteral reflux or structural urinary-tract problems
- Diabetes, impaired immunity, or a kidney transplant
- Recurrent UTIs
How it is diagnosed
Clinicians usually combine symptoms with:
- Urinalysis: may show white blood cells, bacteria, nitrites, or blood
- Urine culture and antibiotic-susceptibility testing, ideally collected before antibiotics
- Blood tests if illness is more severe
- Imaging is not routine for a straightforward case. A CT scan or ultrasound may be needed if there is sepsis, suspected obstruction or stone, renal impairment, atypical features, or no improvement within 48 to 72 hours. The AAFP evidence review outlines these indications.
Treatment
Treatment requires prescription antibiotics, selected according to illness severity, allergy history, kidney function, local resistance patterns, and the urine-culture result.
- People who are stable, can drink fluids, and have uncomplicated illness may often be treated at home with oral antibiotics and close follow-up.
- People with vomiting, dehydration, sepsis, urinary obstruction, pregnancy, unstable medical conditions, or inability to take oral medication often require hospital care, IV fluids, and IV antibiotics.
- If a stone or other obstruction is infected, it may require urgent drainage in addition to antibiotics.
Do not use leftover antibiotics or stop treatment early just because symptoms improve. The culture result may require the antibiotic to be changed.
Complications
Untreated or inadequately treated infection can lead to:
- Bloodstream infection and sepsis
- Kidney or perinephric abscess
- Obstructed infected kidney
- Renal scarring, especially with recurrent infection or reflux
- In rare severe cases, emphysematous pyelonephritis, particularly in people with diabetes
Pregnancy
Pyelonephritis in pregnancy needs prompt medical assessment and generally hospital treatment because it can cause dehydration, sepsis, respiratory complications, and preterm labor. Textbook of Family Medicine, 9e, pyelonephritis section. Antibiotic choice differs in pregnancy, so treatment should be directed by an obstetric clinician.
Seek urgent care now if
You have fever with flank pain and feel very unwell, or have confusion, fainting, low urine output, persistent vomiting, severe pain, pregnancy, known kidney obstruction, or immune suppression. These can indicate severe infection or sepsis.
Recent systematic reviews, including one on ultrasound in acute pyelonephritis (
PMID 38339768), support selective rather than routine imaging in uncomplicated cases.