Our Services
Medical Information
Helpful Resources
Published on: 9/13/2026
Pain under the right ribs can come from either the liver or the gallbladder, and the two often feel similar because they sit side by side in the upper right abdomen. Gallbladder pain, such as from gallstones or cholecystitis, tends to arrive in sharp waves after fatty meals and may radiate to the right shoulder blade, while liver problems like hepatitis or fatty liver more often cause a dull, constant ache with fatigue, nausea, or yellowing of the skin and eyes. Other causes, including muscle strain, rib injury, kidney issues, or acid reflux, can mimic both, so the pattern, timing, and accompanying symptoms matter more than the location alone. There are several important details that can point you toward one organ or the other, and you can see below to understand more.
Because fever, severe or worsening pain, jaundice, or vomiting can signal a condition that needs prompt care, the fastest way to sort out what is likely happening is to take a free, instant, online symptom check that reviews your specific symptoms and helps you decide what steps to take next.
Last reviewed for medical accuracy: 09/13/2026
Feeling discomfort under your right ribs can be unsettling. You might wonder: is it your liver or your gallbladder? Both organs sit in the upper right abdomen, but they cause pain in different ways. Here’s how to tell them apart, what other causes to consider, and when to seek help.
Liver
Gallbladder
True liver pain is actually pain of the liver capsule (its outer covering), because the liver itself doesn’t have pain nerves inside. When inflamed or stretched, the capsule can hurt.
Gallbladder pain (biliary colic or cholecystitis) arises when gallstones or sludge blocks bile flow, causing distention and inflammation.
| Feature | Liver Pain | Gallbladder Pain |
|---|---|---|
| Sensation | Dull ache, fullness | Sharp, cramp-like, colicky |
| Onset | Gradual | Sudden, often after fatty meal |
| Duration | Persistent, weeks to months | Short episodes, hours |
| Radiation | To right shoulder or back | To right shoulder blade or back |
| Associated nausea/vomiting | Possible but less common | Very common |
| Fever | Low-grade (hepatitis) | Higher, with infection |
| Jaundice | Common with hepatitis | With bile duct blockage |
Pain in that area isn’t always liver or gallbladder. Consider other possibilities:
Some warning signs require prompt evaluation:
If you’re unsure how serious your symptoms are, consider a free, online symptom check, using the doctor approved Ubie Symptom Checker. It can help you decide whether to see a healthcare provider right away.
While waiting to see a doctor, you can try:
A healthcare provider will take a detailed history and perform a physical exam. They may order:
Pain under your right ribs can come from the liver, gallbladder, or many other sources. Paying attention to the type of pain, its timing, and any associated symptoms will help you and your doctor pinpoint the cause.
If you have any concerning signs—especially severe pain, high fever, persistent vomiting, or jaundice—don’t wait. Seek medical attention right away. And remember, for additional guidance you might try a free, online symptom check, using the doctor approved Ubie Symptom Checker.
Always speak to a doctor about symptoms that are severe, persistent, or worrisome. Early evaluation and treatment can prevent complications and give you peace of mind.
(References)
* Rivera-Troche EY, Hartwig MG, Vaslef SN. Multiseptate gallbladder. J Gastrointest Surg. 2009 Sep;13(9):1741-3. doi: 10.1007/s11605-009-0880-0. Epub 2009 Apr 8. PMID: 19352782.
* Willekens I, Verdries D, Ceulemans G, Vandenbroucke F, Delvaux G, de Mey J. Gallstone ileus. JBR-BTR. 2010 Jan-Feb;93(1):4-6. doi: 10.5334/jbr-btr.24. PMID: 20397425.
* Ainsworth AP, Axelsen AR, Rasmussen L. Cholecystectomy in children. Dan Med Bull. 2010 Nov;57(11):A4201. PMID: 21055367.
* Alam MT, Qaiser B, Jamaluddin M, Abbas Hussain SM. Bilobed gallbladder. J Coll Physicians Surg Pak. 2011 Jun;21(6):367-8. PMID: 21711996.
* Khoury J, Zohar Y, Shehadeh N, Saadi T. Glycogenic hepatopathy. Hepatobiliary Pancreat Dis Int. 2018 Apr;17(2):113-118. doi: 10.1016/j.hbpd.2018.02.006. Epub 2018 Feb 19. PMID: 29709217.
* Mhamdi S, Mhamdi K. Emphysematous Cholecystitis. N Engl J Med. 2019 Aug 22;381(8):e14. doi: 10.1056/NEJMicm1814551. PMID: 31433924.
* Rocha M, Dias AM, Coimbra J. A Challenging Abdominal Pain. Gastroenterology. 2020 May;158(6):e11-e13. doi: 10.1053/j.gastro.2019.11.022. Epub 2019 Nov 16. PMID: 31743733.
* Presti ME, Elwing JE, Sayuk GS. Gallbladder Dyskinesia. South Med J. 2022 Nov;115(11):838-841. doi: 10.14423/SMJ.0000000000001466. PMID: 36318951.
* Brüggenwirth IMA, van Breugel JMM, Assink J, Stapper CPM, Derksen WJM. Rare case of an acute liver torsion. Emerg Radiol. 2023 Apr;30(2):239-242. doi: 10.1007/s10140-023-02127-8. Epub 2023 Mar 27. PMID: 36973469.
* Hamblin HM, Goel A, Pennington JR. Gallbladder torsion. JAAPA. 2024 Jul 1;37(7):29-31. doi: 10.1097/01.JAA.0000000000000020. Epub 2024 Jun 25. PMID: 38916367.
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.