Skip to main content
KidneyWise

Kidney infection (pyelonephritis)

A kidney infection is a urinary tract infection that has reached one or both kidneys. This page explains causes, symptoms, tests, treatment, prevention and when to seek urgent help.

Awaiting medical reviewLast updated: Last reviewed: Not yet reviewed

Awaiting medical review. This page is a draft that has not yet been reviewed by a qualified clinician. It may contain errors. Do not rely on it for decisions about your health.

On this page

What it is

A kidney infection is a type of urinary tract infection (UTI). The medical name is pyelonephritis. 1

Most kidney infections start in the lower urinary tract, usually the bladder. The infection then travels up the ureters (the tubes that join the bladder to the kidneys) to one or both kidneys. 1

Causes and risk factors

Bacteria are the usual cause. Viruses are a less common cause. 2

Bacteria from the bowel can enter the urinary tract and cause a bladder infection. If a bladder infection is not treated, or does not go away, it can spread to the kidneys. 2

Kidney infections are more common in females than in males, and are common in pregnancy. 1 The risk is also higher in people who have:

  • a current or recent bladder infection 1
  • a blockage in the urinary tract, such as a kidney stone or an enlarged prostate 1
  • vesicoureteral reflux, a condition in which urine flows backwards towards the kidneys. This is more common in children. 1
  • diabetes or a weakened immune system 1
  • nerve damage around the bladder, or difficulty emptying the bladder fully 1

Symptoms

Symptoms can include:

  • fever and chills 2
  • pain in the back, side or groin 2
  • nausea (feeling sick) or vomiting 2
  • painful or frequent urination 2
  • cloudy, dark, bloody or bad-smelling urine 2
  • diarrhoea, aching muscles and flu-like symptoms 5

A child under 2 years old may only have a high temperature. Some young children feed poorly, are drowsy or start wetting themselves. 25

Diagnosis and tests

Tests may include:

  • Urinalysis. A urine sample is checked for blood and white blood cells. 3
  • Urine culture. The laboratory identifies the bacteria in the urine, which helps in choosing an antibiotic. Results usually take a few days. 3
  • Blood tests to look for serious infection and check how well the kidneys are working. 3
  • Imaging, such as an ultrasound or CT scan, in some cases. 3

Progression and complications

When a kidney infection is diagnosed early and treated properly, most people do not have complications. 1 Most people feel better after about 2 weeks. 5

In rare cases, complications include:

  • sepsis, a life-threatening reaction to infection 12
  • kidney scarring, which can lead to chronic kidney disease 1
  • high blood pressure 1
  • kidney failure 1

Complications are slightly more likely in some groups, including older or frail adults, pregnant women, and people with diabetes, kidney disease or a weakened immune system. 1

Treatment

A bacterial kidney infection is treated with antibiotics. The antibiotic may be changed once the urine culture result is known. 4

  • Many people take antibiotic tablets at home, usually for 7 to 14 days. 5
  • People who are very unwell, are pregnant or have a long-term health condition may need treatment in hospital, with antibiotics and fluids given through a drip into a vein. 45
  • If a blockage such as a kidney stone caused the infection, the blockage may also need treatment. 4

Take the antibiotic exactly as prescribed and finish the whole course, even if you feel better. Not doing so may lead to antibiotic resistance, which makes infections harder to treat. Talk to your healthcare professional if you have side effects or find the medicine hard to take. 4

See your healthcare professional again if symptoms come back after treatment. 4

Lifestyle and nutrition

During an infection:

  • Rest. It can take up to 2 weeks to feel well enough to return to work. 5
  • Drink plenty of fluid. If you have kidney disease, ask your doctor how much fluid is right for you. 5
  • Ask a healthcare professional or pharmacist which pain relief suits you. Anti-inflammatory painkillers such as ibuprofen may raise the risk of further kidney problems. 5

To lower the chance of another infection:

  • drink enough fluid 4
  • pass urine when you feel the need, and empty your bladder fully 45
  • wipe from front to back after using the toilet 4
  • seek treatment for bladder infection symptoms, so the infection does not reach the kidneys 1

Natural and complementary approaches

No herbal or complementary product is a substitute for antibiotics in a kidney infection. 46

Cranberry. Research has looked at cranberry products for preventing bladder infections. Cranberry may lower the risk of repeated UTIs in some women, but study results are inconsistent and some of the research is not of high quality. Cranberry is not recommended as a treatment for an existing UTI. It should not be used in place of a proven treatment. 6

Evidence about whether cranberry interacts with the blood-thinning medicine warfarin is conflicting. People who take warfarin or other medicines should speak to a healthcare professional before using cranberry products. 6

Some herbal supplements can harm the kidneys or interact with medicines. Whether a product is suitable depends on kidney function, medicines and overall health. Tell your healthcare team about everything you take. 7

When to seek medical help

Call your local emergency number or go to an emergency department if you have symptoms of a kidney infection and:

  • you are confused, drowsy or have difficulty speaking 25
  • you have fast breathing, a fast heartbeat or shortness of breath 2
  • you have severe pain or feel extremely unwell 2

These can be signs of sepsis. 2

Get medical help the same day if:

  • you think you or your child may have a kidney infection, for example fever with back or side pain 25
  • you have these symptoms and are pregnant 5
  • you have blood in your urine, or have not passed urine all day 5
  • your symptoms are getting worse 5

Make a routine appointment if:

  • you have symptoms of a bladder infection, such as pain when passing urine 15
  • your symptoms have not gone away after antibiotic treatment 5

Frequently asked questions

Is a kidney infection the same as a bladder infection?

No. Both are urinary tract infections, but a kidney infection affects the upper urinary tract and is more serious. Many kidney infections start as a bladder infection. 12

Will a kidney infection damage my kidneys?

Most people who are treated early recover without complications. Lasting damage, such as scarring, is rare. 1

References

  1. 1.Definition & Facts of Kidney Infection (Pyelonephritis) National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK); accessed 23 November 2026.
  2. 2.Symptoms & Causes of Kidney Infection (Pyelonephritis) National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK); accessed 23 November 2026.
  3. 3.Diagnosis of Kidney Infection (Pyelonephritis) National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK); accessed 23 November 2026.
  4. 4.Treatment for Kidney Infection (Pyelonephritis) National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK); accessed 23 November 2026.
  5. 5.Kidney infection NHS; accessed 23 November 2026.
  6. 6.Cranberry: Usefulness and Safety National Center for Complementary and Integrative Health (NCCIH); accessed 23 November 2026.
  7. 7.Herbal Supplements and Kidney Disease National Kidney Foundation; accessed 23 November 2026.

Written by: KidneyWise editorial draft (AI-assisted)

Reviewed by: Not yet reviewed

This page is for education only. It is not medical advice and does not replace assessment by a healthcare professional. Do not start, stop or change any treatment because of something you read here.

If you have severe symptoms such as chest pain, severe breathlessness, confusion, fainting, or you are passing very little or no urine, get urgent medical help now.