The area under your left ribs contains several organs packed closely together: your spleen, stomach, the tail of your pancreas, the upper portion of your left kidney, your left adrenal gland, and a sharp bend in your large intestine. Pain or discomfort here can come from any of these structures, and also from the rib cage itself, nearby muscles, or even your left lung. The specific quality of your pain, what triggers it, and what other symptoms you notice are the best clues to narrowing down the source.
The Spleen
Your spleen sits tucked right behind your lower left ribs. It’s roughly the size of your fist, and its main job is filtering old blood cells and helping your immune system fight infections. Most of the time you can’t feel it at all.
When the spleen becomes enlarged, a condition called splenomegaly, you may feel fullness or pressure under your left ribs, sometimes with pain that radiates to your left shoulder. Common causes include viral infections like mononucleosis (“mono”) and HIV, bacterial infections like tuberculosis, and parasitic infections like malaria. These infections push the spleen to overproduce immune cells, causing it to swell. Liver disease, certain blood cancers, and blood disorders can also enlarge the spleen. A severely enlarged spleen is at risk of rupturing, which causes dangerous internal bleeding.
The Stomach
Your stomach curves under the left side of your rib cage, and it’s one of the most common sources of discomfort in this area. Gastritis (inflammation of the stomach lining) and peptic ulcers both produce a dull or burning pain between your belly button and breastbone, often shifting toward the left side. The pain may come and go over days or weeks. For some people, eating temporarily relieves it. For others, eating makes it worse.
The two most common causes of stomach ulcers are infection with a bacterium called H. pylori and regular use of common pain relievers like ibuprofen, aspirin, and naproxen. These medications are effective at relieving pain elsewhere in the body, but they make the stomach lining more vulnerable to damage. If you’ve been taking them frequently and notice a gnawing or burning sensation under your left ribs, that connection is worth exploring with a provider.
The Pancreas
Most of your pancreas sits in the left upper part of your abdomen, behind the stomach. When it becomes inflamed (pancreatitis), the pain is typically felt in the upper belly and often radiates straight through to the back or shoulders. Eating tends to make the pain worse, and the area may feel tender to the touch.
Acute pancreatitis comes on suddenly and is most often triggered by gallstones blocking the bile duct or by heavy alcohol use. Smoking, very high triglyceride levels, and certain medications can also set it off. Chronic pancreatitis develops over time, usually from repeated bouts of acute inflammation or long-term alcohol use, and produces a constant ache in the upper belly that flares after meals. Pancreatitis pain is generally intense enough that people seek care quickly.
Trapped Gas in the Colon
One of the most common and least serious causes of sharp pain under the left ribs is trapped gas at a spot in your colon called the splenic flexure. This is a tight bend where your large intestine turns sharply as it passes near the spleen. Gas traveling through your colon can get temporarily stuck at this curve, stretching the intestinal wall and producing surprisingly sharp pain in your upper left abdomen along with bloating, fullness, and sometimes nausea.
You’re more likely to experience this if you eat or drink quickly (swallowing extra air), chew a lot of gum, or eat foods with carbohydrates that your small intestine doesn’t fully digest. Beans, cruciferous vegetables, dairy products, and carbonated drinks are common culprits. Some people are also born with an unusually tight bend at this point in the colon, making them more prone to the problem. The pain can feel alarming, but it typically resolves once the gas passes.
The Left Kidney
The upper portion of your left kidney sits behind your lower ribs, closer to your back than your front. Kidney stones produce a distinctive pain pattern: it usually starts in your lower back or side (the flank area), radiates downward toward your groin, and comes in waves that intensify and then ease. The pain is often described as the worst people have experienced. You may also notice blood in your urine or a frequent urge to urinate.
Kidney infections can produce a steadier, deep ache in the same region, often accompanied by fever, chills, and painful urination. Because the kidney sits toward the back, kidney pain is usually felt more in the flank and back than directly under the front of the ribs, which helps distinguish it from problems with the stomach or spleen.
Rib and Chest Wall Pain
Not all pain under the left ribs comes from an internal organ. Costochondritis, inflammation of the cartilage connecting your ribs to your breastbone, is a common cause of chest wall pain that can feel like it’s coming from deep inside. The hallmark of costochondritis is pain that worsens when you take a deep breath, cough, sneeze, or twist your torso. Pressing on the affected area usually reproduces the pain. It often follows a respiratory infection with heavy coughing or a period of unusual physical strain.
Muscle strains, bruised ribs, and even stress fractures from repetitive activity (common in athletes and people with chronic coughs) can produce similar pain that changes with movement or breathing.
Lung-Related Causes
Your left lung extends down behind your ribs, and conditions affecting the lower part of the lung can feel like pain under the rib cage. Pleurisy, inflammation of the thin tissue layers surrounding the lungs, causes a sharp pain that worsens with each breath. It often develops as the aftermath of a viral infection, particularly after a cold with heavy coughing in the previous week or two.
Pneumonia affecting the lower left lung and a pneumothorax (collapsed lung) can also produce left-sided rib pain. These conditions typically come with additional respiratory symptoms like shortness of breath, coughing, or fever. Pain that consistently worsens with breathing or physical exertion points toward a lung-related cause rather than a digestive one.
How Doctors Figure Out the Cause
A provider will typically start with your history and a physical exam, asking about the timing, quality, and triggers of your pain. Blood work can check for signs of infection, inflammation, or organ damage. If the cause isn’t clear from that initial evaluation, imaging is the next step. Ultrasound is often used first to look at solid organs like the spleen, kidney, and pancreas because it’s quick and doesn’t involve radiation. CT scans provide more detailed images and are the go-to choice when the diagnosis remains uncertain or when serious conditions need to be ruled out. MRI is another option that avoids radiation, though it’s used less frequently for initial evaluation.
Signs That Need Prompt Attention
Most left-sided rib pain turns out to be something manageable, like trapped gas, mild gastritis, or a muscle strain. But certain symptoms alongside that pain signal something more urgent:
- Vomiting blood or seeing blood in your stool or urine
- Fever or chills with worsening pain
- Yellowing skin or eyes (jaundice)
- Shortness of breath
- Severe, sudden pain that doesn’t ease
- Inability to pass gas or have a bowel movement
- Mild pain that has gradually gotten worse over days or weeks
Pain that keeps returning, even if each episode is mild, is also worth getting evaluated. Recurring discomfort often points to a treatable condition like an ulcer or chronic gastritis that won’t resolve on its own.

