Sharp chest pain during a deep breath is usually caused by something in your chest wall, lungs, or the tissue lining your lungs rather than your heart. The most common culprit is musculoskeletal, meaning strained muscles between your ribs or inflamed cartilage where your ribs meet your breastbone. But several other conditions, some serious, can produce this same symptom.
Chest Wall Strain and Costochondritis
The muscles between your ribs (intercostal muscles) expand every time you inhale. If one of those muscles is strained, the stretching motion of a deep breath pulls directly on the injured tissue, producing a sharp or aching pain. This is by far the most common reason for breathing-related chest pain, especially if you’ve recently exercised, lifted something heavy, or even coughed hard enough to strain those muscles.
A mild intercostal strain typically heals within a few days. Moderate strains can take 3 to 7 weeks, and a complete muscle tear may take longer. Most rib-area strains resolve within about 6 weeks with rest and limited physical activity.
Costochondritis is a related condition where the cartilage connecting your ribs to your breastbone becomes irritated. It tends to affect the second through fifth ribs on one side and produces an aching or sharp, pressure-like pain that gets worse with deep breathing, upper-body movement, or exertion. There’s no visible swelling or redness, and if you press on the tender spot and the pain reproduces, that’s a strong clue the problem is in your chest wall rather than deeper in your lungs or heart.
Precordial Catch Syndrome
If you’re under 30 and experience a sudden, stabbing pain on the left side of your chest (usually just below the nipple) that lasts only a few seconds to about three minutes, you may be experiencing precordial catch syndrome, sometimes called Texidor’s twinge. It most commonly affects children as young as 6 and young adults into their early 20s. The pain can feel alarming, but it’s completely harmless and resolves on its own. It tends to strike at rest, often while slouching, and disappears with a change in position or a slow, shallow breath.
Pleurisy
Your lungs are wrapped in a thin, two-layered membrane called the pleura. When this lining becomes inflamed, the two layers rub against each other with every breath, causing a sharp, knife-like pain that worsens specifically on inhalation. This is called pleurisy, and the pain typically stays in one spot on your chest.
Pleurisy itself isn’t a disease but a symptom. It can be triggered by a viral infection, pneumonia, autoimmune conditions, or even a blood clot in the lung. Sometimes fluid builds up between the pleural layers (pleural effusion), which can actually reduce the rubbing pain but may cause a feeling of pressure or shortness of breath instead. A CT scan can detect as little as 10 mL of pleural fluid and is considered the reference standard for evaluating these cases.
Pneumonia
When a lung infection inflames the tissue near the pleural lining, deep breathing becomes painful for the same friction-based reason as pleurisy. The difference is that pneumonia comes with additional symptoms: fever, a productive cough (often with discolored mucus), fatigue, muscle aches, and loss of appetite. On examination, a doctor may hear crackling sounds or notice dullness when tapping on the affected area of your chest. If your breathing-related chest pain came on alongside a worsening cough and fever, a lung infection is a likely explanation.
Collapsed Lung (Pneumothorax)
A pneumothorax happens when air leaks into the space between your lung and chest wall, causing part or all of the lung to collapse. The hallmark is sudden chest pain paired with shortness of breath, and the severity tracks with how much of the lung is deflated. It can happen spontaneously, particularly in tall, thin young men or in people with underlying lung disease, or after a chest injury. Breath sounds will be absent or diminished on the affected side. This requires medical attention because a large or worsening pneumothorax can become life-threatening.
Pulmonary Embolism
A blood clot that travels to the lungs causes sharp, breathing-related chest pain in about 66% of cases, and shortness of breath in about 73%. A pulmonary embolism often also produces a rapid heart rate, low oxygen levels, and a sense of respiratory distress. Your risk is higher if you’ve recently had surgery, been immobile for long periods (such as a long flight or hospital stay), take certain hormonal medications, or have a clotting disorder. Over 90% of people with a pulmonary embolism present with a fast heart rate combined with difficulty breathing. When suspected, doctors typically order a CT scan with contrast dye to visualize the blood vessels in the lungs directly.
How This Differs From Heart Pain
Chest pain that changes with breathing is actually less likely to come from your heart. Heart-related chest pain (the kind associated with a heart attack or angina) typically feels like pressure, squeezing, or heaviness rather than a sharp stab. It doesn’t usually change when you inhale or shift position. The 2021 guidelines from the American Heart Association and American College of Cardiology specifically note that pain described as sharp, fleeting, related to inspiration, or reproducible by pressing on the chest “markedly reduces” the probability of a heart event.
That said, “less likely” doesn’t mean impossible. A heart attack can occasionally present with atypical symptoms, and a pulmonary embolism (which is a vascular emergency) does cause pain with breathing. The distinguishing factor is usually the company the pain keeps: heart problems tend to bring nausea, jaw or arm pain, and a crushing sensation, while lung and chest wall problems bring sharp, localized, breath-dependent pain.
Signs That Need Immediate Attention
Most breathing-related chest pain turns out to be musculoskeletal and resolves with time. But certain combinations of symptoms signal something more urgent:
- Sudden onset of pain plus severe shortness of breath, which may indicate a collapsed lung or pulmonary embolism
- Rapid heart rate with chest pain, present in the majority of pulmonary embolism cases
- Chest pain with fever, cough, and fatigue, suggesting pneumonia that may need treatment
- Pain after prolonged immobility or recent surgery, raising concern for a blood clot
- Feeling lightheaded or faint alongside chest pain, which can indicate dropping blood pressure from a serious cause
If your pain is mild, reproducible by pressing on your chest, and came on after physical activity, it’s likely a chest wall issue that will improve with rest over a few days to weeks. If it’s sudden, severe, or accompanied by any of the symptoms above, it warrants prompt evaluation.

