Pain under the left rib cage during a cough usually comes from the chest wall itself, most often strained intercostal muscles or inflamed cartilage where the ribs meet the breastbone. But because the left upper abdomen houses the spleen, part of the stomach, and the left lung base, that same pain can also signal something deeper: a lower-lobe pneumonia, a rib stress fracture, a pleural problem, or even a hiatus hernia being jostled by the force of the cough. The wide range of possibilities makes the location and character of the pain worth paying close attention to.
Why a Cough Generates So Much Force
A cough is not a gentle event. It unfolds in three rapid phases: a deep breath in, a compression phase where the muscles of the chest and abdomen contract hard against a closed airway, and an explosive release when the airway opens and air rushes out at high speed. That compression phase is the critical moment for pain. The expiratory muscles generate large pressure swings inside both the chest and abdomen to produce the shearing force needed to clear mucus.
1PubMed Central. Chest wall dynamics during voluntary and induced cough in healthy volunteersEvery structure in the rib cage wall absorbs part of that force: the intercostal muscles between each rib, the cartilage connecting the lower ribs to the sternum, the diaphragm below, and the ribs themselves. A single forceful cough is usually harmless. Repeated coughing over days or weeks, though, can fatigue any of these structures and produce pain that worsens with each subsequent cough.
Intercostal Muscle Strain
The most common reason for left-sided rib pain after prolonged coughing is strain or micro-tearing of the intercostal muscles. These thin muscles run between neighboring ribs and contract forcefully with each cough. When coughing is frequent and intense, they can become overworked just like any other muscle.
Intercostal strain tends to produce a sharp, localized pain that you can often pinpoint with a finger. It usually gets worse with deep breathing, twisting, or coughing again, and it may be tender to the touch. The pain is real and can be quite intense, but it is a soft-tissue injury rather than a sign of organ damage. It generally improves over one to three weeks once the underlying cough settles down.
Costochondritis
Costochondritis is inflammation where the rib cartilage attaches to the breastbone. It can occur on the left side and mimic more alarming problems because the pain radiates across the front of the chest. Musculoskeletal chest wall pain, including costochondritis, is one of the more frequently seen causes of non-cardiac chest discomfort, and coughing can aggravate it or bring it to attention for the first time.2PubMed Central. Musculoskeletal chest wall pain The distinguishing feature is that pressing on the affected cartilage junction reproduces the pain. Like intercostal strain, costochondritis is benign and self-limiting, though it can take weeks to fully resolve.
Cough-Induced Rib Fractures
Coughing hard enough to crack a rib sounds extreme, but it happens more often than most people expect. The mechanism works in two ways. First, repetitive mechanical stress on the ribs causes what amounts to a stress fracture: minor cracks accumulate and, if the coughing continues, extend to a complete break. The vulnerable zone is the middle third of the rib, typically between the fifth and tenth ribs. Second, opposing muscle forces contribute. The shoulder-girdle muscles pull the ribs upward and outward, while the abdominal muscles pull them downward and inward, and the rib is caught between these conflicting forces during the explosive phase of each cough.3PubMed Central. Cough-induced rib fractures: A comprehensive analysis of 90 patients in a single center
The pain from a cough-induced rib fracture is severe and very localized. It usually spikes with breathing, coughing, laughing, or rolling over in bed. In a study of patients who had bone density measured after a cough-induced fracture, roughly two thirds had reduced bone density, which suggests that osteoporosis or osteopenia is an important risk factor. However, fractures also occurred in patients with normal bone density, so age and bone health are not the whole story.4CHEST. Clinical and Radiologic Features of Cough-Induced Rib Fractures
Diagnosis can be tricky. A plain chest X-ray sometimes shows widening of the rib spaces or visible fracture lines, but small cracks are easy to miss. Some clinicians recommend reserving a CT scan for patients who also need evaluation for lung disease, since many cough-induced fractures are managed conservatively regardless of imaging.5Journal of the American College of Radiology. ACR Appropriateness Criteria Nontraumatic Chest Wall Pain
Slipping Rib Syndrome
A lesser-known cause of pain in this region is slipping rib syndrome, where the cartilage tip of a lower rib shifts out of position and slides under or over the rib above it. This movement irritates the intercostal nerve and produces a sudden, sharp pain that can be localized to one spot or radiate more diffusely across the lower chest and upper abdomen.6PubMed Central. A Comprehensive Review of Slipping Rib Syndrome: Treatment and Management Coughing, sneezing, or any abrupt contraction of the abdominal muscles can trigger the slip, and it can be reproduced on ultrasound when the patient tightens the abdominal wall.7PubMed. Slipping rib syndrome: a place for sonography in the diagnosis of a frequently overlooked cause of abdominal or low thoracic pain
Slipping rib syndrome is frequently overlooked because the pain pattern can mimic gallbladder disease, kidney stones, or even cardiac problems. It tends to affect the eighth, ninth, and tenth ribs, which are the “false ribs” that attach to each other by cartilage rather than directly to the sternum. If you notice a clicking or popping sensation at the rib margin during movement, that is a strong clue.
Pleural and Lung Causes
The left lung sits directly behind the lower left ribs, separated from the chest wall by the pleura, a thin double-layered membrane. When the pleura becomes inflamed, a condition called pleurisy, the two layers rub against each other with every breath and every cough, producing a sharp, stabbing pain that is hard to ignore. Pleurisy is commonly caused by viral infections but can also result from pneumonia, autoimmune conditions, or pulmonary embolism.
Lower-lobe pneumonia on the left side deserves special mention because it can present in a misleading way. Rather than textbook respiratory symptoms, a left lower-lobe pneumonia sometimes causes abdominal pain that steers clinicians toward gastrointestinal explanations before the lung infection becomes apparent.8Cureus. A Curious Case of Abdominal Pain: Coexisting Left Lower Lobe Pneumonia and Helicobacter pylori-Positive Erosive Gastritis If you have left-sided rib or upper abdominal pain combined with fever, productive cough, or shortness of breath, pneumonia should be on the radar even if the pain feels more “belly” than “chest.”
Pneumothorax, a collapsed or partially collapsed lung, is another possibility. Severe coughing can cause a sudden spike in pressure inside the lung that ruptures weakened air sacs near the lung surface, allowing air to leak into the pleural space.9PubMed Central. Spontaneous pneumothorax and subpleural bullae in a patient with COVID-19: a 92-day observation A left-sided pneumothorax typically causes sudden, sharp chest pain and worsening breathlessness. This is a medical emergency and requires prompt evaluation.
What Sits Under the Left Ribs
Understanding the anatomy helps explain why so many different conditions can produce pain in roughly the same spot. The left upper quadrant of the abdomen contains the spleen, the tail of the pancreas, the stomach, and the left kidney, all sitting beneath or partially behind the lower ribs. The degree to which the ribs cover these organs actually changes with posture: the spleen’s rib coverage increases by about 12% when you move from lying flat to sitting upright.10PubMed Central. Comparison of organ location, morphology, and rib coverage of a midsized male in the supine and seated positions This means a swollen or irritated spleen, for instance, is more likely to produce rib-area pain when you are upright and coughing than when you are lying down.
The spleen itself can become enlarged from infections like mononucleosis, blood disorders, or liver disease. An enlarged spleen presses against the diaphragm and surrounding structures, and the jarring force of a cough can amplify this discomfort significantly. In rare cases a severely enlarged spleen can even rupture, so persistent left-upper-quadrant pain with a known infection should be taken seriously.
Hiatus Hernia and Gastric Causes
A hiatus hernia occurs when part of the stomach pushes upward through the opening in the diaphragm where the esophagus passes through. The most common symptoms are heartburn and regurgitation, but a hiatus hernia can also produce epigastric or chest pain that sits right under the left rib margin.11BMJ. The diagnosis and management of hiatus hernia Coughing raises intra-abdominal pressure, which can temporarily force more of the stomach through the hiatal opening and worsen the discomfort. People who notice that the pain comes with a burning sensation, gets worse after eating, or improves with antacids may be dealing with a gastric cause rather than a musculoskeletal one.
Gastritis, stomach ulcers, and even trapped gas in the splenic flexure of the colon (the bend of the large intestine near the spleen) can all produce pain under the left ribs that a strong cough intensifies. These are not caused by the cough itself, but the sudden spike in abdominal pressure makes an already irritated area hurt more.
When the Diaphragm Gives Way
The diaphragm is a dome-shaped muscle that separates the chest from the abdomen. It bears the brunt of the pressure changes during coughing, and in rare cases, prolonged forceful coughing can actually tear it. Spontaneous diaphragmatic rupture is a surgical emergency. In one reported case, a 66-year-old man with recurrent coughing developed a rupture of the left hemidiaphragm, and part of the colon, stomach, and omentum herniated upward into the chest cavity.12PubMed Central. Spontaneous Diaphragmatic Rupture after Coughing: Report of a Case and Review of the Literature
In another case, a woman with prolonged forceful coughing developed both a diaphragmatic hernia and a chest wall rupture. Her symptoms included upper chest pain, a tearing sensation in the abdomen radiating to the back, worsening breathlessness, and early satiety when eating.13PubMed Central. Chronic cough causing unexpected diaphragmatic hernia and chest wall rupture A third documented case involved vigorous coughing that ruptured a left intercostal artery and partially tore the diaphragm in a 60-year-old man with chronic obstructive pulmonary disease, causing a rapidly expanding hematoma in the chest and abdominal wall.14PubMed Central. First case of cough-induced combined intercostal artery rupture with partial diaphragm tear
These scenarios are genuinely rare and typically involve people who already have weakened tissues from chronic lung disease, obesity, or prolonged illness. But they illustrate an important point: a cough that has been going on for weeks and is producing escalating or changing pain warrants medical evaluation, not just stoic endurance.
Who Is Most Vulnerable
Certain groups face a higher risk of cough-related rib and chest wall injury. Postmenopausal women with reduced bone density are at the top of the list for cough-induced rib fractures, with most cases in clinical series occurring in women.4CHEST. Clinical and Radiologic Features of Cough-Induced Rib Fractures People with chronic lung conditions like asthma or COPD tend to have prolonged, forceful coughing episodes that put more cumulative stress on the chest wall. Long-term oral corticosteroid use, common in these conditions, further weakens bone and connective tissue.
Chronic cough from any cause, whether allergies, acid reflux, or medication side effects, raises the risk simply by increasing the total number of cough cycles the ribs and muscles endure. Smokers and former smokers are doubly exposed: they are more prone to chronic bronchitis and may already have compromised lung tissue and reduced bone density.
Warning Signs That Need Prompt Attention
Most cough-related left rib pain is musculoskeletal and resolves on its own. But certain features should prompt a visit to a doctor or emergency department:
- Sudden onset: a sharp pain that appears mid-cough and doesn’t fade, especially if accompanied by breathlessness, could indicate a rib fracture or pneumothorax.
- Fever and productive cough: pain under the left ribs combined with fever and colored sputum suggests pneumonia or another infection.
- Expanding bruising: visible bruising spreading across the chest wall or abdomen after coughing may signal a torn blood vessel or soft-tissue rupture.
- Pain at rest: musculoskeletal pain typically eases when you are still. Pain that persists or worsens at rest may point to an organ-level problem like splenic enlargement or pleurisy.
- Worsening over days: pain that escalates despite the cough improving, or pain that changes character from dull to sharp, deserves investigation for a stress fracture or cartilage injury.
The Splinted Cough Technique
If you are stuck in a cycle where coughing hurts your ribs and the pain makes the next cough even worse, there is a practical technique that can help. The splinted cough method involves holding a pillow, folded blanket, or even just your hands firmly against the painful area while you cough. This provides external support that reduces the movement and stress on the injured tissue.15Anesthesia and Pain Medicine. Perioperative respiratory rehabilitation: evolving concepts and clinical applications
The steps are straightforward. Sit upright or semi-reclined if possible, since this position lets your lungs expand more fully. Press the pillow firmly against the sore spot. Take a deep breath in through your nose, then cough as strongly as you can while maintaining steady pressure on the pillow. Rest between coughs rather than powering through a prolonged bout. The technique was originally developed for post-surgical patients but works just as well for anyone dealing with painful ribs from chronic coughing. It does not fix the underlying problem, but it makes the cough more tolerable and more effective at clearing mucus, which can shorten the duration of the illness driving the cough in the first place.
Splenic Flexure Syndrome and Trapped Gas
One of the more mundane but surprisingly painful causes of discomfort under the left ribs is gas trapped at the splenic flexure. This is the sharp bend in the large intestine located just below the spleen, tucked under the left rib cage. When gas accumulates here, it distends the colon wall and presses upward against the diaphragm. The resulting pain can feel alarmingly intense, sometimes mimicking cardiac or splenic problems. Coughing does not cause the gas, but each cough compresses the abdomen and pushes the already-distended bowel against surrounding structures, amplifying the ache.
The hallmark of splenic flexure gas pain is that it often improves after passing gas or having a bowel movement, and it may shift in location when you change position. People prone to irritable bowel syndrome, carbonated-drink consumption, or certain fermentable foods tend to experience this more frequently. It is completely benign but worth recognizing because it can save an anxious trip to the emergency room.