Pain under your left ribs can come from several different organs and structures packed into that area of your body, including the spleen, stomach, pancreas, left kidney, and a sharp bend in your colon. The cause ranges from something as simple as trapped gas to conditions that need prompt medical attention. Where exactly it hurts, what makes it worse, and what other symptoms you have all help narrow down what’s going on.
What’s Located Under Your Left Ribs
Your left upper abdomen houses more organs than most people realize. The spleen sits just behind your lower left ribs. The stomach takes up a large portion of this space, and the bulk of the pancreas stretches across it with its tail pointing toward the left side. The upper part of your left kidney tucks against the back muscles right below the rib cage. Your colon also makes a sharp turn in this area, called the splenic flexure, where it bends underneath the spleen before heading downward.
Pain in this region can originate from any of these organs, from the rib cage itself, or from the muscles and cartilage connecting your ribs to your breastbone. The character of the pain, whether it’s sharp, dull, constant, or comes and goes, is one of the best clues to its source.
Trapped Gas and the Splenic Flexure
One of the most common and least serious causes of left-sided rib pain is gas getting stuck at the bend in your colon. Your colon makes a sharp turn just below the spleen, and gas traveling through the digestive tract can pile up at this curve, much like water rushing toward a tight bend in a river. Some people are born with an unusually tight bend, making them more prone to this problem.
When gas accumulates here, it can cause sharp pain in the upper left abdomen along with significant bloating. The pain can be surprisingly severe, enough to affect your quality of life if it happens frequently. It often improves after passing gas or having a bowel movement. Eating smaller meals, avoiding carbonated drinks, and reducing foods that produce excess gas (beans, cruciferous vegetables, dairy if you’re lactose intolerant) can help prevent episodes.
Costochondritis: Rib Cartilage Inflammation
Costochondritis is inflammation where your rib cartilage connects to the breastbone, and it most commonly affects the upper ribs on the left side. The pain is sharp or aching, sometimes feels like pressure, and tends to be worst right where the cartilage meets the breastbone. It can radiate into your arms and shoulders.
The key feature that distinguishes costochondritis from organ-related pain is that it gets worse with movement. Deep breathing, coughing, sneezing, or twisting your torso will intensify it. Pressing on the area where the rib meets the breastbone typically reproduces the pain. This is important because costochondritis can feel alarmingly similar to a heart attack, especially given its left-sided location. If there’s any doubt, treating it as a potential cardiac event and getting checked is the right call.
Spleen Problems
An enlarged spleen presses against surrounding structures and causes pain or a feeling of fullness in the left upper abdomen. That fullness can spread to the left shoulder. You might also feel full after eating very little because the swollen spleen pushes against your stomach.
Several conditions cause the spleen to enlarge. Viral infections like mononucleosis are among the most common triggers, especially in younger adults. Bacterial infections, parasitic infections like malaria, certain blood disorders that destroy red blood cells prematurely, and blood cancers can also be responsible. Other signs that point toward spleen involvement include frequent infections, easy bruising or bleeding, and fatigue from low red blood cell counts.
A ruptured spleen is a medical emergency. This typically happens after a blow to the abdomen, sometimes during contact sports or a car accident. The pain may seem to move from the abdomen to the left side of your chest or left shoulder, a phenomenon called Kehr’s sign. This happens because bleeding from the spleen irritates a nerve that runs from the neck through the left side of the chest, and the pain often gets worse when you breathe in. Signs of significant blood loss, including dizziness, confusion, blurred vision, paleness, nausea, and anxiety, can follow. If you experience severe left upper abdominal pain after any kind of trauma, even hours or days later, go to the emergency room.
Pancreas-Related Pain
The tail of the pancreas extends into the left upper abdomen, and inflammation here produces a distinctive pain pattern. Pancreatitis pain is typically dull and constant, centered in the upper abdomen, and radiates straight through to the back or wraps around to the left flank. Leaning forward sometimes provides partial relief, while lying flat tends to make it worse.
Acute pancreatitis often comes on suddenly after heavy drinking or when a gallstone blocks the pancreatic duct. The pain is usually intense enough that you can’t get comfortable. Chronic pancreatitis develops over time, most often in people with long-term heavy alcohol use, and causes recurring episodes of that same deep, boring pain. Nausea, vomiting, and a tender abdomen are common companions.
Kidney Pain vs. Muscle Pain
Your left kidney sits against the back muscles just below the rib cage, so kidney problems can feel like they’re coming from the rib area. Kidney pain is typically felt in the flank, the area on either side of the spine below the ribs and above the hips. A kidney stone or infection produces pain that stays in one area and doesn’t change with movement. You can twist, bend, and stretch without making it better or worse, which sets it apart from a muscle strain or rib injury.
Musculoskeletal pain, by contrast, is directly tied to how you move. If the pain sharpens when you twist your torso, take a deep breath, or press on a specific spot along the rib cage, the cause is more likely in the muscles, cartilage, or ribs themselves. Kidney pain also tends not to improve on its own and may spread to the lower abdomen or inner thighs, especially with kidney stones.
Stomach-Related Causes
The stomach occupies much of the left upper quadrant, so gastritis (inflammation of the stomach lining) and stomach ulcers can both produce pain under the left ribs. This pain tends to be a burning or gnawing sensation that may improve or worsen with eating, depending on the specific cause. Acid reflux can also refer pain to this area, sometimes with a burning sensation that rises toward the chest.
How Doctors Figure Out the Cause
When left upper quadrant pain is severe or persistent, imaging is usually the next step after a physical exam. A CT scan of the abdomen and pelvis with contrast dye is the go-to test for most scenarios because it can evaluate a wide range of problems in a single scan. If an enlarged spleen is specifically suspected, an abdominal ultrasound is also a strong first option since it can measure the spleen and check blood flow through surrounding vessels without radiation.
When fever accompanies the pain, CT with contrast is particularly useful for spotting infections or abscesses involving the spleen or nearby organs. Blood tests often run alongside imaging to check for infection, inflammation, and organ function. The combination of your symptoms, physical exam findings, and these tests usually points to a clear diagnosis.
Patterns That Help You Identify the Cause
- Sharp pain that worsens with breathing or movement: likely costochondritis or a rib injury
- Sharp pain with bloating that improves after passing gas: likely trapped gas at the splenic flexure
- Dull, constant pain radiating to the back: suggests pancreatic involvement
- Fullness after small meals with pain spreading to the left shoulder: points toward an enlarged spleen
- Flank pain unaffected by movement: consider a kidney issue
- Burning or gnawing pain related to meals: likely stomach-related
Severe pain that comes on suddenly, pain after abdominal trauma (especially with dizziness or shoulder pain), or pain accompanied by fever, vomiting, or signs of blood loss all warrant emergency evaluation.

