7 JCI-accredited hospitals · 45+ hospitals & clinics · 90+ countries served · 24/7 multilingual support
Symptoms Explained

Rib Pain: Bruised Ribs, Costochondritis and Organ Causes and When It Needs Urgent Attention

19 min read
Rib Pain: Bruised Ribs, Costochondritis and Organ Causes and When It Needs Urgent Attention

Key Takeaways

  • The NHS states that bruised and broken ribs usually heal on their own in about 3 to 6 weeks, and most people do not need an X-ray.
  • After a rib injury, breathing normally and coughing when needed protects the lung behind the rib; the NHS advises against strapping or binding the chest.
  • Costochondritis is tender to press and worse with deep breaths or activity; the NHS says it usually settles over a few weeks but can last several months.
  • Shingles pain can begin a few days before any rash, and the CDC reports that about 10 to 18 percent of people develop lasting nerve pain afterward.
  • Gallstone pain under the right ribs typically lasts 1 to 5 hours and may spread to the shoulder blade, according to the NHS.
  • In the Marburg Heart Score study of 2010, chest wall tenderness lowered but did not eliminate the likelihood that chest pain came from the heart.
Quick Answer

Rib pain most often comes from the chest wall itself: a bruised or cracked rib, a strained muscle between two ribs, or costochondritis, inflammation of the cartilage that joins the ribs to the breastbone. Organs beneath the ribs, including the lungs, gallbladder, liver, spleen and kidneys, can also refer pain there. Rib pain with chest pressure, breathlessness, coughing blood or fainting needs emergency care.

It happens at the most ordinary moment. Someone laughs too hard at dinner, reaches across the car for a seatbelt, or sneezes while bending over the dishwasher, and a sharp line of pain lights up along one side of the chest. The first instinct is to press on it, which hurts. The second is to take a deep breath to check whether that hurts too. It usually does.

Rib pain sends people to search engines in large numbers for one simple reason: the rib cage covers the heart and lungs, and nobody wants to guess wrong. The reassuring part, a consistent finding of chest-pain studies in general practice, is that the great majority of these aches come from the wall of the chest itself and settle on their own. The task is recognizing the few that do not.

This guide walks through the common causes first, then the organ and emergency causes, and explains what a clinician actually looks for when you arrive with a hand pressed to your side.

Rib pain: the short answer and the signs that need emergency care

Most rib pain is a chest wall problem. The ribs, the cartilage joining them to the breastbone and the thin muscles stretched between them are easy to bruise, strain or inflame, and they all hurt in a recognizable way: a sore spot you can find with a fingertip, worse when you twist, cough or breathe in deeply. Bruised ribs, intercostal muscle strain (a pulled muscle between two ribs) and costochondritis (inflammation of the rib cartilage) account for the bulk of visits for this symptom.

A smaller group of causes comes from underneath the ribs rather than the ribs themselves. The lungs and their lining, the heart, the gallbladder and liver on the right, the spleen and stomach on the left, and the kidneys at the back all sit inside or just below the rib cage, and any of them can send pain to the chest wall.

Some of those causes are emergencies. Call emergency services rather than waiting if rib or chest pain comes with any of the following, which the American Heart Association and the NHS list as warning signs of a heart attack, a lung clot or a collapsed lung:

  • Pressure, squeezing or heaviness in the chest that spreads to an arm, the jaw, neck or back
  • Sudden breathlessness, or breathing that gets harder minute by minute
  • Coughing up blood
  • Fainting, a racing heartbeat, cold sweat or blue-tinged lips
  • Pain that began with a fall, a crash or a blow to the chest and is getting worse

Everything that follows assumes those signs are absent.

What sits in and around the rib cage

Twelve pairs of ribs curve from the spine to the front of the chest. The upper seven attach to the breastbone through short bars of cartilage, the next three share cartilage with the rib above, and the lowest two float free at the back. Between each pair run the intercostal muscles, which lift the ribs with every breath, and beneath each rib lies an intercostal nerve, a thin cord carrying sensation from a band of skin that wraps around one side of the trunk.

Doctor explaining ribcage anatomy to male patient: What sits in and around the rib cage

Inside the cage the lungs fill most of the space, each wrapped in the pleura, a two-layered membrane that normally glides without friction. The heart sits slightly left of center. The diaphragm, the dome-shaped breathing muscle, forms the floor, and tucked just beneath it are the liver and gallbladder on the right, with the stomach, spleen and tail of the pancreas on the left. The kidneys rest against the back wall under the lowest ribs.

That crowding explains why rib pain is such a broad complaint. Pain from the chest wall is usually sharp, local and reproducible by pressing or moving. Pain from an organ tends to be duller, harder to pin to one spot and tied to something other than movement: a meal, a fever, a cough, exertion or lying flat. Clinicians call the second kind referred pain, meaning pain felt at a distance from its source, and much of the examination is about telling the two apart.

Bruised ribs and rib fractures: bruised ribs healing time and what to expect

A rib takes real force to break but far less to bruise, and the two feel much the same: a tender point over one or two ribs, a stab of pain with each deep breath, cough, sneeze or twist, and a skin bruise that may take a day to appear. Falls, seatbelts, contact sports and, in older adults with thinner bone, even a hard coughing fit are the usual triggers.

The NHS advises that both broken and bruised ribs usually get better on their own in about 3 to 6 weeks, and that most people do not need an X-ray, because a simple fracture is managed the same way whether or not it shows on film. The NEXUS Chest study, published in 2013, produced a checklist that helps emergency clinicians decide who can safely skip imaging after a blunt chest injury; older age, chest wall tenderness, intoxication, a rapid-deceleration mechanism and other painful injuries push toward a scan.

The real hazard is not the crack itself but what shallow breathing does to the lung behind it. Guarding the sore side lets secretions pool and sets up pneumonia, which is why every rib-injury leaflet asks you to breathe normally and cough despite the discomfort. Several fractures, a fracture in a frail older adult, or a segment of chest wall that moves inward when you breathe in (a flail chest) are managed in hospital, where the priority is pain control good enough to allow full breaths.

Costochondritis symptoms and how clinicians recognize them

Costochondritis is inflammation of the cartilage that links the ribs to the breastbone. The NHS describes its hallmark as sharp chest pain, usually at the front and often on the left, that worsens with deep breaths, coughing, sneezing, physical activity or lying down, and that can be reproduced by pressing on the affected joints. Several neighboring joints are typically involved. When a joint is also visibly swollen, clinicians use the name Tietze syndrome.

Doctor consulting with patient in office setting: Costochondritis symptoms and how clinicians recognize them

Nobody fully knows why it starts. Repeated coughing, heavy lifting, a new exercise routine, a chest infection and recent chest surgery are common preceding events, and sometimes there is none. No blood test or scan confirms it; the diagnosis rests on the typical story and examination once more serious causes have been weighed. The NHS notes that it usually settles over a few weeks but can last for several months or more, and it may come and go.

Tenderness on pressing is reassuring but not decisive. In the Marburg Heart Score study of 2010, a chest-pain rule developed in primary care, reproducible chest wall tenderness lowered the probability of a cardiac cause without removing it, and the score always combines it with age, sex, known vascular disease, pain on exertion and the patient’s own suspicion that the heart is involved. That is why a clinician who suspects costochondritis in an older adult, or in anyone with heart risk factors, will often still record an electrocardiogram before saying so.

Is my rib pain muscular? How to tell

A strained intercostal muscle is one of the most common causes of rib pain in otherwise healthy adults, and it usually arrives with a story. The pain began during or after something: a long bout of coughing, lifting a suitcase into an overhead locker, a golf swing, a first week of rowing or push-ups, or an awkward reach into the back seat of a car.

Muscular pain has a recognizable pattern:

  • You can point to it, and pressing the spot or the band of muscle beside it reproduces the ache
  • Twisting, side-bending and reaching make it worse; sitting still makes it better
  • A deep breath hurts at the top of the breath rather than all the way through
  • It is sharp at first, then settles into a bruised, pulling feeling
  • There is no fever, breathlessness, sweating, nausea or rash

Clinicians look for the same things. They watch you breathe, ask you to twist against gentle resistance and feel along the rib spaces for the tender band. A strain that behaves this way and has an obvious trigger rarely needs imaging. The NHS advises that most sprains and strains feel better after about 2 weeks, with strenuous exercise best avoided for longer. A rib strain that is still limiting you well beyond that point deserves a review, because a cracked rib, costochondritis and nerve pain can all imitate it.

When pain follows a stripe around one side of the chest rather than sitting on one spot, suspect the intercostal nerve rather than the rib. Shingles is the classic example. It is a reactivation of the chickenpox virus in a single nerve, and the CDC notes that burning, tingling or itching pain in that nerve’s band often begins a few days before any rash appears, exactly the window in which it gets mistaken for a pulled muscle or a heart problem. The rash of fluid-filled blisters usually scabs over within 7 to 10 days and clears within 2 to 4 weeks. According to the CDC, about 10 to 18 percent of people go on to postherpetic neuralgia, nerve pain persisting months after the rash has gone, and the risk rises with age. Antiviral medicines work best when started early, so a one-sided band of pain in someone over 50 is worth a prompt appointment.

Slipping rib syndrome, also called painful rib syndrome, involves the eighth to tenth ribs, whose cartilage attachments can loosen and let one rib tip slide under its neighbor. The result is sharp pain at the lower edge of the rib cage, sometimes with a click, brought on by bending or twisting. Clinicians reproduce it with the hooking maneuver, curling their fingers under the rib margin and pulling gently forward.

Less often the nerve is pinched where it leaves the spine, from a disc problem or arthritis in the mid-back. The pain then wraps forward from a sore point beside the spine, and bending the back changes it more than breathing does.

Pain under the right rib cage, under the left rib cage and on the side of the ribs: organ causes

On the right, the liver and gallbladder sit directly beneath the lower ribs. Gallstones cause a steady, intense pain in the upper right abdomen or just under the ribs that the NHS says typically lasts between 1 and 5 hours, often after a fatty meal, and may spread to the right shoulder blade. Fever, yellowing of the eyes or dark urine suggest the gallbladder is inflamed or a stone has blocked the bile duct. The liver itself rarely hurts, but a swollen liver from hepatitis or heavy alcohol use can give a dull ache in the same place. The base of the right lung lies behind these ribs too, so pneumonia or pleurisy there can masquerade as rib or even abdominal pain.

On the left, the spleen tucks under the lower ribs. It enlarges with some infections, including glandular fever, and can tear after a blow to the left flank, one reason contact sport is advised against during and after that illness. The stomach and the tail of the pancreas are also here. Acid reflux and gastritis produce a burning pain behind the lower breastbone, while pancreatitis gives a deep, boring pain that bores through to the back and worsens after eating.

At the back on either side, pain under the lowest ribs beside the spine, especially with blood in the urine, fever or pain that comes in waves, points to the kidney.

What separates all of these from chest wall pain is the company it keeps: meals, fever, jaundice, urinary symptoms or nausea, together with the absence of a sore spot you can press.

When rib pain comes from the heart, the lungs or a blood clot

A heart attack rarely feels like rib pain, but it can, particularly in women, older adults and people with diabetes, whose symptoms the American Heart Association describes as more often breathlessness, nausea, back or jaw pain and unusual fatigue than crushing central chest pain. The distinguishing features are that it builds over minutes, is not altered by pressing or breathing, and often arrives with sweating or a sense of dread.

Pericarditis, inflammation of the sac around the heart, is sharp and central, worse lying flat and eased by sitting forward, and often follows a viral illness.

Pleurisy is inflammation of the pleura, the lining around the lungs. The NHS describes it as a sharp, stabbing chest pain that is worse when you breathe in, cough or sneeze, and it is commonly linked to a chest infection. Unlike costochondritis it is usually not tender to the touch, and a clinician may hear a creaking rub through the stethoscope.

Two lung emergencies can mimic a pulled muscle. A pulmonary embolism, a clot that has traveled to the lungs, causes sudden one-sided chest pain with breathlessness, a fast heartbeat and sometimes a swollen calf, and is more likely after surgery, long immobility, pregnancy or hormone treatment. A pneumothorax, air leaking into the space around the lung so that it partly collapses, causes abrupt sharp pain and breathlessness, classically in tall, slim young adults or people with lung disease. Both are confirmed with imaging and managed in hospital.

Rib cage pain causes at a glance

The table below gathers the causes above into the three questions a clinician is silently asking: what does it feel like, what goes with it, and what happens next.

Cause Typical features Usual next step
Bruised or cracked rib Injury, point tenderness, pain on deep breath or cough Examination; X-ray only if checklist criteria met; home care over 3–6 weeks
Intercostal muscle strain Clear trigger, pain on twisting or reaching, sore band between ribs Examination; rest from the trigger, gentle movement, time
Costochondritis Tender cartilage beside breastbone, worse with breathing and activity Examination; ECG if risk factors; reassurance and time
Shingles Burning one-sided band; rash follows days later Prompt review; antiviral decision by clinician
Slipping rib syndrome Lower rib edge, click, triggered by bending or twisting Hooking maneuver; sometimes imaging
Pleurisy or pneumonia Sharp pain on breathing in, cough, fever, not tender to touch Chest X-ray; treatment depends on cause
Gallstones Right upper pain after meals lasting 1–5 hours, may reach shoulder blade Ultrasound and blood tests
Kidney stone or infection Flank pain under back ribs, blood in urine, fever Urine test and imaging
Heart attack, pulmonary embolism, pneumothorax Pressure or sudden pain with breathlessness, sweating or fainting Emergency services; ECG, troponin, CT

No single row is a diagnosis. The pattern matters more than any one feature, which is why the examination described next is still worth having even when the story seems obvious.

What the examination and tests for rib pain involve

The consultation starts with questions that do most of the work: what you were doing when it began, whether breathing, movement, meals or exertion change it, whether there has been a cough, fever, rash, injury, recent surgery or long travel, and what your heart risk looks like. The clinician then presses along each rib and the joints beside the breastbone, watches you breathe, asks you to twist and reach, listens to the lungs and heart, and feels the abdomen under the rib margins.

Tests follow the suspicion, not a routine list.

  • An electrocardiogram (ECG), a tracing of the heart’s electrical activity, is recorded early whenever a cardiac cause is possible; NHS and European guidance aim for it within minutes of arrival.
  • A troponin blood test measures a protein released by injured heart muscle and is often repeated a few hours later.
  • A chest X-ray shows pneumonia, a collapsed lung, fluid and some fractures, though it misses many rib cracks.
  • Ultrasound is the usual first look at the gallbladder and liver.
  • A D-dimer blood test, which rises when clots are forming and breaking down, helps rule out pulmonary embolism in lower-risk people; a CT scan of the chest confirms one.

Costochondritis and muscle strain have no confirmatory test. When the story and examination fit and the relevant checks are normal, that is the diagnosis, and it is a confident one rather than a shrug.

What is reasonable to do at home

For a bruised rib, a strained muscle or costochondritis, NHS and MedlinePlus advice overlaps almost entirely.

  • Breathe normally and cough when you need to, even though it hurts; regular deep breaths through the day keep the lung bases open after a rib injury.
  • Hold an ice pack wrapped in a cloth against the sore area during the first few days after an injury; warmth may suit a tight muscle later on.
  • Keep moving. Gentle walking and ordinary daily activity speed recovery; bed rest does not.
  • Do not bind the chest. The NHS specifically advises against wrapping a bandage tightly around the ribs because it restricts breathing.
  • Sleep propped on pillows, or on the painless side, if lying flat hurts.
  • Hug a pillow against the chest when you cough or sneeze.
  • Avoid the trigger: no heavy lifting, contact sport or repeated twisting until the pain has clearly eased.
  • If you smoke, stopping even temporarily lowers the chance of a chest infection while the ribs heal.

Over-the-counter pain relief, usually paracetamol (acetaminophen) or an anti-inflammatory such as ibuprofen, is commonly suggested so that you can breathe and move comfortably. Anti-inflammatories are not suitable for everyone, including some people with kidney, stomach or heart conditions, so a pharmacist or your clinician should confirm what fits you. Anyone already taking blood thinners or heart medicines should not alter them because of rib pain without medical advice.

What people often get wrong about rib pain

“If pressing on it hurts, it cannot be my heart.” Tenderness makes a cardiac cause less likely, not impossible. The Marburg Heart Score of 2010 treats it as one clue among five, and older adults and people with diabetes can have a heart attack with surprisingly little chest pain of any kind.

“Every rib injury needs an X-ray.” The NHS says most do not, because a simple fracture and a bruise are managed identically. Imaging is reserved for people who meet injury checklist criteria or who are breathless.

“Strap the ribs to protect them.” This was standard advice decades ago and is now advised against. Binding restricts breathing and raises the risk of pneumonia.

“A bruised rib is trivial.” For a fit young adult, mostly yes. For a frail older adult the same injury can lead to a chest infection within days, which is why clinicians treat rib injuries in that group more seriously.

“Left-sided means heart, right-sided means it cannot be.” Costochondritis is often left-sided, and heart pain can sit centrally or on the right.

“Costochondritis is a lifelong condition.” The NHS describes it as usually settling over weeks, occasionally months; it can recur, but it does not damage the heart or lungs.

“No injury, so it cannot be a cracked rib.” In older bones and in people on long-term steroid treatment, a coughing fit is enough.

When to see a doctor

Call emergency services now if rib or chest pain comes with any of these red-flag signs:

  • Pressure, tightness or heaviness in the chest, especially spreading to an arm, jaw, neck or back
  • Breathlessness that is new, sudden or worsening
  • Coughing up blood
  • Fainting, a very fast or irregular heartbeat, cold sweat, or lips or skin turning blue or grey
  • Pain after a significant fall, crash or blow to the chest, particularly in an older adult or anyone on blood thinners
  • A swollen, painful calf alongside the chest pain

Arrange a same-day appointment if there is fever with the pain, a rash appearing along one side of the chest, yellowing of the skin or eyes, blood in the urine, pain under the right ribs that lasts more than an hour or keeps returning after meals, or pain severe enough that you cannot take a full breath.

Book a routine appointment if the pain has lasted longer than about 6 weeks, keeps you awake at night, is spreading or worsening rather than easing, comes with unexplained weight loss, or began without any injury in someone over 60 or with a history of cancer.

Children with rib pain after a fall, or any child who is breathing fast or struggling to breathe, should be assessed the same day. In pregnancy, pain just under the ribs, especially on the right and alongside headache, visual disturbance or sudden swelling, is one of the NHS warning signs of pre-eclampsia and needs urgent review by the maternity team.

Frequently asked questions

What are the possible causes of rib pain?

The most frequent causes are chest wall problems: a bruised or cracked rib, a strained intercostal muscle, or costochondritis affecting the rib cartilage. Nerve causes include shingles and slipping rib syndrome. Organs beneath the ribs, such as the lungs and pleura, heart, gallbladder, liver, spleen and kidneys, can also refer pain to the rib area, usually with other symptoms such as fever, nausea or breathlessness.

When should I be concerned with rib pain?

Seek emergency care for rib pain with chest pressure, breathlessness, coughing blood, fainting, sweating or a serious injury. See a clinician promptly for fever, a one-sided rash, jaundice, blood in the urine or pain that stops you taking a full breath. Pain lasting beyond about 6 weeks, night pain, weight loss or pain without injury in an older adult should be reviewed.

How can I tell if rib pain is muscular?

Muscular rib pain usually has a trigger such as coughing, lifting or new exercise, sits in one spot you can point to, is reproduced by pressing or twisting, and eases with rest. It does not come with fever, breathlessness, sweating or a rash. A clinician confirms it by examination; no test proves it, but it typically improves within about 2 weeks.

What could be causing pain on the side of my ribs?

Side-of-rib pain is most often an intercostal muscle strain or a bruised rib. A burning band suggests shingles, even before the rash. A click at the lower rib edge suggests slipping rib syndrome. Sharp pain on breathing in with a cough or fever points to pleurisy, while pain lower down at the back may be the kidney, and on the left, the spleen.

What is the usual bruised ribs healing time?

The NHS advises that bruised and broken ribs usually get better on their own in about 3 to 6 weeks. Pain is worst in the first week or two and gradually eases. Breathing normally, coughing when needed and staying gently active help prevent chest infection, while binding the chest is advised against. Pain lasting well beyond 6 weeks deserves a review.

What are the main costochondritis symptoms?

Costochondritis causes sharp pain at the front of the chest, often on the left, that is worse with deep breaths, coughing, sneezing, activity or lying down and is reproduced by pressing on the cartilage beside the breastbone. Several joints are usually tender. There is no swelling unless it is Tietze syndrome, and no fever, breathlessness or sweating.

What causes pain under the right rib cage?

Pain under the right rib cage can come from the ribs or muscles, but the gallbladder, liver and the base of the right lung lie directly beneath them. Gallstone pain is steady, follows meals, typically lasts 1 to 5 hours and may spread to the shoulder blade. Fever, jaundice or dark urine with the pain needs same-day assessment.

Can anxiety cause rib pain?

Yes. Anxiety tightens the chest and intercostal muscles and can lead to rapid shallow breathing that strains them, producing a real ache that pressing often reproduces. Clinicians consider this explanation only after examining you and, where appropriate, checking the heart, because anxiety and a physical cause can coexist. Slow breathing and movement usually ease it.

Is rib pain in pregnancy normal?

Rib discomfort is common in later pregnancy as the growing uterus pushes the lower ribs outward and the baby presses upward. Pain just under the ribs, particularly on the right, together with headache, visual disturbance, sudden swelling or nausea is a warning sign of pre-eclampsia listed by the NHS and needs urgent review by the maternity team.

Can rib pain be a sign of cancer?

Rarely. Cancer that has spread to a rib, or a lung tumor near the chest wall, can cause rib pain, but it is usually persistent, worsening, present at night and accompanied by weight loss, a cough or a known cancer history. A clinician assesses this with examination and imaging. The overwhelming majority of rib pain has a benign chest wall cause.

References

This article is for general information only and is not a substitute for professional medical advice. Please consult a qualified doctor about your individual situation.

Add Acıbadem on Google

Add us as a Preferred Source to see more of our trusted health content across Google Search, AI Overviews and Discover.

Share this page
Dr. Şule Eren
Dr. Şule Eren, MD
Author
View profile →
Published November 24, 2026
Keep Reading

More from the Blog

We’re With You at Every Step

How can we help you today?

We value your privacy We use essential cookies to run this site and, with your consent, analytics cookies to understand how it is used and improve it. You can accept, reject, or choose what to allow. See our Cookie Policy.