Flank Pain: Kidney, Muscle, Rib, or Spine? How to Tell
Flank pain is pain on the side of the trunk, between the lowest ribs and the top of the hip bone. It often wraps toward the back. The kidneys sit deep in this area, so kidney stones and kidney infections are common causes. Muscles, ribs, nerves, and the spine can cause flank pain too. A few causes are emergencies. This guide is education, not a diagnosis. Related guides: mid back pain and intercostal neuralgia.
Quick Answer: Flank Pain
- Flank pain is a place on the body, not a diagnosis.
- Kidney stones can cause severe pain in waves, with nausea, that may move toward the groin.
- Flank pain with fever and chills may be a kidney infection and needs prompt care.
- Pain that changes with bending or pressing may be a muscle, rib, or spine problem.
- A burning band of pain on one side can be shingles, even before a rash.
- Spine care is considered only after kidney and belly causes are checked.
- Conservative care usually comes first. EMG/NCS, when needed, are performed at an outside lab.
- Sudden severe pain with fainting, or fever with chills -> emergency care. Bay Shore, Commack, Farmingdale / 631-310-0000.
Where Flank Pain Is Felt
The flank is the part of your side you touch when you put your hands on your waist and slide them up toward the ribs. Pain may be high, under the lowest ribs, or low, just above the hip bone. It may be on one side or both. The kidneys sit deep in the upper flank, next to the spine.

Note how the pain started and what comes with it. Fever, nausea, blood in the urine, burning when you pee, a rash, or pain that changes when you move are all clues. You can mark the spot on our Pain Locator before a visit.
Kidney and Urinary Causes Come First
Kidney stones
A kidney stone can cause sudden, severe flank pain that comes in waves. The pain may move toward the lower belly or groin. Many people feel sick to the stomach, vomit, or cannot get comfortable in any position. The urine may look pink or red, or there may be an urge to pee often [Source]. Many small stones pass on their own, but severe pain, fever, or being unable to pee needs care right away.
Kidney infection
A kidney infection (pyelonephritis) often causes flank pain with fever, chills, nausea, and feeling very unwell. There may be burning when you pee or a need to pee often. It needs prompt medical care and usually antibiotics [Source].
Other Causes of Flank Pain
Muscle strain and rib problems
Lifting, twisting, a hard cough, or a new workout can strain the muscles along the side and back. A bruised or broken lower rib can also hurt here. This pain is often tender to touch and worse with certain moves or a deep breath. See back muscle pain.
Spine and nerve pain
Joints in the mid and lower back can send pain to the side of the trunk. See facet joint syndrome. An irritated nerve from the mid back can cause a burning, band-like pain that wraps from the back toward the front. The skin may feel numb or extra sensitive. See intercostal neuralgia.
Shingles
Shingles is a return of the chickenpox virus in a nerve. It often causes burning, tingling, or sharp pain in a band on one side of the trunk. The pain can start a few days before a rash of blisters appears [Source]. See a doctor quickly if you think you have shingles, because early treatment works best. Some people have nerve pain that lasts after the rash heals. See postherpetic neuralgia and shingles pain without a rash.
Belly and blood vessel causes
- The aorta. A swelling of the main artery in the belly (abdominal aortic aneurysm) can leak or burst. This can cause sudden, severe belly, back, or flank pain with fainting. It is an emergency. Risk is higher in older adults and people who smoke [Source].
- The gallbladder, liver, pancreas, spleen, and bowel can send pain to the flank. Nausea, pain after meals, changes in bowel habits, or yellow skin are clues.
- In women, some pelvic problems and pregnancy problems can cause low flank pain. Pain in pregnancy should always be checked.
| Clue | Points more toward |
|---|---|
| Severe pain in waves; nausea; pain moving to the groin | A kidney stone |
| Fever, chills, burning when you pee | A kidney infection |
| Sudden severe pain with fainting or sweating | The aorta: call 911 |
| Tender to touch; worse with twisting or lifting | A muscle or rib |
| Burning band of pain; sensitive skin; rash | Shingles or a nerve problem |
| Pain changes with back movement and posture | The spine |
These are clues, not rules. A urine test and an exam are often needed to tell them apart.
Red Flags Need Emergency Care
Call 911 for sudden, severe flank, belly, or back pain with fainting, sweating, a racing heart, or feeling cold and pale. This is most urgent in older adults, people who smoke, and anyone told they have an aortic aneurysm. Go to the ER for flank pain with fever and chills, vomiting that will not stop, blood in the urine with severe pain, being unable to pee, or severe pain after a fall or crash. Call 631-310-0000 for non-emergency questions.
Get checked the same day if you are pregnant, have only one kidney, have a kidney transplant, or have kidney disease. Also get checked soon for flank pain with weight loss you cannot explain, a history of cancer, a weak immune system, or pain that wakes you at night.
Expert groups say to take warning signs seriously. They also note that one sign alone may not mean a serious problem [Source].
Dr. Amit Sharma & our minimally invasive pain & spine team.
How Dr. Sharma Evaluates Flank Pain
Dr. Sharma asks how the pain started, where it travels, and what makes it better or worse. He asks about fever, urine changes, nausea, rashes, and other health problems. The exam checks the back, ribs, muscles, skin feeling, and nerve function.
If the story or exam points to the kidneys, the belly, or a blood vessel, you will be told which kind of care to get first. That may be your primary care doctor, urgent care, or the ER. Pain treatment should not delay that care.
Tests
When the kidney may be involved, a urine test, blood tests, and an ultrasound or CT scan are often more useful than a spine MRI. A spine MRI helps when the exam points to the spine, such as nerve pain or weakness. EMG/NCS, when needed, are performed at an outside lab.
Treatment Depends on the Cause
Kidney stones, kidney infections, and belly causes are treated by the right medical team. When flank pain comes from a muscle, rib, joint, or nerve, care often starts with activity changes, heat or ice, gentle movement, physical therapy, and medicines when safe.
Conservative care is not “doing nothing.” It is a structured plan to calm the pain, restore motion, and build strength.
When an injection may help
Sometimes pain stays limiting after a fair try of conservative care and the exam points to a clear source. Then a targeted, image-guided procedure may be discussed. Options include trigger point injections for muscle knots, an intercostal nerve block for selected rib-nerve pain, and joint treatments such as radiofrequency ablation for a confirmed spine joint source. Easing the pain can create a more comfortable window for physical therapy. Benefit varies from person to person. An injection is not the right care for unexplained kidney or belly pain.
Before an injection, Dr. Sharma reviews the expected benefit, alternatives, and risks as part of informed consent. Tell the team about blood thinners, diabetes, allergies, or an active infection. An injection should not delay urgent care for warning signs.
If an exam and MRI find a spine problem with weakness that is getting worse, an opinion from our spine surgery partners may help.
Flank Pain Care on Long Island
Dr. Amit Sharma is board certified in Pain Medicine and is the Founder and Director of SpinePain Solutions. He has performed more than 60,000 interventional procedures. He has been Chief, Division of Pain Medicine at Good Samaritan University Hospital since 2012 and is Medical Director of MICNY in Commack. He evaluates back, rib, and nerve pain patterns and image-guided options at Bay Shore, Commack, and Farmingdale (office locations). Plans stay based on the exam and conservative-first care. Call or text 631-310-0000.
A visit aims to answer three questions. Is the pain from a muscle, rib, nerve, or the spine, or from somewhere else? Are there warning signs? What care makes sense now?
Frequently Asked Questions
Where is flank pain?
The flank is the side of the trunk between the lowest ribs and the top of the hip bone, wrapping toward the back. The kidneys sit deep in the upper part of this area, near the spine.
When is flank pain an emergency?
Call 911 for sudden, severe flank, belly, or back pain with fainting, sweating, or feeling cold and pale, especially if you are older or smoke. Go to the ER for flank pain with fever and chills, vomiting that will not stop, being unable to pee, or severe pain after an injury. Call SpinePain Solutions at 631-310-0000 for non-emergency questions.
How do I know if it is my kidney or my back?
Kidney stones often cause severe pain that comes in waves, with nausea, and may move toward the groin. A kidney infection often causes fever, chills, and burning when you pee. Muscle and spine pain more often change with movement and position. These patterns overlap, so a urine test and an exam may be needed.
Can the spine cause flank pain?
Yes. Joints and nerves in the mid and lower back can send pain to the side of the trunk. A nerve problem may feel like a burning band. Kidney and belly causes should be checked first when the story suggests them.
Can shingles cause flank pain?
Yes. Shingles can cause burning or tingling pain in a band on one side of the trunk. The pain can start days before the rash. See a doctor quickly if you think you have shingles, because early treatment works best.
Do I need an MRI for flank pain?
Not usually at first. A urine test, blood tests, and sometimes an ultrasound or CT scan are often more useful when the kidney or belly may be the cause. A spine MRI helps when the exam points to the spine.
Can an injection help long-lasting flank pain?
Sometimes, but only after a clear muscle, nerve, or joint source is found. An injection is not the right care for unexplained kidney or belly pain.
Who treats flank pain from muscles, nerves, or the spine on Long Island?
SpinePain Solutions evaluates flank pain from muscles, nerves, and the spine at Bay Shore, Commack, and Farmingdale. Call or text 631-310-0000.
Dr. Amit Sharma & our minimally invasive pain & spine team.
Medical References
- Fontenelle LF, Sarti TD. Kidney Stones: Treatment and Prevention. Am Fam Physician. 2019. PMID 30990297.
- Johnson JR, Russo TA. Acute Pyelonephritis in Adults. N Engl J Med. 2018. PMID 29298155.
- Chaikof EL, Dalman RL, Eskandari MK, et al. The Society for Vascular Surgery practice guidelines on the care of patients with an abdominal aortic aneurysm. J Vasc Surg. 2018. PMID 29268916.
- Cohen JI. Clinical practice: Herpes zoster. N Engl J Med. 2013. PMID 23863052.
- Finucane LM et al. International Framework for Red Flags for Potential Serious Spinal Pathologies. J Orthop Sports Phys Ther. 2020. PMID 32438853.
Medical disclaimer: This article is educational and is not a substitute for individualized medical evaluation. Decisions about injections, procedures, and surgery depend on examination, medical history, symptoms, imaging, and clinical judgment.



