That dull ache under your right ribs — the one that shows up after a greasy meal or a long run — has probably made you Google "what organs under right rib cage" at 2 a.Consider this: m. more than once No workaround needed..
You're not alone. It's one of those body questions that feels simple until you actually look at the anatomy. Now, then you realize: there's a lot packed into that space. And not all of it hurts the same way.
What Is the Right Upper Quadrant
Doctors call this area the right upper quadrant — RUQ for short. It's the section of your abdomen tucked beneath the lower edge of your right rib cage, stretching from the midline to your side and down toward your pelvis That's the whole idea..
But "under the right ribs" isn't just one neat compartment. The ribs themselves curve downward and forward, creating a kind of bony shelf. Organs sit both behind and below that shelf. Some are fully protected by bone. Others — like the liver — spill out past the ribs entirely Worth keeping that in mind. Worth knowing..
The main residents
- Liver — the heavyweight champion. Takes up most of the space.
- Gallbladder — tucked under the liver like a small pouch.
- Right kidney — sits deeper, retroperitoneal (behind the abdominal lining).
- Right adrenal gland — perched on top of the kidney, tiny but loud when it misbehaves.
- Hepatic flexure of the colon — the sharp turn where the transverse colon becomes the ascending colon.
- Duodenum — the first part of the small intestine, curling around the head of the pancreas.
- Head of the pancreas — nestled in that same C-loop.
That's the short list. The longer version includes blood vessels (hepatic artery, portal vein, inferior vena cava), nerves, lymph nodes, and the diaphragm forming the ceiling.
Why It Matters / Why People Care
Pain under the right ribs is one of the most common reasons people show up in primary care. But here's the thing: location lies.
The liver itself has no pain receptors in its parenchyma — only in its capsule. So a fatty liver? Usually silent. Practically speaking, a stretching capsule from hepatitis or congestion? That hurts. A lot Easy to understand, harder to ignore..
The gallbladder, meanwhile, is dramatic. Stones blocking the cystic duct? Classic biliary colic — waves of pain that build, peak, and fade over hours. Often after fatty food. Often at night It's one of those things that adds up..
The kidney? Still, stone pain doesn't wave. Also, different beast. It clamps down — severe, radiating to the groin, often with nausea and microscopic blood in the urine.
And the colon? Gas trapped at the hepatic flexure can mimic everything from a heart attack to a liver tumor. I've seen people rushed to the ER for "right upper quadrant pain" who just needed to fart And it works..
Real talk: the symptom doesn't tell you the organ. The pattern does. Timing. Triggers. Here's the thing — radiation. Associated symptoms. That's what separates a gallbladder attack from a kidney stone from a peptic ulcer referring pain upward.
How It Works (Anatomy in Context)
Let's walk through the big players — not as a textbook list, but as they actually sit and function in real life.
Liver: the metabolic engine
Weighs about 1.5 kg. Sits mostly under the right ribs, but the left lobe crosses the midline. You can sometimes feel the edge on deep inspiration — especially if it's enlarged.
It does everything: detox, protein synthesis, bile production, glycogen storage, cholesterol metabolism, clotting factor production. Consider this: it gets dual blood supply — hepatic artery (oxygenated) and portal vein (nutrient-rich from the gut). That's why gut infections can seed liver abscesses.
The bile it makes drains through tiny canaliculi → bile ducts → common hepatic duct → common bile duct → duodenum. The gallbladder is just a side branch off that highway, storing and concentrating bile between meals.
Gallbladder: the bile reservoir
Pear-shaped. 7–10 cm long. Holds 30–50 mL of concentrated bile. Contracts when cholecystokinin (CCK) hits — triggered by fat and protein in the duodenum.
Stones form when cholesterol supersaturates bile, or when bile stasis lets crystals aggregate. Even so, most stones are silent. If it passes? But when one blocks the cystic duct → pressure builds → visceral pain (vague, midline). Here's the thing — relief. And if it stays? Inflammation → cholecystitis → somatic pain (sharp, localized to RUQ, Murphy's sign positive).
Right kidney: the silent filter
Retroperitoneal. Sits at T12–L3, lower than the left because the liver pushes it down. Covered by peritoneum only on the front — so kidney pain is deep, not superficial Simple, but easy to overlook..
Filters 180 L/day. Makes ~1.5 L urine. Regulates electrolytes, blood pressure (renin), red blood cells (EPO), vitamin D activation. Stones form in the calyces, drop into the ureter → that's when you know it exists Simple as that..
Adrenal gland: small but mighty
Sits like a cap on the kidney. Cortex makes cortisol, aldosterone, androgens. Medulla makes adrenaline. Tumors here — pheochromocytoma, Conn's syndrome, Cushing's — present with hypertension, hypokalemia, anxiety, metabolic chaos. Rare. But when they show up, they mimic everything.
Hepatic flexure & colon: the gas trap
The colon makes a 90-degree turn right under the liver. Sharp angle. Which means narrow lumen. Gas gets stuck. Distension stretches the visceral peritoneum → pain that moves, shifts with position, resolves with passing gas or stool.
Duodenum & pancreas: the hidden neighbors
The duodenum wraps around the pancreatic head. On the flip side, ulcers here — especially posterior ones — can penetrate the pancreas, cause referred back pain, or bleed massively. Pancreatic head tumors obstruct the bile duct → painless jaundice. That's a different article, but worth knowing they live here Simple as that..
Common Mistakes / What Most People Get Wrong
"Liver pain" means liver disease.
Wrong. Most liver disease is painless until late. Cirrhosis, NAFLD, viral hepatitis — often asymptomatic. Pain comes from capsular stretch (hepatitis, congestion, metastatic deposits) or biliary obstruction. Don't assume your liver is fine because it doesn't hurt Took long enough..
"It's my gallbladder" every time the right side hurts.
Classic. But kidney stones, peptic ulcers, pneumonia (lower lobe pleuritis), rib fractures, shingles (pre-rash), and even heart attacks can refer here. I've seen a myocardial infarction present as isolated RUQ pain with nausea. No chest pain. EKG saved that patient.
"My kidneys are fine — I pee normally."
Kidney function ≠ kidney pain. You can have a 6 mm stone with normal creatinine and normal urinalysis (if it's not obstructing right now). And chronic kidney disease is silent until >50% function is gone.
"Gas can't hurt that bad."
It can. Visceral distension triggers the same afferent pathways as inflammation. I've had patients curled up in the ER, diaphoretic, tachycardic — diagnosed with "hepatic flexure syndrome" after CT rules out the scary stuff. A simethicone and a walk later, they're fine.
"If the ultrasound is normal, nothing's wrong."
Ultrasound misses: small stones (especially non-shadowing
ones), early cholecystitis without wall thickening, pancreatic pathology obscured by bowel gas, renal masses <1 cm, and most adrenal lesions. Practically speaking, it's operator-dependent and physics-limited. A normal US doesn't rule out pathology — it just means this test didn't see it Worth keeping that in mind..
"Pain that moves isn't real."
Visceral pain is notoriously poorly localized. A stone moves from kidney → ureter → bladder, and the pain migrates from flank → groin → testicle/labia. Biliary colic starts epigastric, shifts to RUQ, radiates to scapula. Appendicitis begins periumbilical, settles in RLQ. Migration is a feature, not a bug.
"Young people don't get 'old people' diseases."
Cholangiocarcinoma at 32. Renal cell carcinoma at 28. Pancreatic adenocarcinoma at 40. Rare? Yes. Impossible? No. Age adjusts pre-test probability — it doesn't exclude.
Red Flags That Demand Imaging Now
| Symptom / Sign | What It Suggests | First-Line Imaging |
|---|---|---|
| Fever + RUQ pain + leukocytosis | Acute cholecystitis, cholangitis, liver abscess | US → CT if equivocal |
| Painless jaundice + weight loss | Pancreatic head CA, cholangiocarcinoma | CT abdomen/pelvis with contrast |
| Flank pain + microscopic hematuria + no infection | Renal mass, urothelial CA | CT urogram |
| Hypertension + hypokalemia + adrenal nodule | Conn's syndrome | Adrenal protocol CT + labs |
| RUQ mass + constitutional symptoms | Hepatocellular CA, metastatic disease | Triphasic liver CT or MRI |
| Post-prandial pain + weight loss + fear of eating | Chronic mesenteric ischemia | CTA mesenteric vessels |
The Clinical Gestalt: How to Think About This Quadrant
-
Localize the layer. Parietal (somatic) pain = sharp, well-localized, worse with movement/coughing (peritonitis, pleural irritation, abdominal wall). Visceral pain = dull, vague, midline or poorly localized, autonomic symptoms (nausea, diaphoresis). Referred pain = distant from source (shoulder tip = diaphragmatic irritation; groin = ureter; scapula = biliary).
-
Time the onset. Seconds = vascular (rupture, torsion, embolism). Minutes-hours = biliary colic, renal colic, pancreatitis. Days = cholecystitis, hepatitis, pyelonephritis. Weeks-months = mass, chronic obstruction, referred malignancy.
-
Correlate with physiology. Pain after fatty meal → biliary. Pain with hydration → ureteral stone. Pain relieved by leaning forward → pancreatic. Pain worse supine → hepatic capsular stretch, pancreatic. Pain changed by respiration → pleural, subphrenic, hepatic Most people skip this — try not to..
-
Trust the labs, but know their limits. Normal LFTs ≠ no biliary obstruction (early stone, intermittent). Normal amylase/lipase ≠ no pancreatitis (late presentation, hypertriglyceridemia). Normal WBC ≠ no infection (elderly, immunocompromised, early). Normal creatinine ≠ no renal obstruction (unilateral, baseline normal).
-
Image with intent. Don't shotgun. US for biliary, renal, hepatic parenchyma. CT for stones, masses, pancreatitis, vascular, retroperitoneum. MRI/MRCP for biliary tree detail, liver characterization, adrenal. HIDA for functional gallbladder. Each test answers a specific question — ask it before you order Turns out it matters..
The Bottom Line
The right upper quadrant is a diagnostic crossroads. Liver, gallbladder, kidney, adrenal, colon, duodenum, pancreas, pleura, ribs, nerves — all packed beneath a thin abdominal wall, sharing innervation, mimicking each other with ruthless efficiency.
Anatomy explains the why. So pathology writes the what. But the diagnosis? Consider this: physiology predicts the when. That lives in the history. The patient tells you the organ system; the exam narrows the structure; the labs and imaging confirm the pathology.
Miss the history, and you're guessing. Guess in the RUQ, and you miss cancer, sepsis, infarction, or a stone that was never going to pass.
Listen first. Palpate second. Image third. Operate last.
And never, ever forget: the diaphragm is innervated by C3-C5. The shoulder never lies.