Skip to main content
KidneyWise

Flank or kidney pain

Flank pain is pain in the side of the body between the ribs and the hip. It can come from the kidneys, but also from muscles, the spine and other organs. This page explains causes and warning signs.

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

Flank pain is pain on one side of the body, between the upper abdomen and the back. 1

It can be a sign of a kidney problem. But many organs are in this area, so other causes are possible. A kidney problem is more likely if the pain comes with fever, chills, blood in the urine, or a need to urinate often or urgently. 1

  • Kidney stones. Small stones often cause no symptoms. Larger stones can cause severe pain that usually starts in the side of the abdomen or the lower back and may spread to the groin. The pain may come and go. Other symptoms can include feeling or being sick, a high temperature, needing to urinate often, and cloudy urine. 3
  • Kidney infection. This can cause pain in the lower back or side with a high temperature, feeling or being sick, aching muscles, pain or burning when urinating, and dark or cloudy urine. If it is not treated it can become serious, because it can lead to sepsis (a serious reaction of the body to infection). 2
  • Kidney abscess. An abscess in the kidney is a less common cause of flank pain. 1
  • Polycystic kidney disease. In this inherited condition, cysts grow in the kidneys. It can cause pain in the back and sides, between the ribs and hips. The pain can be short-term or ongoing, and mild or severe. 4

Other possible causes

Flank pain that does not come from the kidneys may be caused by: 1

  • muscle spasm
  • back problems, such as disc disease
  • arthritis, infection or a fracture of the spine
  • shingles, which causes pain with a rash on one side of the body
  • gallbladder or liver disease
  • disease of the stomach or bowel

When to seek medical help

Urgent warning signs

Call your local emergency number if someone with flank pain and signs of infection becomes confused, drowsy or has difficulty speaking. 2

Get medical help the same day if you have flank pain and:

  • a very high temperature, or you feel hot, cold or shivery 23
  • severe pain 3
  • nausea or vomiting 12
  • blood in your urine, which may look red or brown 12
  • you have not passed urine all day 2
  • you cannot eat or drink fluids 1
  • you are pregnant and think you may have a kidney infection 2

Reasons for a routine appointment

  • flank pain that continues and has no clear cause 1
  • pain or burning when urinating, a need to urinate more often and urgently, or dark or cloudy urine, without the urgent signs above 2
  • symptoms of a kidney infection that have not gone away after antibiotic treatment 2

What to expect at an assessment

A health professional will examine you and ask where the pain is, when it began, whether it is constant or comes and goes, what it feels like, and what other symptoms you have. 1

Tests depend on the likely cause and may include: 13

  • urine tests, including a test for infection
  • blood tests for kidney and liver function
  • an ultrasound scan of the kidneys or abdomen
  • a CT scan of the abdomen
  • an X-ray of the spine, chest or abdomen

Treatment depends on the cause. Most kidney infections are treated with antibiotics. 1 Most kidney stones pass in the urine, but larger stones may need hospital treatment. 3

Ask a health professional or pharmacist which pain relief is suitable for you. In people with a kidney infection, ibuprofen may increase the risk of further kidney problems, so it should be used only if a doctor advises it. 2

References

  1. 1.Flank pain MedlinePlus Medical Encyclopedia (US National Library of Medicine); accessed 23 November 2026.
  2. 2.Kidney infection NHS; accessed 23 November 2026.
  3. 3.Kidney stones NHS; accessed 23 November 2026.
  4. 4.Autosomal Dominant Polycystic Kidney Disease NIDDK; 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.