Pain localized in the right side of the back, particularly when taking a breath, demands careful consideration. This discomfort is often intensified by the mechanical action of inhalation or exhalation, caused by the movement of the rib cage and the expansion of internal structures. Because the structures involved in breathing—including muscles, bones, lung lining, and adjacent organs—share similar nerve pathways, the source of the pain can be challenging to pinpoint. This article explores the common origins of this symptom, but any persistent or severe pain should be discussed with a healthcare provider immediately.
Musculoskeletal and Chest Wall Causes
The most frequent source of pain localized to the back that worsens with breathing involves the muscles and framework of the chest wall. The mechanical stress of respiration places constant demands on the spine and the network of soft tissues surrounding it. These causes are generally benign, resulting from overuse, injury, or localized inflammation.
One common origin is a strain of the intercostal muscles, the thin layers situated between the ribs that facilitate chest expansion during breathing. Excessive coughing, strenuous exercise, or sudden twisting movements can overstretch or tear these muscles, causing a sharp, localized pain felt acutely with every breath. Similarly, a strain in the larger back muscles, such as the latissimus dorsi or the rhomboids, can be aggravated by the subtle movement of the rib cage during respiration.
Another possibility is costochondritis, which involves inflammation of the cartilage that connects the ribs to the breastbone, though the pain can sometimes radiate to the back. This non-cardiac chest wall pain is typically sharp or aching, often reproducible by pressing directly on the affected joints near the spine or sternum. Less common but more serious injuries include minor rib subluxation or a stress fracture of a rib or thoracic vertebra. These bony injuries cause significant pain upon inhalation because the bone fragments or irritated periosteum move with the rib cage.
Pain Originating from the Lungs and Pleura
Pain in the right back that is significantly exacerbated by breathing often points to an issue with the pleura, the thin, double-layered membrane surrounding the lungs. The outer layer, known as the parietal pleura, is rich in pain receptors, meaning any inflammation or irritation will produce a sharp, stabbing sensation upon expansion. Since lung tissue itself contains few pain receptors, discomfort is usually a result of pathology affecting this outer lining.
The most common condition is pleurisy, which is the inflammation of the pleural layers. When the pleura becomes inflamed, the layers no longer glide smoothly past one another during breathing, instead causing friction that creates a characteristic sharp pain, known as pleuritic pain. This pain frequently radiates to the back and is worsened by deep breaths, coughing, or sneezing. Pleurisy is often a secondary complication of viral infections, such as the flu, or a bacterial infection like pneumonia.
Pneumonia involves an infection that inflames the air sacs in one or both lungs, which may fill with fluid or pus. If the infection is concentrated in the lower lobe of the right lung, the resulting inflammation can irritate the adjacent pleura, causing pain felt strongly in the right back. The pain is typically accompanied by a persistent cough, fever, chills, and the production of phlegm.
A more acute pulmonary cause is pneumothorax, commonly known as a collapsed lung, where air leaks into the space between the lung and chest wall. This condition results in sudden, severe, sharp pain and shortness of breath because the lung cannot fully expand during inhalation. Similarly, a pulmonary embolism (PE), a blood clot lodged in an artery in the lung, can cause sharp, pleuritic chest pain that may radiate to the back. PE is a medical emergency often accompanied by a rapid heart rate and sudden difficulty breathing.
Referred Pain from Non-Pulmonary Organs
The body’s nervous system can sometimes misinterpret the location of pain originating from internal organs, a phenomenon known as referred pain. Several organs situated in or near the right upper abdomen and retroperitoneal space can generate pain signals that are perceived in the right back, especially when movements like deep breathing or posture changes occur. This type of pain is generally less sharp and less directly tied to the exact moment of inhalation compared to pleuritic pain.
Problems involving the kidneys, which are located in the retroperitoneal space toward the back, frequently cause pain that is felt in the flank and lower right back. A kidney stone passing through the ureter or a kidney infection (pyelonephritis) can cause intense, dull, or colicky pain that may radiate from the flank around to the front. This pain, while constant, can be aggravated by movement or deep breathing due to the proximity of the organ to the diaphragm and surrounding muscles.
Issues with the biliary system, particularly the gallbladder, can also cause pain that refers to the right shoulder blade and upper back. When gallstones block a bile duct, the resulting inflammation can irritate the diaphragm, a muscle that is essential for breathing. This irritation sends pain signals that are misinterpreted by the brain as pain originating in the right posterior torso. Biliary pain often presents in episodes, frequently intensifying after consuming fatty meals, and may be accompanied by nausea.
Recognizing Urgent Symptoms and Next Steps
While many causes of pain in the right back when breathing are minor, certain accompanying symptoms signal a medical emergency requiring immediate attention. Recognizing these “red flags” is paramount for safety and timely intervention.
Sudden, intense, and unexplained pain that is accompanied by severe shortness of breath or difficulty catching a breath requires emergency evaluation. The combination of pain and respiratory distress is a sign of potentially life-threatening conditions like a pulmonary embolism or a collapsed lung.
Other urgent symptoms include:
- Coughing up blood (hemoptysis).
- A high fever with chills.
- A significant change in mental status.
- Any pain paired with a rapid or irregular heartbeat, lightheadedness, or feeling faint.
These indicate a severe infection, such as pneumonia, or another serious internal pathology that needs prompt antibiotic or respiratory support. For pain that is not severe but persistent, keeping a detailed record of when the pain occurs, what it feels like, and what activities worsen or alleviate it will greatly assist a doctor in determining the correct diagnostic path.

