Pain in the upper right back is rarely random. It usually points to a specific structure or organ in that region — most often a muscle strain, a rib or spine problem, or something happening in the gallbladder, liver, or kidney underneath it. Because that part of the back sits directly over several organs, the cause can range from a pulled muscle to a condition that needs urgent medical care.
This article covers the main root causes, how to tell them apart, and when upper right back pain is a signal to seek help right away.
What Causes Upper Right Back Pain?
The most common cause is a musculoskeletal problem — a strained muscle, an irritated joint, or a rib issue. The upper right back contains the shoulder blade, part of the rib cage, and the thoracic and upper lumbar spine. Any of those can produce pain.
But the same area sits over the liver, gallbladder, right kidney, and part of the pancreas. When one of those organs is inflamed or blocked, pain can travel to the back. That process is called referred pain. The nerves that supply those organs share pathways with nerves in the back, so the brain can misread where the signal is coming from.
That overlap is why upper right back pain can be harmless or serious. Location alone does not tell you which. The pattern, timing, and other symptoms usually do.
Muscle, Rib, and Spine Causes
Muscle strain is the single most common reason for pain in this area. Lifting something awkwardly, twisting, or sitting in one position for hours can strain the muscles that run along the spine or support the shoulder blade.
Strain pain tends to:
- Worsen with movement, twisting, or reaching
- Ease with rest or a change in position
- Feel tender when you press on the spot
- Improve over days to a few weeks
Rib problems are another frequent source. A rib joint that becomes inflamed, a small crack from a fall or hard cough, or inflammation of the cartilage where ribs meet the breastbone can all cause pain in the upper back and around the side. Rib pain often sharpens when you take a deep breath, cough, or press on the area.
The thoracic spine — the section of the spine behind the chest — can also be the culprit. Age-related wear on the small joints of the spine, a compressed nerve, or a vertebral compression fracture can produce pain here. Compression fractures are more common in older adults, especially those with thinning bones, and often start suddenly after minor activity.
Shingles is worth knowing about because it can mimic muscle pain before a rash appears. The varicella-zoster virus can reactivate along a single nerve, causing burning or stabbing pain on one side of the back or chest. A rash of blisters usually shows up in the same band a few days later. If pain is one-sided, burning, and unfamiliar, that pattern matters.
Gallbladder and Liver Causes
The gallbladder sits just under the liver on the right side of the abdomen, tucked beneath the rib cage. Problems there commonly send pain to the upper right back and the right shoulder blade.
Gallstones are the most frequent gallbladder issue. Many people have them without any symptoms. When a stone blocks the duct that drains the gallbladder, it causes intense pain in the upper right abdomen that can spread to the back and right shoulder. The pain often comes in waves, builds over minutes to hours, and may follow a fatty meal. This is called biliary colic.
If the blockage persists and the gallbladder becomes inflamed, the pain turns constant and may come with fever, nausea, and tenderness when someone presses under the right rib cage. That is cholecystitis, and it needs medical evaluation.
Liver problems can also refer pain to the upper right back, though this is less common than gallbladder pain. An inflamed or enlarged liver can stretch the capsule that surrounds it, which is rich in nerves. Liver-related pain is usually a dull ache in the upper right abdomen rather than a sharp back pain on its own.
Kidney Causes
The right kidney sits behind the abdominal organs, higher up than most people picture — roughly between the bottom of the rib cage and the mid-back. Because it sits against the back wall of the abdomen, kidney problems often cause pain that people feel in the back rather than the front.
Kidney stones are a classic cause. When a stone moves into the tube that carries urine from the kidney to the bladder, it causes severe pain that comes in waves. The pain typically starts in the back or side and may travel down toward the groin. It is often described as the worst pain a person has felt and usually comes with nausea.
A kidney infection is a different situation and more urgent. It can cause constant pain in the upper back on one side, fever, chills, and pain or burning with urination. A kidney infection needs prompt treatment with antibiotics. If you have back pain with fever and urinary symptoms, that combination is a reason to seek care quickly.
How to Tell the Difference
Patterns help, but they are not perfect. A doctor uses the whole picture — where the pain is, what makes it better or worse, and what other symptoms come with it.
| Feature | Muscle or spine | Gallbladder | Kidney |
|---|---|---|---|
| Pain with movement | Usually worse | Usually no change | Usually no change |
| Timing | Comes and goes with activity | Often after fatty meals | Comes in severe waves |
| Other symptoms | Tenderness, stiffness | Nausea, right shoulder pain | Nausea, urinary changes |
| Fever | No | Possible if infected | Possible if infected |
One detail people often miss: gallbladder pain frequently travels to the right shoulder blade, not just the back. That happens because the nerve that serves the diaphragm and gallbladder also serves the shoulder. If back pain comes with right shoulder pain after eating, gallbladder is higher on the list.
Another point worth knowing: pain that changes with your breathing or position is more likely to come from a muscle, rib, or spine. Pain that stays steady no matter how you move is more likely to come from an organ.
When Upper Right Back Pain Is an Emergency
Most upper right back pain is not dangerous. Some of it is. Certain symptoms mean you should not wait.
Seek emergency care if you have:
- Back pain with fever, chills, or shaking
- Severe pain that comes in waves and will not ease
- Pain with vomiting that will not stop
- Yellowing of the skin or eyes
- Blood in the urine or trouble urinating
- Pain after a fall or injury, especially if you have thinning bones
- Numbness, weakness, or loss of bladder or bowel control
The last item on that list is a red flag for a spinal cord problem. It is rare, but it needs immediate care. Do not wait to see if it passes.
How the Cause Gets Diagnosed
Diagnosis starts with a physical exam and a description of the pain. Your doctor will ask when it started, what makes it better or worse, and whether you have other symptoms. Pressing on the back, side, and abdomen often narrows the list quickly.
Depending on what they find, tests may include:
- Blood work to check liver, gallbladder, and kidney function
- Urine tests to look for infection, blood, or crystals
- Ultrasound, which is often the first imaging choice for gallbladder and kidney problems
- CT or MRI scans when the cause is unclear or a spine problem is suspected
Imaging is not always needed. If the history and exam point clearly to a muscle strain, many doctors treat it first and only order tests if it does not improve.
What Helps and What to Avoid
Treatment depends entirely on the cause, so the first step is figuring out which one you are dealing with. Self-treatment is reasonable for mild, movement-related pain that is clearly muscular.
For likely muscle or rib pain, general measures include rest from the activity that triggered it, gentle movement to avoid stiffness, and over-the-counter pain relievers if your doctor says they are safe for you. Heat can help relax tight muscles. Most simple strains ease within a few weeks.
What you should avoid is assuming the pain is muscular when it is not. If pain follows meals, comes with nausea, or wakes you at night, that pattern does not fit a strain. Ignoring those signs can delay treatment for a gallbladder or kidney problem that gets worse over time.
Do not try to push through severe pain with exercise. And do not use leftover antibiotics or assume a urinary problem will clear on its own if you also have fever or back pain.
Frequently Asked Questions
What causes upper right back pain under the shoulder blade?
The most common cause is a muscle strain or an irritated rib joint. Gallbladder problems can also refer pain to the right shoulder blade, especially after fatty meals.
Can gallbladder problems cause back pain?
Yes. Gallstones and gallbladder inflammation commonly send pain to the upper right back and right shoulder blade. The pain often comes in waves and may follow a fatty meal.
When should I worry about upper right back pain?
Worry if the pain comes with fever, chills, vomiting that will not stop, yellowing of the skin or eyes, blood in the urine, or numbness and weakness. Those signs need prompt medical care.
How do I know if my back pain is from my kidney?
Kidney pain usually sits in the upper back or side and may travel toward the groin, often in severe waves. Fever, chills, or burning with urination point toward a kidney infection.

