Pyelonephritis

Fever, loin pain and UTI symptoms. Culture first, the right antibiotic for the right length, and scan anyone not improving.

Medical OPDReviewed October 2026
In the medical emergency

A 32-year-old woman has 2 days of burning urine, then fever with rigors and right loin pain. Temperature 39.2 °C, pulse 112, BP 104/66. Right renal angle tenderness. Urine dipstick: leucocytes and nitrites positive.

Can she go home on tablets?

Do now: in this order
  1. Sepsis screenLow BP, high lactate, confusion: sepsis pathway.
  2. Pregnancy testIn every woman of child-bearing age. Changes the drugs.
  3. Urine culture before the first doseAnd blood cultures if febrile and admitted.
  4. Creatinine and sugarAKI and diabetes change everything.
  5. Antibiotic for the right lengthUsually 7–10 days, depending on the drug.
  6. Scan if not improving or obstructedUltrasound within 24 hours if no better in 48–72 hours, or if stone suspected.
  7. Check the culture resultSwitch to the narrowest effective drug.
Call your senior if
  • Septic or low BP
  • Obstruction on scan or known stone
  • Diabetic and very unwell
  • Pregnant
  • Single kidney or transplant
  • Not improving after 48–72 hours
Don’t miss
Key numbers
Typical course7 days (fluoroquinolone) to 10–14 days (beta-lactam)
No better at 48–72 hoursUltrasound for obstruction or abscess
Infected and obstructed kidneyUrological emergency: drain within hours
Diabetic, very unwell, gas on imagingEmphysematous pyelonephritis: urology now
PregnantAdmit for IV treatment in most cases

Check every dose against a current drug reference and your hospital protocol.

On this page

Who needs admission?

Home or admit?
Look at the whole patient
Home with oral antibiotic
  • Not septic
  • Can keep fluids and tablets down
  • Not pregnant
  • No obstruction or abnormal urinary tract
  • Reliable follow-up
Admit for IV antibiotic
  • Septic or vomiting
  • Pregnant
  • Diabetic and unwell, or kidney injury
  • Stone or obstruction
  • Male with complicated infection
  • Failed oral treatment

Antibiotics

Resistance to ciprofloxacin and co-trimoxazole, and ESBL-producing E. coli, are common in Pakistan. Use your hospital antibiogram, send a culture before the first dose, and change once sensitivities are back.

RxPyelonephritis (adult, non-pregnant; check local resistance)
Cefalexin500 mg orally 2–3 times a day (up to 1–1.5 g 3–4 times a day in severe infection) for 7–10 daysOral option for mild cases if local resistance allows Dose source: Drugs.com: Cephalexin dosage
Ciprofloxacin500 mg orally twice daily for 7 daysOnly if culture-sensitive or local resistance is low. Tendon and QT risks Dose source: Drugs.com: Ciprofloxacin dosage
Co-amoxiclav500/125 mg orally 3 times a day for 7–10 daysOnly when culture shows sensitivity Dose source: Drugs.com: Amoxicillin/clavulanate dosage
Ceftriaxone1–2 g IV once dailyAdmitted patients; switch to oral when improving and sensitivities known Dose source: Drugs.com: Ceftriaxone dosage
Meropenem1 g IV 8-hourlyESBL or septic patient with ESBL risk, per policy Dose source: Drugs.com: Meropenem dosage
  • Pregnancy: admit, IV ceftriaxone, avoid fluoroquinolones and nitrofurantoin (nitrofurantoin does not reach kidney tissue). Discuss with obstetrics.
  • Nitrofurantoin and fosfomycin are for lower UTI only. They do not treat pyelonephritis.
  • Men: treat as complicated; look for prostatitis and obstruction.
  • Kidney function: adjust doses for creatinine clearance.

When it is not getting better

Fever after 48–72 hours on antibiotics
  1. Check the cultureIs the bug resistant?
  2. Ultrasound kidneysHydronephrosis, abscess, stone.
  3. Obstructed and infectedUrology for nephrostomy or stent within hours. Antibiotics alone will fail.
  4. Diabetic with gasCT shows emphysematous pyelonephritis: urology now.
  5. AbscessLarger collections need drainage.

Frequently asked questions

What is the treatment of pyelonephritis?

Antibiotics guided by local resistance and urine culture: oral cefalexin, ciprofloxacin or co-amoxiclav for mild cases, or IV ceftriaxone (or meropenem for ESBL) in admitted patients, for 7–14 days depending on the drug. Scan if not improving.

How long is antibiotic treatment for pyelonephritis?

Usually 7 days for a fluoroquinolone and 10–14 days for a beta-lactam, depending on the drug and response.

When is pyelonephritis treated IV?

When the patient is septic, vomiting, pregnant, diabetic and unwell, has kidney injury, or has an obstructed or abnormal urinary tract.

Test yourself

Exam-style questions on this guide, from our two question banks. Choose an answer to see why each option is right or wrong.

NRE-1 PrepClinical MCQs, PMDC NRE style

1. A woman at 20 weeks of pregnancy has pyelonephritis. What is the best management?

2. A patient with pyelonephritis is still spiking 39 °C on day 3 of IV ceftriaxone. What is the next step?

3. Why are nitrofurantoin and fosfomycin not used for pyelonephritis?

4. A 28-year-old woman has fever 39 °C, loin pain, rigors and vomiting with nitrite-positive urine. She is not pregnant. What is appropriate?

5. A 26-year-old woman has fever of 39 °C, right loin pain, rigors and vomiting. Urine dipstick is positive for nitrites and leucocytes. Why is nitrofurantoin NOT suitable?

FCPS-1 PrepBasic science MCQs for CPSP FCPS Part 1

6. What is the most common cause of traveller's diarrhoea?

7. In the collecting duct, which cells secrete hydrogen ions to acidify the urine?

References and dose sources

  1. NICE NG111: Pyelonephritis (acute), antimicrobial prescribing
  2. IDSA guideline: uncomplicated cystitis and pyelonephritis in women (Clin Infect Dis 2011)
  3. NICE NG253 — suspected sepsis in over 16s
  4. Cefalexin (cephalexin) dosing: Drugs.com: Cephalexin dosage (see also our cefalexin (cephalexin) dose page)
  5. Ciprofloxacin dosing: Drugs.com: Ciprofloxacin dosage (see also our ciprofloxacin dose page)
  6. Co-amoxiclav (amoxicillin with clavulanic acid) dosing: Drugs.com: Amoxicillin/clavulanate dosage (see also our co-amoxiclav (amoxicillin with clavulanic acid) dose page)
  7. Ceftriaxone dosing: Drugs.com: Ceftriaxone dosage (see also our ceftriaxone dose page)
  8. Meropenem dosing: Drugs.com: Meropenem dosage (see also our meropenem dose page)

International guidance is linked where it reflects good practice. Where your hospital’s protocol differs, follow your hospital.