Pain under the left side of the rib cage can come from a surprisingly wide range of sources, because several major organs sit in that area: the stomach, spleen, tail of the pancreas, left kidney, and a sharp bend in the colon called the splenic flexure. The cause can be as minor as trapped gas or as serious as a cardiac event, so understanding the differences matters.
Organs in the Left Upper Abdomen
The left upper quadrant of your abdomen is packed with structures. The stomach takes up much of the space, with the spleen tucked just behind and to the left. The tail of the pancreas extends into this region, and the left kidney sits deeper, toward the back. The colon makes a tight turn here, called the splenic flexure, before descending toward the pelvis. The abdominal aorta also runs along the midline nearby. Pain under your left ribs could originate from any of these structures, or from the rib cage itself.
Trapped Gas and Splenic Flexure Syndrome
One of the most common and least dangerous causes is gas building up at the splenic flexure. This bend in the colon is sharp enough that gas moving through your digestive tract can get stuck there, stretching the colon wall and producing a surprisingly intense pain in the upper left abdomen. Think of water rushing toward a sharp curve in a river: a heavy flow overwhelms the bend. The pain is typically sharp, comes and goes, and often improves after passing gas or having a bowel movement. It can feel alarming because of its location, but it resolves on its own in most cases.
Stomach and Digestive Causes
Gastritis (inflammation of the stomach lining) and peptic ulcers both produce burning or gnawing pain in this area. The pain often worsens after eating or on an empty stomach, depending on the type of ulcer. Acid reflux can also radiate upward from the stomach and feel like pressure or burning under the left ribs. These conditions tend to produce pain that follows a pattern tied to meals, which helps distinguish them from other causes.
Severe or persistent abdominal pain with blood in your stool or black, tarry stools points to a bleeding ulcer and requires immediate medical attention.
Spleen Problems
The spleen filters blood and fights infection, and when it enlarges, it presses against surrounding structures. An enlarged spleen often causes no symptoms at all, but when it does, you may notice pain or fullness in the left upper abdomen that spreads to the left shoulder. You might also feel full after eating very little, because the swollen spleen pushes against the stomach. Infections, liver disease, and certain blood disorders can all cause the spleen to enlarge.
A ruptured spleen is a medical emergency. Even healthy spleens are soft and easily damaged, particularly in car crashes or contact sports, and the risk of rupture increases significantly when the spleen is already enlarged. A rupture causes life-threatening internal bleeding. Pain that is severe, worsens when you breathe deeply, or follows a blow to the abdomen needs emergency evaluation.
Pancreatitis and Pancreatic Pain
The tail of the pancreas sits in the left upper abdomen, and inflammation here produces pain that often radiates straight through to the back. Pancreatitis pain is typically steady, severe, and worsens after eating, especially fatty meals. It frequently comes with nausea and vomiting. Research published in the World Journal of Gastroenterology found that problems in the body and tail of the pancreas are more likely to cause pain than those in the head of the organ: roughly 58-61% of patients with tumors in these areas experienced pain, compared to 49% of those with tumors in the pancreatic head.
Acute pancreatitis, most commonly triggered by gallstones or heavy alcohol use, causes severe abdominal pain that may be accompanied by fever and vomiting. This combination warrants immediate medical care.
Kidney Stones
A stone in the left kidney or left ureter produces pain that behaves differently from organ pain in the front of the abdomen. It typically starts in the flank (the side of your back, below the ribs) and radiates forward and downward. As the stone moves through the ureter, the pain shifts: higher stones cause flank pain, stones near the middle of the ureter cause pain radiating into the groin or lower abdomen, and stones near the bladder cause pain in the groin along with urinary urgency and burning. The pain comes in intense waves, and most people can’t find a comfortable position.
This radiation pattern helps distinguish kidney stones from stomach or spleen problems, which tend to stay in the front of the abdomen and don’t typically cause groin pain.
Costochondritis and Rib Injuries
Not all pain under the left ribs comes from internal organs. Costochondritis, an inflammation of the cartilage connecting the ribs to the breastbone, is one of the most common causes of chest wall pain. The hallmark feature is that pressing on the affected area reproduces the pain. It tends to worsen with deep breathing, twisting, or reaching movements. A strained intercostal muscle (the small muscles between ribs) produces similar symptoms after heavy lifting, coughing, or sudden twisting.
Costochondritis is diagnosed primarily through physical examination. If pressing on a specific spot with a single finger recreates your pain, that strongly suggests a musculoskeletal cause. However, this finding alone doesn’t completely rule out a cardiac problem. In one emergency department study, 6% of patients whose chest pain could be reproduced by pressing on the chest wall were still diagnosed with a heart attack. For this reason, people over 35 or anyone with heart disease risk factors should still get an electrocardiogram even if the pain seems musculoskeletal.
Heart and Lung Causes
Heart attacks don’t always present as classic right-sided crushing chest pain. Pain can appear under the left ribs, in the left arm, or in the jaw. If discomfort persists, comes with unexplained shortness of breath or sweating, or you have a history of cardiovascular disease, treat it as a potential cardiac event.
A collapsed lung (pneumothorax) on the left side causes sudden, sharp pain under the ribs along with difficulty breathing. Pneumonia affecting the left lower lung can also produce pain in this area, often accompanied by fever, cough, and feeling generally unwell. A pulmonary embolism, a blood clot that travels to the lung, is another possibility. A key warning sign is if you had swelling or pain in your left leg for several days or weeks and then suddenly develop difficulty breathing and chest pain.
Aortic dissection, a tear in the wall of the large artery leaving the heart, causes intense, tearing chest pain and is a life-threatening emergency requiring an immediate 911 call.
How Doctors Evaluate Left-Sided Rib Pain
When the cause isn’t obvious from your symptoms and a physical exam, imaging is the next step. The American College of Radiology recommends a CT scan with contrast as the standard for evaluating acute left upper quadrant pain, because it can detect a broad range of problems in a single study. If an enlarged spleen is the primary suspicion, an abdominal ultrasound is an appropriate first choice since it avoids radiation exposure and can measure spleen size accurately.
Blood work helps narrow the possibilities further. Elevated pancreatic enzymes point toward pancreatitis, abnormal blood counts may suggest a spleen problem, and markers of inflammation or infection guide decisions about imaging and treatment.
When Left-Sided Rib Pain Is an Emergency
Most episodes of pain under the left ribs turn out to be gas, muscle strain, or mild gastric irritation. But certain combinations of symptoms signal a serious problem:
- Pain that worsens with breathing or exertion and doesn’t improve with rest
- Severe, sudden-onset pain after trauma to the abdomen or chest
- Pain with fever and vomiting, which may indicate pancreatitis or a serious infection
- Leg swelling followed by sudden chest pain and shortness of breath, suggesting a pulmonary embolism
- Dark or bloody stool, pointing to gastrointestinal bleeding
- Dark, discolored urine with severe muscle pain after intense exercise, which could indicate dangerous muscle breakdown
A useful general rule: if it feels like an emergency, treat it as one. Persistent pain that gets worse rather than better over hours deserves professional evaluation, even if the cause turns out to be benign.

