why does my side hurt when i cough
Last updated September 6, 2026.
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.
What to do
- Press 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.
- Brace when you cough: Hold a pillow firmly against the sore side each time you cough to cut down on the pull across those muscles.
- Use 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.
- Treat the cough: Fluids, honey in warm water, and humid air reduce coughing fits, which is what keeps reinjuring the muscle.
- Watch 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.
- Set 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.
Related questions
- Are medication side effects worse at first
- Can i get health insurance outside open enrollment
- Can i text a doctor about medication side effects
- Can ibuprofen hurt your stomach
