Pain under your left rib cage can come from a surprisingly wide range of sources, because several major organs and structures sit in that area: the stomach, spleen, part of the pancreas, a section of the colon, part of the small intestine, the left kidney, and the surrounding muscles, cartilage, and ribs themselves. The cause could be as minor as a pulled muscle or as serious as a heart-related emergency. What the pain feels like, when it shows up, and what makes it better or worse are the biggest clues to narrowing it down.
How the Type of Pain Points to the Cause
The character of your pain matters more than you might think. A burning or gnawing sensation that gets worse (or better) after eating usually points to something in the stomach, like gastritis or an ulcer. Sharp pain that worsens when you breathe in, cough, or twist your torso is more likely tied to the chest wall, lungs, or their surrounding tissues. A dull, persistent ache that builds gradually could involve the spleen or kidney. And a heavy, pressure-like feeling in the chest, especially with jaw, arm, or back pain, raises concern about the heart.
Pain that you can reproduce by pressing on a specific spot along your ribs is a strong indicator of a musculoskeletal cause. Pain that has no connection to touch or movement and instead flares with eating, drinking, or lying down is more likely internal.
Stomach Problems: Gastritis and Ulcers
The stomach sits directly behind the lower left ribs, so inflammation there is one of the most common reasons for pain in this area. Gastritis, which is inflammation of the stomach lining, typically causes a burning or gnawing ache in the upper belly that can radiate under the ribs. It tends to shift after meals, sometimes improving and sometimes worsening depending on the type.
Several things wear down the stomach’s protective mucus barrier and let digestive acid irritate the lining underneath. The most common culprits are a bacterial infection called H. pylori (one of the most widespread infections in humans), regular use of over-the-counter painkillers like ibuprofen and naproxen, and heavy alcohol use. Chronic stress, older age, and autoimmune conditions also raise the risk. Peptic ulcers produce a similar burning or gnawing sensation, often more intense and more closely tied to meals or an empty stomach.
If your pain feels like heartburn that climbs upward, acid reflux (GERD) is another possibility. The pain from reflux ranges from a burning sensation to a surprisingly sharp, stabbing feeling that can easily be mistaken for something more alarming.
Costochondritis and Muscle Strain
Musculoskeletal causes account for a large share of rib-area pain. Costochondritis, inflammation of the cartilage connecting your ribs to your breastbone, is responsible for roughly 6% to 13% of chest pain cases seen in primary care. In adolescents, musculoskeletal causes make up about 31% of all chest pain visits.
The hallmark of costochondritis is pain that you can trigger by pressing on the spot where a rib meets the sternum. It often feels sharp or tender, worsens with movement, deep breathing, coughing, or stretching, and can linger for weeks. There’s no swelling, redness, or warmth at the site. Vital signs like heart rate and blood pressure remain normal. These features help distinguish it from heart problems or organ-related pain, though it’s always diagnosed after ruling out more serious causes.
Intercostal muscle strain, a pull or tear in the small muscles between the ribs, produces a sharp, pulling sensation that flares when you twist, reach overhead, or take a deep breath. This often follows overexertion, heavy lifting, or a sudden awkward movement. Bruised or fractured ribs cause similar but more severe pain, usually with a clear injury as the trigger, and the soreness tends to be constant and localized.
Spleen Enlargement
Your spleen sits tucked just under the left rib cage. When it’s healthy, you can’t feel it at all. When it swells (a condition called splenomegaly), it can press against surrounding structures and cause a vague discomfort or fullness in the upper left abdomen. Some people feel referred pain in the left shoulder. You may also notice bloating, a distended belly, or feeling full after eating very little.
The spleen can enlarge for many reasons: infections like mononucleosis, liver disease, blood disorders, and autoimmune conditions are among the most common. Mono is a particularly frequent cause in younger adults, sometimes earning the nickname “the kissing disease.” Because an enlarged spleen is vulnerable to rupture, unexplained left-side pain combined with fatigue, easy bruising, or recent illness is worth getting checked.
Pleurisy and Lung-Related Causes
The lungs are lined by two thin layers of tissue called the pleura. When these layers become inflamed, they rub against each other like sandpaper every time you breathe, producing a sharp, stabbing pain that intensifies with each inhale, cough, or sneeze. The pain typically eases or stops entirely if you hold your breath, which is one of the clearest distinguishing features of pleurisy.
Pleurisy can develop after a respiratory infection, pneumonia, or a blood clot in the lung. Pneumonia itself can cause sharp pain on the affected side, along with fever, cough, and difficulty breathing. A collapsed lung (pneumothorax) produces very sharp chest pain with sudden shortness of breath and usually requires immediate treatment.
Kidney Stones and Urinary Causes
The left kidney sits behind the lower ribs toward the back, so a kidney stone on that side can cause severe, fluctuating pain that starts in the back or flank below the ribs and radiates forward or downward. This pain often comes in waves, can be excruciating, and may be accompanied by blood in the urine, nausea, or a persistent urge to urinate. A urinary tract infection can produce a duller version of this pain, sometimes with fever and burning during urination.
Heart-Related Causes
While heart attacks more commonly produce pain in the center or left side of the chest, the sensation can extend under the left ribs. The pain typically feels like heaviness, pressure, or squeezing rather than a sharp stab. It may spread to the jaw, left arm, back, or neck, and come with shortness of breath, sweating, nausea, or lightheadedness. Women and older adults sometimes experience subtler symptoms like unusual fatigue or upper abdominal discomfort instead of classic chest pressure.
Pericarditis, inflammation of the sac surrounding the heart, causes sharp chest pain that often worsens when lying down or breathing in and improves when leaning forward. It can follow a viral infection and sometimes gets mistaken for a heart attack.
Managing Musculoskeletal Rib Pain at Home
If your pain is clearly tied to movement, touch, or a recent physical activity and you don’t have any of the red flags listed below, home care is usually appropriate. Rest and avoiding the movement that triggers the pain give the area time to heal. Applying ice during the first 48 hours helps reduce inflammation, while switching to heat afterward (warm showers, heating pads) relaxes tight muscles.
Over-the-counter pain relievers like acetaminophen can take the edge off. Gentle, controlled deep breathing helps prevent the shallow breathing pattern that people with rib pain often fall into, which can lead to stiffness or even respiratory complications over time. Improving your posture, especially if you sit for long periods, reduces ongoing strain on the rib cage. Topical pain-relief creams or patches applied directly over the sore spot can provide localized relief without the stomach irritation that oral painkillers sometimes cause.
Red Flags That Need Immediate Attention
Most left rib pain resolves on its own or with simple treatment. But certain features signal something that needs urgent evaluation:
- Severe or sudden pain that doesn’t ease with rest or position changes
- Chest pressure or heaviness with pain radiating to your arm, jaw, or back
- Shortness of breath not explained by exertion
- Vomiting blood or finding blood in your stool or urine
- Fever or chills alongside the pain
- Yellowing skin or eyes (jaundice)
- Pain that keeps returning or has been gradually worsening over days to weeks
- Inability to pass gas or have a bowel movement, which can indicate a bowel obstruction
Mild pain that you can clearly connect to a pulled muscle or an intense workout is rarely dangerous. Pain that arrives out of nowhere, wakes you from sleep, or comes with any of the symptoms above is your body telling you something more than a muscle is involved.

