Back pain that worsens when you breathe usually comes from the muscles, joints, or tissues in and around your rib cage, not from your lungs themselves. Every breath moves your ribs, spine, and diaphragm, so any irritation in those structures gets aggravated with each inhale or exhale. The cause ranges from a simple muscle strain to something more serious like an inflamed lung lining or a blood clot, and the accompanying symptoms are what distinguish one from another.
Intercostal Muscle Strain
The most common reason your back hurts when you breathe is a strained intercostal muscle. These are the muscles layered between your ribs. The outer layer expands your chest wall when you inhale, and the inner layer helps collapse your lungs when you exhale. When one of these muscles stretches or tears, typically from a sudden twist, heavy lifting, or forceful coughing, every breath pulls on the injured tissue.
The pain is usually sharp and localized to one side. It gets worse with deep breaths, coughing, sneezing, or twisting your torso. Many people instinctively shift to shallow breathing to avoid triggering it, which can leave you feeling short of breath even though your lungs are fine. The injury generally heals on its own within a few weeks with rest, ice, and over-the-counter pain relief. If you notice a specific spot on your rib cage that’s tender to the touch, a muscle strain is the likely culprit.
How Your Diaphragm Connects to Back Pain
Your diaphragm does more than help you breathe. It attaches directly to the front of your first and second lumbar vertebrae (the bones of your lower back) and plays a key role in stabilizing your spine. When the diaphragm contracts, it increases pressure inside your abdomen, which acts like an internal brace for your lower back. It works in concert with your deep abdominal muscles and pelvic floor to keep your spine steady.
When the diaphragm is weak or overworked, that stabilizing system breaks down. Reduced pressure in the abdomen means less spinal support, which increases stress on the lumbar region. This is one reason people with chronic low back pain often notice their pain flares with deep breathing. The diaphragm is essentially trying to do two jobs at once, breathing and spine stabilization, and struggling with both. Strengthening your core and practicing diaphragmatic breathing exercises can help restore that balance.
Pleurisy: Inflamed Lung Lining
If the pain feels sharp and stabbing, and it came on relatively suddenly, pleurisy is a possible cause. Pleurisy is inflammation of the parietal pleura, the membrane that lines the inside of your chest wall and covers the outside of your lungs. The outer layer of this membrane is loaded with pain-sensing nerve fibers, which is why inflammation there produces intense, localized pain that spikes every time you breathe in.
The nerves running between your ribs (intercostal nerves) supply the pleura along the rib cage, so inflammation in these areas can radiate to the back or feel like it’s wrapping around your side. If the inflammation sits near the central part of the diaphragm, the phrenic nerve can send referred pain to your shoulder or neck on the same side. Pleurisy is not a disease on its own but a symptom of something else: a viral infection like the flu, bacterial pneumonia, an autoimmune condition like lupus or rheumatoid arthritis, or even a pulmonary embolism. Fever, cough, and worsening shortness of breath alongside the pain point toward an infection as the trigger.
Gallbladder Inflammation
This one surprises people. An inflamed gallbladder (cholecystitis) can cause pain that spreads to the right shoulder blade or middle back, and it often gets worse when you take a deep breath. The pain typically starts in the upper right abdomen and may feel sharp, dull, or crampy. Doctors actually test for it by pressing gently on the upper right abdomen while asking you to inhale deeply. If that combination causes a sudden spike in pain, it’s a classic diagnostic sign called Murphy’s sign.
Gallbladder-related back pain tends to come after meals, especially fatty ones, and may be accompanied by nausea or vomiting. If your breathing-related back pain is concentrated on the right side and seems connected to eating, this is worth considering.
Spinal Curvature and Rib Restriction
Structural conditions like scoliosis (a sideways curve of the spine) or excessive kyphosis (a rounded upper back) can make breathing painful by changing the geometry of your chest. The curvature distorts the rib cage, reducing the three-dimensional range of motion that your ribs and spine normally have during each breath. It also puts respiratory muscles at a mechanical disadvantage, forcing them to work harder for the same amount of air.
The result is a stiffer, less compliant chest wall. Breathing requires more effort, and the muscles and joints involved fatigue more easily, leading to pain. The severity depends on the degree of curvature, the number of vertebrae involved, and where the curve is located. Mild scoliosis rarely causes breathing pain, but moderate to severe curves can significantly restrict lung function.
Pulmonary Embolism: The Serious One
A pulmonary embolism (a blood clot that travels to the lungs) can cause back pain during breathing, and it’s the cause you don’t want to miss. The classic symptoms are sudden shortness of breath, a rapid heart rate, and sharp chest pain that worsens with breathing. But pulmonary embolism doesn’t always present classically. In documented cases, patients have shown up with only back and shoulder pain, no cough, no obvious shortness of breath, and no chest pain at all.
Back pain from a pulmonary embolism happens when a clot blocks a distal pulmonary artery, causing lung tissue to die (infarction). That damaged tissue can inflame the nearby pleura, producing referred pain to the back or shoulder. In one published case, the pain was rated 10 out of 10 and was so severe the patient couldn’t lie down. Your risk is higher if you’ve recently had surgery, been immobile for extended periods (long flights, bed rest), take hormonal birth control, or have a history of blood clots. If your back pain during breathing came on suddenly, is severe, and you have any of these risk factors, seek emergency care.
How to Tell the Difference
The pattern of pain and accompanying symptoms are your best guide:
- Muscle strain: Tender to touch at a specific spot, worse with twisting or reaching, often follows an identifiable event like heavy lifting or prolonged coughing. No fever, no shortness of breath at rest.
- Pleurisy or pneumonia: Sharp, stabbing pain on one side that may radiate to the back or shoulder. Often accompanied by fever, cough, or feeling generally unwell.
- Gallbladder: Upper right back or shoulder blade pain, worse after eating, may include nausea. Pain intensifies with deep inhalation.
- Pulmonary embolism: Sudden onset, may include rapid heart rate, shortness of breath, lightheadedness, or leg swelling. Can occur without typical chest pain.
- Diaphragm-related: Lower back pain that fluctuates with breathing, often chronic, sometimes linked to poor core stability or a history of low back problems.
Most cases of back pain during breathing turn out to be musculoskeletal and resolve within days to weeks. But pain that appeared out of nowhere, comes with shortness of breath or a racing heart, or follows a period of immobility warrants immediate medical attention. A chest X-ray or CT scan can quickly rule out the dangerous causes, and knowing the difference between “sore muscles” and “something in my lungs” is the single most important distinction to make.

