The lower right ribs act as a shield for the body’s largest internal organ, the liver, along with several smaller organs packed around it. Not everything under those ribs is in the belly, either: the base of the right lung sits just above, separated by a thin dome of muscle. A pain in that one spot can trace back to digestion, the kidneys, the lungs, or the rib cage itself.
Where the Right Rib Cage Area Begins and Ends
To describe pain, doctors split the belly into four quadrants, using an up-down line and a side-to-side line that cross at the navel.1Study.com. What Organs Are Under the Right Rib Cage? The section under your right ribs is the right upper quadrant, often written RUQ on notes and scan orders.1Study.com. What Organs Are Under the Right Rib Cage? It runs from the middle of your body to your right side, and from navel level up to the right rib cage.2Kenhub. Right upper quadrant of the abdomen Its upper edge is the diaphragm, the dome-shaped breathing muscle under the lungs.1Study.com. What Organs Are Under the Right Rib Cage?
The diaphragm forms the floor of the chest and the roof of the belly.3TeachMeAnatomy. The Diaphragm – Actions – Innervation – TeachMeAnatomy That means the lowest ribs cover both the belly organs below the diaphragm and the base of the lung above it.
You can find the area on your own body. Place a hand flat with the thumb at your navel and the fingers pointing toward your right ribs. The lower edge of the ribs curves down and outward from the breastbone.
The ribs wrap from the breastbone in front to the spine behind, so the area they guard includes the side and part of the back. That’s why pain “under the right ribs” can show up at the side or toward the shoulder blade. The lowest ribs aren’t attached to the breastbone at all, so you can feel their free edges more easily at your side. A doctor who reads “RUQ pain” on a chart already has a short list of organs to check.
The Liver and Gallbladder
The liver sits in the upper right belly just below the diaphragm, mostly shielded by the lower right ribs.4Wikipedia. Liver It fills most of the space under the right ribs and reaches across past the middle toward the left side.5Surgery (United Kingdom). Basic Science Anatomy of the liver
Day to day, the liver filters your blood and breaks down medicines and alcohol. It makes bile to digest fat, stores energy, and produces proteins that help your blood clot. A healthy liver is soft and tucked behind the ribs, so you usually can’t feel it below them. A doctor may press under the right ribs while you breathe in, because the liver edge moves down with the diaphragm. If the edge can be felt, the liver may be enlarged, but it also sits lower in some healthy people, so it’s one clue among several.
The gallbladder is a small pear-shaped sac in a hollow on the underside of the liver’s right side.6IntechOpen. Anatomy of the Gallbladder Its tip usually sits where the outer edge of the right “six-pack” muscle meets the rib edge, near the ninth rib.6IntechOpen. Anatomy of the Gallbladder It stores bile made by the liver and squeezes it out after fatty meals. In people with higher body weight, the gallbladder tends to sit higher, lie more sideways, and hide more behind the ribs.7PubMed Central. Anatomical Considerations for Gallbladder Sonography: A Cross-Sectional Study of CT Imaging by BMI Group
Gallstones are hard lumps that form from substances in bile, and many people have them without any symptoms. Trouble starts when a stone blocks the gallbladder’s exit tube just as the gallbladder is squeezing, which is why the pain often follows a fatty meal. It tends to build over minutes and can last hours. If the blockage lasts, the gallbladder can become inflamed, which is the problem doctors most often find in people with pain here.
The Kidney, Adrenal Gland, Colon, and Lung
Toward the back, the kidneys sit on either side of the spine, deep in the belly and cushioned by muscle and fat.8Lumen Learning. Anatomy and Physiology II The upper part of each kidney is partly protected by the eleventh and twelfth ribs.8Lumen Learning. Anatomy and Physiology II A small adrenal gland, which makes stress hormones like adrenaline, caps the top of each kidney.8Lumen Learning. Anatomy and Physiology II So problems here tend to be felt in the side or back under the ribs rather than the front.
Below the liver, the large intestine climbs up the right side and turns sharply where it meets the liver.9TeachMeAnatomy. The Colon – Ascending – Transverse – Descending – Sigmoid This bend starts the stretch of colon that crosses the belly.9TeachMeAnatomy. The Colon – Ascending – Transverse – Descending – Sigmoid It sits under the liver and in front of the lower part of the right kidney.10IMAIOS. Right colic flexure – e-Anatomy Trapped gas or constipation can therefore be felt under the right ribs. Because the bend is so close to the liver and gallbladder, gas there can feel like pain from those organs. Bowel pain often shifts or eases after passing gas or a bowel movement, which pain from a stone often does not. Since the overlap is real, persistent pain shouldn’t be put down to gas without a doctor’s view.
Above the diaphragm, the base of each lung rests on the breathing muscle.11Physiopedia. Lung Anatomy The lung’s outer surface presses against the inside of the ribs, separated by a thin lining.12TeachMeAnatomy. Lung Anatomy | Structure, Vasculature & Nerve Supply An irritated lung or lining can cause pain under the lower right ribs, often worse with a deep breath.
Some organs people expect here aren’t. The appendix is lower right, near the hip. The stomach and spleen sit mainly on the left. The pancreas lies across the middle, deep behind the stomach.
Which Organ Is Most Often Behind Pain There
Among people seen in emergency departments for this pain, an inflamed gallbladder is the most common cause doctors can pin down.13PubMed. US of Right Upper Quadrant Pain in the Emergency Department: Diagnosing beyond Gallbladder and Biliary Disease Yet over one-third of those first thought to have gallbladder inflammation turn out to have another cause.13PubMed. US of Right Upper Quadrant Pain in the Emergency Department: Diagnosing beyond Gallbladder and Biliary Disease Other causes include problems of the liver, pancreas, adrenal gland, kidney, bowel, blood vessels, and lungs.13PubMed. US of Right Upper Quadrant Pain in the Emergency Department: Diagnosing beyond Gallbladder and Biliary Disease A doctor combines your history, an exam, blood tests, and imaging rather than relying on where it hurts.
Each organ tends to have its own flavor of pain:
- Liver: hepatitis or fatty liver usually gives a dull, aching fullness.
- Gallbladder: stones cause sharp pain after meals, possibly with nausea.
- Colon: gas or constipation gives crampy, shifting pain.
- Lung: pneumonia or pleurisy hurts with breathing and cough.
Gallbladder pain from a stone often sits in the upper middle or upper right belly and may reach toward the right shoulder blade. It tends to build to a steady plateau rather than coming and going in short waves.
Kidney stone pain often sits on one side of the lower back or along the side under the ribs.14Keck Medicine of USC. 10 Signs Your Back Pain Could Be a Kidney Stone It often comes in intense waves and may spread toward the groin. People with it tend to be restless and unable to find a comfortable position. Gallbladder pain sits more in front and is more often tied to meals, though neither pattern is a strict rule.
Pain can also appear in the shoulder. Irritation under the diaphragm can be felt in the tip of the right shoulder because the two areas share nerve pathways. Right shoulder pain along with upper belly pain after meals is worth mentioning to a doctor.
Before an appointment, it helps to note when the pain started and how long episodes last. Write down whether it links to meals, breathing, movement, or urination, and whether you’ve had fever, yellow skin, or urine changes. Include what relieves or worsens it.
When the Ribs or Muscles Are the Problem
Muscles, bones, and joints of the chest wall are a relatively common source of chest pain.15PubMed Central. Musculoskeletal chest wall pain This pain is often mistaken for heart pain or lung problems.15PubMed Central. Musculoskeletal chest wall pain One example is costochondritis, inflammation of the cartilage joining ribs to breastbone, which can cause sharp pain at the front or side of the chest.16nhs.uk. Costochondritis A broken rib is more serious, since it can be dangerous if it injures an organ beneath it.17The Well by Northwell. 12 common causes of pain under the right rib cage
Chest wall pain has some typical features. Pressing on the spot often reproduces it, and twisting, lifting, or coughing makes it worse. Organ pain is usually deeper, though an inflamed organ can also be tender when pressed, so tenderness alone doesn’t settle it. A recent fall, a sport, or a stretch of heavy coughing is a useful clue.
Doctors press along the ribs and cartilage too; a match points toward the chest wall, though it doesn’t rule out other causes. If there’s any doubt about the heart or lungs, they may still order tests such as an ECG or imaging.
A strained muscle or sore cartilage usually responds to rest from the movement that triggers it. Over-the-counter pain relief can help if it’s safe for you, and warmth often does too. If the pain lasts more than a few weeks, see a doctor.
When Pain Under the Right Ribs Needs Urgent Care
These signs need prompt medical review:
- High fever18marcoscarci.co.uk. Understanding Pain Under Rib Cage: Causes and When to Seek Help
- Yellowing of the skin or eyes (jaundice)18marcoscarci.co.uk. Understanding Pain Under Rib Cage: Causes and When to Seek Help
- Vomiting blood or coughing up blood18marcoscarci.co.uk. Understanding Pain Under Rib Cage: Causes and When to Seek Help
- Blood in the urine18marcoscarci.co.uk. Understanding Pain Under Rib Cage: Causes and When to Seek Help
- Unexplained weight loss18marcoscarci.co.uk. Understanding Pain Under Rib Cage: Causes and When to Seek Help
- Severe pain or trouble breathing, especially after a rib injury17The Well by Northwell. 12 common causes of pain under the right rib cage
Fever with pain can mean a gallbladder or kidney infection. Yellow skin suggests a blocked bile duct or a liver problem. Blood in the urine can fit a kidney stone, though it has other causes too, and unexplained weight loss calls for checks for a growth. An infected gallbladder or a kidney infection can worsen quickly if not treated, and shaking chills add to the concern.
Some chest pain may be the heart. Crushing chest pain, or pain that spreads into the arm or jaw, needs emergency care. Sweating or breathlessness with pain is a reason to call emergency services. Don’t assume it’s muscular until the heart has been ruled out.
How Doctors Find the Cause
The exam comes first. A doctor usually asks where it hurts, when it started, and what changes it, and then presses on your belly. A common check is to press under the right ribs while you breathe in deeply; stopping mid-breath from pain can suggest gallbladder inflammation. The exam guides which tests come next.
Blood and urine tests go with it. Liver tests show inflammation or blocked bile flow, and a white cell count signals infection. A urine test checks for blood that suggests a stone, and pancreas enzymes may be checked too.
An ultrasound of the upper right belly looks at the liver, gallbladder, pancreas, kidney, bowel, blood vessels, and lung base in one scan.13PubMed. US of Right Upper Quadrant Pain in the Emergency Department: Diagnosing beyond Gallbladder and Biliary Disease You may be asked not to eat for several hours beforehand so the gallbladder is full. The test uses gel and a handheld probe, involves no radiation, and usually takes under half an hour.
In emergency patients, ultrasound and CT scans were about equally good at finding the problem overall.19PubMed. Role of Ultrasound and CT in the Workup of Right Upper Quadrant Pain in Adults in the Emergency Department: A Retrospective Review of More Than 2800 Cases Still, CT found a non-gallbladder problem missed by an earlier ultrasound in about 1 in 3 cases.19PubMed. Role of Ultrasound and CT in the Workup of Right Upper Quadrant Pain in Adults in the Emergency Department: A Retrospective Review of More Than 2800 Cases Ultrasound found something missed by an earlier CT in under 1 in 200 cases.19PubMed. Role of Ultrasound and CT in the Workup of Right Upper Quadrant Pain in Adults in the Emergency Department: A Retrospective Review of More Than 2800 Cases So if your ultrasound is normal but the pain continues, ask whether a CT is the next step. CT isn’t always first because it uses radiation, while ultrasound is quick and good for gallstones.

