Why Do My Ribs Hurt When I Cough? Causes, Relief and When to See a Doctor
MomentaryBack to Blog
Diseases & Conditions

Why Do Your Ribs Hurt When You Cough, and What to Do About It

Jayant PanwarJayant Panwar
March 16, 202613 min read

Rib pain during a coughing fit is one of those symptoms that stops you mid-breath. For most people, it is not a sign of something serious. Rib soreness from coughing is common and usually temporary. Understanding what is happening, and how to tell a strained muscle from something that needs medical attention, helps you make the right call on care.


At a Glance

TopicKey Facts
Most common causeIntercostal muscle strain from repeated or forceful coughing
Other causesCostochondritis, bruised rib, rib fracture (rare in healthy adults)
Who is at higher riskPeople with osteoporosis, women with chronic cough lasting 3+ weeks, long-term corticosteroid users
Typical recoveryDays to weeks for muscle strain; 4-6 weeks for bruised ribs; 6-8 weeks for fractures
Home careNSAIDs, ice then heat, pillow bracing when coughing, semi-upright sleep position
When to see a doctorPain not improving in 1-2 weeks, restricted breathing, fever, or history of bone disease
When to seek emergency careChest pain radiating to the arm or jaw, significant breathing difficulty, blood in mucus

Yes, Coughing Can Make Your Ribs Hurt

Each forceful cough triggers a rapid, simultaneous contraction of the intercostal muscles (the muscles running between each rib), the diaphragm, and the abdominal muscles. Together, these structures generate a compression force against the rib cage to push air out of the lungs quickly.

When coughing is frequent, prolonged, or particularly forceful, as it often is during a respiratory infection, bronchitis, or a bad cold, these muscles and surrounding structures absorb repeated stress. Three structures are most commonly affected: the intercostal muscles themselves, the costal cartilage (the flexible tissue connecting the ribs to the breastbone), and in rare cases, the rib bones. According to Cleveland Clinic, intercostal muscle strain is the most frequent musculoskeletal injury caused by coughing. In the vast majority of cases, it is the muscles that are affected, not the bone.

Intercostal Muscles Between Ribs
Intercostal Muscles Between Ribs


The Four Most Common Causes of Rib Pain After Coughing

CausePain TypeLocationKey Feature
Intercostal muscle strainDiffuse ache, worsens with twistingOne or both sides of ribcageAppeared gradually over days of coughing
CostochondritisSharp or dull, worsens with deep breathFront of chest, near breastboneTender when pressing on sternum junction
Bruised ribPersistent dull acheAcross ribcageWorsens with laughing, sneezing, deep breath
Rib fractureSharp, pinpointSingle precise spotWorsens noticeably with one deep breath

Intercostal Muscle Strain

Intercostal muscle strain is the most common cause of rib pain from coughing. The intercostal muscles attach each rib to the adjacent one and play a direct role in breathing and coughing mechanics. Repeated or forceful coughing overworks these muscles, causing micro-tears or inflammation. The pain tends to be diffuse rather than pinpointed, worsens with twisting the torso, and may be felt on one or both sides of the ribcage.

Costochondritis

Costochondritis is inflammation of the costal cartilage, the tissue that connects the ribs to the sternum (breastbone). It causes pain in the front of the chest that is often described as sharp or dull and worsens with deep breathing or coughing. A key distinguishing feature is that pressing firmly on the area where the ribs meet the breastbone reproduces the pain. According to the Mayo Clinic, costochondritis typically resolves on its own within a few weeks, though some cases persist for several months.

Bruised Rib

A bruised rib can result from repetitive, forceful coughing over several days. The pain is typically a persistent dull ache rather than a sharp, point-specific sensation. It worsens when coughing, laughing, sneezing, or taking a deep breath. Unlike a fracture, there is no single-point tenderness severe enough to make one deep breath feel unbearable. Mount Sinai notes that bruised ribs recover similarly to rib fractures but typically heal more quickly, within around four to six weeks.

Rib Fracture

A cough-induced rib fracture is rare in otherwise healthy adults but does occur. The pain is sharp, localized to a precise spot on the ribcage, and worsens noticeably with even one deep breath. People with osteoporosis, those on long-term corticosteroids, and women with a chronic cough of three or more weeks are at the greatest risk. In people who fracture a rib from coughing, the majority have been coughing for at least three weeks and many have reduced bone density, according to research cited in clinical literature.


How to Tell Which Injury You Might Have

No home assessment replaces a clinical examination, but certain patterns are useful for deciding whether to call a doctor.

Pain that is diffuse and bilateral (felt across both sides of the chest), worsens with twisting, and appeared gradually after several days of coughing points most strongly to intercostal muscle strain.

Pain that is located at the front of the chest, centered near the breastbone, and is tender to the touch when pressing on the sternum junction is more consistent with costochondritis.

A persistent dull ache across the ribcage that appeared after several days of intense coughing and hurts more when laughing or sneezing than when sitting still suggests bruised ribs.

Sharp, pinpoint pain on one side of the ribcage that worsens with a single deep breath, and that appeared suddenly during one forceful coughing episode, warrants medical evaluation for a possible fracture, particularly in anyone with osteoporosis or a chronic cough.

If the pain is in the upper right ribcage and is accompanied by nausea, fever, or yellowing of the skin, the source may be the gallbladder rather than the ribcage structures, and a doctor should be contacted.

Which Rib Injury do I Have
Which Rib Injury do I Have


How Long Does It Take for Ribs to Heal from Coughing?

Recovery timelines vary by injury type and individual health. As a general guide based on established clinical ranges:

  • Intercostal muscle strain (mild): A few days to one week
  • Intercostal muscle strain (moderate): Four to six weeks
  • Bruised rib: Four to six weeks
  • Rib fracture: Six to eight weeks in healthy adults; up to three months in some cases

For rib fractures specifically, pain typically becomes noticeably more manageable around the two-week mark, once early healing tissue starts to bridge the fracture ends. Addressing the underlying cough is as important as treating the rib pain itself, since continued coughing prolongs muscle strain recovery.

If you are managing ongoing respiratory symptoms alongside rib pain, connecting with a doctor through Momentary Lab can help identify and treat the underlying cause sooner.


What to Do Right Now: Home Treatment That Helps

Pain Relief

Ibuprofen (an NSAID) addresses both pain and inflammation and is commonly recommended for musculoskeletal rib pain. Naproxen sodium is another option with longer-lasting relief. Always take NSAIDs with food and follow the dosing instructions on the label. Acetaminophen can help with pain but does not address inflammation.

Ice and Heat

Applying ice wrapped in a cloth for 15 to 20 minutes at a time during the first 48 to 72 hours helps reduce inflammation. After that window, switching to a heating pad for 15 to 20 minutes helps relax tight intercostal muscles and improves blood flow to the area.

Supported Coughing Technique

When a coughing fit is unavoidable, bracing the chest reduces the force transmitted to sore muscles and ribs. Sit upright, press a small pillow or folded blanket firmly against the sore side of the chest, lean slightly forward, and cough. This counter-pressure stabilizes the rib cage and meaningfully reduces pain during the cough.

Supported Coughing Technique
Supported Coughing Technique

Sleep Position

For the first few nights after rib pain begins, sleeping in a semi-upright position, with the back supported by several pillows at a 30 to 45 degree angle, is more comfortable and supports better breathing than lying flat. Once pain begins to improve, sleeping on the uninjured side is usually manageable.

What Not to Do

Rib binding or wrapping the chest with a bandage or elastic brace should be avoided. While binding reduces pain in the short term, it restricts the ribcage's ability to expand fully. Mount Sinai's patient care guidelines note that rib binding raises the risk of secondary lung infection by preventing adequate deep breathing. Staying gently active with brief, easy walks is preferable to extended bed rest, which also impairs lung function.


Why Deep Breathing Matters During Recovery

When the ribcage hurts, the natural response is to take shorter, shallower breaths to avoid triggering pain. Shallow breathing, however, keeps the small air sacs in the lungs (alveoli) from fully expanding. Mucus can accumulate in these partially deflated sacs, which increases the risk of a secondary lung infection. This is particularly relevant for older adults and anyone with an underlying respiratory condition.

The recommended approach is to take several slow, controlled deep breaths every two hours, using pillow bracing to make each breath more manageable. For anyone diagnosed with a rib fracture, a healthcare provider may recommend an incentive spirometer, a simple device that guides deep inhalation, to support lung health during recovery. This guidance is consistent with patient care resources from Mount Sinai and University of Florida Health.

If rib pain is making it difficult to breathe normally and more than a day or two has passed, speaking with a doctor is a reasonable next step. The Momentary Lab AI healthcare navigator can help assess symptoms and identify the right level of care.


When to Seek Medical Care

Most rib pain from coughing does not require emergency attention. The following framework helps with the decision.

Should I See a Doctor for Rib Pain from Coughing
Should I See a Doctor for Rib Pain from Coughing

Home care is appropriate when pain is mild, improving over several days, does not restrict breathing, and there is no history of osteoporosis or recent trauma.

Contact a doctor when pain is not improving after one to two weeks; pain is severe enough to prevent normal deep breathing despite OTC pain relief; there is a history of osteoporosis, low bone density, or long-term steroid use; or a chronic cough has persisted for more than three weeks.

Seek urgent or emergency care when breathing is significantly difficult; chest pain radiates to the arm, jaw, or back; fever exceeds 101°F; blood appears in mucus when coughing; pain began after a fall or physical trauma; or there is a crackling sensation around the ribcage.

A doctor can also determine whether the cough itself needs treatment, which is often the most effective way to allow the ribs to heal. Find a specialist near you if symptoms are not resolving.


Rib Pain and Coughing in Specific Situations

Why Do My Ribs Hurt When I Cough or Sneeze?

Sneezing generates a force pattern very similar to coughing, involving a rapid, involuntary contraction of the same intercostal and abdominal muscles. When these muscles are already strained or inflamed, both sneezing and coughing trigger the same pain response. This pattern is common with intercostal strain and usually resolves as the underlying injury heals.

Why Do My Ribs Hurt When I Cough and Breathe?

Pain during both coughing and normal breathing is typical of costochondritis and bruised or fractured ribs, since all three involve ribcage movement. Intercostal muscle strain can also produce this pattern during deep inhalation. If pain is present during quiet, relaxed breathing rather than only during deep breaths or coughing, a clinical evaluation is warranted sooner.

Why Do My Ribs Hurt When I Cough or Laugh?

Laughing activates the intercostal muscles and causes the ribcage to move rapidly, in much the same way coughing does. Pain during laughter is not specific to one injury type; it can occur with muscle strain, bruised ribs, or costochondritis. Persistent pain during even gentle laughter after two weeks of rest is a reasonable reason to seek medical evaluation.

Why Do My Ribs Hurt When I Cough During Pregnancy?

Rib pain during pregnancy is more common than many people expect, and coughing adds to the discomfort. As the uterus grows, it pushes the ribcage upward and outward, stretching the intercostal muscles and increasing pressure on the lower ribs. A cough adds a sharp, additional force to this already-stressed area. In some cases, the lower ribs may be in direct contact with the baby's position, making coughing-related impact more uncomfortable. Rib pain in pregnancy that is persistent, consistently one-sided, or accompanied by swelling in the hands and face should be evaluated by a healthcare provider.


Frequently Asked Questions

Should I be concerned if my ribs hurt when I cough? In most cases, rib pain from coughing is caused by intercostal muscle strain and is not serious. It is worth contacting a doctor if the pain is severe, not improving after one to two weeks, prevents normal breathing, or is accompanied by fever, breathing difficulty, or blood in mucus. People with osteoporosis or a chronic cough lasting more than three weeks should seek evaluation sooner.

How do I get my ribs to stop hurting from coughing? The most effective immediate measures are OTC anti-inflammatory medication (ibuprofen or naproxen), applying ice to the area for the first 48 to 72 hours, and using a pillow to brace the chest when coughing. Treating the underlying cough with a suppressant or addressing its cause also reduces the ongoing strain on rib structures. Avoid chest wrapping or rib binding, as it restricts full breathing and raises the risk of secondary lung infection.

Is rib pain a symptom of pneumonia? Rib pain can occur alongside pneumonia, though it is typically a secondary effect rather than a direct symptom. Pneumonia causes lung inflammation and a persistent cough that strains the intercostal muscles. Inflammation of the pleura (the lining around the lungs), a condition called pleurisy that can accompany pneumonia, causes sharp chest and rib pain that worsens with breathing and coughing. Fever, shortness of breath, and a mucus-producing cough alongside rib pain are reasons to seek medical evaluation.

How long does it take for ribs to heal from coughing? Mild intercostal muscle strain resolves within a few days to a week. Moderate strains take four to six weeks. Bruised ribs typically heal in four to six weeks. Rib fractures generally take six to eight weeks in healthy adults, though some cases take up to three months. Reducing the frequency or force of coughing, where possible, supports faster recovery for muscle-related injuries.

Jayant Panwar

Written by

Jayant Panwar

Share this article