If your chest hurts when you take a deep breath, the pain may be coming from the muscles and joints of the chest wall, the lining around the lungs, the lungs themselves or, less commonly, structures around the heart.
A pulled chest muscle, costochondritis and pleurisy are among the possible explanations. However, pain that becomes worse when breathing in can also occur with pneumonia, a pulmonary embolism, a collapsed lung or pericarditis.
This means unexplained chest pain should not automatically be assumed to be muscular.
The NHS advises calling 999 for sudden chest pain that does not go away, pain spreading to the arms, neck, jaw, stomach or back, or chest pain accompanied by sweating, nausea, light-headedness or shortness of breath.
For this WikiWhy health review, our editorial team compared current NHS information with clinician-authored medical reviews and patient guidance to understand not only what can cause chest pain when breathing deeply, but which additional symptoms make particular causes more concerning.
Important: This article cannot determine the cause of an individual’s chest pain. New, unexplained, persistent or severe chest pain should be medically assessed.
Why Does Taking a Deep Breath Make Chest Pain Worse?
Taking a deep breath does much more than move air into the lungs. Your diaphragm contracts, your rib cage expands, the muscles between your ribs move and tissues surrounding the lungs shift against the chest wall.
If one of these structures is irritated or inflamed, that extra movement can trigger pain.
Doctors often describe sharp pain that becomes worse with inhalation as pleuritic chest pain. The term describes the pattern of pain rather than a specific disease.
The lung tissue itself is not the main pain-sensitive structure involved in classic pleuritic pain.
The parietal pleura, which lines the inside of the chest wall, contains pain-sensitive nerves. Inflammation involving this tissue can therefore produce sharp pain as the chest moves during breathing.
This explains why some people feel almost normal while breathing shallowly but experience a sudden stabbing sensation when they:
- Take a full breath
- Cough
- Sneeze
- Laugh
- Yawn
- Twist their upper body
- Exercise
- Lie in certain positions
The pattern can provide useful clues, but it cannot establish a diagnosis by itself.
What Are the Most Likely Causes of Chest Pain When Breathing Deeply?

There is no single cause. Clinicians generally consider the chest wall, lungs, pleura, cardiovascular system and sometimes the digestive system.
| Possible cause | Typical clues | How urgently should it be assessed? |
| Chest muscle strain | Started after exercise, lifting, coughing or unusual movement; may hurt with twisting | Usually non-emergency, but unexplained chest pain still needs assessment |
| Costochondritis | Tenderness around ribs/breastbone; worse with movement, pressure or deep breathing | Seek medical advice, especially with new chest pain |
| Pleurisy | Sharp pain during inhalation; often worse coughing or sneezing | NHS recommends prompt medical advice |
| Pneumonia | Chest pain plus cough, fever, phlegm, fatigue or breathlessness | Medical assessment needed |
| Pulmonary embolism | Sudden pain, breathlessness, fast heartbeat, faintness, coughing blood or leg swelling | Medical emergency |
| Pneumothorax | Sudden sharp, often one-sided pain and shortness of breath | Urgent/emergency assessment |
| Pericarditis | Sharp pain, worse lying down or taking a deep breath; may improve leaning forward | Urgent medical advice |
| Heart attack/ACS | Tightness, pressure or squeezing; breathlessness, nausea, sweating or spreading pain may occur | Medical emergency |
| Acid reflux | Burning discomfort, often after eating, with acid taste or regurgitation | Usually non-emergency unless symptoms suggest cardiac pain |
| Anxiety/panic | Tightness or sharp pain with rapid breathing, racing heart, tingling or panic | Serious physical causes should not automatically be attributed to anxiety |
Could It Simply Be a Pulled Chest Muscle?
Yes. Musculoskeletal problems are common causes of chest pain.
The intercostal muscles sit between the ribs and help move the chest during breathing.
They can become irritated after:
- Heavy lifting
- Bench pressing or other chest exercises
- Repeated coughing
- Sudden twisting
- Contact sports
- An awkward movement
- A direct blow to the chest
The NHS notes that chest pain beginning after chest exercise or an injury and becoming worse during breathing can be associated with a chest sprain or strain.
Muscle-related pain is often localised. Moving your torso, lifting your arm or engaging the affected muscles may reproduce it.
However, being physically active does not prove that pain is muscular. Sudden unexplained chest pain during or after exercise deserves particular caution.
Could Costochondritis Cause Pain When I Breathe In?
Costochondritis is inflammation where the ribs meet the breastbone.
The NHS says its pain can become worse when:
- Breathing deeply
- Moving the upper body
- Lying down
- Pressing around the ribs or centre of the chest.
Heavy lifting, repetitive upper-body movements, coughing and chest injuries have all been associated with the condition.
This is especially relevant for people who regularly train their chest, shoulders and upper body. The mechanical stress of training can make existing chest-wall irritation more noticeable.
Costochondritis can sometimes persist for weeks or months, rather than disappearing after a day or two.
How Common Are Musculoskeletal Causes?
Percentages need to be interpreted carefully.
A 2026 American Academy of Family Physicians review reported that among people attending primary care with chest pain generally, musculoskeletal conditions account for around 20% to 50% of cases.
A separate clinical review estimated costochondritis at around 13% of primary-care chest-pain presentations.
These numbers do not mean that someone with pain on inhalation personally has a 20–50% probability of a muscle problem. They describe groups of patients attending healthcare services with all types of chest pain.
That distinction is important.
Could Pleurisy Be Making Deep Breaths Hurt?
Pleurisy means inflammation of the lining surrounding the lungs.
Its classic symptom is sharp chest pain when breathing in. Coughing, sneezing and movement can make it worse, and the discomfort may sometimes spread into the shoulder or back.
Pleurisy can follow a viral illness, but clinicians also need to determine whether an underlying problem such as pneumonia is responsible.
The NHS recommends seeking urgent GP or NHS 111 advice when sharp chest pain:
- Comes and goes
- Occurs when breathing or coughing
- Has failed to improve after several days
- Is associated with regular breathlessness
- Occurs alongside small amounts of blood in phlegm.
Dr Brian V. Reamy, Dr Pamela M. Williams and Dr Michael Ryan Odom emphasised an important safety point in their clinical review:
“Pulmonary embolism is the most common life-threatening cause of pleuritic chest pain.”
That does not mean most pleuritic pain is a pulmonary embolism. It means clinicians need to consider it before dismissing the symptom as harmless.
Could a Chest Infection or Pneumonia Be Responsible?
Pneumonia can produce chest pain, particularly when inflammation reaches tissues near the pleura.
Other symptoms can include:
- Cough
- Yellow or green phlegm
- High temperature
- Shortness of breath
- Fatigue
- Loss of appetite
- Aching muscles
- Wheezing
The NHS specifically advises seeking urgent medical advice when chest pain occurs while breathing or coughing alongside symptoms suggestive of pneumonia.
A useful clue is therefore the combination of symptoms rather than the chest pain alone.
Pain plus fever, cough and worsening breathlessness is a very different clinical picture from mild soreness that appeared immediately after a heavy gym session.
When Could It Be a Pulmonary Embolism?
A pulmonary embolism (PE) happens when an artery in the lung becomes blocked, usually by a blood clot that has travelled from a deep vein.
Symptoms may include:
- Sudden shortness of breath
- Sharp chest pain
- Pain becoming worse with a deep breath
- Fast heartbeat
- Coughing up blood
- Light-headedness
- Fainting
- Swelling, warmth or pain in one leg
NHS hospital guidance describes difficulty taking deep breaths and sudden chest pain among possible PE symptoms.
Risk can be increased by circumstances such as prolonged immobility, recent surgery, previous blood clots, pregnancy, cancer, obesity, smoking and some oestrogen-containing contraceptives or hormone treatments.
Therefore, sudden pain after a long period of immobility or alongside unexplained breathlessness or unilateral leg swelling deserves especially urgent assessment.
What Does the 5% to 21% Pulmonary Embolism Figure Mean?
One frequently quoted clinical review found pulmonary embolism in approximately 5% to 21% of emergency-department patients presenting with pleuritic chest pain.
This percentage should not be applied to everybody experiencing a brief sharp pain at home.
It comes from emergency-department populations who were already sufficiently symptomatic to seek emergency assessment. Individual PE risk depends heavily on symptoms, medical history and risk factors.
Could a Collapsed Lung Cause Sudden Pain When Breathing?
Yes. A pneumothorax, commonly called a collapsed lung, occurs when air enters the space between the lung and chest wall.
Typical symptoms include:
- Sudden sharp chest pain
- Pain that becomes worse during inhalation
- Shortness of breath
- Sometimes a dry cough or light-headedness
NHS hospital guidance describes pneumothorax pain as typically sharp, capable of starting suddenly and worsening with deep breathing.
It can occur after an injury, in people with existing lung disease and occasionally spontaneously in otherwise healthy people.
Sudden one-sided chest pain accompanied by significant breathlessness requires urgent assessment.
Can Heart Problems Hurt More When Taking a Deep Breath?
They can, although not every heart-related condition produces the same type of pain.
Pericarditis
Pericarditis is inflammation of the sac surrounding the heart.
The NHS describes the pain as often:
- Sharp or stabbing
- Worse when breathing deeply
- Worse during coughing or swallowing
- Worse lying down
- Better when leaning forward.
A recent viral illness may precede it.
Heart attack
Classic heart-attack discomfort is more commonly described as pressure, squeezing, heaviness or tightness rather than a brief stabbing sensation that occurs only at maximum inhalation.
However, symptoms vary.
Heart attack symptoms can include chest discomfort accompanied by:
- Shortness of breath
- Sweating
- Nausea or vomiting
- Light-headedness
- Pain spreading into an arm, neck, jaw or back.
So pain becoming worse during inhalation should not be used as a home test to rule out a heart problem.
Dr John R. McConaghy, Dr Malvika Sharma and Dr Hiten Patel noted in their clinical review that:
“The most common causes of chest pain in the primary care population are chest wall pain…”
But the same review stresses that initial evaluation must first identify potentially serious cardiac disease.
Can Acid Reflux Cause Chest Pain While Breathing?
Acid reflux can produce burning discomfort behind the breastbone and is an important non-cardiac cause of chest pain.
Clues include:
- Burning behind the breastbone
- Sour or bitter taste
- Acid coming into the throat
- Symptoms after eating
- Symptoms becoming worse when lying down
- Bloating or indigestion
Deep breathing itself is not usually the defining trigger for reflux pain, so strongly breath-dependent sharp pain should prompt consideration of other causes as well.
Can Anxiety Make My Chest Hurt When I Breathe Deeply?
Yes, but anxiety should not automatically be blamed for new chest pain.
Stress and panic can lead to:
- Rapid breathing or hyperventilation
- Increased heart rate
- Tight chest muscles
- Tingling around the hands or mouth
- Dizziness
- Feelings of breathlessness
- Chest tightness or sharp discomfort
The NHS includes anxiety and panic among possible causes of chest pain, particularly when pain occurs during stressful situations alongside a faster heartbeat, sweating or dizziness.
However, symptoms of anxiety can overlap with heart and lung conditions. A first episode of severe or unexplained chest pain therefore deserves proper clinical assessment rather than self-diagnosis.
Does It Matter Whether the Pain Is on the Left or Right Side?
Not as much as many online symptom guides imply.
Location provides clinicians with information, but left-sided pain does not automatically mean heart disease, and right-sided pain does not guarantee that the heart is uninvolved.
Pleurisy, chest-wall injury, muscle strain and pneumothorax can produce one-sided pain. Heart-related discomfort can occur centrally or spread into other areas.
More useful information includes:
- Whether the pain started suddenly
- Whether it is sharp, burning, pressure-like or crushing
- Whether pressing it reproduces the pain
- Whether movement changes it
- Whether lying down changes it
- Whether exercise triggers it
- Whether fever or coughing is present
- Whether there is breathlessness
- Whether pain radiates elsewhere
- Whether there are blood-clot risk factors
What If My Chest Hurts When I Press on It Too?
Pain that can be reproduced by pressing a particular part of the chest is more suggestive of a chest-wall or musculoskeletal source.
Clinical guidance notes that localised pain reproducible by palpation can support diagnoses such as chest-wall pain or costochondritis.
But this is a clinical clue rather than a guarantee.
Someone can have chest-wall tenderness and another medical problem simultaneously. Reproducible pain should therefore not be used to dismiss severe chest pain, breathlessness or other warning signs.
Why Does My Chest Hurt After Exercise When I Take a Deep Breath?
For active people, several possibilities deserve consideration.
A new resistance-training programme, heavy bench pressing, push-ups, throwing sports, contact sport or intense upper-body session can strain chest-wall muscles or irritate the areas around the ribs.
Pain is more suggestive of a mechanical problem if it clearly changes with:
- Upper-body movement
- Stretching
- Pressing a specific spot
- Twisting
- Using the affected muscle group
Repeated coughing following a respiratory infection can produce similar chest-wall irritation.
However, unexplained chest pain during exercise is different.
Pain or pressure appearing during exertion, especially alongside breathlessness, sweating, dizziness or nausea, should not be treated as an ordinary gym injury without medical assessment.
Until unexplained chest pain has been evaluated, pushing through another strenuous workout is not a sensible way to “test” whether it is muscular.
How Do Doctors Work Out Why Deep Breathing Hurts?

There is no single test for this symptom because the investigation depends on the suspected cause.
A clinician may ask:
- When did it begin?
- Was the onset sudden or gradual?
- Where exactly does it hurt?
- What does the pain feel like?
- Does movement reproduce it?
- Does pressing the chest reproduce it?
- Is there coughing or fever?
- Are you breathless?
- Have you recently travelled?
- Have you been immobile?
- Have you recently had surgery?
- Is one leg swollen?
- Have you had a recent infection?
- Is the pain affected by eating or lying down?
- What medicines or hormones are you taking?
Depending on the findings, investigations can include:
ECG: checks the heart’s electrical activity.
Blood tests: may look for infection, inflammation or evidence of heart-muscle injury.
Chest X-ray: can identify problems such as pneumonia or pneumothorax.
D-dimer: may be used as part of pulmonary-embolism assessment in appropriately selected patients.
CT pulmonary angiography: can look for pulmonary embolism where clinical assessment indicates imaging.
Echocardiogram: may be considered when certain heart conditions are suspected.
For suspected pleurisy without an obvious explanation, the NHS notes that blood tests, chest X-rays, ultrasound or CT scanning may sometimes be required.
When Should You Call 999?
Call 999 if chest pain is sudden or severe, particularly if:
- It does not go away
- The chest feels tight, heavy or squeezed
- Pain spreads into the arm, neck, jaw, back or stomach
- You have serious difficulty breathing
- You feel faint or lose consciousness
- You are sweating and feel sick
- Your skin or lips become unusually pale, blue or grey
- You cough up significant amounts of blood
- Chest pain occurs with severe breathlessness and a very fast heartbeat
These symptoms can occur with conditions including heart attack and pulmonary embolism.
Do not drive yourself to A&E when the NHS advises emergency ambulance assistance.
When Should You Contact NHS 111 or a GP?
Even without emergency symptoms, medical advice is sensible when:
- Chest pain keeps coming back
- Sharp pain repeatedly occurs during breathing or coughing
- Symptoms have lasted several days
- You regularly become breathless
- There is an unexplained cough or fever
- You notice small streaks of blood in phlegm
- The pain is interfering with normal activity
- You cannot identify an obvious cause
- The pain disappeared but you remain concerned
The NHS specifically recommends getting unexplained chest pain checked rather than trying to diagnose it yourself.
Can You Treat Chest Pain From Deep Breathing at Home?
Treatment depends entirely on the cause.
If a healthcare professional has established that the pain comes from a minor muscle strain, chest-wall inflammation or uncomplicated pleuritic irritation, treatment may involve relative rest and appropriate pain relief.
NHS guidance for costochondritis and pleurisy mentions medicines such as paracetamol or ibuprofen in appropriate patients.
However, anti-inflammatory medicines are not suitable for everybody, including some people with stomach ulcers, kidney problems, certain cardiovascular conditions, allergies or pregnancy.
A pharmacist or clinician can advise which pain relief is appropriate.
Antibiotics should not be taken simply because breathing hurts. They are useful only for particular bacterial infections and will not treat causes such as muscle strain, viral infection, pulmonary embolism or pneumothorax.
What Did Our Review Find?
After comparing NHS guidance, clinician-authored reviews and the main pages currently answering this search query, the most important finding is that “pain when taking a deep breath” describes a symptom pattern rather than a diagnosis.
Search results often concentrate heavily on long lists of possible diseases. Clinically, the context around the pain is more useful.
In particular:
- Pain after exercise, lifting or repeated coughing raises the possibility of chest-wall strain.
- Pain reproducible by pressing the ribs or breastbone supports a musculoskeletal explanation.
- Sharp pain with fever and cough makes infection or pleural inflammation more relevant.
- Sudden pain with unexplained breathlessness requires urgent consideration of PE or pneumothorax.
- Pain worsened by lying flat but eased by leaning forward is a recognised pericarditis pattern.
- Tight, heavy or squeezing discomfort with sweating, nausea or spreading pain requires emergency cardiac assessment.
- Recent surgery, immobility, previous clots, leg swelling, pregnancy or oestrogen-containing medication can change the clinical concern for blood clots.
Percentages are also easy to misuse. Musculoskeletal conditions account for roughly 20–50% of general primary-care chest-pain presentations, yet older emergency-department studies found PE in 5–21% of patients specifically presenting with pleuritic chest pain.
These figures describe different patient populations and should never be converted into an individual’s diagnosis based on an online symptom search.
What Is the Bottom Line?
Chest pain when taking a deep breath frequently occurs because breathing moves an irritated part of the chest wall or the tissues surrounding the lungs. Muscle strain, costochondritis and pleurisy are possible causes.
But the same symptom can occur with pneumonia, pulmonary embolism, pneumothorax and pericarditis, while serious heart problems cannot be ruled out simply because the pain changes with breathing.
The safest way to interpret the symptom is therefore not to ask only “Where does it hurt?” but also:
How suddenly did it start, what else am I feeling, and are there any warning signs or risk factors?
New or unexplained chest pain deserves medical advice. Sudden persistent pain, significant breathing difficulty, fainting, coughing up blood, spreading pain, sweating or severe nausea should be treated as potential emergency symptoms.
Frequently Asked Questions
Why does my chest hurt only when I take a very deep breath?
Deep inhalation expands the rib cage and moves the pleura and chest-wall muscles further than ordinary breathing. Inflamed or strained tissues can therefore hurt only near the end of a deep breath.
Is sharp chest pain when breathing usually muscular?
Musculoskeletal causes are common among people presenting to primary care with chest pain, but sharp breath-related pain can also come from lung, pleural or cardiovascular conditions.
Can coughing too much cause chest pain when breathing?
Yes. Repeated forceful coughing can strain chest muscles and is also associated with costochondritis. However, coughing plus fever, breathlessness or blood requires medical assessment.
Why does my left chest hurt when I inhale?
Possible causes include muscle strain, costochondritis, pleurisy and other lung or cardiovascular problems. Left-sided location alone cannot identify the cause.
Why does my right chest hurt when I take a deep breath?
Right-sided pain can arise from the ribs, muscles or pleura, among other structures. Sudden pain with breathlessness needs urgent assessment regardless of which side hurts.
Can trapped gas cause chest pain when breathing?
Digestive problems can produce chest discomfort, but pain that is consistently triggered by deep inspiration is not specific for trapped gas. Persistent or unexplained pain should not automatically be attributed to digestion.
Should I exercise if my chest hurts when I breathe deeply?
Avoid strenuous exercise while you have unexplained chest pain. Once a healthcare professional has confirmed a benign musculoskeletal cause, they can advise when and how to return safely to training.
