Several important organs sit beneath your left rib cage, including the spleen, stomach, the main body of the pancreas, the left portion of the kidney, the left adrenal gland, a bend in your colon called the splenic flexure, and even a small portion of your liver. If you’re asking this question because something hurts or feels unusual in that area, the cause could range from trapped gas to a condition that needs prompt attention.
Organs in the Left Upper Abdomen
Your left rib cage acts as a protective shell for organs that are surprisingly diverse in function. The spleen, tucked just behind your lower left ribs, filters old blood cells and helps fight infection. It’s about the size of your fist in most adults, though you can’t normally feel it. Directly in front of it sits your stomach, which curves from the center of your upper abdomen toward the left side.
The main body of the pancreas stretches horizontally behind your stomach, with its tail reaching toward the spleen. Your left kidney sits deeper, against the muscles of your back, roughly at the level of your lowest ribs. Above the kidney, the small left adrenal gland produces stress hormones. And your colon makes a sharp turn in this area, called the splenic flexure, before descending toward your pelvis. Each of these organs can produce distinct sensations when something goes wrong.
Trapped Gas and Digestive Causes
One of the most common reasons for discomfort under the left rib cage is gas, specifically gas that builds up at the splenic flexure. This sharp bend in the colon can trap gas as it moves through, and when enough accumulates, it creates bloating, fullness, nausea, and a sharp pain in the upper left abdomen. The condition is sometimes called splenic flexure syndrome, and it can be surprisingly intense. Some people mistake it for a heart or spleen problem because of how high the pain sits.
Gastritis (inflammation of the stomach lining) and acid reflux can also produce burning or aching pain under the left ribs, since much of the stomach sits in this area. These digestive causes tend to come and go, often worsening after meals or during periods of stress.
Spleen Problems
An enlarged spleen often causes no symptoms at all, which is part of what makes it tricky. When it does produce symptoms, you may feel pain or a sense of fullness in the left upper abdomen that can spread to the left shoulder. You might feel full after eating very little, and some people develop anemia, frequent infections, or easy bruising.
The spleen can enlarge for many reasons: viral infections like mononucleosis, bacterial infections, liver disease such as cirrhosis, certain blood cancers, autoimmune conditions like lupus, and metabolic disorders. A blood clot in the veins supplying the spleen can also cause it to swell or, in some cases, lead to a splenic infarction where part of the organ loses blood supply.
Kidney Stones and Infections
Your left kidney sits deep against your back, just below the ribs. When a kidney stone gets stuck in the tube draining the kidney, it causes serious, sharp pain in the side and back below the ribs. The pain often radiates downward into the lower abdomen and groin, which helps distinguish it from problems with organs that sit more toward the front. Kidney infections can produce a similar location of pain, often paired with fever, chills, and painful urination.
Rib and Chest Wall Pain
Not everything under your left rib cage involves an organ. Costochondritis, an inflammation of the cartilage connecting your ribs to your breastbone, causes a dull ache near the affected ribs that can suddenly turn sharp with movement. Deep breathing, coughing, sneezing, twisting your torso, reaching overhead, or even hugging someone can all make it worse. Lying on the affected side is often uncomfortable. A doctor can usually diagnose costochondritis just by pressing on your chest to find the tender spot, without needing imaging.
Muscle strains from exercise, heavy lifting, or an awkward sleeping position can also produce pain that feels like it’s coming from under the ribs when it’s actually in the muscles or cartilage of the rib cage itself.
Heart and Lung Lining Inflammation
Pericarditis, inflammation of the sac surrounding your heart, produces sharp, stabbing chest pain that gets worse when you cough, swallow, breathe deeply, or lie flat. It tends to ease when you sit up and lean forward. That specific pattern, pain that improves with leaning forward, is one of the key features that distinguishes pericarditis from a heart attack. The pain can also spread to your back, neck, or left shoulder.
Pleurisy, inflammation of the lining around the lungs, causes similar sharp pain that worsens with breathing. If either condition is on the left side, it can easily feel like the pain is coming from under the left rib cage.
How Doctors Investigate Left Rib Cage Pain
When pain in this area is persistent or concerning, doctors typically start with a physical exam and blood work. For imaging, a CT scan with contrast is the preferred tool for most left upper quadrant complaints. It provides high-resolution images of the spleen, pancreas, kidney, and colon and is highly sensitive for detecting problems like splenic infarction, abscesses, and masses.
An ultrasound is a good noninvasive option for checking spleen size and can serve as a reasonable first step, particularly in outpatient settings. However, it is less sensitive than CT for many conditions, especially infections and less obvious abnormalities. Plain X-rays have a very limited role in evaluating this area and are generally not recommended as an initial test for left upper quadrant pain.
Signs That Need Immediate Attention
Most causes of discomfort under the left rib cage are not emergencies, but a few are. Pain that is persistent and worsens with exertion or breathing could signal something serious. Intense chest pain that comes on suddenly may indicate a heart attack or an aortic dissection, both of which require calling emergency services immediately. Sudden shortness of breath with chest pain could point to a pulmonary embolism or a collapsed lung.
Severe abdominal pain combined with vomiting and fever raises concern for pancreatitis, which needs urgent evaluation. Kidney stone pain accompanied by blood in the urine, fever, chills, or difficulty urinating also warrants immediate medical care. If the pain feels like an emergency, treat it as one.