If you feel a sharp pain in your stomach every time you take a deep breath, you might wonder what is causing it. This pain often comes from the diaphragm, the muscle that helps you breathe, becoming irritated or strained. It can also come from inflammation in the lining of the lungs or chest wall, a pulled abdominal muscle, or in some cases a more serious condition like pneumonia or a blood clot in the lung. Understanding the possible reasons can help you know when to rest and when to see a doctor.
Why Does It Hurt My Stomach When I Breathe?
The most common reason is irritation or strain of the diaphragm. The diaphragm is a large, dome-shaped muscle that sits between your chest and your abdomen. When you inhale, it contracts and moves downward, pushing your stomach and other organs slightly. If the diaphragm is inflamed, tight, or injured, that movement can cause pain in the upper abdomen or lower chest.
Other causes include pleurisy (inflammation of the lung lining), costochondritis (inflammation where the ribs meet the breastbone), a pulled muscle in the belly wall, or conditions like pneumonia, pericarditis, or even gastroesophageal reflux. Less commonly, the pain can signal a pulmonary embolism (a blood clot in the lung) or a heart issue like pericarditis. The exact location and type of pain matter — sharp and stabbing with each breath is different from a dull ache or a burning sensation.
What Causes Sharp Stomach Pain When Breathing Deeply?
Sharp, stabbing pain that happens only on inspiration (breathing in) often points to pleural irritation. The pleura is the thin membrane that covers the lungs and lines the inside of the chest cavity. When it becomes inflamed — from a viral infection, pneumonia, a rib fracture, or autoimmune conditions — each breath pulls on the inflamed layers and causes a sharp stab.
Another possibility is a muscle spasm or strain in the abdominal wall. If you recently did heavy lifting, intense core work, or twisted awkwardly, a small tear in the rectus abdominis or oblique muscles can hurt when your diaphragm contracts and expands the abdomen. This pain usually feels more like a localized ache or stitch, but it can be sharp.
Costochondritis, though felt more in the chest, can refer pain to the upper abdomen. It is caused by inflammation of the cartilage connecting the ribs to the breastbone. Deep breathing, coughing, or pressing on the area worsens the pain.
Can Pleurisy Cause Stomach Pain When Breathing?
Yes. Pleurisy (also called pleuritis) is inflammation of the pleura. The classic symptom is a sharp, stabbing pain that gets worse with deep breaths, coughing, or sneezing. The pain is usually on one side of the chest, but it can radiate to the upper abdomen or shoulder. That referred pain happens because the phrenic nerve, which supplies the diaphragm and the pleura, also sends signals to the same spinal nerves that serve parts of the abdomen and shoulder area. So your brain can misinterpret the signal as coming from your stomach.
Pleurisy is often caused by viral infections, but it can also result from bacterial pneumonia, lupus, a broken rib, or a blood clot in the lung. If you have pleurisy plus fever, chills, shortness of breath, or cough with phlegm, you should see a doctor promptly.
Is It a Pulled Muscle in the Abdomen?
A pulled abdominal muscle is possible, especially if you exercise or lift something heavy. The muscle strain can cause a sharp pain or a dull ache that worsens when you breathe deeply, sneeze, cough, or arch your back. The pain is usually located on one side of the belly and may be tender to touch.
Unlike pleurisy or heart-related pain, a muscle strain often has a clear trigger and does not cause fever or shortness of breath. Rest and gentle stretching usually help within a few days. If the pain does not improve after a few days, or if it gets worse, see a doctor to rule out other causes.
When Should You Worry About Stomach Pain When Breathing?
Most of the time, stomach pain when breathing is not a medical emergency. But some symptoms should make you seek urgent care:
- Pain that is severe, sudden, or crushing
- Shortness of breath, trouble catching your breath
- Coughing up blood or pink frothy sputum
- Fever, chills, or night sweats
- Pain that radiates to your left arm, jaw, shoulder, or back
- Feeling faint, dizzy, or nauseous with the pain
- Pain that started after a fall or injury
These symptoms can indicate a pulmonary embolism, heart attack, pneumonia, or a perforated ulcer. Call 911 or go to the emergency room right away.
For milder pain that comes and goes with breathing, it is still wise to see your primary care doctor within a few days if it does not resolve. A doctor can listen to your lungs, press on your belly, and order a chest X-ray or blood tests if needed.
How Is Stomach Pain When Breathing Diagnosed?
Your doctor will start by asking you about the pain: where it is, how it started, what makes it better or worse, and if you have other symptoms like fever, cough, or nausea. They will listen to your lungs with a stethoscope to check for reduced breath sounds or a rub (friction sound from pleurisy). They may press on your abdomen and chest wall to see if the pain is reproducible.
Depending on what they find, they may order tests such as a chest X-ray, an electrocardiogram (ECG), blood tests to check for infection or clotting problems, or a CT scan of the chest. If a pulmonary embolism is suspected, they will likely order a D-dimer blood test or a CT pulmonary angiogram.
What Can You Do for Stomach Pain When Breathing at Home?
If your pain is mild and you are confident it is not a serious cause, home care may help:
- Rest — avoid heavy lifting, intense exercise, or deep breathing exercises until the pain subsides.
- Apply heat — a warm compress or heating pad on the painful area for 15–20 minutes can relax muscle tension.
- Over-the-counter pain relievers — ibuprofen (Advil, Motrin) or naproxen (Aleve) can reduce inflammation and pain. Do not use them if you have a history of stomach ulcers, kidney problems, or are on blood thinners. Always follow the label directions.
- Gentle breathing — try slow, shallow breaths at first, then gradually increase depth as tolerated. Do not force deep breaths if they hurt.
- Avoid triggers — if coughing or sneezing hurts, brace your stomach with your hands or a pillow before you cough.
If the pain lasts more than a week, gets worse, or is accompanied by any warning signs mentioned above, see a doctor. Home care is not a substitute for medical evaluation when needed.
Can Anxiety or Stress Cause Stomach Pain When Breathing?
Yes, anxiety can contribute. When you are stressed or anxious, you may breathe more shallowly or faster, which can put strain on your diaphragm and intercostal muscles. This can lead to a feeling of tightness, a stitch-like pain in the upper abdomen or lower ribs, or even hyperventilation. The pain from anxiety is usually short-lived and comes with other symptoms like rapid heart rate, dizziness, or tingling in the hands.
However, anxiety rarely causes sharp, severe, or unilateral pain that worsens with deep breathing. If the pain is sharp and localized, or if you have shortness of breath, you should not assume it is “just anxiety” without a proper diagnosis. A doctor can rule out physical causes first.
Frequently Asked Questions
Why does my stomach hurt when I take a deep breath?
It is usually due to irritation or strain of the diaphragm or the lining of the lungs and chest wall. Common causes include a pulled abdominal muscle, pleurisy, costochondritis, or sometimes a more serious condition like pneumonia or a blood clot in the lung.
Can gas cause pain when breathing?
Gas in the stomach or intestines does not typically cause pain that worsens specifically with deep breathing. However, gas trapped in the colon can cause a general abdominal ache that may feel worse when you move or change position, but it is not a classic cause of pain on inhalation.
When should I go to the ER for stomach pain when breathing?
Go to the emergency room if the pain is severe, sudden, or crushing, or if you have shortness of breath, cough up blood, feel faint, or have pain that radiates to your arm or jaw. These can be signs of a heart attack, blood clot in the lung, or a serious infection.
How long does diaphragm pain last after a strain?
Mild diaphragm strains usually improve within a few days to a week with rest and gentle care. If the pain lasts longer than a week, or if it gets worse, you should see a doctor to rule out other causes.

