rib pain from coughing

Sore Ribs From Coughing: Causes, Relief, and When to See a Doctor

Medically reviewed by Dr. Abeer Ijaz
Jump to Section

Sore ribs from coughing are more common than most people expect. A hard coughing fit puts significant force on your chest wall, and the muscles, cartilage, and bones in that area absorb all of it. For most people, the pain turns out to be a strained intercostal muscle. For a smaller number, it points to something more serious, a bruised or cracked rib, a lung infection, or an underlying condition that needs treatment.

What Causes Sore Ribs From Coughing?

The most common reason your ribs get sore from coughing is intercostal muscle strain. Your intercostal muscles run between each rib, connecting them together and helping control chest movement when you breathe. When you cough repeatedly or forcefully, those muscles contract hard and fast. Over time, that repetitive strain causes small tears in the muscle fibers, producing the characteristic sharp or aching pain you feel.

Beyond muscle strain, sore ribs from coughing can also come from:

Costochondritis is inflammation of the cartilage that joins your ribs to your breastbone (sternum). It produces tenderness directly over the front of the chest wall and can feel similar to a pulled muscle. According to StatPearls via the National Institutes of Health, costochondritis is a benign but often persistent condition that typically resolves without specific treatment.

Bruised ribs from coughing are possible when the mechanical force exceeds what the cartilage and bone tissue can absorb without damage. Mount Sinai’s clinical guidance notes that prolonged or severe coughing is a recognized cause of bruised ribs, even without a direct blow to the chest. Bruised ribs typically heal within four to six weeks.

Cough-induced rib fractures are rare but documented in the medical literature. A Mayo Clinic retrospective study published in Mayo Clinic Proceedings analyzed 54 patients with cough-induced rib fractures and found that 78 percent were women, the average age was 55 years, and 85 percent of cases involved a chronic cough lasting three or more weeks. The middle ribs along the lateral (outer) side of the rib cage were affected most often. A 2024 comprehensive analysis of 90 patients published in PMC confirmed that older age, postmenopausal status, and underlying metabolic bone disease (including osteoporosis) significantly increase the risk.

Pleurisy is inflammation of the pleura, the thin lining that surrounds the lungs. It causes sharp, stabbing chest pain that gets worse when you breathe in, cough, or sneeze. The friction between the inflamed layers of the pleura is what produces the pain. Pleurisy is usually caused by a viral or bacterial infection.

Respiratory infections, including pneumonia, bronchitis, and COVID-19, can drive a persistent cough severe enough to strain the chest wall. In some cases, the infection itself also causes chest pain through direct inflammation of lung tissue.

Pulmonary embolism is a blood clot in the lungs. It can cause sudden, pleuritic-type chest pain that worsens with breathing or coughing. This is a medical emergency; it should always be ruled out when chest pain appears suddenly alongside shortness of breath.

Immediate Relief Available

A Cough Can Be Something Irregular If It Affects Your Physicality

If your ribs hurt every time you cough, then there could be an underlying problem

“Connect with an online doctor today and find out why your ribs hurt every time you cough.”

Connect now
HIPAA Compliant Medical-Grade Security
All Data Encrypted Advanced Encryption Standards
Secure Audio & Video Private End-to-End Sessions

“Connect with a Canadian-licensed doctor today to receive all the answers pertaining to that pain you are feeling in your ribs every time you cough.”

Start consultation
PIPEDA Compliant Medical-Grade Security
All Data Encrypted Advanced Encryption Standards
Secure Audio & Video Private End-to-End Sessions

What Does It Feel Like? (Muscle Strain vs. Something More Serious)

Most people with sore ribs from coughing are dealing with intercostal muscle strain. Knowing the difference between a muscular injury and a more serious cause matters because the two require different responses.

Signs that point to a muscle strain:

  • Pain started during or shortly after a heavy coughing episode
  • You can reproduce the pain by pressing firmly on a specific spot between two ribs
  • The pain gets worse when you twist, stretch your arms overhead, or take a deep breath
  • You may feel visible or palpable muscle spasms between the ribs
  • The pain is improving gradually day by day with rest

Signs that suggest something more serious:

  • Sudden, severe chest pain with no clear muscular trigger
  • Pain that does not reproduce when you press on the ribs (more typical of lung or heart causes)
  • Shortness of breath or difficulty taking a full breath
  • Fever over 38.5°C (101.3°F) alongside chest pain (possible pneumonia or pleurisy)
  • Coughing up blood or discolored mucus
  • Pain that radiates to your shoulder, jaw, or down your left arm (possible cardiac cause)
  • Hearing or feeling a crack or pop when the pain first appeared (possible rib fracture)

How to Relieve Sore Ribs From Coughing at Home

For mild to moderate intercostal muscle strain, home management is appropriate and effective.

Rest, but stay mobile. Complete bed rest is not recommended because it allows fluid to accumulate in the lungs. Mount Sinai advises against staying in bed all day. Short, slow walks help maintain circulation and lung function while giving your muscles time to recover.

Use the pillow-bracing technique. When you feel a cough coming on, press a small firm pillow or folded blanket against your chest wall over the sore area. This supports the muscles during the cough and significantly reduces the pain of each episode. K Health recommends this as one of the most effective immediate-relief strategies.

Apply ice first, then heat. During the first 48 hours after the pain starts, apply a cold pack wrapped in a thin cloth for 15 to 20 minutes, three to four times a day. This reduces inflammation and swelling. After 48 hours, switch to a heating pad or warm compress to relax the muscle and reduce stiffness.

Take over-the-counter pain relief. Ibuprofen (an NSAID) addresses both pain and inflammation and is generally preferred over acetaminophen for musculoskeletal injuries. Follow the dosage instructions on the label. People with kidney disease, stomach ulcers, or certain other conditions should check with a doctor before using NSAIDs.

Control the cough itself. The underlying cough keeps reinjuring the muscle. Stay well hydrated to thin mucus. Use a humidifier, especially at night. Over-the-counter cough suppressants, throat lozenges, and steam inhalation can reduce cough frequency. A teaspoon of honey in warm water is a simple, evidence-supported option for soothing throat irritation and reducing cough.

Sit upright when sleeping. For the first few nights, propping yourself up with two or three pillows helps you breathe more comfortably and puts less pressure on the injured area. Mount Sinai recommends a semi-upright sleeping position during the initial recovery phase.

Do not suppress normal breathing. Even if it hurts, take slow, deliberate deep breaths and allow yourself to cough when needed. Mount Sinai’s clinical guidance recommends 10 deep breaths every hour to prevent partial lung collapse (atelectasis), which is a real risk when people avoid breathing deeply due to pain. Holding a pillow against your ribs makes this more manageable.

How Long Does It Take for Sore Ribs From Coughing to Heal?

Recovery time depends on the severity of the injury:

Injury TypeTypical Recovery Time
Mild intercostal muscle strainA few days to 2 weeks
Moderate intercostal muscle strain4 to 6 weeks
Bruised ribs4 to 6 weeks
Cracked or fractured rib6 to 8 weeks, sometimes longer

The critical factor in recovery is controlling the cough. If the cough continues at full intensity, the muscle or rib does not get the rest it needs to heal, and recovery drags out. This is why treating the underlying cause of the cough (infection, asthma, acid reflux, or other trigger) is as important as managing the pain itself.

Can You Fracture a Rib Just From Coughing?

Yes, though it is uncommon in otherwise healthy people. The medical literature documents cough-induced rib fractures clearly. The Mayo Clinic study found that while reduced bone density (osteopenia or osteoporosis) is a contributing risk factor, fractures can occur even with normal bone density if the cough is sufficiently forceful and prolonged.

People at higher risk for cough-induced rib fractures include:

  • Women, particularly postmenopausal women (who represented 78 percent of cases in the Mayo Clinic dataset)
  • People with osteoporosis, osteopenia, or rheumatoid arthritis
  • People with COPD or chronic respiratory conditions that drive persistent coughing
  • Long-term corticosteroid users (steroids can reduce bone density over time)
  • Smokers

If you fall into any of these groups and have had a significant coughing illness, do not assume rib pain is just a muscle strain. A cracked rib that goes unrecognized can cause complications including pneumonia, particularly in older adults. PMC data notes that even one or two rib fractures are associated with a substantially elevated risk of pneumonia in vulnerable patients.

When Should I Be Concerned About Rib Pain From Coughing?

Most people with sore ribs from coughing can manage safely at home. However, you should see a doctor if any of the following apply:

See a doctor within 24 to 48 hours if:

  • The pain is severe enough to prevent you from taking normal breaths
  • You heard or felt a crack when the pain started
  • The pain has not improved at all after one week of home management
  • You have a fever alongside chest pain (suggests infection such as pneumonia or pleurisy)
  • You are postmenopausal, have osteoporosis, or take corticosteroids regularly

Go to the emergency room immediately if:

  • You have sudden, severe chest pain with shortness of breath (possible pulmonary embolism or heart attack)
  • You are coughing up blood
  • Your lips or fingernails are turning blue or gray
  • The pain followed a significant physical trauma (car accident, fall)
  • You feel chest pressure that spreads to your arm, shoulder, jaw, or back

Treatment Options a Doctor May Recommend

If home management is not enough, or if imaging confirms a fracture or other injury, a doctor may recommend:

Prescription NSAIDs or muscle relaxants for short-term pain relief in cases of severe muscle strain. These are more targeted than over-the-counter options.

An intercostal nerve block is an injection of local anesthetic and sometimes corticosteroid directly into the space near the affected nerve. It can provide significant, fast relief for persistent intercostal pain. Physiopedia’s clinical review lists this as an option in cases where conservative management is insufficient.

Imaging (X-ray or CT scan) to rule out rib fracture, lung infection, or other structural problems. A plain chest X-ray is usually the first step.

Physical therapy for persistent or recurring intercostal strain. A physiotherapist can teach targeted breathing exercises, core strengthening, and movement modifications that reduce the load on the intercostal muscles during coughing.

Antibiotics if a bacterial infection (bacterial pneumonia or acute bronchitis) is identified as the cause of the persistent cough driving the rib pain.

Sore ribs from coughing almost always come down to overworked or strained intercostal muscles. The pain is real, can be severe, and tends to get worse every time you cough again, which makes addressing the underlying cough just as important as treating the pain. For most people, a combination of pillow bracing, over-the-counter NSAIDs, ice/heat, and a few weeks of rest gets them through it.

If the pain is severe, you have risk factors for fracture, or you develop any of the red-flag symptoms listed above, do not wait to get evaluated. A telehealth consultation can help you determine whether imaging is needed or whether a prescription is warranted, without the hassle of an in-person visit for something that may resolve quickly.

Frequently Asked Questions

Muscular rib pain (intercostal strain) typically feels sharp or aching in a localized area between two ribs. You can usually reproduce the pain by pressing firmly on the sore spot, or when you twist, stretch overhead, or take a deep breath. Pain that does not reproduce on pressing, comes with shortness of breath, fever, or feels like pressure rather than a localized ache, is more likely to have a pulmonary or cardiac cause and warrants medical evaluation.

Yes. Forceful or persistent coughing can cause intercostal muscle strain, bruised ribs, or in less common cases, an actual rib fracture. A Mayo Clinic retrospective study documented 54 patients who developed rib fractures purely from coughing, with no direct trauma involved. The risk is higher in people with underlying bone density issues.

The most comfortable and medically recommended position is semi-upright, propped on two to three pillows so your upper body is at roughly a 45-degree angle. This keeps the lung bases from collapsing and puts less mechanical stress on the sore area. If you prefer sleeping on your side, place a pillow between your knees to maintain spinal alignment and reduce pulling on the chest wall.

Chest wrapping or binding is generally not recommended by most clinical guidelines for rib pain from coughing. While it can reduce movement, it also restricts deep breathing and increases the risk of pneumonia. The pillow-bracing technique during active coughing episodes is a safer approach. A rib binder may be used in specific circumstances when a doctor recommends it, but it should not be self-applied for more than short periods.

The most effective immediate strategies are: press a firm pillow against the sore area when you feel a cough coming, take ibuprofen to reduce both pain and inflammation, apply ice or heat to the affected area, and treat the underlying cough with hydration, a humidifier, and cough suppressants. Reducing cough frequency is the single most effective way to allow the muscles time to heal.

https://www.ncbi.nlm.nih.gov/books/NBK532931/

https://www.mountsinai.org/health-library/selfcare-instructions/bruised-rib-care

https://pubmed.ncbi.nlm.nih.gov/16007893/

https://pmc.ncbi.nlm.nih.gov/articles/PMC10964303/

https://www.mountsinai.org/health-library/selfcare-instructions/bruised-rib-care

https://khealth.com/learn/symptom/rib-pain-from-coughing/

https://www.cochranelibrary.com/cdsr/doi/10.1002/14651858.CD001831.pub6/full

https://pubmed.ncbi.nlm.nih.gov/16007893/

https://pmc.ncbi.nlm.nih.gov/articles/PMC8154982/

https://www.physio-pedia.com/Intercostal_Muscle_Strain

https://pubmed.ncbi.nlm.nih.gov/16007893/

Your Doctors Online
Have a health question? Talk to a real doctor — right now.

Access online consultations, prescriptions, and referrals. No waiting room, no appointment needed.

Free to sign up · No insurance required
Trusted By

Get instant online doctor consultations