Why Do I Feel Pressure Under My Rib Cage?

Pressure beneath the rib cage is one of the body’s more ambiguous signals because so many different organs and structures sit in that region. The sensation can come from trapped gas in the colon, a stomach that does not relax properly after eating, an irritated rib cartilage, a swollen liver capsule, or even a nerve pinched inside the abdominal wall. What makes it confusing is that these very different problems can feel almost identical from the outside. Understanding which system is involved usually comes down to location (left side, right side, or center), timing (after meals, during stress, with movement), and accompanying symptoms.

Gas Trapped at the Splenic Flexure

One of the most common and least recognized causes of left-sided pressure under the ribs is gas pooling at the splenic flexure, the sharp bend where the colon turns downward just beneath the left rib cage. The sensation is often described as fullness, discomfort, or outright pain in the left upper abdomen, and it can radiate into the left side of the chest or even the left shoulder and arm, which understandably makes people worry about their heart. The cause is an accumulation of gas at this bend that the colon cannot push forward efficiently.1Annals of Internal Medicine. Observations on the splenic flexure syndrome It tends to flare up in people who swallow excess air, eat gas-producing foods, or are under emotional stress. Walking, changing position, or passing gas usually brings relief within minutes to hours.

The reason this spot is so prone to gas buildup is anatomy. The splenic flexure is the highest point the colon reaches in the abdomen, and gas rises. Once a pocket of air gets lodged there, it presses against the diaphragm and the structures just under the ribs. If you notice the pressure is worst after meals, comes with visible bloating, and eases after belching or flatulence, trapped gas is a strong candidate.

Functional Dyspepsia and a Stomach That Will Not Relax

When the pressure sits more centrally, right beneath the breastbone or spreading across the upper abdomen, the stomach itself may be the culprit. Functional dyspepsia is a diagnosis that covers persistent upper-abdominal discomfort without an obvious structural cause like an ulcer. Its hallmark symptoms include sensations of pressure and fullness in the upper abdomen, early satiety (feeling full after just a few bites), and sometimes nausea.2PubMed Central. The Diagnosis and Treatment of Functional Dyspepsia

A healthy stomach relaxes and expands to accommodate a meal. In roughly four out of ten people with functional dyspepsia, this accommodation reflex is impaired, leading to a stomach that stays tense when it should be loosening.3Journal of Clinical Gastroenterology. Pathophysiology and Treatment of Functional Dyspepsia Research comparing stomach-wall pressure in people with dyspepsia and healthy volunteers found that the resting pressure inside the stomach was measurably higher in dyspeptic patients, and that it failed to drop after eating the way it normally should.4PubMed Central. Relations between upper abdominal symptoms and gastric distension abnormalities in dysmotility like functional dyspepsia and after vagotomy The result is a stomach that feels overfull and pressurized even from a modest meal. If sub-rib pressure reliably appears during or shortly after eating and is accompanied by early fullness, functional dyspepsia deserves a conversation with your doctor.

Gallbladder and Bile Duct Problems

Right-sided pressure under the rib cage points toward the liver and gallbladder. Gallstones are the classic cause, and the discomfort they produce is not always the dramatic “attack” people imagine. Many people with gallstones experience a dull, heavy pressure beneath the right ribs that worsens after fatty meals. Part of the mechanism involves the sphincter that controls bile flow from the gallbladder into the intestine. In people with gallstones, the resting pressure of this sphincter is significantly higher than normal, which can obstruct bile drainage and contribute to both stasis in the gallbladder and colicky pain.5PubMed. Increased sphincter of Oddi basal pressure in patients affected by gall stone disease: a role for biliary stasis and colicky pain?

Liver swelling itself can also create a sensation of pressure or fullness on the right side. The liver is enclosed in a thin capsule called Glisson’s capsule, and when the liver expands from inflammation, congestion, or fatty changes, the capsule stretches. In people with cirrhosis, the capsule thickens substantially compared to healthy liver tissue.6PubMed Central. Glisson’s capsule matrix structure and function is altered in patients with cirrhosis irrespective of aetiology Even before cirrhosis, hepatitis, fatty liver disease, and heart failure (which causes blood to back up into the liver) can all produce enough swelling to stretch this capsule and generate a pressure-like ache below the right ribs.

Hiatal Hernia and Acid Reflux

A hiatal hernia occurs when the upper part of the stomach slides upward through the opening in the diaphragm where the esophagus passes through. This can produce a feeling of pressure, fullness, or tightness right at the base of the breastbone and under the lower ribs. The diaphragm normally acts as a second barrier preventing stomach acid from moving upward, and when the hiatal opening gapes, that backup system fails. The result is increased acid exposure in the esophagus and often a burning or pressure sensation in the upper abdomen and lower chest.7PubMed Central. The role of hiatus hernia in GERD Unlike the sharp pain of heartburn, the pressure from a hiatal hernia can feel more like something is pushing outward from the inside, and it often gets worse when you bend forward or lie down after eating.

Musculoskeletal Causes You Might Not Suspect

Not everything under the rib cage comes from an organ. The rib cage itself is a surprisingly common source of pressure and pain in the upper abdomen, and these causes are frequently mistaken for something more serious.

Slipping Rib Syndrome

The lower ribs (ribs eight through twelve) are not directly attached to the breastbone. Instead, they connect to each other with cartilage and ligaments. When those connections loosen, a rib tip can slip under or over its neighbor, irritating the intercostal nerve that runs between them.8PubMed Central. A Comprehensive Review of Slipping Rib Syndrome: Treatment and Management The result is a sharp or pressure-like sensation along the lower rib margin that can feel like it is coming from inside the abdomen.9PubMed Central. Slipping Rib Syndrome in a Female Adult with Longstanding Intractable Upper Abdominal Pain A telltale clue is that the pain changes with body position or movement, such as twisting, reaching, or taking a deep breath. Your doctor can often reproduce the sensation by hooking their fingers under the lower rib margin and pulling outward.

Xiphodynia

At the very bottom of the breastbone sits a small, pointed piece of cartilage and bone called the xiphoid process. When this area becomes irritated, the condition is called xiphodynia, and it can cause pain or a pressure sensation in the pit of the stomach that radiates to the chest, shoulders, or back. Pressing on the xiphoid process typically reproduces the symptoms, which is one way to distinguish it from organ-related problems.10PubMed Central. Xiphodynia as an Unusual Cause of Chest Pain: A Case Series Despite being benign, xiphodynia can mimic the symptoms of a heart attack, so it tends to generate emergency-room visits before it is correctly identified.

Costochondritis and Other Chest-Wall Sources

Costochondritis, an inflammation of the cartilage connecting the ribs to the breastbone, is one of the most common musculoskeletal causes of pain in the chest and upper abdomen. It can produce tenderness, a pressure-like feeling, or a dull ache that intensifies with movement or palpation. Other chest-wall pain generators include strained intercostal muscles, trauma, and referred pain from the thoracic spine.11PubMed Central. Musculoskeletal chest wall pain The common thread is that these problems tend to be position-dependent and reproducible with touch, which distinguishes them from organ-based causes.

Nerve Entrapment in the Abdominal Wall

One of the most underdiagnosed causes of chronic pressure or pain under the ribs is abdominal cutaneous nerve entrapment syndrome, or ACNES. Small branches of the lower intercostal nerves pass through the rectus abdominis muscle on their way to the skin, and if they get pinched at that exit point, the result is a localized, sharply demarcated area of pain, burning, tightness, or pressure in the abdominal wall. People with ACNES often undergo extensive testing for gallbladder disease, ulcers, or other internal problems before the real cause is found.12PubMed Central. Abdominal Cutaneous Nerve Entrapment Syndrome (ACNES): A Commonly Overlooked Cause of Abdominal Pain

A key diagnostic clue is Carnett’s sign: your doctor asks you to tense your abdominal muscles (such as by lifting your head off the table while lying on your back), and if the tenderness stays the same or gets worse, the problem is in the abdominal wall rather than inside the abdomen. Organ-related pain typically decreases when the muscles tense because the contracted wall shields the organs from the examiner’s fingers. ACNES is frequently treatable with a local anesthetic injection at the point of entrapment, and the relief from a single injection can both confirm the diagnosis and provide lasting improvement.

When Pressure Under the Ribs Signals a Heart Problem

Most sub-rib pressure turns out to be gastrointestinal or musculoskeletal, but there is a meaningful overlap between upper-abdominal discomfort and cardiac disease that should not be dismissed. A large Danish study followed people who had undergone an endoscopy for unexplained chest or upper-abdominal pain and found that even when the endoscopy was normal, these patients had an elevated risk of ischemic heart disease compared to the general population. That elevated risk persisted more than five years after the initial evaluation, suggesting that unexplained upper-abdominal or epigastric discomfort can be an early marker of cardiac disease rather than a coincidence.13PubMed Central. Unexplained chest/epigastric pain in patients with normal endoscopy as a predictor for ischemic heart disease and mortality: A Danish 10-year cohort study

This does not mean that every episode of sub-rib pressure needs a cardiac workup. But if the pressure is accompanied by shortness of breath, radiates to the jaw or left arm, occurs with exertion, or is accompanied by sweating or lightheadedness, seeking emergency care is the right call. And if you have been told your upper-abdominal discomfort is “just” reflux or “just” gas but it keeps returning without a clear explanation, mentioning your cardiovascular risk factors to your doctor is worth doing.

Stress, Anxiety, and Air Swallowing

Emotional distress has a surprisingly direct route to creating pressure under the ribs. When people are anxious or depressed, they often unconsciously swallow air, a habit called aerophagia. The excess air fills the stomach and colon, producing bloating, distension, and that familiar feeling of pressure beneath the rib cage. In one reported case, a patient’s prominent abdominal distension and discomfort resolved completely once the underlying depression was treated with antidepressant medication, confirming that the gastrointestinal symptoms had been driven by the psychiatric condition.14PubMed Central. Aerophagia as the initial presenting symptom of a depressed patient

Beyond aerophagia, anxiety tends to heighten visceral sensitivity, meaning your brain amplifies normal sensations from the gut and interprets them as uncomfortable or alarming. This is one reason functional dyspepsia and irritable bowel syndrome are more common in people with anxiety disorders. If you notice that sub-rib pressure correlates with stressful periods but not with particular foods or activities, the connection may be emotional rather than structural.

Pregnancy and the Expanding Uterus

If you are pregnant, pressure under the ribs has a straightforward mechanical explanation that ramps up as the pregnancy progresses. The expanding uterus pushes the diaphragm upward and causes the rib cage itself to widen. Hormones, particularly relaxin, loosen the ligaments connecting the ribs to the spine and sternum, allowing the subcostal angle to increase. Progesterone and estrogen further alter breathing mechanics by increasing the drive to breathe while the available lung space is shrinking.15PubMed. Respiratory physiological changes in pregnancy The diaphragm can rise by several centimeters, and these changes begin earlier than most people expect, often becoming noticeable well before the third trimester. The resulting pressure under the ribs is normal, though it can be genuinely uncomfortable, especially when sitting or after meals. Leaning back, raising your arms overhead, or sitting in a slightly reclined position can relieve some of the pressure by giving the diaphragm a bit more room.

Unusual Causes Worth Knowing About

A few less common conditions can produce sub-rib pressure that defies the usual explanations. Massive splenomegaly, a severely enlarged spleen, can fill enough of the left upper abdomen to push against the diaphragm and create not only pressure but also shortness of breath and even pulmonary complications. One documented case linked a massively enlarged spleen in a patient with myelofibrosis to elevated intra-abdominal pressure and pulmonary hypertension, with symptoms improving only after the increased abdominal pressure was recognized and addressed.16Wiley Online Library (American Journal of Hematology). Myelofibrosis-associated massive splenomegaly: a cause of increased intra-abdominal pressure, pulmonary hypertension, and positional dyspnea

Large retroperitoneal masses can also cause mysterious sub-rib symptoms. A case report described an elderly patient whose months of nausea and worsening upper-abdominal discomfort turned out to be caused by a massive kidney cyst, nearly 19 centimeters across, that was displacing surrounding abdominal contents through sheer size. Draining the cyst resolved the symptoms entirely.17PubMed Central. Massive Renal Cyst Presenting With Chest Pain and Gastrointestinal Symptoms These are rare situations, but they illustrate why persistent, unexplained sub-rib pressure that does not fit the usual patterns deserves imaging.

How to Narrow Down the Cause Yourself

Before your doctor’s appointment, paying attention to a few details can help move the conversation forward quickly:

  • Location: Left-sided pressure suggests the spleen, splenic flexure gas, or the stomach. Right-sided points toward the liver, gallbladder, or right kidney. Central pressure below the breastbone is more likely the stomach, xiphoid process, or esophagus.
  • Timing: Pressure that arrives during or shortly after eating suggests a gastrointestinal cause. Pressure that worsens with movement, twisting, or deep breathing suggests a musculoskeletal or nerve-related problem. Pressure that fluctuates with stress or emotional state raises the possibility of aerophagia or visceral hypersensitivity.
  • Reproducibility: If you can press on a specific spot and make the pressure worse, the problem is likely in the abdominal wall, rib cage, or xiphoid rather than inside an organ.
  • Associated symptoms: Nausea and bloating lean gastrointestinal. Shortness of breath can accompany hiatal hernia, pregnancy-related changes, or cardiac causes. Jaundice or dark urine alongside right-sided pressure should prompt urgent evaluation for bile duct obstruction.

None of these patterns are absolute, and plenty of conditions break the rules. But the combination of location, timing, and associated features narrows the list considerably and helps your doctor decide which tests, if any, are worth ordering first.

Posture and Daily Habits

Slouching, especially during prolonged sitting, compresses the upper abdomen and can worsen nearly every cause of sub-rib pressure. When you round your thoracic spine forward, the rib cage drops closer to the pelvis, and the space available for the stomach, colon, and diaphragm shrinks. Research on sitting posture and spinal loading has shown that a posture focused on straightening the thoracic spine increases the load on the lumbar region compared to a more neutral seated position.18Elsevier / PubMed Central. Corrective sitting strategies: An examination of muscle activity and spine loading While that study focused on spinal mechanics rather than abdominal pressure, the practical takeaway is the same: sitting upright creates more room in the abdominal cavity. If you notice that sub-rib pressure worsens at your desk and eases when you stand or walk, poor posture may be a significant contributor, or at least an aggravating factor layered on top of another cause.

Eating large meals, wearing tight waistbands, and lying down shortly after eating all push abdominal contents upward toward the diaphragm and can intensify the feeling of pressure. Smaller, more frequent meals, loose-fitting clothing around the waist, and staying upright for at least an hour after eating are simple adjustments that often reduce symptoms regardless of the underlying cause.