Health information to help you understand symptoms. It isn't a diagnosis.
Check symptoms

Side (flank) pain

Also called: Flank pain, side pain, kidney pain

Side (flank) pain is pain on one side of the body between the upper belly and the back. It's often a sign of a kidney problem, like a kidney stone or kidney infection, but it can also come from muscles, the spine, or other organs. Flank pain with fever, chills, or blood in the urine needs to be checked quickly.

Common causesKidney stones, kidney infection, muscle strain, back problems
Usually serious?Can be; kidney infections need prompt treatment
Get checked ifThere's fever, blood in the urine, or severe pain
If you think it's an emergency, call 911.Thinking about suicide? Call or text 988.

Overview

The flank sits just below the ribs on either side of the back. The kidneys are here, but so are muscles, the spine, and parts of the bowel, liver, gallbladder, and spleen, so many things can cause pain in this spot.

Kidney stone pain is often severe and comes in waves, spreading from the side toward the belly or groin. A kidney infection usually causes a steady ache with fever, chills, and urinary symptoms. Pain that's worse with movement or bending is more likely from a muscle or the spine. Shingles can cause burning flank pain before the rash appears.

When to get medical care

Call 911Sudden, severe flank or belly pain with dizziness, fainting, or a fast heartbeat, especially in an older adult (possible aortic aneurysm). Flank pain with confusion, very fast breathing, or feeling extremely ill.
Get care todayFlank pain with fever, chills, nausea, or vomiting (possible kidney infection). Blood in the urine (red or brown). Severe pain that comes in waves (possible kidney stone). Flank pain if you're pregnant. You can't pee, or you can't keep fluids down.
See a doctor soonFlank pain that keeps coming back or doesn't go away. A rash with burning pain on one side. Pain with a change in urine. Flank pain that's getting worse over time.

Causes

Common causes include kidney stones, kidney infection (pyelonephritis), urinary tract infection, muscle strain or spasm, and back problems like disk disease or arthritis of the spine. Other causes include shingles, a rib injury, gallbladder or liver disease, digestive problems, spinal fracture, kidney abscess, blood clots in the kidney, and, rarely, kidney cancer or an abdominal aortic aneurysm.

OwieClear has pages on 13 conditions that can cause side (flank) pain. Each shows how soon to get care.

Common causes

  • Kidney infectionOften needs care today

    A bladder infection that has spread up to the kidneys.

  • Kidney stonesOften needs care today

    Hard deposits in the kidney that can cause severe side or back pain as they pass.

  • Swollen kidney from blocked urine (hydronephrosis)Often needs care today

    Urine backs up and stretches the kidney, from a kidney stone, enlarged prostate, narrowing, pregnancy, or a problem present from birth.

Less likely causes

What you can do at home

  • Drink plenty of water, especially if you might have a kidney stone.
  • Use heat or ice for muscle pain.
  • Rest, then gently stretch and move as pain allows if it's a muscle strain.
  • Strain your urine if your provider asks, to catch a kidney stone for testing.
  • Keep track of your symptoms: where the pain is, whether it comes in waves, and any fever or urine changes.

Medicines

Acetaminophen (Tylenol) or ibuprofen (Advil, Motrin) may help, unless your provider says otherwise; avoid ibuprofen if you have kidney disease. Kidney infections need antibiotics. Kidney stones may be treated with pain medicine, fluids, and medicines to help pass the stone, or procedures to break or remove it.

At the doctor

The provider will find out whether the pain is from the kidneys or another source.

Questions you may be asked

  • Where the pain is and whether it spreads to the groin, belly, or back
  • Whether it comes in waves or is constant
  • Whether it's worse with movement or bending
  • Fever, chills, nausea, or vomiting
  • Changes in your urine, like blood or burning
  • Past kidney stones or infections

The exam

A physical exam, including tapping gently over the kidneys.

Tests

  • A urine test and urine culture
  • Blood tests for infection and kidney function
  • A CT scan of the belly
  • An ultrasound of the kidneys
  • An X-ray

Prevention

You can lower your risk of kidney problems.

  • Drink enough water every day
  • Limit salt and very high-protein diets if you've had stones
  • Don't hold your urine for a long time
  • Lift with your legs to protect your back

Check your symptoms

Most symptoms have more than one possible cause. The symptom checker looks at all of your symptoms together, plus your age, and shows how soon to get care.

Start the symptom checker

Sources

Last updated 2026-11-13.

See something wrong or unclear on this page? Suggest a correction. OwieClear is for education only and isn't medical advice.