Doctors Note Logo

Published on: 8/20/2026

What causes dull pain under right rib cage that comes and goes?

Dull pain under the right rib cage that comes and goes is often linked to digestive issues (such as gallbladder problems, liver conditions, or gas), musculoskeletal strain (like a pulled muscle or rib injury), or respiratory conditions (including pleurisy or pneumonia). The location, timing, and accompanying symptoms can help narrow down the cause.

Because so many organs and structures sit beneath the right rib cage, self-diagnosing can be tricky—and delaying care for a serious condition like gallstones or a liver issue can lead to complications. A free, instant, AI-powered symptom check can help you quickly identify possible causes based on your specific symptoms and guide you on whether to monitor at home, see a primary care doctor, or seek urgent care. It takes just a few minutes and could save you hours of worry.

Reviewed for medical accuracy: 07/15/2026

answer background

Quick answers

Frequently Asked Questions

4 answers

The most common questions people search after this page

Concerned about your symptoms?

Explanation

Dull, intermittent pain under the right rib cage can have various causes. Common causes of this pain can be grouped into several categories based on the affected organ systems:

  • Digestive system issues (gallbladder problems, indigestion)
  • Musculoskeletal conditions (rib inflammation, muscle strain)
  • Respiratory problems (pleurisy, pneumonia)

When it comes to digestive system issues, your gallbladder can be a common source of discomfort. This small organ stores bile produced by your liver, and when problems arise, they often manifest as pain under the right rib cage. Additionally, functional dyspepsia affects how your stomach and intestines work together, leading to uncomfortable sensations in your upper abdomen. Musculoskeletal conditions can also trigger this type of pain, particularly when inflammation affects the cartilage connecting your ribs to your breastbone. This condition, known as costochondritis, typically causes tenderness and discomfort that may worsen with movement or deep breathing. Respiratory conditions like pleurisy (inflammation of the lining around your lungs) can also cause pain under your right rib cage. This pain often feels sharp when you take deep breaths, but it might feel dull at other times. The discomfort may get better or worse depending on your breathing patterns or position. Keep track of any pain triggers or associated symptoms to discuss with your healthcare provider, or use Ubie's free symptom checker to help identify possible causes of your discomfort.

(References)

  • Guthrie E, Thompson D. Abdominal pain and functional gastrointestinal disorders. BMJ. 2002 Sep 28;325(7366):701-3. PMID: 12351366; PMCID: PMC1124226.

  • Baiu I, Hawn MT. Gallstones and Biliary Colic. _JAMA._ 2018;320(15):1612. doi:10.1001/jama.2018.11868

  • Madisch A, Andresen V, Enck P, Labenz J, Frieling T, Schemann M. The Diagnosis and Treatment of Functional Dyspepsia. Dtsch Arztebl Int. 2018 Mar 30;115(13):222-232. doi: 10.3238/arztebl.2018.0222. PMID: 29669681; PMCID: PMC5938438.

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.

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.