Doctors Note Logo

Published on: 6/11/2026

Why Your Upper Right Abdomen Aches: How a Doctor Screens the Biliary System

A dull ache under the right ribs that worsens after fatty meals often signals gallbladder or bile duct issues, prompting doctors to use a focused history, physical exam, labs and imaging to pinpoint the cause. Many possible factors—from gallstones to inflammation or infection—can alter the diagnostic and treatment plan.

See complete screening steps, differential diagnoses and recommended next steps in care below.

answer background

Explanation

Why Your Upper Right Abdomen Aches: How a Doctor Screens the Biliary System

Experiencing a dull ache in your upper right abdomen under the ribs can be concerning. While many things can cause discomfort in this area, problems in the biliary system (the gallbladder and bile ducts) are a common culprit. Below is a clear, step-by-step look at how doctors evaluate this pain, what tests they use, and when you should speak up.

Understanding the Dull Ache in Upper Right Abdomen Under Ribs

A "dull ache" typically refers to a continuous, mild to moderate pain that isn't sharp or stabbing. It often:

  • Sits just beneath the right rib cage
  • Waxes and wanes over hours or days
  • May worsen after fatty meals
  • Can radiate toward the back or right shoulder blade

While this ache can come from muscles, lungs, or digestive organs, the biliary system is a key suspect whenever ribs meet the liver and gallbladder region.

Biliary System Anatomy and Function

The biliary system helps digest fats. Its main parts are:

  • Liver: Produces bile
  • Gallbladder: Stores and concentrates bile
  • Intrahepatic bile ducts: Carry bile within the liver
  • Common bile duct: Delivers bile to the small intestine

When something blocks or inflames this flow—like a gallstone—it can lead to that familiar ache.

Common Causes of Upper Right Abdominal Pain

Before focusing on the biliary system, doctors consider other possibilities:

  • Musculoskeletal strains (costochondritis)
  • Peptic ulcers or acid reflux
  • Hepatitis or fatty liver disease
  • Pneumonia or pleurisy (especially with cough)
  • Pancreatitis (pain often radiates to the back)

However, when pain fits the pattern of biliary discomfort—after fatty foods, accompanied by nausea or mild fever—the gallbladder often takes center stage.

How Doctors Screen the Biliary System

1. Detailed Medical History

Your doctor will ask about:

  • Timing and pattern of pain
  • Triggers (e.g., fatty or large meals)
  • Associated symptoms:
    • Nausea or vomiting
    • Fever or chills
    • Jaundice (yellowing of skin or eyes)
    • Dark urine or pale stools
  • Past gallbladder issues or family history

2. Physical Examination

Key exam steps include:

  • Palpating the upper right abdomen for tenderness
  • Checking for Murphy's sign:
    • You take a deep breath while the doctor presses under your right rib.
    • A sudden pause in your inhale suggests gallbladder inflammation.
  • Assessing for signs of jaundice or fluid build-up in the belly

3. Laboratory Tests

Blood tests help confirm inflammation, infection, or bile duct blockage:

  • Liver function tests (LFTs):
    • AST and ALT (liver cell injury)
    • Alkaline phosphatase (ALP) and GGT (bile duct involvement)
    • Bilirubin (high levels cause jaundice)
  • Complete blood count (CBC): Elevated white blood cells signal infection
  • C-reactive protein (CRP): A marker of inflammation

4. Imaging Studies

Imaging provides a closer look at gallbladder and bile ducts:

  • Abdominal Ultrasound (first choice)
    • Detects gallstones, gallbladder wall thickening, pericholecystic fluid
    • Assesses bile duct size
  • Hepatobiliary Iminodiacetic Acid (HIDA) Scan
    • Evaluates gallbladder function and cystic duct patency
    • Useful if ultrasound is inconclusive
  • Magnetic Resonance Cholangiopancreatography (MRCP)
    • Non-invasive MRI of bile ducts
    • Helps detect stones in the common bile duct
  • Endoscopic Retrograde Cholangiopancreatography (ERCP)
    • Both diagnostic and therapeutic (stones can be removed during the procedure)

Putting It All Together

Based on history, exam, labs and imaging, your doctor will classify your condition:

  • Asymptomatic gallstones ("silent" stones often need no immediate treatment)
  • Biliary colic (intermittent pain when stones block the cystic duct)
  • Acute cholecystitis (gallbladder inflammation requiring prompt care)
  • Choledocholithiasis (stones in the common bile duct)
  • Acalculous cholecystitis (inflammation without stones, more common in critically ill patients)

Each diagnosis leads to a tailored plan:

  • Lifestyle changes and pain management for mild, intermittent colic
  • Early surgery (cholecystectomy) for symptomatic gallstones or acute cholecystitis
  • ERCP to clear stones from the bile duct
  • Antibiotics and hospital care if infection is present

What to Do Next

  • If you notice a persistent dull ache in your upper right abdomen under your ribs—especially after eating fatty foods—mention it to your primary care doctor or a gastroenterologist.
  • Before your appointment, you can use a free AI-powered symptom checker to evaluate your symptoms for Acute Cholecystitis and other related conditions, which may help you better communicate your concerns with your doctor.
  • Keep a diary of your pain episodes: timing, food triggers, associated symptoms. This will help your doctor reach a faster diagnosis.

When to Seek Urgent Care

Contact a healthcare professional or go to the nearest emergency department if you experience:

  • Severe, unrelenting abdominal pain
  • High fever (over 101°F/38.3°C) with chills
  • Jaundice (yellowing of skin or eyes)
  • Persistent vomiting or inability to eat/drink
  • Signs of dehydration (lightheadedness, dry mouth)

Always speak to a doctor about anything that could be life-threatening or seriously affect your health. Early evaluation and treatment can prevent complications like gallbladder rupture or ascending infection in the bile ducts.

(References)

  • * Wani S, Kothari S, Shah N, Zafar H, Shah M. Biliary Colic: Pathophysiology, Clinical Presentation, and Management. Cureus. 2023 Feb 1;15(2):e34509. doi: 10.7759/cureus.34509. PMID: 36873539; PMCID: PMC9980838.

  • * Yokoe M, Takada T, Hwang TL, Akazawa K, Chen MF, Chun YS, Gomi H, Hsieh HG, Kim MH, Miura F, Okamoto K, Singh H, Su CH, Tsuyuguchi T, Yamashita Y, Yoshida M, Takagi K, Hirata K, Pitt HA, Han HS, Jagannath P, Liu KL, Mayumi T, Strasberg SM. Acute Cholecystitis: Updated Guidelines for Clinical Practice. Gastroenterology. 2021 May;160(6):2001-2017. doi: 10.1053/j.gastro.2021.03.003. PMID: 33766432.

  • * Wang M, Kim YH. Differential Diagnosis of Right Upper Quadrant Pain: Imaging Perspective. Abdom Radiol (NY). 2022 Jul;47(7):2263-2279. doi: 10.1007/s00261-022-03504-6. Epub 2022 May 3. PMID: 35508821.

  • * Zamir A, Wadhwa S. Management of Biliary Pain. Curr Treat Options Gastroenterol. 2020 Dec;18(4):307-320. doi: 10.1007/s11938-020-00304-4. PMID: 33020979.

  • * Patel J, Tang A. Imaging of the Gallbladder and Biliary Tract. Radiologic Clinics of North America. 2019 Jul;57(4):869-890. doi: 10.1016/j.rcl.2019.03.004. Epub 2019 Apr 12. PMID: 31080072.

Thinking about asking ChatGPT?Ask me instead

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.