Symptom guide
Chest pain when breathing in: causes, red flags and when to get it checked
Pain that is sharp and worsens when you breathe in, cough or twist is usually coming from the chest wall or the lining of the lung or heart, not the heart muscle itself. Even so, a blood clot in the lung, a collapsed lung or pneumonia can feel similar, so sudden pain with breathlessness needs urgent assessment.
Last checked: 2026-10-03
Key facts
At a glance.
-
Pleuritic pain
Pain that is worse on inspiration is called pleuritic and arises from the chest wall, pleura or pericardium.
-
Common causes
Muscle strain, costochondritis and viral chest infections account for most cases.
-
Cannot-miss
Pulmonary embolism, pneumothorax and pneumonia must be considered, especially with breathlessness.
-
Heart pain differs
Typical heart pain feels like pressure or tightness and is not usually changed by breathing or position.
-
Who to see
999 or A&E if severe; same-day GP otherwise.
What this symptom usually means
The lungs themselves have no pain-sensing nerves, but the lining that covers them (the pleura) and the chest wall do. When breathing in stretches an inflamed or injured surface, you feel a sharp, catching pain. The clues are what else is happening: cough and fever, a calf swelling, a recent injury or long journey.
Possible causes, from most to least common
-
Muscle strain or rib and cartilage inflammation (costochondritis): tender when pressed on the chest wall, worse with movement, twisting or a deep breath.
-
Viral respiratory infection or pleurisy: sharp pain with a recent cold or flu.
-
Pneumonia: chest pain with fever, productive cough and breathlessness.
-
Pericarditis: sharp central chest pain, eased by leaning forward, worse lying flat, often after a viral illness.
-
Pulmonary embolism: sudden sharp pain with breathlessness, sometimes coughing blood, in people with a recent operation, long travel, leg swelling or cancer.
-
Pneumothorax (collapsed lung): sudden pain and breathlessness, more common in tall young men and smokers.
-
Rib fracture after injury, and shingles before the rash appears.
-
Lung cancer or an autoimmune condition such as lupus, which are less common causes.
Features that point to something more serious
Sudden onset, breathlessness at rest, a fast pulse, coughing blood, fainting, a swollen painful calf, fever with rigors, pain after a long flight or surgery, a history of cancer or clots, and oxygen levels or blood pressure that are low are warning signs.
Red flags: when to seek help
-
Call 999: severe chest pain, pain with severe breathlessness, collapse, coughing blood, blue lips, or chest pain with pressure, sweating or radiation to the arm or jaw.
-
A&E or NHS 111 today: sharp chest pain with breathlessness of recent onset, or fever with rapid breathing.
-
GP same day or within a day or two: pain on breathing following a cold, or after a minor strain.
-
Routine GP: reproducible chest wall tenderness that is improving.
What a doctor will ask and examine
The clinician asks when it began, what makes it better or worse, breathlessness, cough, fever, recent travel, surgery, injury, leg swelling, smoking, hormones and past clots. They check pulse, blood pressure, temperature, oxygen saturation, listen to the heart and lungs, press the chest wall and examine the legs.
Tests that are commonly used and why
-
ECG and troponin blood test: to exclude a heart cause.
-
Chest X-ray: to look for pneumothorax, pneumonia or fluid.
-
D-dimer and CT pulmonary angiogram: if pulmonary embolism is possible.
-
Blood tests and inflammatory markers: for infection or pericarditis.
-
Echocardiogram: if the pericardium or heart function is in question.
Self-care and the usual route
For a confirmed chest wall or viral cause, simple painkillers such as paracetamol or an anti-inflammatory (if suitable for you), warmth and gentle movement help. Deep breathing exercises reduce the risk of chest infection. Do not take painkillers to mask pain that is severe, sudden or accompanied by breathlessness.
On the NHS, severe or sudden pain should go to A&E; otherwise a GP can arrange tests. Private hospitals can offer same-day chest X-ray, ECG and CT, but emergencies still require 999.
Frequently asked
Questions people ask.
Quick, plain-English answers to the questions we hear most.
-
Is chest pain on breathing in a heart attack?
Usually not. Heart attack pain is typically pressure or tightness not changed by breathing. But if you are unsure, seek urgent care.
-
What is pleurisy?
Inflammation of the lining of the lung, causing sharp pain on breathing, coughing or moving, often after a viral infection or pneumonia.
-
What is costochondritis?
Inflammation of the cartilage where the ribs join the breastbone, giving tender chest wall pain that is reproducible when pressed.
-
Could it be a blood clot?
Possibly, especially with sudden pain, breathlessness, a recent flight, surgery or leg swelling. A D-dimer and CT scan assess this.
-
Can anxiety cause it?
Anxiety can cause sharp chest sensations and over-breathing, but other causes must be considered before attributing pain to anxiety.
-
Should I go to A&E?
Yes, if the pain is severe, sudden, with breathlessness, collapse or coughing blood. Otherwise, same-day GP assessment is reasonable.
-
How long does a muscle strain take to settle?
Often one to three weeks, improving gradually with movement and simple painkillers.
-
Do I need a chest X-ray?
Often, particularly if there is breathlessness, fever or injury. It can reveal pneumothorax, pneumonia and fluid.
Where this comes from
Sources and checking.
This guide is for information, not medical advice.
Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.
Published 2026-10-03, next review 2027-10-03.
-
NHS: Chest pain (nhs.uk/conditions/chest-pain/)
-
NHS: Pulmonary embolism (nhs.uk/conditions/pulmonary-embolism/)
-
NICE guideline CG95: Chest pain of recent onset - assessment and diagnosis