Medical expert of the article
New publications
Chest pain when coughing: what's important to know
Last updated: 11.03.2026
All iLive content is medically reviewed or fact checked to ensure as much factual accuracy as possible.
We have strict sourcing guidelines and only link to reputable media sites, academic research institutions and, whenever possible, medically peer reviewed studies. Note that the numbers in parentheses ([1], [2], etc.) are clickable links to these studies.
If you feel that any of our content is inaccurate, out-of-date, or otherwise questionable, please select it and press Ctrl + Enter.
Chest pain during coughing is not a standalone diagnosis, but a symptom that can originate in the pleura, lungs, chest wall, pericardium, major vessels, and heart. The clinical challenge is always the same: first rule out dangerous causes, and only then confirm more common and relatively safe conditions. [1]
Most often, this type of pain is pleuritic or musculoskeletal. Pleuritic pain is typically sharp, stabbing, and intensifies with deep breathing, coughing, laughing, and turning the torso; musculoskeletal pain is often localized and is reproduced by movement or pressure on the painful point. [2]
However, the mere fact that pain worsens with coughing does not automatically make the situation benign. This can be a symptom of pneumonia, pulmonary embolism, spontaneous pneumothorax, pericarditis, and other conditions, some of which require emergency care. [3]
A particular complication is that coughing can both cause and exacerbate pain. Sometimes it itself injures the intercostal muscles, the sternocostal joints, and even the ribs, while other times it merely highlights existing inflammation of the pleura, pericardium, or lung. [4]
The modern approach to this symptom is based on risk stratification. In cases of low cardiovascular risk and clear signs of non-anginal pain, urgent cardiac testing may not be necessary, but this is only permissible after a structured assessment, and not based on the single symptom of "pain when coughing." [5]
Table 1 summarizes the signs that help to initially determine the cause of pain, but do not replace an in-person assessment. [6]
| The nature of pain and context | The most probable reasons | What's alarming |
|---|---|---|
| A stabbing pain that intensifies when inhaling and coughing | Pleurisy, pneumonia, pericarditis, pneumothorax, pulmonary embolism | Dyspnea, hemoptysis, sudden onset, hypoxia |
| Local pain, reproduced by pressing | Costochondritis, intercostal muscle strain, cough rib fracture | Trauma, severe pain in one point, deformation |
| Pressing or squeezing pain | Acute coronary syndrome, less commonly severe pericarditis | Sweating, nausea, weakness, radiating to the arm, jaw, back |
| Pain after several days of fever and cough | Community-acquired pneumonia, pleurisy, pleural effusion | Confusion, rapid breathing, decreased oxygen saturation |
| Pain after a prolonged paroxysmal cough | Bronchitis with muscle strain, costochondritis, rib fracture, whooping cough | Very severe local pain, no improvement, hemoptysis |
The main causes of chest pain when coughing
One of the most common causes is pleural inflammation secondary to a lower respiratory tract infection. In community-acquired pneumonia, pain occurs because the inflammation reaches the pleura, making coughing and deep breathing particularly painful. The updated pneumonia guidelines emphasize that diagnosis and management should be based on clinical assessment of severity, imaging, and the appropriate use of antibiotics. [7]
The second fundamentally important group of causes is pulmonary embolism. It is particularly characterized by sudden chest pain, shortness of breath, tachycardia, and sometimes hemoptysis or presyncope. The risk is higher after surgery, trauma, immobilization, long trips, pregnancy, the postpartum period, obesity, smoking, and cancer. [8]
Another cause is spontaneous pneumothorax, which is the entry of air into the pleural cavity. It often presents with an acute unilateral episode of pain and a feeling of shortness of breath; current British guidelines consider it part of a broader group of pleural diseases and emphasize the need for rapid imaging and selection of tactics based on symptoms and clinical stability. [9]
Musculoskeletal chest wall pain is also very common. Costochondritis, intercostal muscle strain, and sternocostal joint strain often develop after several days of severe coughing. For these conditions, pain can typically be reproduced by palpation of the painful area, but even with this presentation, acute cardiopulmonary causes cannot be mechanically excluded without assessing the overall clinical context. [10]
Cough fractures can also occur with prolonged or very intense coughing. Although less common, the risk is higher in older people, postmenopausal women, those with low bone density, those with pneumonia, chronic lung diseases, and severe coughing episodes. This condition is characterized by sharp, localized pain, tenderness to pressure, and increased pain with breathing and coughing. [11]
Finally, pericarditis should not be forgotten. This pain is also often pleuritic, may worsen when lying down, and be relieved by leaning forward. A 2024 review and the 2025 European Society of Cardiology guidelines highlight pericarditis as an important non-ischemic cause of chest pain, which is particularly easily confused with pulmonary and musculoskeletal pathology. [12]
Table 2 provides a practical differentiation of the most common causes. [13]
| Cause | What is typical | What helps to distinguish |
|---|---|---|
| Community-acquired pneumonia | Fever, cough, weakness, pain when inhaling | Infiltrate on imaging, signs of infection |
| Pulmonary embolism | Sudden pain and shortness of breath, tachycardia | Risk factors for thrombosis, D-dimer, computed tomography angiography |
| Pneumothorax | Sudden one-sided pain, shortness of breath | Air in the pleural cavity on visualization |
| Costochondritis | Local pain in the sternum, reproduced by palpation | There is no fever or significant hypoxia, no pain on examination. |
| Cough rib fracture | Very localized sharp pain after a severe cough | Confirmation by imaging, sometimes radiography is not very sensitive |
| Pericarditis | Pleuritic pain, worse when lying down, better when leaning forward | Electrocardiographic changes, pericardial friction rub, effusion |
Red flags and when urgent help is needed
The most important practical question is not "what causes the most common chest pain" but "is a dangerous cause being missed?" Immediate assistance is needed for chest pain accompanied by severe shortness of breath, a drop in oxygen saturation, cyanosis, confusion, fainting, cold sweats, or hemodynamic instability. [14]
Particularly alarming is sudden, unilateral pain that develops within minutes and is accompanied by shortness of breath. This situation immediately raises the possibility of pneumothorax or pulmonary embolism, especially if accompanied by tachycardia, hemoptysis, a recent flight, surgery, prolonged immobility, pregnancy, postpartum period, or active cancer. [15]
If the pain is more of a pressing or squeezing nature, lasts more than 15 minutes, radiates to the arm, jaw, or back, and is accompanied by nausea, severe weakness, and sweating, the patient should be treated as having a possible acute coronary syndrome, even if the complaint is accompanied by a cough. Guidelines for chest pain clearly state that the assessment should not be based on a single symptom and should not be reassured simply because the pain is "dependent on breathing." [16]
High fever, chills, rapid breathing, confusion, severe weakness, and chest pain accompanied by a cough suggest pneumonia, a pleural infection, or severe inflammatory process in the lung. In severe cases, hospitalization, rapid imaging, and early decision-making regarding antibiotic therapy and respiratory support are required. [17]
Finally, pain in pregnant women and women in the first 6 weeks postpartum, pain in patients with cancer, after major surgery, during active anticoagulant therapy, as well as pain that persists, gradually worsens, is accompanied by weight loss or hemoptysis, require a separate emergency assessment. In these groups, the threshold of concern should be significantly lower. [18]
Table 3 contains signs that indicate that medical assessment should not be delayed. [19]
| Situation | Why is this dangerous? | Urgency |
|---|---|---|
| Sudden pain and shortness of breath | Pneumothorax, pulmonary embolism | Immediately |
| Pain lasting more than 15 minutes with sweating and weakness | Acute coronary syndrome | Immediately |
| Hemoptysis | Thromboembolism, pneumonia, tumor, severe infection | Immediately or on the same day |
| High fever and difficulty breathing | Pneumonia, pleural infection, sepsis | On the same day, often immediately |
| Fainting, drop in blood pressure, decreased saturation | Severe cardiopulmonary condition | Immediately |
| Pain in pregnant women or in the postpartum period | Increased risk of thromboembolism | Urgently |
Diagnostics
Diagnosis begins with a detailed interview. Important factors include the speed of pain onset, its location, duration, relationship with inhalation, movement, and coughing, the presence of fever, sputum, shortness of breath, hemoptysis, and fainting, as well as information about recent surgeries, travel, trauma, pregnancy, cancer, and cardiovascular risk factors. [20]
A physical examination follows: respiratory rate, heart rate, blood pressure, oxygen saturation, auscultation of the lungs and heart, and palpation of the chest wall. If the pain can be accurately reproduced by pressing on the sternocostal region, this supports a musculoskeletal origin, but does not eliminate the need to exclude more serious causes, because even with chest wall pain, some patients may have an acute cardiac event. [21]
If there is even the slightest suspicion of a cardiac cause, an electrocardiogram and cardiac troponin testing, preferably high-sensitivity, are performed. Current guidelines emphasize that structured risk assessment and clinical pathways help determine who needs urgent cardiac imaging and who does not. [22]
If pneumonia or another pulmonary cause is suspected, a chest radiograph plays a key role. Updated pneumonia guidelines recommend that diagnostic workup, including a chest radiograph, be arranged within 4 hours of admission to hospital for an adult patient; the hospital may also consider a baseline C-reactive protein level. [23]
When pulmonary embolism is suspected, clinical probability is assessed first. In patients with low or intermediate probability, D-dimer is used, and if it is elevated or the clinical probability is high, imaging is performed; computed tomography angiography of the pulmonary arteries is considered the standard method, and if this cannot be performed, ventilation-perfusion testing is considered. [24]
If the cough persists and the pain recurs, the diagnosis should not stop at "bronchitis." A chronic cough requires a systematic search for the cause, as persistent cough itself can contribute to chest pain and lead to musculoskeletal complications, but it often masks asthma, eosinophilic pulmonary inflammation, upper airway syndrome, reflux, or more serious pulmonary pathology. [25]
Table 4 shows which methods are commonly used in different diagnostic scenarios. [26]
| Method | When it is especially useful | What can it show? |
|---|---|---|
| Electrocardiogram | Suspected cardiac cause or pericarditis | Ischemia, rhythm, typical changes in pericarditis |
| Cardiac troponin | Suspected acute coronary syndrome | Myocardial damage |
| Chest X-ray | Fever, cough, shortness of breath, suspected pneumonia or pneumothorax | Infiltrate, effusion, air in the pleura |
| D-dimer | Low or intermediate probability of thromboembolism | Helps to exclude a thrombotic cause in some patients |
| Computed tomography angiography | Suspected pulmonary embolism | Blood clots in the pulmonary arteries |
| Ultrasound examination of the pleura | Suspected effusion, pleural pathology | Fluid in the pleural cavity |
| Computed tomography of the chest | Unclear picture, complications, tumor, rib fracture | Detailing of the lungs, pleura, ribs and mediastinum |
Differential diagnosis
The first thing to understand is that pain associated with breathing does make stable angina less likely, but it does not completely rule out acute coronary syndrome. Therefore, the assessment should be based not on a single symptom, but on the overall pattern: duration, radiation, autonomic symptoms, age, underlying diseases, and electrocardiogram data. [27]
Pneumonia and simple acute bronchitis are often confused, but they are distinct conditions. Antibiotics are not routinely recommended for uncomplicated bronchitis, whereas for community-acquired pneumonia, treatment is determined by the clinical severity and proven or probable lung damage. In other words, if there is fever, shortness of breath, localized pain, and signs of infiltration, this is no longer a situation where the advice to "wait and drink something warm" can be sufficient. [28]
Costochondritis and other musculoskeletal pains are usually localized and easily reproducible by palpation. Less typical are severe hypoxia, high fever, hemoptysis, and sudden severe dyspnea. However, even here there is an important caveat: reproducibility of pain by palpation supports the diagnosis of chest wall pain, but does not definitively prove it. [29]
Pericarditis is differentiated by body position and accompanying data. If the pain is stabbing, intensifies when lying down, and decreases when leaning forward, and the electrocardiogram shows characteristic changes or pericardial effusion, the likelihood of pericarditis increases. It is important not to confuse it with myocardial infarction or pleural pain. [30]
Persistent unilateral chest pain, especially with prolonged cough, weight loss, recurrent pleural effusion, or hemoptysis, requires the exclusion of lung tumor, pleural malignancy, and other serious causes. The British Thoracic Society's pleural guidelines specifically emphasize the need for a systematic approach to unilateral pleural effusion and pleural malignancy. [31]
Table 5 provides guidelines to help the physician differentiate common causes from each other. [32]
| State | What speaks in his favor | What's against him? |
|---|---|---|
| Acute coronary syndrome | Pressure, squeezing, sweating, nausea, irradiation, pain lasting more than 15 minutes | Clear reproducibility by palpation, pronounced connection only with inspiration |
| Pneumonia | Fever, cough, intoxication, focal changes in the lungs | No infection and normal imaging |
| Pulmonary embolism | Sudden onset, shortness of breath, tachycardia, risk factors for thrombosis | The complete absence of risk factors does not exclude, but reduces the likelihood |
| Costochondritis | Local tenderness and reproducibility by palpation | Systemic symptoms, hypoxia, hemoptysis |
| Pericarditis | Worse when lying down, easier when sitting and leaning forward, typical changes on the electrocardiogram | There is no positional dependence and no characteristic features |
| Cough rib fracture | A sharp, pinpoint pain after a strong cough | Diffuse pain without localized tenderness |
Treatment
Treatment for chest pain associated with coughing is always cause-based. Pain relief is important in almost all cases, as pain can cause shallow breathing, make it harder to cough up mucus, and reduce movement, thereby increasing the risk of complications. However, pain relief alone, without understanding the underlying cause, is insufficient. [33]
If pain is associated with community-acquired pneumonia, therapy is selected based on the severity of the condition, age, comorbidities, risk of resistant pathogens, and treatment location. Current pneumonia guidelines emphasize the rational use of antibiotics, rapid diagnosis and reassessment of the patient, and in severely hospitalized patients, the addition of intravenous hydrocortisone may be considered. [34]
In confirmed pulmonary embolism, anticoagulants are the mainstay of treatment. The current 2026 guidelines recommend direct oral anticoagulants for most non-pregnant patients, while low-molecular-weight or unfractionated heparin is used during pregnancy. In severe cases, thrombolytic therapy, catheter interventions, or surgical removal of the clot may be required. [35]
In pneumothorax, the approach depends on the severity of symptoms and clinical stability. Some patients can be observed, while others require air aspiration or pleural drainage. The key principle here is to not delay imaging and not settle for "just a torn muscle" if there is sudden unilateral pain and shortness of breath. [36]
For pericarditis, most patients are treated with nonsteroidal anti-inflammatory drugs (NSAIDs), with a gradual reduction in dosage after pain has resolved and inflammatory markers have returned to normal. Colchicine is also administered for 3 months during the first episode. In case of relapse, the colchicine course is extended, and in some complex cases, corticosteroids and interleukin-1 blockers may be used. [37]
If the cause is costochondritis or muscle strain, rest, local heat, topical or systemic nonsteroidal anti-inflammatory drugs, sometimes lidocaine patches, and physical therapy are usually helpful. For a rib fracture with a cough, treatment is usually conservative, but requires good pain relief and respiratory control. [38]
Antibiotics are not routinely recommended for uncomplicated acute bronchitis. Symptomatic treatment is possible, but the evidence base for many agents is limited, so the primary focus is on observation, hydration, temperature control, and reassessment if symptoms worsen. If the cough becomes persistent, the focus shifts from "suppressing the symptom" to identifying the cause of the chronic cough. [39]
Table 6 shows how treatment tactics change depending on the cause of pain. [40]
| Cause | Basic treatment | What is especially important |
|---|---|---|
| Community-acquired pneumonia | Antibacterial therapy as indicated, severity control, oxygen if necessary | Don't miss the severe current |
| Pulmonary embolism | Anticoagulants, reperfusion in severe cases | Urgency of diagnosis and treatment |
| Pneumothorax | Observation, aspiration or drainage | Assessment of respiratory failure |
| Pericarditis | Nonsteroidal anti-inflammatory drugs, colchicine | Distinguish from a heart attack |
| Costochondritis | Pain relief, rest, local therapy | Exclude dangerous causes before confirmation |
| Acute bronchitis without complications | Symptomatic care, without routine antibiotics | Reconsideration of diagnosis in case of deterioration |
| Cough rib fracture | Pain relief, breathing exercises, treatment of the cause of the cough | Monitor for pneumothorax and persistent pain |
Prevention and prognosis
Prevention depends on the cause, but there are universal measures. Smoking cessation, control of chronic lung diseases, early treatment of persistent cough, physical activity, and avoiding prolonged immobility reduce the risk of both infectious and thromboembolic causes of chest pain. [41]
Vaccination also has practical implications. The U.S. Centers for Disease Control and Prevention recommends pertussis vaccination for children, adolescents, pregnant women, and adults, as well as current age- and risk-based pneumococcal vaccination schedules; seasonal influenza vaccination reduces the risk of the infection itself and its complications, including pneumonia. [42]
The prognosis for musculoskeletal pain and costochondritis is generally favorable. Most patients experience symptom improvement within weeks, especially if cough suppression and adequate pain relief are achieved. However, persistent pain without improvement requires reconsideration of the diagnosis. [43]
The prognosis for pneumonia, pericarditis, pneumothorax, and pulmonary embolism is determined not only by the diagnosis but also by the speed of recognition. With timely treatment, many patients recover, whereas late diagnosis increases the risk of respiratory failure, relapse, chronic sequelae, and death. [44]
If chest pain associated with a cough persists for more than 2-3 weeks, becomes more frequent, is accompanied by weight loss, night sweats, hemoptysis, recurrent pleural effusion, or persistently low oxygen saturation, this is no longer a situation where indefinite self-medication is acceptable. A follow-up medical evaluation and in-depth diagnostics are necessary. [45]
FAQ
1. Can a severe cough itself cause chest pain?
Yes. A severe or prolonged cough often leads to strain of the intercostal muscles and sternocostal joints, and sometimes even to a cough-related rib fracture. However, a diagnosis of "cough pain" is only acceptable after more serious causes have been ruled out. [46]
2. If the pain intensifies with inhalation, is it definitely not the heart?
No, it's impossible to say for sure. Pain triggered by inhalation does make stable ischemic pain less likely, but acute coronary syndrome should still be excluded if there is persistent pain, sweating, nausea, weakness, radiating pain, or high cardiovascular risk. [47]
3. Are antibiotics necessary for chest pain and cough?
Not always. Antibiotics are not routinely recommended for uncomplicated acute bronchitis, whereas they are often necessary for pneumonia. The decision depends not on the pain itself, but on the clinical picture and the confirmed or probable cause. [48]
4. When is an X-ray needed?
X-rays are especially important if pneumonia, pleural effusion, pneumothorax, and some other pulmonary causes of pain are suspected. If serious lung or pleural damage is suspected, imaging should be performed without delay. [49]
5. When should you consider pulmonary embolism?
When the pain begins suddenly, is accompanied by shortness of breath, tachycardia, hemoptysis, fainting, or occurs after surgery, a long trip, during pregnancy, in the postpartum period, with obesity, or with cancer. In such a situation, an urgent assessment of the clinical probability and, if necessary, further diagnostics are required. [50]
6. Can pericarditis manifest as pain when coughing?
Yes. Pericarditis often causes pleuritic pain, which intensifies with inspiration and may be aggravated by coughing. A characteristic feature is aggravation when lying down and relief when leaning forward. [51]
7. What if the pain is localized and reproduced with a finger?
This supports a musculoskeletal origin, such as costochondritis or cough overuse. However, if there is also fever, shortness of breath, severe weakness, hemoptysis, or the pain is sudden and severe, immediate evaluation is necessary, regardless of the location of the pain. [52]
8. How long should this pain take to resolve?
With uncomplicated musculoskeletal pain, improvement usually occurs within days to a few weeks. With infectious and thromboembolic causes, the time frame depends on the underlying disease, so a lack of improvement or worsening symptoms requires a re-examination. [53]
Key points from experts
Chest pain when coughing is a symptom that shouldn't be dismissed as just "bronchitis" or "a cold." Dangerous cardiopulmonary causes are first ruled out. [54]
Pleuritic pain is most often associated with the pleura, lungs, pericardium, or chest wall, but the clinical decision is always based on the overall picture rather than a single description of the pain.[55]
Sudden pain with shortness of breath - until proven otherwise, a reason to think about pulmonary embolism or pneumothorax. [56]
Palpable pain supports the diagnosis of chest wall pain but does not replace a comprehensive risk assessment.[57]
In simple acute bronchitis infection, antibiotics are usually not needed, but in pneumonia and thromboembolism, delay in proper therapy is dangerous. [58]
Treatment should be causal: pain relief is important, but it should not mask the need for urgent diagnosis. [59]

