Kidney infection (pyelonephritis): symptoms, tests and treatment
A kidney infection, or pyelonephritis, is a bacterial infection of one or both kidneys. It usually starts as a bladder infection that travels upwards and causes a high temperature, pain in the side or back and feeling very unwell. Prompt antibiotic treatment works in most cases, but delay can make it dangerous.

Contents
What is pyelonephritis?
The kidneys filter the blood and make urine, which drains through the ureters to the bladder. In pyelonephritis, bacteria – most often E. coli from the bowel – enter the urinary tract, pass through the bladder and up the ureters and reach the kidney, where they cause inflammation.
It is a more serious form of urinary tract infection than ordinary cystitis. It usually affects one kidney but can involve both. Doctors distinguish:
- acute pyelonephritis – a sudden infection that usually clears within a week or two with the right treatment;
- chronic pyelonephritis – repeated or persistent infections, usually linked to a blockage or structural problem of the urinary tract, which can scar the kidney over time.
Causes and risk factors
Women are affected more often because their urethra is shorter, making it easier for bacteria to reach the bladder. The risk is higher with:
- pregnancy, as changes in the urinary tract slow the flow of urine;
- kidney stones or another blockage that makes urine stagnate;
- an enlarged prostate in men;
- a urinary catheter or recent urinary tract surgery;
- diabetes and a weakened immune system;
- vesicoureteral reflux – urine flowing back from the bladder to the kidneys, mainly in children;
- frequent bladder infections.
Symptoms of a kidney infection
Symptoms usually develop over a few hours to a day or two:
- a high temperature, often above 38 °C, with shivering;
- pain in the side or back, under the ribs, usually on one side and sometimes spreading to the groin;
- nausea, vomiting, loss of appetite and exhaustion;
- burning or pain when passing urine, needing to go often and urgently;
- cloudy, smelly urine and sometimes blood in the urine.
Kidney pain differs from muscular lower back pain: it comes with fever and does not depend much on movement. In older people the symptoms may be atypical – only confusion, a fall or a general decline, sometimes without a high temperature.
Chronic pyelonephritis often causes vaguer symptoms: a dull ache in the back, intermittent low-grade fever, tiredness and recurring infections.
Tests and diagnosis
| Test | Why it is done |
|---|---|
| Urine test | Shows white blood cells, bacteria, nitrites and blood |
| Urine culture and sensitivity | Identifies the bacteria and which antibiotics work; taken before treatment starts |
| Blood tests | Blood count, CRP and creatinine assess severity and kidney function; blood cultures if very unwell |
| Kidney ultrasound | Looks for blockage, stones or an abscess, especially in men, pregnant women, recurrent infection or no improvement |
| CT scan | If complications are suspected or ultrasound is inconclusive |
Antibiotic treatment
Treatment should start promptly. The doctor chooses an antibiotic based on how unwell you are, your age, pregnancy, previous infections and local resistance patterns, and may switch it once the culture result is back.
- Treatment at home – for mild to moderate infection, as long as you can keep fluids and tablets down. The course usually lasts somewhere between 7 and 14 days, depending on the antibiotic.
- Hospital treatment – for severe illness, persistent vomiting, signs of sepsis, pregnancy, a blocked urinary tract, a single kidney or serious other conditions. Antibiotics are given into a vein and often switched to tablets once you improve.
- Treating the cause – if a stone or something else is blocking the flow, urine must be drained (for example with a catheter or stent); antibiotics alone are not enough.
The fever usually starts to settle within 48–72 hours. If it does not, the doctor looks for a complication. Finish the full course even if you feel better, and never use leftover antibiotics.
Self-care at home
- Drink plenty of fluids unless your doctor has advised otherwise.
- Rest; paracetamol can ease fever and pain. Some anti-inflammatory painkillers are not suitable when the kidneys are affected – ask your doctor or pharmacist.
- A warm hot-water bottle on your back or side may ease the pain.
- There is no special "kidney infection diet" – eat light, balanced meals and avoid alcohol.
Herbal teas and home remedies do not treat a kidney infection and should never delay seeing a doctor. To help prevent new infections: drink enough, do not hold on to urine for long, pass urine after sex and treat bladder infections promptly.
Kidney infection in children and pregnancy
In babies and young children a kidney infection may cause only a high temperature, irritability, poor feeding or vomiting, without any urinary symptoms. Any baby or young child with a high fever and no obvious cause should be seen by a doctor and have their urine tested. After an infection, tests for reflux or other abnormalities are sometimes arranged.
In pregnancy, pyelonephritis is treated in hospital or under close supervision because it can cause complications for the mother and the pregnancy. Pregnant women are routinely screened for bacteria in the urine even without symptoms.
Possible complications
With prompt treatment most people recover with no lasting effects. Complications are more likely with delayed treatment, a blocked urinary tract, diabetes, pregnancy or a weakened immune system:
- kidney abscess – a collection of pus in or around the kidney, sometimes needing drainage;
- sepsis – the infection spreading into the bloodstream and triggering a life-threatening reaction;
- permanent damage – scarring of kidney tissue after repeated infections, especially in children with reflux; rarely high blood pressure or reduced kidney function;
- pregnancy complications – such as premature birth.
For this reason, in men, children and people with recurrent infections the doctor usually looks for an underlying cause with ultrasound or other tests, even after recovery.
When to see a doctor
Contact your GP the same day if you have a temperature and pain in your side or back, especially after symptoms of cystitis. Call 112 or go to an emergency department if you have:
- a high fever with violent shivering (rigors);
- confusion, extreme drowsiness or slurred speech;
- fast breathing, a racing pulse, low blood pressure or dizziness;
- cold, pale or mottled skin;
- very little or no urine;
- constant vomiting and being unable to keep fluids or tablets down.
These can be signs of sepsis – a life-threatening reaction to infection. Recurrent infections need investigation of the cause, because repeated inflammation can lead to chronic kidney disease.
Frequently asked questions
What are the symptoms of a kidney infection?
Usually a high temperature with shivering, pain in the side or back, nausea or vomiting and often burning when passing urine. Older people may only become confused and weak. These symptoms need a same-day medical assessment.
How long does treatment take?
An antibiotic course usually lasts around 7 to 14 days depending on the medicine and severity. Improvement often begins within 2–3 days. Finish the course and contact your doctor if you are not getting better.
Which tests are used to diagnose pyelonephritis?
A urine test and urine culture, blood tests for inflammation and kidney function and, when needed, a kidney ultrasound. The urine sample for culture should be taken before the first antibiotic dose.
Can a kidney infection be treated at home?
Yes, for mild to moderate infection if you can take fluids and tablets and stay in touch with your doctor. Severe illness, pregnancy, vomiting or signs of sepsis require hospital treatment.
Is a kidney infection dangerous?
With prompt treatment most people recover fully. Delayed treatment can lead to an abscess, sepsis or permanent kidney damage, so do not wait if you have fever and back pain.
Sources
This article is for education and does not replace consultation, diagnosis or treatment by a doctor. In an emergency call 112.


