Preventing intercostal muscle strain comes down to keeping the muscles between your ribs flexible, strong, and not overloaded. These small muscles run between each rib and help with breathing, twisting, and bending your torso. They’re vulnerable to sudden movements, repetitive motions, and prolonged poor posture, but a combination of mobility work, breathing habits, and practical awareness can significantly lower your risk.
Why These Muscles Get Injured
Your intercostal muscles work constantly. Every breath expands and contracts them, and any rotation or side-bending of your torso pulls them further. They strain when forced beyond their normal range, whether that’s a hard twist during a tennis swing, a violent coughing fit during a chest cold, or even reaching awkwardly for something overhead.
Thoracic spine movement is directly coupled to rib movement. When you extend your upper back, the ribs rotate and shift position. When you bend sideways, ribs on one side compress while ribs on the opposite side separate. If your thoracic spine is stiff from sitting all day, those ribs can’t move smoothly, and the intercostal muscles absorb more force than they should. Research in the Journal of Physical Therapy Science found that thoracic kyphosis (a rounded upper back) contributes to thoracic dysfunction and intercostal pain, particularly in office workers who spend long hours seated. Forward-head posture compounds this by shifting your body’s alignment and increasing distortion through the ribcage.
The most common triggers include sports with rotational demands (golf, tennis, baseball, rowing), heavy lifting with poor form, sudden forceful movements like throwing, and prolonged forceful coughing or sneezing during respiratory illness.
Build Thoracic Mobility
A stiff upper back is one of the biggest risk factors you can actually change. When your thoracic spine doesn’t rotate, extend, or side-bend well, the intercostal muscles take on stress they aren’t designed to handle. A few minutes of targeted mobility work several times a week can make a meaningful difference.
Open Book
Lie on your left side with knees bent and both arms extended in front of you, palms touching. Slowly lift your right hand straight up and open it across your body like you’re opening a book, following your hand with your eyes and head until your right palm faces the ceiling on the opposite side. Hold for a few breaths, then return. Repeat up to 10 times per side. This is one of the most effective ways to improve thoracic rotation.
Cat-Cow
Start on hands and knees with wrists under shoulders and knees under hips. Inhale as you arch your back, pressing your chest toward the floor and lifting your head (cow). Exhale as you round your spine upward, pushing your shoulder blades apart and tucking your chin (cat). Move through 10 cycles. This mobilizes each segment of the thoracic spine through flexion and extension, gently loading and unloading the intercostals in a controlled way.
Foam Roller Extension
Place a foam roller perpendicular to your body on the floor. Sit in front of it, cradle the back of your head with interlocked fingers (supporting the weight without pulling), and lean backward over the roller. Let your shoulders drop toward the floor while the roller supports your upper back. Either lift your hips to roll slowly up and down the upper back, or reposition the roller an inch higher after each stretch. Stop if you feel more than a gentle stretch. This targets thoracic extension directly, counteracting the rounded posture that tightens intercostal muscles.
Additional Movements
Standing wood chops, upper back rotation with lunges, and sitting side flexion all challenge your thoracic spine to move through multiple planes while coordinating with the rest of your body. These “whole body coordination” exercises bridge the gap between isolated stretching and the dynamic movements that actually cause injury in real life.
Strengthen the Muscles Around Your Ribcage
Mobility alone isn’t enough. The muscles surrounding your ribcage, particularly your obliques, deep abdominals, and back extensors, act as stabilizers during fast or forceful trunk movement. When they’re strong, they share the workload and prevent your intercostals from being the weak link.
The bird dog is a good starting point: from hands and knees, extend one arm forward and the opposite leg back while keeping your torso completely still. This trains your core to resist rotation, which is exactly what protects your intercostals during sudden twisting. Wall squats build endurance in the muscles that support upright posture, reducing the slouching that compresses your ribs throughout the day. Quadruped flexion and extension exercises (slowly arching and rounding your back while maintaining control) build segmental movement control, teaching individual spinal segments to move independently rather than forcing large, uncontrolled movements that overload specific rib levels.
If your sport involves rotation, like golf or racquet sports, train your core specifically for rotational control. Chop and lift patterns with a resistance band or cable machine teach your trunk to generate and absorb rotational force through your whole core rather than through the small muscles between your ribs.
Learn to Breathe With Your Diaphragm
Your diaphragm should do most of the work during normal breathing. When it doesn’t, your intercostals and other accessory muscles in the neck and upper chest pick up the slack. Over time, this extra workload creates chronic tension in the intercostals, making them more susceptible to strain.
To practice diaphragmatic breathing, lie on your back and place one hand on your stomach above the belly button and the other on your chest. Breathe in slowly through your nose, imagining you’re inflating a balloon in your stomach. The hand on your belly should rise while the hand on your chest stays still. Breathe out slowly through pursed lips, letting your stomach flatten. Johns Hopkins Medicine recommends breathing in as smoothly and gently as possible, focusing on the belly movement rather than chest expansion.
Practice this for a few minutes daily until it becomes your default breathing pattern. Over time, you’ll reduce the baseline tension on your intercostals, giving them more capacity to handle sudden demands without straining.
Protect Your Ribs During Illness
Violent or prolonged coughing is one of the most common causes of intercostal strain, and it catches people off guard because it happens outside of exercise. A bad cold, flu, or bronchitis can produce coughing forceful enough to tear muscle fibers between the ribs.
The Cleveland Clinic recommends a technique called splinted coughing: hold a small pillow firmly against your ribcage when you feel a cough coming on. The pillow braces the intercostal muscles, reducing how far they stretch with each cough. This is the same technique used after chest surgery to protect healing tissue, and it works just as well for prevention during illness. Treating your cough with appropriate over-the-counter remedies to reduce its frequency also lowers your cumulative risk.
Fix Your Posture at Work
Sitting with a rounded upper back for hours compresses the front of your ribcage and overstretches the back. This chronic positioning shortens the intercostals on one side and weakens them on the other, leaving both sides vulnerable. Forward-head posture amplifies the problem by pulling the entire upper body forward and increasing distortion through the thoracic region.
Set your workstation so your screen is at eye level and your shoulders can rest back naturally. Take brief movement breaks every 30 to 45 minutes, even if it’s just standing and reaching your arms overhead or doing a few gentle side bends. The foam roller and cat-cow exercises described above work well as midday reset movements, counteracting the flexed posture your body settles into over hours of sitting.
Warm Up Before Rotational Activity
Cold, stiff muscles tear more easily. Before any activity involving trunk rotation, overhead reaching, or explosive movement, spend five to ten minutes warming up with dynamic movements that take your thoracic spine through its full range. Open books, trunk rotations with arms extended, and gentle wood chop motions at low intensity prepare the intercostals for the demands ahead.
Static stretching (holding a stretch for 30 seconds) is better suited for after activity. Before exercise, dynamic movements that gradually increase range and speed are more effective at preparing muscle tissue for load. If you play a rotational sport, your warm-up should include sport-specific movements at progressively increasing intensity rather than jumping straight into full-speed swings or throws.
What About Magnesium and Electrolytes?
Magnesium supplements are widely marketed for muscle health, but the evidence is underwhelming. A Cochrane Review examining multiple studies found that oral magnesium supplementation at doses of 100 to 520 mg daily did not significantly reduce muscle cramp frequency compared to placebo. The reviewers concluded it’s unlikely that magnesium supplementation is effective for skeletal muscle cramps at any dose or administration route tested. That said, maintaining adequate overall nutrition, staying hydrated, and avoiding electrolyte depletion (particularly during endurance exercise or illness) supports general muscle function. Just don’t expect a supplement to substitute for the mobility, strength, and breathing work that directly protects these muscles.

