
Right Upper Quadrant Pain: Causes, Warning Signs, Next Steps
Pain in the right upper quadrant (RUQ) is felt in the upper right part of your abdomen, just under the right ribs. The most common digestive sources are the gallbladder, liver, stomach and bile ducts. Pain that is severe, comes with fever, yellow skin, vomiting or a rigid belly needs emergency care today. Pain that comes and goes, or follows meals, deserves a prompt visit to a gastroenterologist, who can sort out the cause with an exam, blood tests and imaging.
Precision Digestive Healthprecisiondigestive.comGet Digestive Pain EvaluatedDr. Meet Parikh, a board-certified gastroenterologist in South Plainfield, evaluates and treats digestive conditions that may cause right upper abdominal pain.Explore digestive care
TL;DR
- RUQ pain usually traces back to the gallbladder, liver, stomach or esophagus, but kidneys, lungs and even shingles can also be the source.
- Pain after a fatty meal, lasting hours and sometimes reaching the right shoulder, is a classic gallstone pattern.
- Go to the ER for severe pain, fever, yellow skin, repeated vomiting, vomiting blood, confusion, a fast heartbeat or a hard, swollen belly.
- Diagnosis rests on your history, an exam, lab work and usually an ultrasound, not on guessing from symptoms alone.
- Dr. Meet Parikh, a board-certified gastroenterologist in South Plainfield, NJ, evaluates and treats the digestive causes of RUQ pain.
Table of Contents
- What the right upper quadrant contains
- Common causes of pain under the right rib
- Right upper quadrant pain after eating
- When to worry: signs that mean go to the ER
- Symptoms that point toward a cause
- How doctors find the cause
- How RUQ pain is treated
- Our perspective
- Get your right-sided pain evaluated in South Plainfield
- What to bring to your appointment
- FAQ
- Sources
What the right upper quadrant contains
Imagine a line down the middle of your belly and another across your navel. The top right box is the right upper quadrant. Inside it sit the liver, the gallbladder, the bile ducts, part of the stomach, the first part of the small intestine, the head of the pancreas, part of the colon and the upper pole of the right kidney. Directly above is the diaphragm and the base of the right lung.
That crowding is why this pain is so common, and why it is hard to pin down from the couch. Clinicians point out that the region spans abdominal, retroperitoneal and even chest sources, so a good workup has to separate them (Clinician.com). Pain under the right rib is the same territory described in everyday words.
Common causes of pain under the right rib
Gallstones and gallbladder attacks
Gallstones are the first suspect for many adults. When a stone blocks a bile duct, bile builds up and the gallbladder cramps. The National Institute of Diabetes and Digestive and Kidney Diseases says these attacks usually cause pain in the upper right abdomen, sometimes lasting several hours, often after heavy meals and often in the evening or at night (NIDDK). The same page notes that most people with gallstones have no symptoms at all, and that if you have one attack, more will likely follow.
WebMD adds that gallbladder trouble can send pain to the right shoulder (WebMD). If this sounds familiar, our walkthrough of the first 20 minutes of a gallbladder attack covers what the episode feels like and which signs are emergencies.

Indigestion, gastritis and reflux
Gas, indigestion, heartburn, gastritis and acid reflux can all produce an ache or burn in the upper abdomen, including on the right side. This pain tends to be burning or gnawing rather than a steady, severe cramp, and it may ease with an antacid. Reflux that keeps returning is worth a proper evaluation instead of months of self-treatment. Our GERD and acid reflux care page explains how we approach it.
Liver conditions
The liver itself has no pain-sensing tissue inside, but its outer capsule stretches when the organ swells. Fatty liver disease usually causes no symptoms, though some people notice a vague ache or heaviness under the right ribs (Medical News Today). Hepatitis, alcohol-related liver injury and other liver diseases can cause similar discomfort, often with fatigue, dark urine or yellowing of the skin. See our guides to fatty liver disease and liver disease causes, symptoms and care for the details.
Bile reflux, sludge and bile duct problems
Bile that backs up into the stomach, thick bile called sludge, and stones lodged in the common bile duct can all hurt in the upper right abdomen. A lodged duct stone with infection (cholangitis) is an emergency, which is why fever and yellow skin together should never wait. Less urgent bile problems are often manageable once identified; we explain bile reflux treatment and when gallbladder sludge needs treatment separately.
Pancreas, ulcers and other digestive causes
Pancreatitis and peptic ulcers can cause upper abdominal pain that may be felt on the right, often worse after eating. Constipation, trapped gas in the bend of the colon and a flare of inflammatory bowel disease can also show up in this area.
Causes outside the digestive system
Not every RUQ pain starts in the gut. Kidney stones, kidney infections, shingles (a painful rash that may appear after the pain starts), pneumonia or pleurisy at the lung base, and sore muscles or ribs can all feel like pain under the right rib. In women, ovarian problems or ectopic pregnancy can cause right-sided pain, and a possible pregnancy with sudden pain needs urgent care (Providence). Rarely, heart problems present as upper abdominal discomfort, so pain with chest pressure, shortness of breath or sweating means calling 911.
Right upper quadrant pain after eating
Timing is one of the best clues you can bring to an appointment.
- Within 30 to 90 minutes of a fatty or large meal, steady and severe, lasting hours: points to gallstones and biliary colic. Gallstones blocking the bile duct trigger the gallbladder to contract, and indigestion, GERD or pancreatitis can also flare around mealtime (Drugs.com).
- Burning, sour taste, worse lying down: more typical of reflux or gastritis.
- Bloating and cramping with loose stools: could be a bowel cause, such as irritable bowel syndrome or celiac disease, and worth discussing.
- Pain with fever, night sweats and fatigue: needs a prompt workup. One published case report described pain that worsened after eating or drinking, only mildly improved with omeprazole and came with fever, night sweats and fatigue (PMC).
A short food and symptom diary for one to two weeks, noting what you ate, when pain started, how long it lasted and what eased it, gives a gastroenterologist real material to work with.
When to worry: signs that mean go to the ER
Go to the emergency room, or call 911, for any of these with upper right abdominal pain, according to WebMD’s list of warning signs (WebMD):
- Severe pain, or pain that makes you double over
- Pain that gets worse when the area is touched
- Fast heartbeat, sweating, confusion or low blood pressure
- A swollen abdomen
- Vomiting blood or material that looks like coffee grounds
Add to that list fever with chills, yellow skin or eyes, and pain that has lasted more than a few hours without easing. NIDDK notes that if a bile duct stays blocked for more than a few hours, complications can develop (NIDDK). Acute bile duct infection is managed by a team of critical care doctors, surgeons and gastroenterologists because it can be life-threatening without rapid treatment (Clinician.com).
Call a doctor within a few days if
Pain is not an emergency but should still be checked when it returns repeatedly, gets worse over time, follows meals, or comes with nausea, vomiting or low-grade fever. Providence advises calling your doctor when right-side pain is serious, worsens or appears with symptoms such as nausea, vomiting or fever (Providence). Also book a visit for unexplained weight loss, persistent fatigue, dark urine, pale stools or blood in the stool.
Symptoms that point toward a cause
WebMD lists fever, nausea, vomiting, diarrhea, abdominal swelling, yellow skin, blood in the stool, tenderness and pain when breathing as symptoms that can accompany RUQ pain (WebMD). Here is how those clues commonly sort out. This is a guide to the conversation, not a diagnosis.
| Clue | What it may suggest | Who to see |
|---|---|---|
| Pain after fatty meals, right shoulder pain | Gallstones, gallbladder attack | Gastroenterologist; ER if severe or with fever |
| Fever plus yellow skin | Bile duct blockage or infection | ER now |
| Burning, sour taste, relief with antacids | Reflux, gastritis, ulcer | Gastroenterologist |
| Dull ache or heaviness, fatigue, risk factors for fatty liver | Liver condition | Gastroenterologist |
| Pain on breathing, cough, fever | Lung or pleural cause | Primary care or urgent care |
| Flank pain radiating to the groin, blood in urine | Kidney stone or infection | Urgent care or ER |
| Burning pain then a blistering rash on one side | Shingles | Primary care promptly |
| Vomiting blood or black stools | Bleeding in the upper GI tract | ER now |
How doctors find the cause
Clinicians evaluate RUQ pain with a combination of history, physical examination, laboratory testing and imaging (PubMed). The American Academy of Family Physicians notes that history, exam and labs alone are not enough for an accurate diagnosis, and that ultrasound should be the first imaging test (AAFP).
In practice, a visit usually goes like this:
- History. Where exactly it hurts, when it started, how long episodes last, what triggers them, medications (including pain relievers and supplements), alcohol use and family history.
- Exam. Gentle pressing on the abdomen, checking for tenderness, liver size and yellowing of the skin or eyes.
- Blood and stool tests. Liver enzymes, bilirubin, pancreatic enzymes and a blood count, plus other tests if celiac disease or inflammation is a concern.
- Imaging. Usually an abdominal ultrasound first. CT or MRI may follow if the picture is unclear.
- Scopes when needed. If upper-digestive symptoms or bleeding are the question, an upper endoscopy lets the physician look directly at the esophagus, stomach and duodenum.
How RUQ pain is treated
Treatment depends on the cause, so the first goal is the right diagnosis.
- Gallstones with symptoms: laparoscopic removal of the gallbladder (cholecystectomy) is the standard treatment for most forms of symptomatic gallstone disease (AAFP). Many people live well afterward; we cover digestive care after gallbladder removal and the diarrhea that can follow.
- Reflux, gastritis, ulcers: acid-lowering medicine, diet changes, and treatment of any underlying trigger, guided by findings.
- Fatty liver and other liver disease: nutrition, weight management, control of related conditions such as diabetes, and monitoring. Cirrhosis has its own early warning signs, which we describe in our cirrhosis symptoms guide.
- Bile reflux or sludge: targeted medication and follow-up, depending on the findings.
- Non-digestive causes: referral for kidney, lung, skin or musculoskeletal care.
Please do not take new pain relievers daily to mask recurring RUQ pain. Over-the-counter NSAIDs such as ibuprofen can irritate the stomach, and a masked symptom is a delayed diagnosis. Ask a physician what is safe for you.
Our perspective
Most people who come to us with pain under the right rib have been living with it for a while. They have tried antacids, skipped fatty foods and hoped it would settle. Then an episode hits at 2 a.m. and they wonder what they missed. We think the useful question is not “which organ is it?” but “what pattern is this?” Timing around meals, duration, associated symptoms and your medical history tell us where to look first. Then we confirm with the right tests instead of treating a guess. Dr. Parikh is a board-certified, fellowship-trained gastroenterologist. Because the right upper quadrant overlaps with gallbladder, liver, stomach and bile duct disease, a gastroenterologist is well placed to coordinate the evaluation, from ultrasound and labs to endoscopy when it is called for. We offer patient-centered care in English, Gujarati, Hindi and Spanish, so you can describe your symptoms in the language you think in. Precise description leads to faster answers. If we find a problem that belongs with a surgeon or another specialist, we say so and coordinate that handoff. If we find a manageable digestive condition, we build a treatment plan and follow up with you. Precision Digestive Health
Get your right-sided pain evaluated in South Plainfield
If your pain keeps returning, follows meals or has lasted weeks, a gastroenterology visit is the logical next step. At Precision Digestive Health, Dr. Meet Parikh evaluates upper abdominal pain, reflux, liver disease, gallbladder and pancreas disorders and more, with diagnostic testing, treatment planning and ongoing follow-up. Where symptoms call for it, we also perform upper endoscopy.

See everything we treat on our services page, or visit our website to book an appointment. If you are having an emergency, do not wait for an appointment: call 911 or go to the nearest ER.
What to bring to your appointment
A few minutes of preparation makes the visit more productive:
- A written timeline of episodes: date, time, meal beforehand, duration, severity from 1 to 10
- Where the pain radiates (back, right shoulder, chest)
- Every medication and supplement you take, including over-the-counter pain relievers
- Any prior imaging or lab results
- Family history of gallstones, liver disease, colon cancer or inflammatory bowel disease
- Your insurance card and a list of questions
If you have blood in your stool or are due for screening, ask about it during the same visit. Our colon cancer screening service can be discussed alongside your symptoms.
FAQ
What is in the right upper quadrant of the abdomen?
The liver, gallbladder, bile ducts, part of the stomach, the first part of the small intestine, part of the pancreas, part of the colon and the upper part of the right kidney all sit here. The base of the right lung lies just above. That is why the pain has many possible sources.
Can RUQ pain after eating be gallstones?
Yes, it is one of the most common explanations, especially after a fatty or heavy meal. NIDDK describes gallbladder attacks as upper right abdominal pain lasting hours, often in the evening or at night. Reflux, indigestion and pancreatitis can also cause pain after meals, so an ultrasound and labs help confirm the cause.
When should I go to the ER for upper right abdominal pain?
Go right away for severe pain, fever, yellow skin, a fast heartbeat, sweating, confusion, a swollen or very tender belly, or vomiting blood or coffee-ground material. Pain that lasts more than a few hours without easing also needs urgent evaluation. When in doubt, go.
What kind of doctor treats pain under the right rib?
For digestive causes, a gastroenterologist evaluates the liver, gallbladder, bile ducts, stomach and bowel. Emergencies go to the ER, and non-digestive causes such as shingles or kidney stones may be handled by primary care, urgent care or a urologist.
Is a vague ache under the right ribs a sign of fatty liver?
It can be. Fatty liver usually causes no symptoms, but some people notice a dull ache or heaviness under the right ribs. Because many conditions cause that feeling, blood tests and imaging are the way to tell. Our liver health checklist can help you prepare questions.
Sources
- Right Upper Quadrant Pain in the ED, Clinician.com
- Symptoms & Causes of Gallstones, NIDDK
- What Causes RUQ Pain?, WebMD
- Right upper quadrant pain under the ribs: 9 causes, Medical News Today
- Why do I have pain under my right rib after eating?, Drugs.com
- Right-side stomach pain: causes and when to see a doctor, Providence
- Evaluating the Patient with Right Upper Quadrant Abdominal Pain, PubMed
- Gallstone Disease, Abdominal Pain Syndromes, AAFP FP Essentials
- Postprandial Right Upper Quadrant Abdominal Pain, PMC



