Pain in the right hypochondrium: common causes and what to do

Alexey Krivenko, medical reviewer, editor
Last updated: 13.03.2026
Fact-checked
х

All iLive content is medically reviewed or fact checked to ensure as much factual accuracy as possible.

We have strict sourcing guidelines and only link to reputable media sites, academic research institutions and, whenever possible, medically peer reviewed studies. Note that the numbers in parentheses ([1], [2], etc.) are clickable links to these studies.

If you feel that any of our content is inaccurate, out-of-date, or otherwise questionable, please select it and press Ctrl + Enter.

Pain in the right hypochondrium is a symptom, not a diagnosis. The gallbladder, bile ducts, liver and its capsule, duodenum, head of the pancreas, right kidney, diaphragm, and even some extralocal processes can all "respond" to this area. Therefore, pain localization is important, but it never replaces a thorough clinical assessment. [1]

In practice, the most common organic cause of such pain remains gallstone disease and its complications. When a stone or thick biliary sediment temporarily blocks the flow of bile, biliary colic occurs. It is characterized by attacks of severe pain in the right hypochondrium or epigastrium lasting at least 15-30 minutes, often radiating to the right shoulder blade or back. [2]

It's important to understand the difference between an attack of biliary colic and acute cholecystitis. With colic, the pain can be very severe, but inflammation has not yet necessarily developed. With acute cholecystitis, the pain usually becomes more prolonged, often lasting more than 5 hours, and is accompanied by fever, tenderness, and laboratory signs of inflammation. [3]

An even more dangerous situation occurs when the stone migrates into the common bile duct. Then, pain may be accompanied by jaundice, dark urine, light-colored stools, and elevated bilirubin and cholestatic enzymes. If infection develops, acute cholangitis develops—a condition in which the decision is no longer whether to observe, but rather whether to urgently decompress the bile ducts. [4]

However, not all pain under the right ribs is related to the gallbladder. Similar symptoms can be caused by acute viral or drug-induced hepatitis, biliary pancreatitis, peptic ulcer disease, renal colic, right-sided lower lobe pneumonia, and, in pregnant women, preeclampsia and hemolysis syndrome, elevated liver enzymes, and thrombocytopenia. Therefore, a modern article on this symptom should not be about "bile in general," but rather about the proper recognition of these scenarios. [5]

Scenario How pain is most often felt What especially helps to suspect the cause
Biliary colic an attack of severe pain in the right hypochondrium or epigastrium after eating, radiating to the right shoulder blade, lasting from 15 minutes to several hours
Acute cholecystitis constant and longer lasting pain fever, tenderness on palpation, positive Murphy's sign
Choledocholithiasis pain with signs of bile stasis jaundice, dark urine, changes in liver function tests
Acute cholangitis pain plus infection and obstruction fever, chills, jaundice, deterioration of general condition
Biliary pancreatitis upper abdominal pain with wider distribution severe nausea, vomiting, increased pancreatic enzymes
Liver cause discomfort or pain under the right ribs jaundice, weakness, nausea, increased aminotransferases
Obstetric cause during pregnancy right hypochondrium or epigastrium hypertension, headache, visual symptoms, thrombocytopenia, elevated liver enzymes

Basis for table: recommendations for cholelithiasis, cholangitis, pancreatitis and preeclampsia. [6]

The main causes and their clinical portraits

Biliary colic is a classic, yet often misunderstood, form of pain. It is characterized by an attack that builds to a peak, lasts for a significant period, and then subsides. It is not a "two-minute tingling sensation" or a vague bloating sensation. Furthermore, dyspeptic complaints alone are not a reliable indicator of stones: heartburn, bloating, and heaviness after eating can also occur with functional dyspepsia, reflux disease, and irritable bowel syndrome. [7]

Acute cholecystitis develops when cystic duct obstruction becomes persistent and inflammation occurs. Patients typically describe pain that is more persistent and intensifies than with biliary colic. Fever, nausea, vomiting, and localized tenderness are common, and ultrasound may reveal thickening of the gallbladder wall, pericholecystic fluid, and Murphy's sign. [8]

Choledocholithiasis is no longer just gallstones, but a stone in the common bile duct. Clinically, it can cause pain in the right upper quadrant or epigastrium, lasting more than 30 minutes and often accompanied by biochemical signs of cholestasis. Laboratory tests are particularly important: in the first 72 hours of obstruction, a marked increase in aminotransferases may be observed, and later, alkaline phosphatase and bilirubin levels increase more noticeably. [9]

Acute cholangitis occurs when infection complicates biliary obstruction. The classic Charcot triad has long been known, but modern practice emphasizes its low sensitivity. Therefore, the lack of a complete triad is not reassuring. In a real-life clinical setting, the combination of pain, inflammatory signs, cholestasis, and confirmation or reasonable suspicion of obstruction is more important. [10]

Biliary pancreatitis is another common and clinically significant complication. If a stone passes through the distal bile duct and causes a blockage at the ampulla, the patient may develop acute pancreatitis. In this situation, the pain is typically more widespread than "pure biliary" pain, often involving the entire upper abdomen, and is accompanied by severe nausea, vomiting, and elevated pancreatic enzymes. An important modern principle: urgent endoscopic retrograde cholangiopancreatography is not needed for everyone, but is especially necessary for those with a combination of pancreatitis and cholangitis. [11]

In addition, the right hypochondrium can be painful with hepatitis, drug-induced liver injury, and, less commonly, with liver abscesses. This pain can also occur with renal colic, where the pain begins laterally and radiates forward. In some patients, the pain is actually extra-abdominal in origin—for example, with a right-sided pleural or pulmonary process. Therefore, a thorough differential diagnosis always considers cough, fever, dysuria, rash, and the relationship with breathing and medication intake. [12]

Cause Typical duration of pain Common associated symptoms
Biliary colic from 15 minutes to several hours nausea, food-related, no significant inflammation
Acute cholecystitis usually more than 5 hours fever, local tenderness, inflammatory markers
Choledocholithiasis more than 30 minutes, often recurring jaundice, dark urine, cholestasis
Acute cholangitis persistent pain against the background of worsening condition fever, chills, jaundice, weakness
Biliary pancreatitis intense and more widespread pain in the upper abdomen vomiting, increased lipase, sometimes cholangitis
Acute hepatitis discomfort or pain of varying intensity weakness, nausea, jaundice, dark urine
Renal colic sudden, wave-like lower back pain radiating downwards, dysuria, hematuria

Basis for the table: clinical guidelines for cholelithiasis, acute cholecystitis, cholangitis, pancreatitis, hepatitis and renal colic. [13]

Red Flags: When Urgent Help Is Needed

The most dangerous combination of symptoms is pain in the right hypochondrium, accompanied by fever, chills, jaundice, hypotension, confusion, or severe weakness. This combination primarily suggests cholangitis with a systemic infection. Delaying treatment is especially dangerous here, as painkillers and home treatment alone are no longer sufficient. [14]

Equally worrisome is persistent pain that lasts for many hours, intensifies, and is accompanied by protective abdominal muscle tension, repeated vomiting, and an inability to drink. This scenario may correspond to acute cholecystitis, complicated biliary pathology, perforation, or pancreatitis. In this situation, it's not a matter of "waiting it out until morning" that's important, but an urgent in-person evaluation with laboratory and imaging studies. [15]

Signs of mechanical jaundice and complicated obstruction require special attention: dark urine, discolored stool, itching, and increasing jaundice. Even if fever has not yet developed, this symptom already requires urgent diagnosis of the common bile duct, as it is at this stage that the development of cholangitis or biliary pancreatitis can easily be missed. [16]

During pregnancy, red flags include not only typical biliary symptoms, but also any combination of right hypochondrium or epigastric pain with headache, visual disturbances, increased blood pressure, shortness of breath, edema, thrombocytopenia, or elevated liver enzymes. Obstetric guidelines classify persistent right hypochondrium pain that is unresponsive to analgesia as a severe sign of preeclampsia, while hemolysis syndrome, elevated liver enzymes, and thrombocytopenia often cause right hypochondrium pain and malaise. [17]

Finally, urgent care is also needed when the pain is accompanied by shortness of breath, cough, pleuritic symptoms, severe weakness, or an atypical presentation that does not resemble typical biliary pain. A right-sided pleuropulmonary process or even a thromboembolic complication may initially present as "pain under the ribs." Therefore, not only is a severe symptom dangerous, but also the clinical inconsistency with the usual biliary picture. [18]

Red flag Why is this dangerous? What is required
Pain plus fever and jaundice high risk of cholangitis emergency hospitalization
Pain lasting more than 5-6 hours with worsening acute cholecystitis or other complicated pathology urgent in-person assessment
Repeated vomiting and inability to drink risk of dehydration and complications emergency assistance
Increasing jaundice, dark urine, light-colored stool common bile duct obstruction accelerated visualization of the bile ducts
Pregnancy pain plus hypertension or neurological symptoms preeclampsia and hemolysis syndrome, elevated liver enzymes and thrombocytopenia emergency obstetric assessment
Pain with shortness of breath or cough an extra-abdominal cause is possible in-person assessment without delay

Basis for the table: recommendations for cholangitis, acute cholecystitis and obstetric complications. [19]

Diagnostics

The first stage of diagnosis involves neither tests nor imaging, but a precise clinical triage. The doctor determines the duration of the attack, its relationship with food, especially fatty foods, the presence of previous similar episodes, nausea, vomiting, jaundice, fever, changes in urine and stool, as well as medication history and pregnancy. Even at this stage, it often becomes clear whether the problem is typical biliary pain or a broader differential diagnosis. [20]

A physical examination is highly valuable. For acute cholecystitis, localized tenderness in the right hypochondrium and Murphy's sign are significant. In cholangitis, systemic signs of infection and cholestasis are more significant. In uncomplicated biliary colic, the examination may be much more limited than patients expect, which often creates a false sense of security. [21]

Laboratory tests are not always required to the same extent. In uncomplicated symptomatic stones, tests are often normal and provide little help in confirming biliary colic itself. However, as soon as a common bile duct, cholangitis, pancreatitis, or liver cause is suspected, a complete blood count, C-reactive protein, bilirubin, aminotransferases, alkaline phosphatase, gamma-glutamyl transferase, creatinine, and pancreatic enzymes become mandatory. [22]

The first line of imaging for right upper quadrant pain and a suspected biliary cause remains abdominal ultrasound. This is reflected in both the European Association for the Study of the Liver guidelines and the American College of Radiology criteria. If the ultrasound is negative or inconclusive, and clinical suspicion remains, the next step is magnetic resonance cholangiopancreatography, computed tomography, or gallbladder scintigraphy, depending on the scenario. [23]

Diagnosis during pregnancy follows two parallel paths. On the one hand, potential biliary pathology is assessed, for which ultrasound remains the first-line method. On the other hand, obstetric complications are always excluded—blood pressure is measured, platelets, creatinine, aminotransferases, and clinical signs of preeclampsia are assessed. An error here occurs when the patient is referred to the gastrointestinal route too early. [24]

Clinical situation What is usually done first? What to do next if the result is questionable
Typical pain in the right hypochondrium, suspected stones ultrasound examination magnetic resonance cholangiopancreatography or endoscopic ultrasound
Pain plus fever and inflammatory markers ultrasound examination and laboratory magnetic resonance cholangiopancreatography, computed tomography or scintigraphy as indicated
Suspected common bile duct liver function tests plus ultrasound clarification of the bile ducts before therapeutic endoscopy
Suspicion of pancreatitis pancreatic enzymes and ultrasound CT scan if diagnosis is unclear or there is no improvement within 48-72 hours
Pregnancy plus pain in the right hypochondrium ultrasound, pressure, laboratory obstetric and surgical route in parallel
Atypical pain with cough or dysuria clinical examination, targeted tests chest x-ray or urologic imaging based on symptoms

Basis for the table: recommendations for visualization of pain in the right hypochondrium, cholelithiasis, pancreatitis and pregnancy. [25]

Differential diagnosis

It's important to distinguish biliary colic from functional dyspepsia, reflux disease, and other nonspecific upper abdominal complaints. European guidelines specifically emphasize that heartburn, bloating, flatulence, and dyspepsia are not characteristic symptoms of gallstones per se and may persist even after cholecystectomy if the underlying cause of the pain was different. This is one of the most common clinical pitfalls. [26]

Acute cholecystitis should be distinguished from uncomplicated biliary colic primarily by its duration and inflammatory load. Cholecystitis is more typically characterized by hours-long, persistent pain, fever, a positive Murphy's sign, and inflammatory laboratory changes. With colic, laboratory tests are often uninformative, and the pain is paroxysmal and without a mandatory inflammatory component. [27]

Choledocholithiasis and cholangitis must be differentiated from acute hepatitis and drug-induced liver injury. Hepatitis can also cause pain under the right ribs, weakness, nausea, dark urine, and jaundice. However, with choledocholithiasis and cholangitis, signs of mechanical obstruction are usually more pronounced, and an infectious component often develops more quickly. However, a high bilirubin level alone does not determine which of the two paths is correct. [28]

Biliary pancreatitis is a separate issue. When pain in the right hypochondrium or epigastrium is accompanied by more diffuse upper abdominal pain, severe vomiting, and laboratory confirmation of pancreatitis, this is a different clinical category. It cannot be managed in the same way as simple biliary colic, as the nutritional considerations, fluid therapy, timing of cholecystectomy, and the need for endoscopy are different. [29]

In pregnant women, differential diagnosis should always be comprehensive. Symptomatic cholelithiasis is common, but pain in the right upper quadrant can also be a manifestation of preeclampsia or hemolysis syndrome, elevated liver enzymes, and thrombocytopenia. Therefore, there is no safe option for pregnant women to "blame it on the gallbladder and see later." [30]

State What speaks more in his favor What helps to distinguish
Biliary colic an attack after eating, radiating to the right shoulder blade, pain lasting from 15 minutes to several hours absence of pronounced inflammation and a stable condition between attacks
Acute cholecystitis pain for more than 5 hours, fever, Murphy's sign inflammatory markers and ultrasound signs of inflammation
Choledocholithiasis pain plus signs of cholestasis bilirubin, cholestasis enzymes, dilation of ducts
Acute cholangitis pain, fever, cholestasis, deterioration of general condition the need for urgent decompression of the bile ducts
Acute hepatitis weakness, nausea, jaundice, pain under the ribs clinical and laboratory hepatocellular profile and the absence of a typical stone picture
Biliary pancreatitis upper abdominal pain, vomiting, pancreatic enzymes different nutrition tactics, infusions and timing of interventions
Obstetric pathology pregnancy plus right hypochondrium or epigastrium blood pressure, platelets, liver enzymes, obstetric assessment

Basis for table: recommendations for cholelithiasis, cholangitis, pancreatitis, hepatitis and preeclampsia. [31]

Treatment

In uncomplicated biliary colic, the initial approach is aimed at pain relief and confirming the diagnosis, but more importantly, this condition tends to recur. Official materials from the National Institute of Diabetes and Digestive and Kidney Diseases (USA) emphasize that if symptomatic gallstones have already flared up, such stones usually require treatment, most often surgically. Therefore, constant self-medication with antispasmodics without considering cholecystectomy is a dead end. [32]

In acute cholecystitis, the current standard has become significantly more active. The World Society of Emergency Surgery recommends that early laparoscopic cholecystectomy should be the standard of care whenever possible, including in many fragile patients if the surgery is tolerated. European guidelines also favor early surgery, preferably within the first 72 hours of admission. If the patient is too ill for surgery, percutaneous cholecystostomy is an option as a bridging tactic. [33]

In acute cholangitis, treatment consists of two mandatory components: antibacterial therapy and restoration of bile flow. The Tokyo and European guidelines agree that early drainage is indicated at the onset of moderate cholangitis, while in severe cases, it is performed as soon as possible after initial stabilization. Endoscopic retrograde cholangiopancreatography (ERCP) is considered the preferred decompression method. [34]

If right upper quadrant pain is identified as a manifestation of biliary pancreatitis, the approach changes. Current guidelines from the American College of Gastroenterology emphasize the importance of moderately aggressive fluid resuscitation for the first 6-12 hours, early oral feeding in mild cases, avoidance of routine antibiotics without proven infection, and performing endoscopic retrograde cholangiopancreatography within 24 hours only if pancreatitis is complicated by cholangitis. In mild biliary pancreatitis, cholecystectomy is preferred before discharge. [35]

In pregnant women, the approach has also become more definitive. The Gastrointestinal and Endoscopic Surgery Society recommends laparoscopic cholecystectomy as the treatment of choice for symptomatic gallbladder disease, regardless of trimester. For common bile duct stones, endoscopic retrograde cholangiopancreatography followed by surgery is considered a safe option. If right upper quadrant pain is associated with preeclampsia or hemolysis syndrome, elevated liver enzymes, and thrombocytopenia, the obstetric algorithm for urgent hospitalization and monitoring of mother and fetus becomes the leading option. [36]

State Basic tactics What is considered a modern correct goal?
Biliary colic pain relief and confirmation of diagnosis do not delay the decision about cholecystectomy if symptoms occur
Acute cholecystitis hospitalization, antibiotics as indicated, surgical evaluation early laparoscopic cholecystectomy
Choledocholithiasis clarification of ducts and plan for therapeutic endoscopy remove the obstruction and then resolve the gallbladder issue
Acute cholangitis antibiotics plus emergency decompression quickly restore the outflow of bile, often endoscopically
Biliary pancreatitis infusion, early feeding as tolerated, assessment of complications Perform therapeutic endoscopy only for cholangitis, cholecystectomy before discharge in mild cases
Symptomatic illness during pregnancy joint obstetric-surgical route if necessary, do not postpone laparoscopic cholecystectomy due to trimester
Obstetric cause of pain obstetric hospitalization and monitoring do not miss preeclampsia and hemolysis syndrome, elevated liver enzymes and thrombocytopenia

Basis for the table: recommendations of the World Society of Emergency Surgery, the American College of Gastroenterology, the European Association for the Study of the Liver, the Tokyo Guidelines, and the guidelines for laparoscopy in pregnancy. [37]

Prevention and prognosis

After one typical biliary attack, the disease often recurs. European guidelines indicate that approximately 50% of patients experience recurrent pain after the first attack. This is an important practical detail, as it is the recurrence of attacks that distinguishes symptomatic gallstone disease from incidentally discovered asymptomatic stones, which often require no intervention at all. [38]

The risk of stone formation is influenced by body weight and the rate of its change. Official materials from the US National Institute of Diabetes and Digestive and Kidney Diseases emphasize that excess body weight increases the likelihood of stone formation, and very rapid weight loss also increases the risk. Therefore, prevention here does not involve "gallbladder cleansing," but rather sustainable weight control and a sensible diet without extreme dieting. [39]

The prognosis for uncomplicated biliary colic is generally favorable, but only if the symptom is not ignored. The prognosis for acute cholecystitis is also usually good with timely surgery. However, with cholangitis and severe biliary pancreatitis, the outcome directly depends on the speed of recognition, initiation of antibiotics, and stabilization and restoration of bile flow. [40]

In pregnant women, the prognosis is largely determined by how quickly a biliary problem is distinguished from an obstetric emergency. In symptomatic gallstone disease, delaying treatment leads to relapses, repeat hospitalizations, and complications. In preeclampsia and hemolysis syndrome, elevated liver enzymes, and thrombocytopenia, delay is dangerous for both mother and fetus. [41]

The main practical conclusion is simple. Pain in the right upper quadrant is not a symptom worth treating haphazardly for months. A sound approach consists of early recognition of typical biliary pain, promptly searching for red flags, ultrasound as the first line of investigation, and moving on to more advanced diagnostics or intervention when the clinical picture warrants it. [42]

Factor What's happening Practical conclusion
The first biliary attack has already happened the risk of recurrent attacks is significant don't delay the plan with the surgeon
Asymptomatic stones often may not bother for a long time Not all stones require immediate surgery.
Fast weight loss the risk of stone formation increases avoid extreme weight loss schemes
Overweight the risk of stones is higher lose weight gradually
Delay in treatment of cholecystitis complications and rehospitalizations are on the rise early surgical tactics are preferable
Delay in treatment of cholangitis the risk of sepsis and multiple organ failure increases decompression should not be delayed

Basis for the table: recommendations for cholelithiasis, acute cholecystitis and cholangitis. [43]

Frequently asked questions

Could pain in the right hypochondrium be caused by something other than the gallbladder?
Yes. Besides biliary causes, this symptom can also be caused by hepatitis, biliary pancreatitis, peptic ulcer disease, renal colic, pleuropulmonary processes, and obstetric complications of pregnancy. Therefore, the location of the pain only directs the search but does not establish a diagnosis in itself. [44]

If an ultrasound examination reveals no stones, are you sure there are no stones?
Not always. In cases of high clinical suspicion and a negative ultrasound examination, European guidelines allow for further clarification using magnetic resonance cholangiopancreatography (MRI) or endoscopic ultrasound. For complicated cases following an inconclusive ultrasound examination, the American College of Radiology also considers MRI and CT scanning as appropriate next steps. [45]

Should everyone with biliary pain undergo endoscopic retrograde cholangiopancreatography (ERCP) immediately?
No. This is not a screening test for all types of pain, but a diagnostic and therapeutic procedure for specific scenarios, particularly in cases of a high risk of a common bile duct stone or cholangitis. In cases of biliary pancreatitis without cholangitis, urgent ERCP is usually not necessary. [46]

Can biliary colic resolve on its own?
The attack itself may end if the obstruction was temporary. But this doesn't mean the problem is resolved. After one attack, a significant number of patients experience recurrence of symptoms, and some develop complications. [47]

Is this type of pain dangerous during pregnancy?
Yes, it is potentially dangerous. It can be a manifestation of symptomatic gallstone disease, preeclampsia, hemolysis syndrome, elevated liver enzymes, and thrombocytopenia. Therefore, a pregnant woman with new or worsening pain in the right upper quadrant requires a lower threshold for hospitalization and a more comprehensive evaluation. [48]

Does a strict diet help avoid surgery if attacks have already occurred?
Diet can reduce the provocation of symptoms, but it does not eliminate existing stones or guarantee protection against recurrent episodes or complications. For symptomatic disease, cholecystectomy remains the primary definitive treatment, especially if attacks are recurrent. [49]

Key points from experts

Tadahiro Takada is a professor of hepatobiliary-pancreatic surgery at Teikyo University, founder and honorary president of the Japanese Society of Hepatobiliary-Pancreatic Surgery, and the first president of the Asia-Pacific Hepatopancreatobiliary Association. His key practical contribution is that international guidelines for cholangitis have moved away from relying solely on the Charcot triad and toward a broader diagnostic and prognostic model. For clinical practice, this means a simple thing: the absence of a "classic" presentation does not rule out dangerous cholangitis. [50]

Santhi Swarup Vije, MD, professor of gastroenterology and hepatology at the Mayo Clinic, is a co-author of the American College of Gastroenterology's guidelines for acute pancreatitis. His practical point is particularly important for right upper quadrant pain: if the symptom suggests biliary pancreatitis, there is no need to automatically send every patient for urgent endoscopy. Priority should be given to early assessment of severity, fluid support, nutritional support, and endoscopic retrograde cholangiopancreatography (ERCP) only if cholangitis is present. [51]

Cynthia Giamphi-Bannerman, MD, MS, a perinatologist and chair of the Department of Obstetrics, Gynecology, and Reproductive Sciences at the University of California, San Diego, specializes in maternal-fetal medicine. Her practice thesis for this topic is that right upper quadrant pain in pregnancy should not automatically be considered a gastrointestinal complaint because it falls within the spectrum of severe features of preeclampsia and hemolysis syndrome, elevated liver enzymes, and thrombocytopenia, and therefore requires a low threshold for urgent obstetric evaluation. [52]

Lian Feldman is Professor and Chair of the Department of Surgery at McGill University, Surgeon-in-Chief at McGill University Medical Center, and a specialist in minimally invasive gastrointestinal surgery. Her professional position aligns well with the current trend in biliary surgery: patients benefit from early, well-planned, and minimally invasive surgery rather than a prolonged wait with repeated attacks and more complicated hospitalizations. For right upper quadrant pain, this means that symptomatic gallstones should not remain "observed" for months. [53]

Robert J. Fontana, MD, professor of internal medicine and transplant hepatology at the University of Michigan, is a leading expert on acute and drug-induced liver injury and the author of the American Association for the Study of Liver Diseases' guidelines on drug-induced liver injury. His thesis is useful for differential diagnosis: pain under the right ribs, along with jaundice and biochemical liver damage, cannot automatically be assumed to be a mechanical biliary problem. Sometimes the doctor is faced not with choledocholithiasis, but with acute hepatitis or drug-induced liver injury, and this changes the patient's entire path. [54]