Rib Pain on Back: Why It Happens and What Eases It
Rib pain on the back usually comes from the small joints where ribs meet the spine, or the muscles between them. Here is how to tell, and what settles it.
In short
Rib pain on the back usually comes from the small joints where each rib meets the spine, or from the muscles running between the ribs. It typically sharpens with a deep breath, a cough, or a twist, and eases with gentle movement rather than rest.
Prefer to ease in gently?
See a few gentle exercises for neck and upper back to try.
Before you begin. This page is general movement education, not a diagnosis. Rib and upper back pain occasionally comes from the heart, lungs, or internal organs rather than the musculoskeletal system, so please seek medical care promptly for chest pain or pressure, breathlessness, coughing blood, fever, unexplained weight loss, pain after a fall or a heavy impact, or pain that wakes you consistently at night. If you have osteoporosis, a rib can fracture with surprisingly little force and deserves assessment.
Rib pain on the back is one of those complaints that feels far more sinister than it usually is. It tends to arrive as a sharp, precise catch a few centimetres to one side of the spine, somewhere between the shoulder blade and the waist, and it announces itself on a deep breath, a cough, a sneeze, or a twist to reach the seatbelt. The precision is what unnerves people. In practice, that pinpoint quality is a fairly reliable signal that the source is mechanical: a small joint that has become irritated, or a muscle between two ribs that has been asked to do something it did not expect.
Muscular pain of this general family is common enough that the estimates are almost comically wide, with figures anywhere from 30% to 93% of people seeking care for musculoskeletal pain (StatPearls, 2025). That range says more about how blurry the definitions are than about any firm prevalence, but it does make the point: this is ordinary territory.
What is actually producing rib pain on the back
The costovertebral joints. Every rib meets the spine at a pair of small joints, and each one rotates a little with every breath. When one becomes irritated and stiff, the movement it used to make gets shared out to its neighbours, and the joint itself starts producing a sharp local pain on breathing or twisting. This is the most common source.
The intercostal muscles. The thin muscles between the ribs strain readily, most often after a bout of coughing, an awkward lift, or a night spent folded into a strange shape. They ache over a broader area than a joint does and tend to be sore to press.
A guarded ribcage. Sometimes there is no single incident at all. Weeks of shallow, upper chest breathing, common under stress or after a chest infection, leave the lower ribs barely moving, and stiffness slowly becomes discomfort.
The honest boundary is that ribs sit in front of the lungs and near the heart, and pain in this region occasionally comes from those rather than from joints and muscles. That is not a reason for alarm, but it is a reason to take the warning signs seriously rather than assuming.
Why breathing is the treatment and the aggravator
The awkward thing about rib pain is that you cannot rest it. Twenty thousand breaths a day keep loading the sore area, which is why most people unconsciously start breathing higher and smaller. It helps for an afternoon and costs a fortnight: a ribcage that stops moving gets stiffer, the joints that were fine start to seize, and the original irritation now has company. Our Feldypedia entry on chronic shallow breathing covers that spiral in detail.
The way out is not to breathe harder but to restore small, comfortable movement through the whole ribcage, which is squarely the territory of the Feldenkrais Method®. Rather than stretching a painful area, it uses slow, minimal movement, side bending, gentle rotation, letting the ribs rise and fall differently, so the segments that stopped participating rejoin quietly. Our rib cage mobility lesson works directly on this, and seated thoracic mobility exercises is a good option if getting to the floor is awkward.
What tends to help in the first fortnight
Move little and often rather than resting completely. Gentle rotation and easy side bending, both kept well short of the catch, usually feel better afterwards than before. Warmth suits most people. Sleeping arrangement matters more than usual here, since a night twisted onto the sore side undoes a day of care, so experiment with a pillow supporting the upper arm. And notice whether you have started holding your breath during the day; simply letting the exhale run out fully several times an hour is a small thing that changes how the area feels.
Feldy's 7 day free trial is one way to work on this consistently, and our Feldenkrais for neck tension lesson often helps, since a guarded ribcage rarely stays a ribcage problem for long.
Clinical care sits alongside all of this. A doctor or physical therapist can confirm what you are dealing with, and given how close this region sits to the heart and lungs, that reassurance is worth having when anything about the pain feels unusual.
A softer neck, a freer upper back
Now for the part that changes it. The Feldy program meets a held neck with slow, listening Feldenkrais® movement rather than force, at home on your own time. Gentle, guided, and self-paced.
Start my free 7-day trialNo credit card needed.
Common Questions about rib pain on the back (FAQ)
What causes rib pain in the back?
Most often it is the costovertebral joints, the small joints where each rib meets a vertebra, becoming irritated and stiff. Close behind are the intercostal muscles running between the ribs, which can strain from coughing, an awkward lift, or a night in a twisted position. Both produce a sharp or catching pain to one side of the spine that gets louder on a deep breath. Less commonly the pain is referred from elsewhere, which is why persistent or unusual cases deserve a professional look.
Why does my rib pain get worse when I breathe?
Because breathing moves the ribs. Every breath rotates each rib slightly at its joint with the spine, so an irritated joint or a strained muscle between the ribs gets loaded twenty thousand times a day whether you like it or not. That is also why people with rib pain start breathing shallowly, which relieves it briefly and stiffens things further over the following days. Gentle, unforced fuller breathing usually serves better than guarding.
How long does rib pain in the back last?
An irritated joint often settles within one to three weeks once you stop bracing against it, while a strained intercostal muscle commonly takes three to six weeks because it cannot be fully rested. Pain that has not started improving after a few weeks, or that keeps returning to the same spot, is worth a professional assessment. Slow, steady improvement with occasional bad days is the normal shape of recovery here.
Should I stretch or rest rib pain in the back?
Neither extreme works well. Complete rest lets the area stiffen and tends to prolong things, while hard stretching or aggressive twisting into the sore spot usually stirs it up. The useful middle is small, frequent, comfortable movement: gentle rotation, easy side bending, and letting the breath travel more fully without forcing it. Judge the dose by the following morning rather than by how it feels during.
Can stress cause rib pain in the back?
Indirectly, yes. Stress tends to produce shallow, upper chest breathing and a held ribcage, which reduces the small movements the rib joints rely on and leaves the muscles between the ribs working in a shortened, guarded state. That does not create an injury, but it makes an existing irritation more likely to linger and more likely to recur. Attention to how you are breathing is often more useful here than any particular stretch.
When should I see a doctor about rib pain in the back?
Seek care promptly for chest pain or pressure, breathlessness, coughing blood, fever, unexplained weight loss, or pain following a fall or heavy impact. Night pain that consistently wakes you, or pain accompanied by numbness or weakness, also needs assessment. If you have osteoporosis, a rib can break with little force, so new rib pain in that context deserves a professional opinion rather than patience.
A softer neck, a freer upper back
See the programRelated resources
Feldenkrais® for Neck Tension: Gentle Lessons That Help
Feldenkrais for neck tension uses slow, attentive movement to ease the holding patterns behind a stiff neck. Here is how it works, plus a short lesson to try.
Rib Cage Mobility: A Gentle Lesson for Easier Breathing
Rib cage mobility through small, slow movement that frees a stiff upper body and lets the breath move more easily, with a short lying-down lesson.
The best exercise for neck pain may matter less than how often you actually do it

Ready to start moving better?
Gentle, guided lessons for your body. Try your first one free, no credit card required.