Pain under the left side of your ribs can come from several different organs and structures packed into that area, including the stomach, spleen, pancreas, part of the colon, the left kidney, and the rib cage itself. The cause ranges from something as harmless as trapped gas to conditions that need prompt medical attention, so the character of the pain and any accompanying symptoms matter a lot in narrowing it down.
What’s Under Your Left Ribs
Your left upper abdomen sits behind the lower ribs and houses more organs than most people realize. The stomach lies directly under the ribs on the left side. The spleen, a fist-sized organ that filters blood, tucks just behind the stomach. The tail of the pancreas extends into this area. A sharp bend in the colon called the splenic flexure passes through here as well, and the left kidney sits toward the back, near the base of the rib cage. Pain originating from any of these structures can feel like it’s “under the ribs,” which is why the sensation has so many possible explanations.
Trapped Gas and Digestive Causes
One of the most common and least dangerous causes is gas trapped at the splenic flexure, the point where your colon makes a tight turn near the spleen. When gas builds up here, it can cause sharp pain in the upper left abdomen along with bloating, fullness, and nausea. This is sometimes called splenic flexure syndrome. It can feel surprisingly intense, enough to mimic a heart or spleen problem, but it typically comes and goes and improves after passing gas or having a bowel movement. Because so many other conditions produce similar symptoms, it can take time for a provider to confirm this as the cause.
Stomach Inflammation and Ulcers
Gastritis, or inflammation of the stomach lining, is another frequent source of left-sided rib pain. Since the stomach sits directly beneath the left ribs, irritation there radiates right into that spot. The pain tends to be sharp or burning and often worsens after eating or during stressful periods. Some people notice relief on an empty stomach. Gastritis can appear suddenly or develop slowly over weeks, and if the inflammation progresses, it can lead to stomach ulcers, which cause a similar but often more persistent pain in the same location.
Spleen Problems
An enlarged spleen, known as splenomegaly, creates a distinct feeling of pain or fullness in the left upper abdomen. Infections, liver disease, and certain blood disorders can all cause the spleen to swell beyond its normal size. One characteristic feature is pain that spreads to the left shoulder, which happens because the swollen spleen irritates the diaphragm. If the pain is severe or gets worse when you take a deep breath, that warrants prompt medical evaluation. In rare cases, a spleen can rupture from trauma or extreme enlargement, which is a surgical emergency marked by sudden, severe pain and signs of internal bleeding like dizziness and a rapid heart rate.
Pancreatitis
The pancreas stretches across the upper abdomen, and inflammation there often produces pain that’s felt in the upper middle area but can extend to the left side. A hallmark of pancreatitis is pain that radiates straight through to the back. It frequently worsens after eating and can be worse when lying down, prompting people to lean forward for relief. Nausea, vomiting, and loss of appetite commonly accompany the pain.
Acute pancreatitis comes on suddenly and can be severe. Chronic pancreatitis follows a different pattern: some people experience constant pain with periodic flare-ups, while others deal with relentless, severe discomfort. Over time, pain patterns often shift from occasional episodes to more continuous symptoms.
Kidney Stones
A stone forming in or passing through the left kidney causes pain that typically starts in the lower back or side (the flank area near the base of the rib cage) and can radiate downward toward the groin. This pain tends to come in waves and can be excruciating. It often shifts location as the stone moves through the urinary tract. If you notice blood in your urine along with left-sided rib or flank pain, a kidney stone is high on the list of possibilities.
Pleurisy and Lung-Related Pain
Not all pain under the left ribs comes from the abdomen. Pleurisy is inflammation of the thin tissue lining your lungs and chest wall. When these layers swell, they rub against each other like sandpaper with every breath, producing a sharp chest pain that gets worse when you breathe in, cough, or sneeze. The pain noticeably decreases or stops entirely when you hold your breath, which is a useful way to distinguish it from other causes. Pneumonia and other respiratory infections are common triggers for pleurisy on the left side.
Costochondritis and Muscle Strain
Sometimes the pain isn’t coming from an organ at all. Costochondritis is inflammation of the cartilage connecting your ribs to the breastbone. It causes localized tenderness that you can reproduce by pressing on the affected area or moving your arms and rib cage in certain positions. There’s no blood test or imaging study that confirms it. Instead, doctors diagnose it by pressing along the breastbone and rib joints to find the sore spot, then ordering tests like an EKG or chest X-ray only to rule out other conditions.
Simple muscle strain from exercise, heavy lifting, or even a prolonged coughing spell can also produce rib-area pain. This type of discomfort is usually easy to identify because it’s tender to the touch, worsens with specific movements, and improves with rest.
How to Tell What’s Causing Your Pain
The pattern of your pain offers the best clues before you ever see a doctor. Pain that burns and worsens after eating points toward the stomach. Pain that radiates to the back, especially with nausea, suggests the pancreas. A sharp stab that only hurts when you breathe is more likely pleurisy or a rib issue. Pain with bloating that resolves after passing gas is probably the colon. And tenderness you can reproduce by pressing on your ribs points to a musculoskeletal cause rather than an internal organ.
Certain combinations of symptoms signal something more urgent. Severe pain that comes on suddenly, pain spreading to the left shoulder, dizziness, vomiting blood, a high fever, or a rapid heartbeat alongside left rib pain all warrant immediate medical attention. Left-sided chest pain can also occasionally reflect a cardiac issue, particularly if it’s accompanied by shortness of breath, jaw pain, or pain radiating down the arm.