Health
Why do I get back pain when breathing?
By Walgreens Dec 04, 2026 • 4 min
Some people may experience back pain that occurs or becomes more noticeable when breathing. Pain that changes with breathing can come from the muscles and structures of the chest wall or from conditions affecting the lungs or the tissues surrounding them. Although some of these conditions more commonly cause pain in the chest, ribs or shoulder, pain that occurs or worsens with breathing can have different causes. Because these conditions can produce overlapping symptoms, the cause of back pain when breathing cannot always be determined from symptoms alone.
Whether medical care is needed, and how urgently, depends on the severity and duration of the pain and whether you have other symptoms. Seek emergency medical care if you experience concerning symptoms, such as severe shortness of breath, sudden or severe unexplained chest pain, fainting, or coughing up blood.
This article discusses several possible causes of pain that occurs or worsens with breathing.
Injury
A possible cause of pain around the ribs or side of the chest that becomes more noticeable while breathing is a musculoskeletal injury. The intercostal muscles are located between the ribs and help the rib cage expand and contract during breathing. An intercostal muscle strain may occur after twisting, stretching, lifting, repetitive movement, coughing, or a direct injury to the chest. Pain may become more noticeable with deep breathing, coughing, sneezing, twisting or stretching.
Illness
Some illnesses that affect the lungs or the tissues surrounding them can cause chest pain or discomfort that becomes worse while breathing. These can include:
- Pneumonia: An infection of the lungs. Symptoms may include cough, fever or chills, shortness of breath, fatigue, and chest pain that worsens when breathing or coughing.
- Pleurisy: Inflammation of the pleura, which are thin layers of tissue that cover the outside of the lungs and line the inside of the chest cavity. Pleurisy and other pleural disorders can cause sharp or stabbing chest pain that gets worse when you breathe deeply, cough or sneeze. Shortness of breath and coughing may also occur.
Conditions requiring immediate medical attention
Some serious conditions can cause pain or difficulty with breathing and require emergency medical evaluation. These can include:
- Pulmonary embolism: A pulmonary embolism occurs when a blood clot blocks an artery in the lung. It can be life-threatening and requires immediate treatment. Possible symptoms include sudden shortness of breath, chest pain that may become worse with a deep breath, a rapid or irregular heartbeat, lightheadedness or dizziness, fainting, or coughing up blood.
- Collapsed lung, also called a pneumothorax: A collapsed lung may cause sudden, sharp chest or shoulder pain, particularly when taking a deep breath or coughing. Shortness of breath is also common. A larger collapsed lung may cause more severe symptoms, including a rapid heartbeat, lightheadedness or near fainting, bluish skin color, or shock and collapse.
When to talk with your healthcare provider
The cause of back pain when breathing is not always easy to determine based on symptoms alone. Contact a healthcare provider if your pain persists, worsens, repeatedly returns, follows an injury, or occurs with other symptoms. A provider can evaluate your symptoms and determine whether further testing or treatment is needed.
Clinically reviewed and updated October 2026.
Sources:
- https://medlineplus.gov/ency/article/000087.htm
- https://www.nhlbi.nih.gov/health-topics/pleural-disorders
- https://www.mayoclinic.org/diseases-conditions/pulmonary-embolism/symptoms-causes/syc-20354647
- https://health.clevelandclinic.org/how-to-cope-with-an-intercostal-muscle-strain
- https://www.cdc.gov/pneumonia/causes.html