Doctors Note Logo

Back

Published on: 4/7/2025

Why Am I Having Sudden Sharp Pain Under Right Rib Cage When Breathing?

Sudden, sharp pain under your right rib cage when breathing may be related to muscle strain or inflammation, but it can also be a sign more serious conditions like a blood clot in the lungs.

answer background

Explanation

Sharp pain under the right rib cage could have various causes. Musculoskeletal causes of this type of pain are often caused by strain or injury to the muscles and bones around your rib cage. Common causes include overexertion during exercise, repetitive movements, or trauma to the chest wall. The pain typically worsens with movement or deep breathing but usually improves with rest and over-the-counter pain medications. This type of pain can also be associated with respiratory conditions such as pneumonia, bronchitis, or other lung infections. These conditions often cause inflammation of the lung tissue or the surrounding membranes, leading to sharp pain that worsens with breathing. Other common conditions that can cause this type of pain include pleurisy (inflammation of the lining around the lungs), and even liver and gallbladder problems since they are located in the right upper abdomen. The pain may worsen with deep breathing, coughing, or certain movements. A serious cause of sharp pain under the ribs is a blood clot to the lungs, called a pulmonary embolism. This occurs when a blood clot travels to the lungs and blocks blood flow, causing intense pain, shortness of breath, and potentially life-threatening complications if not treated promptly. Given that minor muscle strains and more serious medical conditions can all cause pain under the rib cage while breathing, it is best to discuss your symptoms with a healthcare provider.

(References)

  • Ayloo A, Demehri FR, Ahmed A. Evaluation and treatment of musculoskeletal chest pain. _Primary Care: Clinics in Office Practice_. 2013;40(4):863-887. doi:10.1016/j.pop.2013.07.003.

  • Morrone D, Morrone V. Acute Pulmonary Embolism: Focus on the Clinical Picture. Korean Circ J. 2018 May;48(5):365-381. doi: 10.4070/kcj.2017.0314. Erratum in: Korean Circ J. 2018 Jul;48(7):661-663. doi: 10.4070/kcj.2017.0998. PMID: 29737640; PMCID: PMC5940642.

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

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.

Learn more about symptoms

Swelling under the right ribs

Not sure about the cause of your current symptoms?

AI Symptom Check

Try our AI-based symptom check

With an easy 3-min questionnaire, you can get an free AI-powered report on possible causes


Tips to try:

  • Provide specific, detailed info about all symptoms you have.
  • Give accurate information about yourself including current conditions.
  • Answer all follow-up questions

Purpose and positioning of servicesUbie Doctor’s Note is a service for informational purposes, and the provision of information by physicians, medical professionals, etc. is not a medical practice. 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.