A pulled back muscle that hurts when you breathe is typically a strained intercostal or upper back muscle being tugged with every expansion of your rib cage. The rib cage is not a passive frame; it moves constantly, expanding and contracting with each breath, which means an injured muscle in that region gets zero rest. The good news is that most of these strains heal on their own within a few weeks with the right self-care. The less comfortable news is that a handful of serious conditions mimic this exact feeling, and recognizing the difference matters.
Why Breathing Makes a Back Muscle Strain Worse
Your rib cage is wrapped in layers of muscle. The intercostal muscles sit between each pair of ribs and contract every time you inhale or exhale. Layered over them are muscles like the serratus posterior superior, which attaches from the upper spine to the upper ribs, and the serratus posterior inferior, which connects the lower spine to the lower ribs. These muscles have long been assumed to assist with breathing, but some electromyographic research actually questions that role, suggesting they may function more in proprioception, the body’s sense of position and movement.1Wiley Online Library. Serratus posterior muscles: anatomy, clinical relevance, and function Regardless of their primary job, these muscles still move when your rib cage does, and a strain in any of them will flare with each breath.
This is what makes back muscle strains near the ribs uniquely annoying compared to, say, a pulled hamstring. You can rest a hamstring by sitting down. You cannot rest a muscle that is mechanically linked to your breathing without, well, stopping breathing. Even lying still, you take roughly 12 to 20 breaths per minute, and each one pulls on the injured tissue. Deep breaths, coughing, sneezing, laughing, and twisting all amplify the pain because they force the rib cage into larger or more sudden excursions.
Immediate Steps to Manage the Pain
In the first 48 to 72 hours after the injury, the goal is to reduce inflammation and avoid making the strain worse. There is no magic fix here, but the basics work well when applied consistently.
- Ice the area: Apply a cold pack wrapped in a thin cloth to the painful spot for 15 to 20 minutes at a time, several times a day. Cold helps tamp down swelling and temporarily dulls pain signals.
- Modify your activity: You do not need total bed rest, but avoid movements that sharply increase pain, like heavy lifting, vigorous twisting, or overhead reaching. Gentle walking is usually fine and can prevent stiffness.
- Support yourself when coughing or sneezing: Hug a pillow against your ribs or brace the painful side with your hand. This limits how far the rib cage expands during those sudden, forceful movements.
- Sleep in a comfortable position: Many people find that lying on the uninjured side with a pillow between the knees, or sleeping slightly propped up, reduces nighttime pain. Experiment with what feels least aggravating.
Avoid wrapping your torso tightly with bandages or compression garments. While it might seem logical to immobilize the area, restricting rib cage movement can lead to shallow breathing, which increases the risk of mucus buildup in the lungs and, in rare cases, respiratory complications like pneumonia. You want the rib cage to keep moving; you just want to manage the pain while it does.
Breathing Techniques That Reduce the Strain
When your ribs hurt, your body’s instinct is to take short, shallow breaths using mostly the upper chest. This is counterproductive. Shallow chest breathing forces the intercostal muscles to do more work per breath, which keeps them tense and irritated. Diaphragmatic breathing, sometimes called belly breathing, shifts the workload away from the rib cage muscles and onto the diaphragm, the large dome-shaped muscle at the base of the lungs.
To practice it, sit or recline comfortably. Place one hand on your chest and the other on your belly. Breathe in slowly through your nose and focus on pushing your belly outward rather than lifting your chest. Exhale gently through pursed lips. If the hand on your chest stays relatively still while the hand on your belly rises and falls, you are doing it correctly. Research supports that diaphragmatic breathing reduces muscle stiffness and improves flexibility in the trunk more effectively than shallow chest breathing, which is exactly what a strained back muscle needs.
This technique is not just for the acute phase. Practicing it throughout recovery helps retrain your breathing pattern so you are not defaulting back to chest-dominant breathing once the pain starts to fade. Many people, especially those who sit at desks all day or who have had repeated rib-area injuries, breathe primarily with the upper chest without realizing it. Correcting that habit reduces the chronic load on the intercostal and upper back muscles.
When It Might Not Be a Muscle Strain
Most of the time, back pain that worsens with breathing is exactly what it feels like: a muscle strain. But several serious conditions produce a disturbingly similar sensation, and dismissing them as “just a pulled muscle” can be dangerous. The difficulty in telling them apart without medical testing is well recognized in emergency medicine.
A pulmonary embolism, a blood clot that lodges in the lungs, is one of the most important mimics. It classically causes sudden shortness of breath and sharp chest pain that worsens with breathing, but it does not always follow the textbook. In one documented case, a patient presented to the emergency department with left shoulder and left-sided back pain that felt pleuritic, meaning it worsened with breathing, and was ultimately diagnosed with a pulmonary embolism.2PubMed Central. Pulmonary Embolism Presenting As Shoulder and Back Pain: A Case Report The absence of classic symptoms like obvious chest pain or leg swelling made diagnosis harder. That case underscores why atypical presentations of pulmonary embolism are a real concern and why back pain with breathing trouble should not be automatically written off.
A pneumothorax, or collapsed lung, also produces sharp pain that gets worse with each breath. It can occur spontaneously in tall, thin individuals, after trauma, or in rare cases following certain surgical procedures.3American Journal of Respiratory and Critical Care Medicine. A46-31 Two Culprits, One Breath: Concurrent Large Pneumothorax and Pulmonary Embolism After Chest Wall Cosmetic Surgery The pain can radiate to the back and feel muscular, especially when it develops gradually rather than all at once.
Cardiac events, pleurisy (inflammation of the lung lining), and rib fractures can also masquerade as a back muscle strain. You should seek urgent medical attention if you experience any of the following alongside your back pain:
- Sudden, severe shortness of breath: A pulled muscle makes breathing uncomfortable but should not leave you gasping or unable to catch your breath at rest.
- Pain that started without any physical trigger: Muscle strains almost always have a cause you can point to, whether it was lifting something, an awkward twist, or a hard workout. Pain that appeared out of nowhere, especially with breathing difficulty, warrants evaluation.
- Fever or chills: These suggest an infectious process like pneumonia rather than a simple strain.
- Recent surgery, long travel, or immobilization: All of these raise the risk of blood clots. Back pain with breathing difficulty in this context should be evaluated promptly.
- Leg swelling on one side: This can signal a deep vein thrombosis, which is the source of most pulmonary embolisms.
- Coughing up blood: Even a small amount suggests a lung or vascular issue rather than a muscle problem.
If you are unsure whether your symptoms are serious, err on the side of getting checked. An electrocardiogram and basic blood work can usually rule out the most dangerous possibilities quickly.
Over-the-Counter and Prescription Pain Relief
For a straightforward muscle strain, over-the-counter nonsteroidal anti-inflammatory drugs like ibuprofen or naproxen are the first-line option. They reduce both pain and inflammation, which is the combination you need when a muscle is swollen and irritated. Acetaminophen helps with pain but does not address inflammation, so it is a reasonable alternative if you cannot take NSAIDs but is less effective for this type of injury on its own.
If over-the-counter options are not enough, your doctor may prescribe a centrally acting muscle relaxant. These medications work by reducing muscle spasm in the central nervous system rather than at the muscle itself. They can enhance the effect of pain relievers and reduce the overall need for anti-inflammatory drugs.4Modern Rheumatology Journal. Complex therapy of musculoskeletal pain: the role of centrally acting muscle relaxants Muscle relaxants are typically used for a short period, often a week or two, because many of them cause drowsiness and can have other side effects with prolonged use. They are most useful in the acute phase when spasm is the main barrier to comfortable breathing and sleep.
Topical anti-inflammatory creams or gels applied directly over the painful area can also provide relief with fewer systemic side effects than oral medications. They are worth trying as a complement to oral pain relief, particularly if you have a sensitive stomach or take other medications that interact with NSAIDs.
One important note on pain relief strategy: the goal is not to eliminate all sensation so you can push through your normal activities. Pain is feedback. If you medicate heavily and then go back to the gym or lift heavy boxes, you risk turning a mild strain into a more serious tear. Use pain relief to keep you functional and sleeping well, not to mask an injury you are actively worsening.
Physical Therapy and Getting Back to Normal
Once the sharp acute phase settles, usually after a few days, gentle movement becomes your friend. Stretching the intercostal and upper back muscles helps restore mobility and prevent the stiffness that develops when an area is guarded and underused. Even brief sessions of targeted stretching can meaningfully improve chest expansion and reduce the tightness that makes breathing feel restricted.
If you are an athlete or someone whose work involves physical demands, working with a physical therapist can accelerate recovery. Hands-on techniques like soft tissue mobilization, gentle rib mobilization, and specific joint mobilization methods help restore normal rib cage mechanics. When the ribs are not moving freely, the surrounding muscles compensate by working harder, which keeps the cycle of strain and spasm going. Manual therapy addresses that compensatory pattern so the healing muscle is not constantly being re-irritated.
A physical therapist can also identify contributing factors that led to the strain in the first place. Poor posture, a stiff thoracic spine, weakness in the core stabilizers, or a breathing pattern that overloads the accessory breathing muscles are all common culprits. Fixing the underlying issue reduces the chance of the same strain happening again, which is particularly relevant for people who have had recurrent episodes.
For most mild to moderate strains, you can expect to return to normal activities within two to six weeks. Severe strains or partial tears can take longer, sometimes up to three months for full recovery. The key benchmark is not pain-free resting, because that happens relatively early, but pain-free full activity: deep breathing, twisting, lifting, and exercising without sharp catches or guarding.
When Imaging Might Be Needed
Most pulled back muscles do not require imaging. A doctor can typically diagnose an intercostal or paraspinal strain based on your history and a physical exam. If you describe a specific moment of injury, have tenderness over the muscle belly, and feel pain that reproduces with certain movements or deep breaths, the clinical picture is usually clear enough.
Imaging enters the picture when the diagnosis is uncertain or the injury is not healing as expected. Ultrasound can reveal gaps in the muscle at its attachment to the rib or loss of the normal muscle fiber pattern, signs of a strain or partial tear. MRI provides more detail, showing partial tears as feathery fluid-signal patterns within the muscle on specialized sequences and identifying complete tears where muscle fibers are fully disrupted or detached from their rib insertion.5European Society of Radiology (EPOS). Role of radiology in decoding non – traumatic intercostal pain in athletes These imaging findings help guide whether conservative management is sufficient or whether more aggressive intervention is needed.
If a doctor suspects the pain is not musculoskeletal, imaging shifts to the chest and lungs. A chest X-ray can detect a pneumothorax or signs of pneumonia. A CT scan with contrast is the standard for ruling out a pulmonary embolism. The decision to order these tests depends on the clinical context, particularly the presence of the red flags described earlier. If your doctor sends you for chest imaging after you describe what you thought was a pulled muscle, it is not overreaction; it is appropriate caution.
The Serratus Posterior and Myofascial Pain
One pattern that deserves specific mention is pain from the serratus posterior muscles, particularly the serratus posterior superior. These muscles run from the upper spine to the upper ribs and have been implicated in myofascial pain syndromes, a condition where taut bands and trigger points within the muscle refer pain to nearby areas.1Wiley Online Library. Serratus posterior muscles: anatomy, clinical relevance, and function The referred pain can spread across the upper back, shoulder blade region, and even into the arm, making it feel like a much more diffuse injury than a simple muscle pull.
What makes serratus posterior pain tricky is that it often does not respond well to the standard rest-and-stretch approach that works for straightforward intercostal strains. Trigger points in these muscles tend to be persistent and may need targeted treatment, such as dry needling, manual pressure release, or specific stretching protocols directed at the trigger point rather than the muscle as a whole. If your back pain with breathing has been lingering for weeks without clear improvement and the sharp, breath-dependent quality has given way to a more constant deep ache under the shoulder blade, myofascial involvement in the serratus posterior muscles is worth discussing with a clinician or therapist who is familiar with trigger point management.
These muscles are often overlooked in clinical practice because they are considered minor players in back and rib anatomy. But their attachment points span from the spine to the ribs, placing them in a unique position to refer pain that feels respiratory in nature even when the underlying issue is entirely muscular. People with desk-heavy lifestyles who develop chronic upper back pain that worsens with deep breathing are among the most common presentations of this pattern.