Right upper quadrant pain is discomfort felt beneath your right ribcage, in the area that houses your liver, gallbladder, and several other organs. It’s one of the most common reasons people visit an emergency room for abdominal pain, and the cause ranges from a temporary muscle strain to a gallbladder attack that needs immediate treatment. Understanding what’s in that part of your body and how different conditions feel can help you figure out what’s going on.
What’s Located in the Right Upper Quadrant
Your abdomen is divided into four quadrants, and the right upper section is packed with organs. The right lobe of the liver takes up most of the space, with the gallbladder tucked underneath it. The first section of the small intestine (the duodenum), the head of the pancreas, the right kidney and its adrenal gland, and part of the colon all sit in this quadrant too. Pain here can originate from any of these structures, which is why the same general location can mean very different things depending on the specific quality of the pain, how long it lasts, and what makes it better or worse.
Gallbladder Problems: The Most Common Cause
Gallbladder issues are the single most frequent explanation for right upper quadrant pain. When a gallstone temporarily blocks the duct that drains bile from the gallbladder, you get what’s called biliary colic. An episode lasts anywhere from 20 minutes to several hours and typically produces intense, sharp, cramping, or squeezing pain directly under your right ribcage. The pain often radiates to your right shoulder or back, and it tends to strike after a fatty meal because your gallbladder contracts harder to release bile for digestion.
If the blockage persists and the gallbladder wall becomes inflamed, that’s cholecystitis. The pain is similar in location but more persistent, often accompanied by fever, nausea, and tenderness so pronounced that pressing on the area while you inhale sharply causes you to catch your breath. This is a clinical finding doctors specifically look for during examination. Cholecystitis usually requires hospital treatment and, in many cases, surgical removal of the gallbladder.
Liver-Related Pain
The liver itself doesn’t have pain-sensing nerves inside its tissue, but it’s wrapped in a thin capsule that does. When the liver swells from infection, inflammation, or blood congestion, it stretches that capsule and produces a dull, aching pain in the right upper quadrant. This type of pain feels distinctly different from a gallbladder attack. It’s more of a constant, heavy pressure rather than sharp waves.
Hepatitis (viral, alcoholic, or related to fatty liver disease) is a common cause of liver swelling. You might also notice nausea, loss of appetite, feeling full quickly after small meals, and general fatigue. In more advanced cases, your skin or the whites of your eyes may turn yellow, a sign that your liver isn’t processing waste products effectively. Heart failure can also back up blood into the liver, causing the same stretching pain along with ankle swelling and shortness of breath.
Stomach and Intestinal Causes
A duodenal ulcer, which forms in the first stretch of small intestine just past your stomach, can cause pain in the upper abdomen that overlaps with the right upper quadrant. Ulcer pain has a distinctive relationship with food: it often improves after eating or taking an antacid, though in some people food makes it worse. The pain tends to come and go over days or weeks, and it’s usually described as a burning or gnawing sensation rather than the sharp, cramping quality of a gallbladder attack.
Trapped gas in the right side of the colon, which bends sharply at a point called the hepatic flexure right in this quadrant, can also create surprisingly intense but short-lived pain. This is far less serious but can be alarming in the moment.
Kidney Pain That Feels Like Abdominal Pain
Your right kidney sits toward the back of the right upper quadrant, and kidney stones or infections can produce pain that wraps around from your flank to your front. Kidney stone pain is often excruciating and comes in waves, sometimes radiating down toward the groin. A kidney infection typically adds fever, chills, and pain with urination to the mix. The key distinction is that kidney pain usually has a more posterior (back-oriented) focus, whereas gallbladder or liver pain centers under the ribcage in front.
Musculoskeletal Causes
Not all right upper quadrant pain comes from an internal organ. Costochondritis, which is inflammation of the cartilage connecting your ribs to your breastbone, can produce sharp or aching pain that mimics problems deeper inside. This pain worsens when you take a deep breath, cough, sneeze, or twist your torso. A strained muscle in the abdominal wall or a bruised lower rib can feel the same way. The telltale sign of a musculoskeletal cause is that the pain changes noticeably with body position or movement, while organ pain tends to be more constant regardless of how you sit or stand.
A Less Common Cause Worth Knowing
Fitz-Hugh-Curtis syndrome is a complication of pelvic inflammatory disease where infection travels upward and causes inflammation around the liver capsule, creating sticky, string-like adhesions between the liver and the surrounding tissue. It primarily affects women under 25, and among those with pelvic inflammatory disease, roughly 4% to 14% develop this syndrome. The rate is higher in teenagers, reaching 27%, because their reproductive anatomy is more vulnerable to ascending infections. Risk factors include multiple sexual partners, unprotected sex, a history of sexually transmitted infections, and IUD use. The right upper quadrant pain can be severe and is easily mistaken for gallbladder disease, which is why doctors sometimes consider this diagnosis in younger women with unexplained pain in this area.
How Doctors Figure Out the Cause
When you go in for right upper quadrant pain, your doctor will press on different areas of your abdomen and ask detailed questions about the pain’s timing, quality, and relationship to meals. Blood tests checking liver enzymes, markers of infection, and pancreatic enzymes help narrow the list of suspects.
Ultrasound is the recommended first imaging test for right upper quadrant pain, according to both the American College of Radiology and international clinical guidelines. It’s fast, uses no radiation, and is excellent at identifying gallstones, gallbladder inflammation, liver abnormalities, and kidney problems. If ultrasound doesn’t provide a clear answer, a CT scan offers a more detailed view and can pick up causes that ultrasound misses, like certain pancreatic issues, blood clots, or problems with the intestines.
Symptoms That Need Urgent Attention
Most right upper quadrant pain turns out to be something manageable, but certain combinations of symptoms signal a more serious problem. Pain that keeps getting worse rather than coming and going, or that’s accompanied by vomiting blood, shortness of breath, or blood in your urine or stool, needs immediate evaluation. Yellowing of your skin or eyes (jaundice) points to a bile duct obstruction or significant liver dysfunction. Fever and chills alongside the pain suggest an active infection, whether in the gallbladder, bile ducts, kidney, or liver. Pain that spreads upward toward your chest, neck, or shoulder can sometimes indicate a heart or diaphragm issue rather than an abdominal one. Unexplained weight loss paired with persistent right upper quadrant pain also warrants prompt investigation.

