Rib Pain: Bruise, Nerve or Lung?

At a glance

This is about the ribs themselvespain you can point to on a rib, between two ribs or along the lower edge of the ribcage usually comes from the chest wall — a bruise, a fracture, an irritated nerve or a rib joint. Pressure or tightness in the middle of the chest is covered in the article on chest pain, brief stabbing pains on the left in the one on stabbing chest pain.
A bruise and a fracture feel similarboth hurt when you breathe, cough, laugh or twist. A fracture is more likely after a hard impact, an audible crack, or if the rib hurts when the chest is squeezed somewhere else.
Burning in a band on one side?Then think of an irritated intercostal nerve — and of early shingles, whose blisters often appear only days later.
Keep medicines in mindlong-term cortisone and aromatase inhibitors weaken the bones, ACE inhibitors trigger a dry cough that strains the ribs, and blood thinners make a fall onto the chest more risky.
Get it checked immediatelyrib pain with shortness of breath, coughing up blood, a racing heart or a cold sweat, chest pressure lasting more than five minutes, or a serious accident: 112 (emergency number in Germany). After a fall while taking blood thinners, with fever and stabbing pain on breathing, or with pain under the right ribs in late pregnancy: have a doctor examine you today.

The most common causes compared

CauseWhere and how it hurtsTypical triggerFirst step
Bruise, muscle strainPinpoint, on pressure, when breathing and twistingKnock, fall, sport, heavy liftingTake it easy, cool it, keep breathing deeply anyway
Rib fractureLike a bruise, often worse; cracking, pain at a distance when the chest is squeezedFall, accident; with osteoporosis even a severe coughHave it checked by a doctor; with shortness of breath call 112
Stress fractureCreeping onset, usually at the sideWeeks of coughing, rowing, golfHave it checked, find the cause of the cough
Intercostal nerve, shinglesBurning, electric, in a band on one side, skin sensitive to touchShingles, after chest surgery, thoracic spineWith blisters, see your practice promptly
Rib cartilage, rib–spine jointAt the breastbone or at the back next to the spineTwisting, long periods of sitting, unaccustomed postureWarmth, movement, physiotherapy if needed
Slipping rib (slipping rib syndrome)Lower edge of the ribcage, clicking or poppingBending, twisting, sportHave it assessed at your GP practice
Pleura, lungsStabbing pain with every breath, often with cough, fever or breathlessnessInfection; sudden with embolism or collapsed lungWith shortness of breath: 112; with fever, see your practice today
Organs under the ribsRight: gallbladder and liver, left: spleen and stomach, back: kidneysFatty food, infection, feverHave it checked by a doctor
Table scrolls to the right

Bruised a rib — and how often the painkiller?

Doses and pain levels recorded day by day — free of charge in the brite app.

Start tracking

The causes in detail

This article deliberately sticks to pain you can pin down to the ribs themselves: on a rib, in the space between two ribs, along the lower edge of the ribcage or at the side of the chest. Pressing, burning or widespread discomfort in the middle of the chest is covered in the article on chest pain; brief, pinpoint stabbing in the heart area and irritation of the rib cartilage at the breastbone are described in detail in the article on stabbing chest pain. Pain deep in the back below the ribs is covered in the article on flank pain.

Bruising and muscle strain: the most common reason

A knock against the edge of a table, a fall onto your side, an elbow during football or unaccustomed lifting when moving house: the chest wall, with its ribs, intercostal muscles and the lining of the bone (periosteum), responds with pain. Typically, the pain can be pointed to precisely with one finger and gets worse when you breathe in deeply, cough, sneeze, laugh or twist your upper body. Lying on the affected side is often hardly possible. A bruised rib can hurt for about as long and as badly as a fracture — often for several weeks.

First step: cool the area during the first few days and take it easy, but do not immobilise it. It is important to keep breathing in deeply at regular intervals despite the pain and to cough up mucus, so that the lungs stay well ventilated. A pillow pressed against the painful spot while you cough takes some of the strain off.

Rib fracture: when it is more than a bruise

Ribs usually break as a result of a direct impact: a fall, a cycling accident, a car accident. With osteoporosis, even small forces are enough — a fall from standing height, a hearty hug or a severe coughing fit. Signs of a fracture are a crack at the moment of the accident, a step or grinding you can feel, and pain at the injured rib when the chest is squeezed somewhere else.

A single rib fracture that has not shifted out of place usually heals by itself within a few weeks. The main purpose of an X-ray is to rule out complications: air in the chest cavity (pneumothorax), bleeding (haemothorax) or a bruised lung. With fractures of the lower ribs after an accident, the practice will also check the liver and spleen. Several broken ribs, older age, pre-existing lung disease and blood thinners considerably increase the risk of complications such as pneumonia — closer medical supervision, sometimes in hospital, then makes sense. A tight bandage or rib belt is generally no longer recommended today, because it restricts breathing.

Stress fracture: when coughing or training breaks the rib

Ribs can also break without an accident if they are put under strain again and again over weeks. Classic examples are a persistent cough, for instance with whooping cough, bronchitis or COPD, and sports with strong rotation of the trunk such as rowing or golf. The pain starts gradually, usually at the side of the chest, and gets worse with every coughing fit. A stress fracture is often not visible on an early X-ray. First step: have the cause of the cough treated and pause the strain. A stress fracture after only minor strain can point to reduced bone density.

Intercostal nerves and shingles

A nerve runs beneath each rib. If it is irritated (intercostal neuralgia), there is a burning, stabbing or electric pain in a strip that runs on one side from the back towards the front; the skin above it can be numb or oversensitive, so that even a T-shirt feels unpleasant. A common cause is shingles (herpes zoster): the pain often starts a few days before the clusters of blisters appear on reddened skin. Other triggers are chest surgery, scars and irritated nerve roots in the thoracic spine, and less often diabetes.

First step: as soon as blisters appear, see your practice promptly. According to the guideline, antiviral medicines such as valaciclovir work best if they are started within 72 hours of the rash appearing if possible, especially in people over 50. If the nerve pain persists after the rash has healed (postherpetic neuralgia), special medicines for nerve pain may be an option.

Rib joints at the spine and breastbone

At the back, each rib is connected to the thoracic spine by small joints. After a sudden movement, long periods of sitting or an awkward sleeping position, one of these joints can become painfully irritated — often called a “blocked rib”. Typically, the pain sits next to the spine and can radiate forwards along the rib when you breathe in or twist. Warmth, movement and physiotherapy usually help; the evidence for individual manipulation techniques is limited. At the front, at the junctions between cartilage and bone next to the breastbone, is where costochondritis occurs — more on this in the article on stabbing chest pain. In younger people with back pain at night and stiffness that improves with movement, ankylosing spondylitis can also affect the rib joints.

Slipping rib: clicking at the edge of the ribcage

At the front, the lower ribs are only loosely connected by cartilage and ligaments. If these connections are too lax, the tip of one rib can slide under the one above it and irritate the intercostal nerve (slipping rib syndrome). Typical signs are pain at the lower edge of the ribcage when bending, twisting or doing sport, a clicking or popping sensation and sometimes a dull pain in the upper abdomen. The condition is often missed and investigated as a stomach or gallbladder problem. The practice usually makes the diagnosis with a simple manoeuvre at the edge of the ribcage; treatment is generally physiotherapy, with severe symptoms a nerve block, and rarely surgery.

Pleura and lungs

The pleura lines the inside of the chest and is very sensitive to pain. If it is inflamed (pleurisy), it stabs with every breath — often as part of pneumonia with fever and cough, sometimes after a viral infection. A sudden, one-sided stabbing pain with breathlessness can point to a collapsed lung (pneumothorax), which mainly affects young, slim men and smokers or occurs after a rib fracture. Sudden pain on breathing with shortness of breath and a racing heart can be a pulmonary embolism, especially after surgery, a long journey, bed rest or with a swollen leg. Both are emergencies.

Under the ribs: when organs make themselves felt

Some “rib pain” comes from organs that lie directly beneath the lower ribs. On the right, these are mainly the gallbladder and liver: cramping pain after fatty food that pulls into the right shoulder suggests gallstones. On the left are the stomach and spleen; in glandular fever, the spleen can swell and rupture after a knock. Band-like pain in the upper abdomen that pulls into the back can fit with inflammation of the pancreas. At the back, below the ribs, the kidneys can make themselves felt, for example with a kidney infection and fever.

Pregnancy, fibromyalgia and rare causes

In the second half of pregnancy, the growing womb presses up against the ribs from below, and the baby sometimes kicks right there — uncomfortable, but usually harmless. A new, persistent pain under the right ribs in late pregnancy, especially with headache, visual disturbances or nausea, on the other hand, can point to a serious pregnancy complication (HELLP syndrome) and needs to be seen in hospital immediately. In fibromyalgia, tenderness of the chest wall is often part of a widespread pain picture. Rarely, bone metastases or multiple myeloma are behind it — signs are persistent bone pain even at rest and at night, unintended weight loss, night sweats or fractures without a matching accident.


Self-tests: first clues at home

These tests only make sense if there are no warning signs and there has been no serious accident. They do not replace a diagnosis and cannot rule out either a fracture or a disease of the lungs or heart — they help you describe the pattern at your doctor's appointment.

  • The finger test: if you can point to the painful spot precisely with one fingertip and pressing on it triggers exactly your pain, that points to the chest wall — a bruise, fracture or joint.
  • The squeeze test: place your hands on the sides of your chest and gently squeeze it together. If this hurts at the rib where you are not pressing at all, a fracture is more likely than a bruise. Do not press hard, and do not test after a serious fall.
  • The breathing and twisting test: does the pain get worse when you breathe in deeply, cough or twist your upper body? That fits with the chest wall, a rib joint or the pleura. If it hurts regardless of these movements, think more of the organs.
  • The skin check: look at the painful side in the mirror and stroke your hand over it. If the skin is oversensitive or numb in a strip, or if you see redness and small blisters, shingles may be starting.
  • The fever and breathing check: take your temperature and notice whether you get out of breath more quickly than usual when climbing stairs or talking. Fever, cough or new breathlessness together with rib pain should be checked by a doctor.
  • The meal review: does the pain under the right ribs come one to two hours after fatty food and pull into the shoulder? That is a clue pointing to the gallbladder, not a case for a pain-relief ointment.

Warning signs: when not to wait

  • Rib pain with shortness of breath, rapid breathing, coughing up blood, a racing heart, paleness or a cold sweat
  • Pressure, tightness or burning in the chest lasting more than five minutes, especially if it spreads to the arm, neck or jaw
  • Sudden, one-sided stabbing pain with breathlessness — even without an accident
  • A serious accident, several broken ribs, a section of the chest that moves in the opposite direction when you breathe, or increasing abdominal pain after a knock
  • A fall onto the chest if you take blood thinners, are over 65 or have a lung disease
  • Stabbing pain on breathing with fever and cough
  • Blisters in a strip on one side of the body
  • Pain under the right ribs in late pregnancy, especially with headache or visual disturbances
  • Persistent rib pain at night and at rest, weight loss or fractures without a matching accident
Breathlessness, coughing up blood or a serious accident: call 112 immediately If breathing becomes difficult, you cough up blood, your heart races or you break out in a cold sweat and feel anxious, a pulmonary embolism, a collapsed lung or a heart attack may be behind it. The same applies after an accident in which the chest was severely compressed. Call 112 (emergency number in Germany) immediately, sit with your upper body raised and do not stay alone.
Have it checked by a doctor today After a fall onto the chest while taking blood thinners, with stabbing pain on breathing and fever, with early shingles and with pain under the right ribs in late pregnancy, you should not wait for your next regular appointment — outside surgery hours, the out-of-hours medical service on 116 117 can help, and in pregnancy the maternity hospital.

The treatment pathway: step by step

  1. Rule out emergency signs. If any of the warning signs are present, call 112 or go to the emergency department — no waiting.
  2. Keep breathing despite the pain. With a bruise or an uncomplicated fracture, breathe in deeply on purpose several times a day, hold briefly and cough, pressing a pillow against your ribs. Shallow, protective breathing over several days makes pneumonia more likely.
  3. Relieve pain adequately, but briefly. The aim is to be able to breathe and sleep well enough for the lungs to stay ventilated. Which medicines are an option is covered in the medication section.
  4. Examination at your GP practice. Palpation, listening to the chest, and depending on the suspected cause ultrasound, X-ray or blood tests. Bring your medication plan — blood thinners, cortisone and bone medicines change the assessment.
  5. Targeted next steps. Antiviral treatment for shingles, physiotherapy and warmth for nerve or joint pain, targeted tests if an organ cause is suspected. A fracture after only a minor trigger is a reason to have your bone density measured.
  6. Specialist treatment if needed. For example with several rib fractures, persistent postherpetic neuralgia at a pain clinic, or slipping rib syndrome. Which treatment is right for you is always decided by the practice treating you, together with you.
An honest assessment Rib pain after a bruise or fracture above all needs time — often several weeks. Neither tapes nor ointments, magnetic fields nor dietary supplements have been shown to speed up bone healing. What has been shown to matter is well-ventilated lungs and a painkiller that is just enough to achieve that.

The medication angle: when tablets affect your ribs

Medicines can encourage rib pain in three ways: they weaken the bones, they trigger a cough that strains the ribs, or they make an injury more dangerous. If rib pain begins without a clear reason, it is worth taking a look at your medication plan.

Cortisone, aromatase inhibitors and acid blockers: bones under pressure

Cortisone taken long term, such as prednisolone, is the most common drug-related cause of osteoporosis; rib and vertebral fractures can then occur after only minor strain. According to the summary of product characteristics, aromatase inhibitors such as anastrozole lower bone density, which is why it is checked before and during treatment. For proton pump inhibitors such as omeprazole, the summaries of product characteristics mention a slightly increased risk of bone fractures, especially at high doses and when taken for more than a year. Which other medicines put a strain on the bones is summarised in the guide medications and osteoporosis risk.

ACE inhibitors: a dry cough that strains the ribs

Blood pressure medicines from the ACE inhibitor group, such as ramipril or enalapril, trigger a dry, tickly cough in some of the people taking them — often weeks to months after starting treatment. Weeks of coughing can strain the intercostal muscles and, with weak bones, even break a rib. If you have been coughing since starting an ACE inhibitor, talk to your practice: switching to another medicine is often possible. More on coughing at night in the article on dry cough at night.

Blood thinners: the fall that is more than a bruise

With anticoagulants such as apixaban, rivaroxaban or phenprocoumon, a rib fracture can bleed more heavily into the chest cavity or the chest wall. After a fall onto your chest, you should therefore have a doctor examine you the same day, even if the pain seems bearable at first. Do not stop the blood thinner itself on your own. More on this in the guide living with blood thinners.

Fluoroquinolones and hormones: warning signs behind the pain

For fluoroquinolone antibiotics such as levofloxacin or ciprofloxacin, the BfArM (German Federal Institute for Drugs and Medical Devices) has warned in a Direct Healthcare Professional Communication (Rote-Hand-Brief) of an increased risk of widening and tearing of the main artery (aorta). Sudden, severe pain in the chest, abdomen or back while taking a fluoroquinolone is therefore an emergency. Preparations containing oestrogen, such as the pill, increase the risk of thrombosis — stabbing pain on breathing with breathlessness or a swollen leg then needs to be checked immediately.

Painkillers: enough to breathe freely, but for a limited time

For bruises and uncomplicated fractures, medicines such as ibuprofen, diclofenac or paracetamol may be used for a short time. Without medical advice, the package leaflet usually says: no longer than three to four days in a row. Anti-inflammatories put a strain on the stomach, kidneys and cardiovascular system and increase the risk of bleeding if you take blood thinners; paracetamol must not exceed the maximum daily dose, otherwise the liver can be damaged. Metamizole can, very rarely, cause a dangerous drop in white blood cells — fever or a sore throat while taking metamizole needs to be checked by a doctor immediately. Stronger, prescription painkillers from the opioid group can suppress breathing; this needs particular attention with rib injuries and lung diseases. The painkiller comparison gives an overview; which treatment is right for you is always decided by the practice treating you.

Check the connection, do not stop anything on your own New rib pain while taking cortisone, a dry cough since starting a blood pressure medicine or a fall while on blood thinners are reasons to talk to your practice promptly. Stopping cortisone, blood thinners or an aromatase inhibitor on your own initiative can be more dangerous than the symptoms themselves.

Cortisone, blood thinners, blood pressure tablets — all in your plan?

Your medication plan shows your practice at a glance what affects your bones, cough and bleeding risk.

Create a medication plan

How to prevent rib pain

  • Avoid falls — remove trip hazards, use good lighting at night, wear sturdy shoes and practise balance training; especially important with osteoporosis or if you take blood thinners.
  • Strengthen your bones — exercise, enough calcium and vitamin D from your diet, no smoking; if you take cortisone long term or aromatase inhibitors, ask about your bone density.
  • Do not let a cough drag on — a cough that lasts longer than three weeks should be checked by a doctor, even if a medicine could be behind it.
  • Get vaccinated against shingles — the STIKO (Standing Committee on Vaccination in Germany) recommends vaccination with the inactivated vaccine from age 60, and from age 50 with certain underlying conditions.
  • Keep your trunk mobile — changing position at your desk, rotation exercises and training your back muscles take the strain off the rib joints; in sport, increase the load gradually.

Painkillers for how many days in a row?

Doses logged so that the maximum duration without medical advice is not exceeded without you noticing.

Log your doses

Common questions about rib pain

Only a medical examination can tell for certain. A fracture is more likely after a hard impact, an audible crack, a step you can feel, or if the rib hurts while the chest is squeezed somewhere else. Both feel similar and are treated in a similar way; the main thing is to rule out complications such as air or blood in the chest cavity.
Usually several weeks, and a bruise can hurt for about as long as a fracture. The pain should, however, ease from week to week. If it gets worse, if fever, cough or shortness of breath are added, or if nothing improves after a few weeks, have yourself examined again.
With a bruise or an uncomplicated fracture, cooling during the first few days, sleeping with your upper body raised and a pillow pressed against your ribs when you cough all help. A painkiller used for a short time can make it easier to breathe in deeply at regular intervals. Tight bandages are no longer recommended. Stabbing pain on breathing with fever or breathlessness should be checked by a doctor.
Yes. Irritated joints between the ribs and the thoracic spine, or irritated nerve roots, often radiate forwards along a rib and get worse when you breathe in or twist. Warmth, movement and physiotherapy usually help. However, a burning, band-like pain on one side can also be early shingles.
The liver and gallbladder lie under the right ribs. Cramping pain after fatty food that pulls into the right shoulder suggests gallstones. With fever or yellowing of the skin, this should be checked by a doctor the same day. In late pregnancy, pain like this is always a reason to go to hospital immediately.
Indirectly, yes. Long-term cortisone and aromatase inhibitors weaken the bones, so ribs break more easily. ACE inhibitors can trigger a dry cough that strains the ribs. If you take blood thinners, a rib fracture can bleed more heavily. Do not stop anything on your own; talk to your practice instead.
Call 112 immediately with shortness of breath, coughing up blood, a racing heart, a cold sweat, chest pressure lasting more than five minutes, a sudden one-sided stabbing pain with breathlessness, or after a serious accident. You should have a doctor check the same day if you fall onto your chest while taking blood thinners, have pain on breathing with fever, or have early shingles.

Pain, cough and medicines in view — with brite

Medication plan, dose reminders and symptom history in one place. Free of charge.

Start for free
brite App

Sources

  • German College of General Practitioners and Family Physicians (DEGAM): Guideline on chest pain, current version — German source. Accessed 2026.
  • S2k guideline on the diagnosis and treatment of herpes zoster and postherpetic neuralgia (German Dermatological Society et al., 2019) — German source. Accessed 2026.
  • Dachverband Osteologie (DVO, umbrella organisation for osteology): Guideline on the prevention, diagnosis and treatment of osteoporosis (2023) — German source. Accessed 2026.
  • Robert Koch Institute, Standing Committee on Vaccination (STIKO): Recommendation on vaccination against herpes zoster — German source. Accessed 2026.
  • MSD Manual, Consumer Version: Rib fractures, pneumothorax, pleurisy, shingles. Accessed 2026.
  • Gesundheitsinformation.de (IQWiG) and gesund.bund.de (German national health portal): Shingles, pulmonary embolism, osteoporosis, gallstones — German source. Accessed 2026.
  • BfArM (German Federal Institute for Drugs and Medical Devices): Direct Healthcare Professional Communication (Rote-Hand-Brief) on fluoroquinolones — risk of aortic aneurysm and dissection (2018) — German source. Accessed 2026.
  • Summaries of product characteristics for the active substances mentioned (including prednisolone, anastrozole, omeprazole, ramipril, levofloxacin, ibuprofen, paracetamol, metamizole). Accessed 2026.

This article is for general information and does not replace medical advice, diagnosis or treatment. The self-tests described are a guide and not a diagnosis; they cannot rule out a rib fracture or a disease of the lungs or heart. If you have shortness of breath, are coughing up blood, have a racing heart or chest pressure lasting more than five minutes, or after a serious accident or a fall while taking blood thinners, please contact a doctor or the emergency services on 112 without delay.