How it worksSafetyHealth libraryOur mission Sign in Start a free consult
Pymander
Free consult

Why does my side hurt when I cough?

Updated Oct 19, 20262 min readAnswer
On this pageShort answer How can I tell if it is a pulled muscle or something serious? Common questions about side pain when coughing Related questions Sources
Short answer

Most side pain that appears only when you cough comes from strained chest wall muscles or irritated tissue lining the lungs, not from damage to the lung itself.

The muscles between your ribs contract with every cough, so a few days of coughing can leave one side sore, tight, and tender to press. Sharp, stabbing pain that spikes when you breathe in points more toward pleurisy, which is inflammation of the lining around the lungs and often follows a viral illness. Fever, chills, and a wet cough alongside the pain raise the chance of pneumonia and need a clinician. Pain low on your side or back with burning urination points toward the kidneys instead. Supporting the sore area with a pillow when you cough, staying upright, and treating the cough itself all reduce the strain.

Side pain that isn't fading? Tell our AI doctor where it hurts and how it started - it will tell you whether this needs a doctor. Start a free consult Free · Private · 24/7
Find answers about symptomsStart a free AI doctor consult

How can I tell if it is a pulled muscle or something serious?

1Press on the spot:Pain that gets worse when you push on one rib area usually means a strained muscle or bruised rib rather than a lung problem.
2Brace when you cough:Hold a pillow firmly against the sore side each time you cough to cut down on the pull across those muscles.
3Use heat and rest:A warm pack and a few days of easier activity help sore rib muscles settle, and over-the-counter pain relievers can help if they are safe for you.
4Treat the cough:Fluids, honey in warm water, and humid air reduce coughing fits, which is what keeps reinjuring the muscle.
5Watch the breathing:Shortness of breath, coughing up blood, a fever, fainting, or swelling in one leg means you need care right away, not home treatment.
6Set a time limit:See a clinician if the pain is still there after two weeks, is getting worse, or started after a fall or injury.

Common questions about side pain when coughing

why does my side hurt when i cough

Coughing contracts the muscles between your ribs over and over, and those muscles strain and ache, usually on one side. Pain that is sharp and stabbing each time you breathe in points more toward pleurisy, inflammation of the lining around the lungs, which often follows a viral infection. Pneumonia can cause the same pain along with fever, chills, and a productive cough. A simple muscle strain is tender when you press on it and eases over one to two weeks with rest and heat. Get checked the same day if you have trouble breathing, cough up blood, run a fever, feel faint, or have calf swelling.

About this page. Written and maintained by the Pymander Health team. Last updated September 6, 2026.

Questions about this?Start a free consult