Medical emergency? Call 112 or your local emergency number immediately.
What we treatJoint PainRib cage pain
English-speaking doctors across Europe · Open daily 7am–11pm

Rib Cage Pain Treatment Online

Mobi Doctor offers online assessment and treatment of rib cage pain across Europe. A licensed doctor reviews your rib cage pain by video, usually within about 15 minutes: where it sits, whether breathing, movement or pressing brings it on, then separates muscle and joint causes, which are often treatable online, from heart, lung and abdominal causes that need in-person tests. No referral, no long wait, and never a prescription without a consultation.

  • Licensed doctors by video, 7am–11pm daily
  • Prescriptions sent to a pharmacy near you
  • Full refund if we can’t help you online

Speak with a doctor: live video assessment, advice and treatment. Express assessment: answer a few questions and a doctor reviews them, no video call needed.

No clinic visit needed. If you do need in-person care, the doctor tells you, and you get a full refund.

A prescription is never issued without a consultation.

Medically reviewed

Dr. Chrysoula I. Liakou MD, PhD Google Scholar LinkedIn

Internal Medicine Specialist
Cancer Immunology Researcher
Key facts
  • Treated online: Yes, for assessment and a treatment plan; imaging happens in person.
  • Most rib cage pain comes from the chest wall (muscles, rib joints or costochondritis) and settles over days to weeks; the assessment focuses on separating it from heart and lung causes first.
  • With bruised or cracked ribs, keep breathing deeply; shallow breathing lets the lung bases close and invites a chest infection.
  • Shingles can cause burning, one-sided rib pain in a band days before its rash appears, and treatment works best early.
  • Do not self-diagnose a first episode: if the pattern is unclear or any cardiac feature is present, call 112.
Call 112 first: do not book an appointment for these

Call 112 immediately if rib or chest pain comes with pressure, tightness or heaviness in the chest, spreads to your arm, jaw, neck or back, or arrives with breathlessness, sweating, nausea or faintness: this can be a heart attack. Also call 112 for sudden sharp pain with breathlessness, coughing up blood, or a hot swollen calf, which can signal a blood clot in the lung, and after any major chest injury such as a car accident or a fall from height.

Can an online doctor treat rib cage pain?

Yes
Rib cage pain: assessment and treatment plan online.

Yes, when it is musculoskeletal, which most rib cage pain is. Chest-wall pain that is sharp, localised and reproduced by pressing, moving or deep breathing can usually be assessed by video and treated with a clear plan. The doctor first screens for heart, lung and abdominal causes, and any emergency pattern is routed to 112, not an appointment.[1]

A note about children: Mobi Doctor does not see children at the moment; consultations are for adults aged 18 and over. An unwell child or teenager needs a paediatrician or a local doctor in person, and emergency signs in a child mean 112.

How an online consultation helps with rib cage pain

  • The serious causes screened first: The consultation opens with the heart, lung and clot questions, so a dangerous cause is routed to emergency care in minutes, not discovered after a week of guessing.
  • A guided self-examination: You press where the doctor directs, take a deep breath, twist and reach on camera; where the pain reproduces tells the doctor a great deal about its source.
  • An explanation that holds: Costochondritis and muscle strains frighten people because they mimic serious pain. Understanding why it hurts when you breathe is half the treatment.
  • The right tests when needed: If your pattern needs an ECG, a chest X-ray or an ultrasound, the doctor says so plainly and directs you to the right place with a letter, rather than treating blind.

Is my rib cage pain muscular, or my heart or lungs?

Muscular and joint-related rib cage pain is usually sharp, localised, worse with movement, deep breaths or pressing on the sore spot. Heart pain is more often a pressure or heaviness, brought on by exertion and spreading to the arm, jaw or back. Sudden pleuritic pain with breathlessness raises a lung cause. When in doubt, treat it as urgent.[1]

Chest-wall pattern: usually safe to assess online

Pain from ribs, rib joints and chest-wall muscles is typically sharp or aching, sits in one spot you can point to, and is reproduced by pressing there, twisting, reaching or breathing deeply. It often follows coughing, unaccustomed exercise or an awkward strain. One caution keeps the assessment honest: tenderness to pressing makes a chest-wall cause more likely, but it does not by itself rule out a heart problem, so the doctor always screens the whole picture before settling on a muscular explanation.[1]

Cardiac pattern: call 112

Heart-related pain is more often central, pressing or squeezing rather than sharp, brought on or worsened by exertion, and eased by rest. It may spread to the left arm, both arms, jaw, neck or back, and travel with sweating, nausea, breathlessness or lightheadedness.[2] That pattern is a 112 call, immediately, whatever time it is. Chest discomfort that is new, unexplained or simply does not fit the muscular pattern deserves the same caution; our page on chest pain and when it is an emergency covers this differentiation in more depth.

Lung pattern: pleurisy and blood clots

Pain from the lining of the lung (pleurisy) is sharp and catches on breathing in, like the chest-wall pattern, but it is not tender to pressing and often travels with fever, cough or breathlessness. The emergency version is a pulmonary embolism, a blood clot in the lung: sudden pleuritic pain with breathlessness, sometimes coughing up blood, a racing heart, or a hot swollen calf, and the risk rises after long immobility, recent surgery, pregnancy or with combined hormonal contraception.[3] That combination means 112, not an appointment.

What the doctor checks in an online rib cage pain consultation

The consultation runs the differentiation above in a fixed order. The doctor will typically check:

  • The emergency screen first: exertional pressure, radiation to arm or jaw, breathlessness, sweating, coughing blood, calf swelling, recent surgery, long travel or immobility, and major trauma.[1][3]
  • Where the pain is, exactly: you point on camera; breastbone-edge pain suggests costochondritis, a band around one side suggests a rib or nerve source, pain under the ribs shifts attention to the organs beneath.
  • What provokes it: guided pressing, deep breaths, twisting and reaching, to see whether the pain reproduces from the chest wall.
  • How it began: a coughing fit, new exercise, an awkward lift, a minor knock, or nothing at all, which matters because spontaneous unexplained pain earns more caution.
  • Skin and history: any rash along the painful area (shingles declares itself within days), recent chest infections, reflux and stomach history, stress and sleep.
  • Risk background: age, smoking, blood pressure, diabetes, family heart history and clot risk factors, which set the threshold for in-person tests.

If the picture is confidently musculoskeletal, treatment starts immediately. If not, you get specific directions: which test, where, and how urgently, with an emergency pattern sent to 112 on the call itself.

What causes pain in ribs?

Pain in the ribs most often comes from the chest wall itself: strained muscles between the ribs after coughing or exertion, irritated rib joints, or costochondritis, inflammation of the cartilage joining ribs to breastbone. Less often it comes from the organs beneath, the spine behind, or a shingles rash following one rib.

Costochondritis: the most common named culprit

Costochondritis is irritation of the cartilage junctions where the upper ribs meet the breastbone. It causes sharp, aching or pressure-like pain at the edge of the breastbone, usually on the left, worse with deep breaths, coughing, twisting or pressing on the spot, and it can follow coughing bouts, unaccustomed exercise or repeated lifting, or arrive without any clear trigger. It is benign and settles by itself, usually over a few weeks, occasionally over months, but it worries people out of proportion because pain near the heart feels like the heart. Two features help distinguish it: costochondritis is precisely tender to pressing at the rib-cartilage junctions, and it is not brought on by exertion the way cardiac pain is. When there is visible swelling at the same junctions the condition is called Tietze syndrome, a rarer cousin managed the same way. First-time pain in this area still deserves the full screen above before it is labelled costochondritis; that is exactly what the consultation is for.

Strained muscles and coughing fits

The muscles between and over the ribs strain like any others: hard coughing during a chest infection, a heavy session at the gym, an awkward twist while carrying. The pain is sore to stretch and press, flares when you cough or laugh, and heals over one to three weeks. A violent or prolonged coughing illness can occasionally crack a rib, which produces sharper, more localised pain; the practical management overlaps, and the doctor advises when an X-ray adds anything.

Rib injuries

Bruised and simply cracked ribs are painful but usually heal themselves over three to six weeks. The management surprise for most people: breathing small to protect the pain is the one thing to avoid, because shallow breathing lets the lung bases close and invites a chest infection. Adequate pain relief, ten slow deep breaths every hour, and a cough supported by a pillow hugged to the chest protect the lung while the rib heals. Major trauma, more than mild breathlessness, or worsening pain after an injury needs in-person assessment.

Shingles, the spine, and stress

Shingles can cause burning, one-sided rib pain days before its rash appears, following a single rib in a band; treatment works best started early, so mention any tingling or blistering.[5] Rib pain is also referred forwards from stiff joints in the thoracic spine, worth suspecting when your back is also stiff and certain postures set it off; assessing it alongside back pain often solves both. And stress genuinely tightens the chest wall: anxious breathing patterns overwork the rib muscles, producing real aching and a sense of not filling the lungs, commonly alongside a racing heart. It is a diagnosis made carefully, after the physical screen, not instead of it.

What causes pain under the ribs on the right or left?

Pain under the ribs often comes from organs rather than the ribs themselves: on the right, the gallbladder and liver; on the left, the stomach, pancreas or spleen; on either side, trapped wind, strained muscles or referred spine pain. Pattern matters: pain after fatty meals points to the gallbladder, burning after food to the stomach.

Right side pain under ribs in females

Right-sided pain under the ribs in women deserves its own mention because gallstones, its most common organ cause, are two to three times more frequent in women, driven by oestrogen, pregnancy and the years between 40 and 60.[4] The classic pattern is a steady, gripping pain under the right ribs, arriving an hour or so after rich or fatty meals, sometimes reaching the right shoulder blade, lasting one to several hours. Fever, yellowing of the skin or eyes, or pain that will not settle turns it urgent. In pregnancy, aching under the ribs is common in the final months as the uterus pushes the ribs outwards; but new, severe pain under the right ribs in later pregnancy, particularly with headache, visual disturbance or sudden swelling, needs urgent in-person review the same day, because it can signal pre-eclampsia. Muscular causes, trapped wind and referred spine pain complete the list, and the consultation separates them by pattern.

Left side, and when either side needs tests

Under the left ribs sit the stomach, pancreas and spleen: burning pain after meals or when hungry suggests the stomach or reflux; severe boring pain radiating to the back, especially after alcohol, raises the pancreas and is an in-person emergency; the spleen matters mainly after glandular fever or trauma. Either side, pain that is persistent, feverish, or paired with weight loss, vomiting or changed bowels earns examination and tests rather than an online label. The consultation sorts which test and how urgently.

Which rib cage pain treatment might the doctor recommend?

Treatment follows the source. This is the decision framework our doctors use, aligned with cited European and UK guidance:[1][3]

Swipe sideways to compare →

Rib cage pain presentations, likely first steps and when referral or in-person care is needed
PresentationLikely first stepSuitable for online care?When referral or in-person care is needed
Sharp local pain reproduced by pressing, moving or deep breaths (costochondritis, muscle strain)Reassurance with explanation, activity modification, anti-inflammatory where suitable, review in 2–4 weeksUsually yesNot improving by review, worsening, or any new breathlessness or fever
Rib pain after a heavy coughing illness or minor injuryPain control, deep-breathing routine, supported coughing while it healsUsually yesSignificant trauma, increasing breathlessness, or fever: in-person care, urgently
Steady pain under the right ribs after fatty meals, especially in womenAssessment for gallstones; examination and ultrasound arrangedInitial assessment and referralFever, jaundice or pain that will not settle: emergency department
Chest pressure on exertion, spreading to arm or jaw, with sweating or nauseaCall 112 nowNoPossible heart attack; minutes matter
Sudden sharp pain with breathlessness, blood-streaked cough or a swollen calfCall 112 nowNoPossible pulmonary embolism; emergency assessment

Availability of individual medicines and who may prescribe them vary by country; your doctor confirms what applies where you are.

Not sure which row is your rib pain? A doctor can tell you in one consultation.

See available times →

Treatment options for rib cage pain

What you can do yourself

For chest-wall pain: keep moving normally within comfort, because guarding the area stiffens it and prolongs the episode. Heat over the sore area eases muscular ache. Trim, rather than stop, the activities that provoke it (heavy pressing exercises, long rowing sessions, repeated overhead work) and reintroduce them gradually as it settles. Keep breathing full and deep even when it catches, especially with rib injuries, and support a cough with a pillow hugged against the sore side. Pharmacy pain relief is reasonable support; a pharmacist can advise what suits your other medicines. Expect muscle strains to settle over one to three weeks and costochondritis over several weeks, with flares along the way that mean nothing sinister.

Prescription treatment

A prescription is never issued without a consultation. Where the picture is confidently musculoskeletal and your history allows it, the doctor may prescribe an anti-inflammatory (NSAID) course or gel, after checking your stomach, kidney and heart background, since chest-wall inflammation is exactly what NSAIDs are for. Opioids (such as codeine or tramadol), benzodiazepines and other controlled medicines are not prescribed through online consultations. If shingles is caught early, antiviral treatment can be started promptly. Where the cause sits deeper (gallbladder, stomach, lungs), the prescription that matters is the referral: the right test, named, with the urgency stated.

When we treat rib cage pain online, and when we refer you

We treat online: costochondritis and chest-wall muscle strains, with explanation, a plan and anti-inflammatory treatment where suitable; rib pain after coughing illnesses, with the breathing routine that protects your lungs; suspected early shingles; stress-related chest-wall tightness once the physical screen is clear; and reviews when pain is not following the expected course. Rib cage pain sits alongside the other muscle and joint problems our doctors assess online.

We refer or redirect you: the emergency patterns go to 112 before anything else: chest pressure with exertion, radiation to arm or jaw, sweating, nausea or breathlessness; sudden pleuritic pain with breathlessness, blood-streaked cough or a swollen calf; and major chest trauma. Suspected gallstones go for examination and ultrasound; possible pancreatic, spleen or persistent unexplained organ-area pain goes for in-person assessment and tests; suspected pleurisy or chest infection with fever or breathlessness needs same-day in-person review; and new severe pain under the right ribs in later pregnancy is same-day urgent, every time. A first episode of exertional chest tightness, even if it has settled, earns a cardiology-pathway referral rather than reassurance by video.

When to get in-person care

Call 112 now for: chest pressure, tightness or heaviness, especially with exertion; pain spreading to the arm, jaw, neck or back; pain with sweating, nausea, breathlessness or faintness; sudden sharp pain with breathlessness or coughing up blood; or rib pain after major trauma. Arrange same-day in-person care for: fever with breathing-related pain; pain under the ribs with jaundice, vomiting or a rigid tender abdomen; new severe right-upper pain in later pregnancy, particularly with headache, visual changes or sudden swelling; or any joint that is hot, swollen and feverish, which can signal septic arthritis.

How Mobi Doctor works

  1. Book a time that suits you: open daily 7am–11pm. Most patients speak to a doctor within about 15 minutes of their booked time. no subscription, exact price up front.
  2. Speak to a licensed doctor about rib cage pain: a private video call: you describe what you feel, the doctor asks what matters, and you agree the right plan together.
  3. Leave with your plan: everything agreed before you hang up: any prescription reaches a pharmacy near you in most EU countries, or a full refund.
See available times →

No sign-up needed

Could it be something else?

Tick what you feel to see every condition page that mentions it. It finds the right page, not a diagnosis: a doctor gives you that on a video call.

Not sure this is the right page? Find your symptom in the symptom navigator, or book and describe it to a doctor.

Frequently asked questions about rib cage pain

Can an online doctor prescribe treatment for rib cage pain in the EU?

Yes, after a consultation, when the cause is musculoskeletal: anti-inflammatory tablets or gels where suitable, with the prescription sent to a pharmacy in most EU countries. Opioids and other controlled medicines are not prescribed through online consultations, and pain suggesting a heart, lung or abdominal cause is directed to in-person tests instead of being treated blind.

How quickly can I be seen for rib cage pain, and what does it cost?

Appointments are available daily from 7am to 11pm, often within about 15 minutes. The exact price of a video consultation is shown before payment, and there is no subscription. If your pain matches any emergency pattern on this page, call 112 instead of booking.

Why does my rib cage hurt when I breathe deeply?

Deep breaths move the ribs and stretch the muscles and cartilage between them, so anything irritated in the chest wall (a strained muscle, costochondritis, a bruised rib) catches sharply on inhaling. Pain on deep breathing with fever, cough or breathlessness suggests the lung lining instead, and sudden breathing-related pain with breathlessness needs emergency assessment.

What causes right side pain under ribs in females?

Common causes include gallstones, which are two to three times more frequent in women, typically gripping pain after fatty meals; muscle strain; trapped wind; and pain referred from the spine. In pregnancy, rib pressure in the final months is common, but new severe right-sided pain under the ribs in later pregnancy needs urgent same-day review, as it can signal pre-eclampsia.

Can stress or anxiety cause rib cage pain?

Yes. Anxious breathing overworks the chest-wall muscles, producing genuine aching, tightness and a feeling of not filling your lungs, often with a racing heart. Doctors make this diagnosis carefully: the cardiac and lung screen comes first, and stress-related chest-wall pain is settled on because the pattern fits, not because nothing else was checked.

How long does costochondritis last?

Most costochondritis settles over a few weeks, though it can grumble for two or three months and flare briefly with coughing, exercise or pressing on the spot. Flares do not mean damage. If pain persists beyond that course, changes character, or brings breathlessness or fever, book a review rather than waiting it out.

How can I tell rib pain from a heart attack?

Rib and muscle pain is usually sharp, in one spot, and reproduced by pressing, moving or breathing deeply. Heart-attack pain is more often a central pressure or heaviness, triggered by exertion, spreading to the arm, jaw or back, with sweating, nausea or breathlessness. Do not self-diagnose a first episode: if the pattern is unclear or any cardiac feature is present, call 112.

Do bruised or broken ribs need an X-ray?

Often not. Simple bruised or cracked ribs are treated the same way (pain relief, deep-breathing routine, supported coughing) so an X-ray rarely changes the plan after minor injuries. In-person assessment matters after significant trauma, or with breathlessness, fever or worsening pain, where complications such as a lung injury need ruling out.

Sources & further reading
  1. Chest pain (Clinical Knowledge Summary), NICE, National Institute for Health and Care Excellence, 2024.
  2. Cardiovascular diseases fact sheet, WHO, World Health Organization, 2021.
  3. Pulmonary embolism (Clinical Knowledge Summary), NICE, National Institute for Health and Care Excellence, 2023.
  4. Gallstones (Clinical Knowledge Summary), NICE, National Institute for Health and Care Excellence, 2022.
  5. Herpes zoster (shingles), DermNet, DermNet New Zealand Trust, accessed August 2026.

This page is for information only and is not a substitute for a medical consultation. Guideline links are provided for transparency; treatment decisions are made with your doctor.

From the Mobi Doctor blog

From the Mobi Doctor podcast

All episodes →

Speak to a doctor about rib cage pain today

Licensed doctors · open daily 7am–11pm · exact price before payment

See available times →
Video consultation€54
See available times