Doctors Note Logo

Published on: 10/9/2026

Chest pain when taking a deep breath: causes and when it is urgent

Sharp chest pain that worsens when you breathe deeply is often called pleuritic pain, and common causes include muscle strain, costochondritis, rib injury, pleurisy, pneumonia, pericarditis, and a collapsed lung, while a pulmonary embolism is the most dangerous possibility. Urgent care is needed if the pain comes with shortness of breath, coughing up blood, fainting, a fast heartbeat, fever, leg swelling or calf pain, or if it follows recent surgery, immobility, or long travel. Pain that is reproducible by pressing on one spot and improves with rest or position changes more often points to a musculoskeletal cause, though this is not a guarantee. Several factors influence how serious this symptom is, including your age, risk factors, and how suddenly it began. See below to understand more about each cause and the specific warning signs that mean you should not wait.

Because overlapping conditions can feel identical yet differ enormously in urgency, a few minutes of structured questions about your symptoms can help you tell whether this needs an emergency room, a same-day appointment, or simple self-care. You can take a free, instant, online symptom check to see which causes best match your pattern of pain and get clear guidance on your next step.

Last reviewed for medical accuracy: 10/08/2025

answer background

Concerned about your symptoms?

Explanation

Pain in Chest When Taking a Deep Breath: Causes and When It’s Urgent

Experiencing pain in your chest when taking a deep breath can be alarming. In many cases, the discomfort is harmless and resolves on its own. Still, certain conditions require prompt medical attention. Below is an overview of common and serious causes, red-flag symptoms, and next steps you can take to protect your health.

Common Causes of Chest Pain with Deep Breathing

  1. Musculoskeletal

    • Costochondritis: Inflammation of the cartilage connecting ribs to the breastbone. Often worsens by pressing on the chest or with movement.
    • Muscle strain: Overuse (heavy lifting, intense workouts) or sudden awkward movement can strain chest wall muscles. Pain typically lessens with rest.
  2. Pleural and Pulmonary

    • Pleurisy: Inflammation of the lining around the lungs (pleura). Sharp, stabbing pain that intensifies with breathing or coughing. Often linked to respiratory infections.
    • Pneumonia: Infection of lung tissue causes pleuritic chest pain, fever, cough, and shortness of breath.
    • Pulmonary embolism (PE): Blood clot in the lung’s blood vessels. Sudden, sharp pain, rapid heartbeat, lightheadedness, coughing up blood.
    • Pneumothorax: Collapsed lung leads to sudden, one-sided chest pain and breathlessness. Can happen spontaneously or after injury.
  3. Cardiac

    • Pericarditis: Inflammation of the sac around the heart. Sharp, central chest pain that improves when leaning forward. May follow a viral infection.
    • Heart attack (myocardial infarction): Often presents with pressure, squeezing or fullness in the chest—may worsen with breathing in some cases. Accompanied by sweating, nausea, jaw or arm pain.
  4. Gastrointestinal

    • Esophageal spasm: Sudden, intense contraction of the esophagus muscles. Feels like squeezing or pressure near the center of the chest.
    • Gastroesophageal reflux disease (GERD): Acid reflux can mimic heart pain, sometimes worsening when lying flat or taking a deep breath.
  5. Anxiety and Panic

    • Panic attacks can cause intense chest tightness, rapid breathing (hyperventilation) and dizziness. Pain often sharp but linked to anxiety rather than physical injury.

When Chest Pain Is Likely Not Serious

  • Pain is mild, aching or sore rather than sharp or crushing
  • You can pinpoint the pain to a specific spot on your chest wall
  • Symptoms improve with rest, over-the-counter pain relievers or ice/heat packs
  • No other concerning signs such as fever, severe shortness of breath or sweating

Red-Flag Symptoms: Seek Immediate Help

Certain signs accompanying chest pain when taking a deep breath suggest a more serious problem. Call emergency services (911 in the U.S.) or go to your nearest emergency department if you have:

  • Sudden, severe chest pain that feels crushing or like an “elephant sitting on your chest”
  • Pain spreading to your jaw, left arm, back or neck
  • Severe shortness of breath at rest
  • Rapid heartbeat, lightheadedness or fainting
  • Coughing up blood
  • High fever (over 101°F or 38.3°C), chills and persistent cough
  • Swollen, painful calf (sign of possible deep vein thrombosis leading to pulmonary embolism)

How Doctors Figure Out the Cause

To determine why you feel chest pain when taking a deep breath, healthcare professionals may:

  • Take a detailed history and do a physical exam, listening to heart and lung sounds
  • Press on your chest to see if pain is musculoskeletal
  • Order blood tests for markers of heart damage or infection
  • Perform an electrocardiogram (ECG) to check heart rhythm
  • Request chest X-rays or CT scans to look for lung problems, pneumothorax or pulmonary embolism
  • Use ultrasound imaging (echocardiogram) to assess heart and pericardial sac

At-Home Management for Non-Urgent Pain

If your symptoms are mild and you’ve ruled out serious causes, try:

  • Resting and avoiding activities that worsen pain
  • Applying a heat pack or cold compress to the sore area
  • Taking over-the-counter pain relievers (ibuprofen or acetaminophen) as directed
  • Practicing gentle stretching or posture exercises to relieve muscle tension
  • Staying hydrated and maintaining good posture when sitting or standing
  • Avoiding heavy meals, spicy foods and lying down immediately after eating (for reflux)

When to Follow Up with Your Doctor

Even if your chest pain seems minor, it’s wise to talk to a healthcare professional if:

  • Pain persists for more than a week despite home care
  • You develop new symptoms like fever, cough or noticeable swelling in your legs
  • You have risk factors for heart disease (high blood pressure, high cholesterol, diabetes, smoking, family history)
  • You experience repeated episodes of chest discomfort

For an easy first step, consider a free, online symptom check, using the doctor approved Ubie Symptom Checker. It can help you decide if you should see a provider right away.

Preventing Chest Wall Pain

  • Warm up properly before exercise and cool down afterward
  • Use proper lifting techniques; avoid sudden twists or overreaching
  • Strengthen chest and back muscles with targeted exercises
  • Maintain a healthy weight and balanced diet to reduce reflux and heart disease risk
  • Manage stress through relaxation techniques, such as deep breathing or meditation

Key Takeaways

  • Pain in your chest when taking a deep breath has many causes, ranging from mild muscle strain to life-threatening conditions.
  • Look for red-flag symptoms like crushing chest pain, spreading pain, sudden breathlessness, or coughing up blood. If you have any of these, seek emergency care immediately.
  • Mild chest wall pain often improves with rest, heat/cold therapy and over-the-counter pain relievers.
  • Consider a free, online symptom check, using the doctor approved Ubie Symptom Checker to guide your next steps.
  • Always speak to a doctor about anything that could be life threatening or serious. Early evaluation can save lives and give you peace of mind.

(References)

  • * Reynolds JL. Precordial catch syndrome in children. South Med J. 1989 Oct;82(10):1228-30. doi: 10.1097/00007611-198910000-00007. PMID: 2678498.

  • * Prince SE, Cunha BA. Postpericardiotomy syndrome. Heart Lung. 1997 Mar-Apr;26(2):165-8. doi: 10.1016/s0147-9563(97)90077-7. PMID: 9090522.

  • * Kass SM, Williams PM, Reamy BV. Pleurisy. Am Fam Physician. 2007 May 1;75(9):1357-64. PMID: 17508531.

  • * Fellowes C, Daly C, Babu-Narayan SV, Lyne J, Collinson J. Portentous pinball. Can J Cardiol. 2008 Feb;24(2):e3-5. doi: 10.1016/s0828-282x(08)70574-9. PMID: 18273478; PMCID: PMC2645290.

  • * Reamy BV, Williams PM, Odom MR. Pleuritic Chest Pain: Sorting Through the Differential Diagnosis. Am Fam Physician. 2017 Sep 1;96(5):306-312. PMID: 28925655.

  • * Rahman A, Saraswat A. Pericarditis. Aust Fam Physician. 2017 Nov;46(11):810-814. PMID: 29101915.

  • * Hong AS, Desta M, Hong JM, Ohning GV, Pillinger MH, Saxena A, Modjinou DV. Autoimmune Hepatitis A Case Report and Literature Review. Bull Hosp Jt Dis (2013). 2019 Mar;77(2):146-152. PMID: 31128586.

  • * Rogers FB, Larson NJ, Rhone A, Amaya D, Olson-Bullis BA, Blondeau BX. Comprehensive Review of Current Pain Management in Rib Fractures With Practical Guidelines for Clinicians. J Intensive Care Med. 2023 Apr;38(4):327-339. doi: 10.1177/08850666221148644. Epub 2023 Jan 4. PMID: 36600614.

  • * Peterson TA, Turner SP, Dolezal KA. Acute Pericarditis: Rapid Evidence Review. Am Fam Physician. 2024 May;109(5):441-446. PMID: 38804758.

  • * Cremer PC, Klein AL, Imazio M. Diagnosis, Risk Stratification, and Treatment of Pericarditis: A Review. JAMA. 2024 Oct 1;332(13):1090-1100. doi: 10.1001/jama.2024.12935. PMID: 39235771.

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.

Was this page helpful?

Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.