Doctors Note Logo

Published on: 7/14/2026

Why do I feel chest pain when I cough?

Chest pain when you cough is often caused by muscle strain, rib injury (including small stress fractures), or lung-related conditions such as bronchitis, pneumonia, or pleurisy (inflammation of the lining around the lungs). Less commonly, it can signal issues like a blood clot or heart-related problems, so identifying the underlying cause matters.

Because the possible causes range from mild to serious, guessing can delay the right care. A free, instant online symptom check can help you quickly narrow down likely causes based on your specific symptoms, understand urgency, and decide your next step—whether that's home care, seeing a doctor, or urgent evaluation. It takes just a few minutes and could save you hours of worry.

Reviewed for medical accuracy: 07/14/2026

answer background

Explanation

When you cough hard or very often, your chest muscles and the bones (ribs) in your chest can be put under stress. This can lead to pain because the muscles stretch or become sore, or even because a small rib fracture may occur. Conditions that affect your lungs, such as bronchiectasis or pneumonia, can also make the chest hurt when you cough because the lungs or the thin covering around the lungs (called the pleura) become inflamed. In some cases, the act of coughing may be linked to heart dysfunction, but that is less common. The pain you feel while coughing is usually related to the strain on your chest wall and the breathing muscles, rather than a direct heart problem. If you find that your chest pain with coughing is very severe, continues for a long time, or is accompanied by other symptoms like trouble breathing or feeling very weak, you should take Ubie's free AI-powered symptom checker to help identify what might be causing your discomfort. A doctor can then check your symptoms, perform tests, and help figure out the exact cause so you can be treated appropriately.

(References)

  • De Maeseneer M, De Mey J, Debaere C, Meysman M, Osteaux M. Rib fractures induced by coughing: an unusual cause of acute chest pain. Am J Emerg Med. 2000 Mar;18(2):194-7. doi: 10.1016/s0735-6757(00)90019-6. PMID: 10750931.

  • Grabczak EM, Stec S, Dabrowska M, Plevkova J, Krenke R. Cough as a Cause and Consequence of Heart Dysfunction - Current State of Art. Physiol Res. 2020 Mar 27;69(Suppl 1):S105-S121. doi: 10.33549/physiolres.934408. PMID: 32228016; PMCID: PMC8604064.

  • King PT, Holdsworth SR, Farmer M, Freezer NJ, Holmes PW. Chest pain and exacerbations of bronchiectasis. Int J Gen Med. 2012;5:1019-24. doi: 10.2147/IJGM.S39280. Epub 2012 Dec 10. PMID: 23271921; PMCID: PMC3526875.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.

Was this page helpful?

Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.