Our Services
Medical Information
Helpful Resources
Published on: 9/13/2026
Sharp pain under the right rib cage that worsens when breathing can signal a pulmonary embolism (a blood clot in the lung), especially when paired with sudden shortness of breath, rapid heartbeat, coughing up blood, or leg swelling and calf pain. However, the same symptom is far more often caused by conditions like pleurisy, a muscle or rib strain, gallbladder inflammation, liver issues, pneumonia, or costochondritis. Risk factors such as recent surgery, long travel, pregnancy, hormone use, cancer, or a prior clot make a clot more likely and change how urgently you should be evaluated. There are several important distinctions to consider, including which warning signs mean you should call emergency services immediately. See below to understand more about each possible cause and what to do next.
Because chest and rib pain when breathing spans everything from a pulled muscle to a life threatening clot, guessing wastes the time that matters most. A free, instant, online symptom check lets you enter your exact symptoms, timing, and risk factors in a few minutes and get a clear, personalized picture of the likely causes. It also tells you whether to seek emergency care, book an appointment, or monitor at home, so you can walk into any visit with the right questions already prepared.
Last reviewed for medical accuracy: 09/13/2026
Sudden sharp pain under your right rib cage when breathing can be alarming. While most often it isn’t caused by a blood clot, it’s important to understand when to worry and what other conditions might be at play. This guide walks you through possible causes, risk factors, and next steps—without hiding anything, but also without creating unnecessary anxiety.
A blood clot in the lungs (pulmonary embolism) can cause sharp, stabbing chest pain that worsens with deep breaths. However, classic signs of a pulmonary embolism include:
Pain from a pulmonary embolism is usually felt more toward the center or left side of the chest, though it can radiate. Having pain only under the right rib cage, without those other symptoms, makes a clot less likely—but not impossible.
If you have any of these risk factors and experience sudden sharp pain when you inhale deeply—especially combined with breathlessness or dizziness—seek immediate medical attention.
Musculoskeletal Strain
Costochondritis (Inflammation of Rib Cartilage)
Pleurisy (Inflamed Lung Lining)
Gallbladder Issues (Biliary Colic or Cholecystitis)
Liver Capsule Stretching (e.g., Hepatitis, Liver Congestion)
Kidney Stones or Infection
Shingles (Herpes Zoster)
Even if a pulmonary embolism is unlikely, certain “red flag” signs warrant urgent evaluation:
If you experience any of these, call emergency services or go to the nearest emergency department. Prompt diagnosis can be lifesaving.
If your pain is mild, you have no worrisome symptoms, and you’ve ruled out anything urgent, try these measures:
If pain persists beyond a week or gradually worsens, check in with your doctor.
It can be hard to know when a symptom is serious. To help sort out your right‐side rib pain, you might consider doing a free, online symptom check, using the doctor approved Ubie Symptom Checker. This tool asks targeted questions and gives you tailored guidance on when to seek care.
Sudden sharp pain under your right rib cage when breathing is rarely due to a blood clot—unless you have risk factors and other concerning signs. More often, it’s musculoskeletal, gastrointestinal or inflammatory. Still, if you ever worry you might have a pulmonary embolism or another serious condition, don’t wait: seek emergency care.
Always speak to a doctor about anything that could be life threatening or serious. Your health deserves timely, expert attention.
(References)
* Owens GM. Chest pain. Prim Care. 1986 Mar;13(1):55-61. PMID: 3633596.
* Rashford S. Acute pleuritic chest pain. Aust Fam Physician. 2001 Sep;30(9):841-6. PMID: 11676311.
* Sabol BJ, Basa RR, Wilkins CE. Malabsorption-associated warfarin resistance. Am J Health Syst Pharm. 2009 Sep 1;66(17):1548-53. doi: 10.2146/ajhp080477. PMID: 19710438.
* Söffker G, Kluge S. [Pulmonary embolism]. Dtsch Med Wochenschr. 2015 Jan;140(2):89-96. doi: 10.1055/s-0041-100003. Epub 2015 Jan 22. PMID: 25612280.
* Shah AY, Jamison M, Otero HJ, Jung L, Frank LH, Guerrera MF, Kirkorian AY. A 17-Year-Old With Chest Pain. Pediatrics. 2017 Mar;139(3). doi: 10.1542/peds.2016-0794. Epub 2017 Feb 3. PMID: 28159870.
* Alhassan S, Pelinescu A, Gandhi V, Naddour M, Singh AC, Bihler E. Clinical Presentation and Risk Factors of Venous Thromboembolic Disease. Crit Care Nurs Q. 2017 Jul/Sep;40(3):201-209. doi: 10.1097/CNQ.0000000000000159. PMID: 28557891.
* Reamy BV, Williams PM, Odom MR. Pleuritic Chest Pain: Sorting Through the Differential Diagnosis. Am Fam Physician. 2017 Sep 1;96(5):306-312. PMID: 28925655.
* Sedhai YR, Basnyat S, Bhattacharya PT. Pseudo-Wellens' syndrome in pulmonary embolism. BMJ Case Rep. 2018 Dec 19;11(1). doi: 10.1136/bcr-2018-227464. Epub 2018 Dec 19. PMID: 30573540; PMCID: PMC6303567.
* Settelmeier S, Hochadel M, Giannitsis E, Konstantinides S, Voigtländer T, Schmitt C, Haude M, Kerber S, Mudra H, Gonska BD, Senges J, Breuckmann F, Münzel T. Management of Pulmonary Embolism: Results from the German Chest Pain Unit Registry. Cardiology. 2021;146(3):304-310. doi: 10.1159/000513695. Epub 2021 Mar 10. PMID: 33691308.
* Zhang J, Zou H, Tang Y, Peng L, Pu J, Zeng J, Chen X, Yuan J, Yi Q, Zhou H. Impact of chest pain on mortality in patients with acute pulmonary embolism. Sci Rep. 2024 Dec 3;14(1):30038. doi: 10.1038/s41598-024-81520-w. Epub 2024 Dec 3. PMID: 39627382; PMCID: PMC11614855.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.