Kidney infection (pyelonephritis)

Expert review by:

A kidney infection is also known as pyelonephritis. It can develop if you have a urinary tract infection (UTI) and bacteria travel up to one or both of your kidneys. A kidney infection can make you feel unwell, but it’s usually easily treated with antibiotics.

An image showing the location of the bladder and surrounding structures

About kidney infection

Your kidneys do several important jobs. They ‘clean’ your blood by filtering out water and waste products to make pee (urine). They also control your blood pressure and the amount of fluid in your body.

Doctors call kidney infections acute pyelonephritis. ‘Acute’ just means the infection lasts for a short while (short-term), rather than being a long-term kidney problem. Pyelonephritis means inflammation at the centre of the kidney.

Kidney infections usually develop from an infection in your lower urinary tract. This includes:

  • your bladder
  • your urethra (the tube that carries urine out of your body)

Urinary tract infections start when bacteria enter your bladder through your urethra. This can cause an infection called cystitis . Sometimes the infection can spread to your kidneys, causing a kidney infection.

You may be more likely to develop a kidney infection if you have a kidney stone .

Symptoms of a kidney infection

Kidney infection symptoms can develop quickly. Signs of a kidney infection may include:

  • pain in your back or sides (it may be only on one side)
  • a fever (a high temperature) and chills
  • feeling or being sick
  • generally feeling unwell with flu-like symptoms

You may have symptoms of a lower urinary tract infection (cystitis) before you get a kidney infection. These symptoms may include:

  • needing to pee urgently
  • burning or stinging when you pee
  • blood in your urine

If you have any of these symptoms, contact your GP.

Causes of kidney infection

E coli is the most common type of bacteria in kidney infections (pyelonephritis). It causes up to 8 out of 10 cases. Other types of bacteria can also cause them.

The bacteria travel up to your bladder through your urethra (the tube that carries urine out of your body). They can then travel up from your bladder to infect one or both kidneys. In about 1 in 20 cases, bacteria reach the kidneys through your bloodstream. This is from an infection somewhere else in your body.

Kidney infections are more common in women than in men. You’re more likely to develop a kidney infection if:

  • you have an underlying condition affecting your kidney or urinary tract
  • you have a catheter – a medical tube that takes urine out of your body from your bladder
  • your ureter or kidney is blocked – for example, by a kidney stone
  • you’re pregnant
  • you have type 1 diabetes or type 2 diabetes
  • your immune system is weakened – for example, if you have HIV/AIDS, cancer, or are taking corticosteroids
  • you have urinary incontinence
  • have sex often or have had a new partner recently

Diagnosis of kidney infection

Your GP will ask you about your symptoms and medical history. They’ll examine you and ask you to give a urine sample. Your GP may test the urine sample in the surgery, to look for signs of an infection. This is sometimes called a ‘dipstick’ test. Or, they may send a urine sample to a laboratory to look for an infection and find out which type of bacteria is causing it.

To assess your condition further, your GP may arrange other tests. These could include blood tests or a scan, such as a renal ultrasound or a CT scan.

GP Subscriptions – Access a GP whenever you need one for less than £20 per month

You can’t predict when you might want to see a GP, but you can be ready for when you do. Our GP subscriptions are available to anyone over 18 and give you peace of mind, with 15-minute appointments when it suits you at no extra cost.

Self-help for kidney infection

If you have a kidney infection (pyelonephritis), it’s important to make sure you keep hydrated . This means drinking enough fluids to prevent dehydration. It’s often said that we need 6 to 8 cups or glasses of fluid a day. But how much you need depends on lots of things, including your age and how active you are.

Drinking water is a good way to stay hydrated. But all fluids count, including tea, coffee, and even soup. One way to tell if you’re hydrated is to check the colour of your urine – it should be very pale yellow (straw-coloured). It’s also important to get plenty of rest. Don’t try to do too much while you’re feeling unwell and recovering.

If the infection is causing pain, you can take over-the-counter painkillers such as paracetamol.

Treatment of a kidney infection

Medicines

If urine tests show you have a kidney infection, your GP will prescribe antibiotics. You’ll need to take these for one to two weeks. Your doctor and pharmacist will tell you exactly how long.

Most people with a kidney infection respond well to antibiotics and make a good recovery. The time it takes for your infection to go depends on how severe it was to begin with – it can be days or weeks. It’s important to complete the full course of antibiotics, even if your symptoms clear up before you finish them. This helps to stop the infection from coming back.

Some people may need further kidney infection treatment in hospital. Your GP will tell you if you need to go to hospital. You should contact your GP if:

  • your kidney infection symptoms get worse
  • you feel sick or start vomiting
  • your symptoms don’t start to get better within 48 hours (two days) of starting antibiotics

Hospital treatment

Your GP may refer you to hospital for treatment if they think you’re at high risk of developing complications. This might be for any of the following reasons.

  • You have signs of a more serious condition such as sepsis. Signs include becoming increasingly unwell, a very high fever, sweating, shivering, becoming pale, shortness of breath, and dizziness.
  • You’re pregnant.
  • You are very dehydrated, can’t drink, or can’t take medicines.
  • You have other underlying health problems, such as diabetes or kidney disease.
  • You keep getting urinary tract infections (UTIs).

In hospital, you may have a drip put into a vein in your hand or arm to give you fluids and antibiotics. If all goes well, after a couple of days you can usually switch to antibiotics by mouth.

Complications of kidney infection

In most people, a kidney infection clears up easily with treatment. But sometimes an infection can become serious and even life-threatening. Complications include the following.

  • Resistance to antibiotics. Your doctor may need to try a different antibiotic, and you may develop further infections.
  • An abscess (a collection of pus) in your kidney. You may need a procedure to drain it.
  • Your kidneys not working properly. This may lead to kidney failure.
  • Sepsis (blood poisoning) – this can happen if bacteria get into your blood. If this happens, you’ll need to be admitted to hospital for treatment.

You're more likely to develop complications if you:

  • have a severe infection
  • have type 1 or type 2 diabetes
  • are over 65
  • have a long-term infection that’s not responding to treatment
  • have an underlying condition affecting your kidney or urinary tract
  • have a catheter (medical tube that takes urine out of your body from your bladder)
  • have a weakened immune system
  • have kidney stones
  • are pregnant

If you're pregnant and you develop a kidney infection, it can lead to complications for you and your baby. These include your baby being born early and being born small. If you have any of the symptoms of a kidney infection and you’re pregnant, contact your GP or midwife as soon as possible. This is really important even if your infection is mild.

Prevention of kidney infection

Some people keep getting kidney infections or urinary tract infections (UTIs). If you do, your doctor may prescribe antibiotics to help prevent them. How long you need to take them for will depend on your personal circumstances.

Kidney infections usually develop following a urinary tract infection. To help stop UTIs from developing you can try these self-help tips.

  • Drink enough fluids to stay hydrated.
  • Don’t delay passing urine (peeing) – always go as soon as you feel the urge.
  • Go to the toilet to pee after having sex.
  • Wipe from front to back after using the toilet, to avoid spreading bacteria from your anus.
  • Don’t ‘douche’ (flush out the vagina with water or any other fluids).
  • If you have an enlarged prostate, try to make sure you’ve completely emptied your bladder. If necessary, try peeing again a few minutes after you’ve been to the toilet.

Researchers have looked into preventing UTIs with cranberry products (cranberry juice or cranberry supplements). Doctors also sometimes recommend a fruit sugar called d-mannose. There’s some evidence that d-mannose and cranberries can help to prevent UTIs. So, if you’re prone to bladder infections, they may help. But if you already have symptoms of an infection, it’s important to see your doctor and get some antibiotics. Some doctors may prescribe topical vaginal oestrogen products for perimenopausal and menopausal women who keep getting urinary tract infections.

Kidney infection symptoms include back or side pain, a fever, and feeling sick or being sick. You may also need to pass urine (pee) more often, urgently, and feel pain when you pee. For more information, see our symptoms of kidney infection section.

Most kidney infections are caused by bacteria travelling up the tube that carries urine out of your body (the urethra). See our causes of kidney infection section for more information.

Your GP will ask you about your symptoms and medical history. They’ll test a urine sample to see if you have a bacterial infection. You may also need blood tests or a scan. For more information on this, see our diagnosis of kidney infection section.

A kidney infection won’t go away on its own. Your GP will prescribe antibiotics to treat it. You should also drink plenty of fluids and rest as much as possible until the infection clears up. See our treatment of kidney infections section for more information.

Most people with a kidney infection respond well to antibiotics and make a good recovery. But some people are more prone to a serious infection. This includes pregnant woman and people with a weak immune system. A severe infection could damage your kidneys. See our complications of kidney infections section for more information.

There are lots of reasons why you may keep getting kidney infections. These infections are more common in women, especially during pregnancy. They’re also more common if you have diabetes. A blockage of the urinary tract can also increase your risk, such as an enlarged prostate or kidney stones. For more information, see our causes of kidney infections section.

More on this topic

Other helpful websites

Did our Kidney infection (pyelonephritis) information help you?

We’d love to hear what you think. Our short survey takes just a few minutes to complete and helps us to keep improving our health information.

The health information on this page is intended for informational purposes only. We do not endorse any commercial products, or include Bupa's fees for treatments and/or services. For more information about prices visit: www.bupa.co.uk/health/payg

This information was published by Bupa's Health Content Team and is based on reputable sources of medical evidence. It has been reviewed by appropriate medical or clinical professionals and deemed accurate on the date of review. Photos are only for illustrative purposes and do not reflect every presentation of a condition.

Any information about a treatment or procedure is generic, and does not necessarily describe that treatment or procedure as delivered by Bupa or its associated providers.

The information contained on this page and in any third party websites referred to on this page is not intended nor implied to be a substitute for professional medical advice nor is it intended to be for medical diagnosis or treatment. Third party websites are not owned or controlled by Bupa and any individual may be able to access and post messages on them. Bupa is not responsible for the content or availability of these third party websites. We do not accept advertising on this page.

  • Acute pyelonephritis. Definition. BMJ Best Practice. bestpractice.bmj.com, last reviewed July 2025
  • Kidney anatomy. Medscape. emedicine.medscape.com, updated March 2025
  • Pyelonephritis – acute. Definition. NICE Clinical Knowledge Summaries. cks.nice.org.uk, last revised December 2024
  • Kidney infection. The MSD Manuals. www.msdmanuals.com, modified July 2025
  • Urinary tract infection (lower) – women. NICE Clinical Knowledge Summaries. cks.nice.org.uk, last revised February 2025
  • Urinary tract infections. NICE British National Formulary. bnf.nice.org.uk, last updated July 2025
  • Hydration. British Nutrition Foundation. www.nutrition.org.uk, last reviewed October 2023
  • Pyelonephritis. Patient. patient.info, last updated January 2022
  • Sepsis. NICE Clinical Knowledge Summaries. cks.nice.org.uk, last revised October 2024
  • Diagnosis of urinary tract infections – quick reference tools for primary care. Background. UK Health Security Agency. www.gov.uk, updated July 2025
  • Urinary tract infections in pregnancy. Medscape. emedicine.medscape.com, updated July 2023
  • Stonehouse W, Benassi-Evans B, Bednarz J et al. Whole cranberry fruit powder supplement reduces the incidence of culture-confirmed urinary tract infections in females with a history of recurrent urinary tract infection: A 6-month multicenter, randomized, double-blind, placebo-controlled trial. Am J Clin Nutr. 2025 Apr;121(4):932-941. doi: 10.1016/j.ajcnut.2025.01.022. Epub 2025 Jan 23. PMID: 39863114; PMCID: PMC12002188.
  • De Nunzio C, Bartolettis R, Tubaro A et al. Role of D-Mannose in the Prevention of Recurrent Uncomplicated Cystitis: State of the Art and Future Perspectives. Antibiotics (Basel), 2021, 10(4), p373. doi: 10.3390/antibiotics10040373
  • Prostate symptoms (bladder outlet obstruction). The British Association of Urological Surgeons. www.baus.org.uk, page dated March 2024
  • Personal communication by Dr Richard Hull, Consultant in Renal Medicine, September 2025
Content review by:
  • Liz Woolf, Freelance Health Editor
The Patient Information Forum tick 


Our information has been awarded the PIF tick for trustworthy health information.

Content is loading