Doctors Note Logo

Published on: 6/14/2026

Esophageal Spasm: How Doctors Distinguish It from a Heart Attack

Esophageal spasm can cause chest pain that closely mimics a heart attack, including crushing, radiating discomfort. Doctors distinguish between the two by evaluating pain triggers, duration, and relief patterns, alongside ECG results and cardiac biomarker tests. If heart tests come back normal, additional diagnostics like barium swallow imaging and esophageal manometry can detect abnormal muscle contractions in the esophagus that point to a spasm.

Because chest pain has many possible causes—some urgent, some manageable—understanding your specific symptoms is the critical first step. Take a free, instant, online symptom check to clarify what may be driving your discomfort and confidently plan your next steps in care.

Reviewed for medical accuracy: 06/14/2026

answer background

Explanation

Esophageal Spasm: How Doctors Distinguish It from a Heart Attack

Chest pain is one of the scariest sensations many people ever feel. Often, our first thought is a heart attack—but it could be something else, like an esophageal spasm. Understanding how doctors tell these two conditions apart can help you get the right care quickly and ease unnecessary worry.

What Is an Esophageal Spasm?

The esophagus is the muscular tube that carries food from your throat to your stomach. An esophageal spasm happens when the muscles in the esophagus contract abnormally—sometimes so forcefully that it causes intense chest pain. Types of esophageal motility disorders related to spasms include:

  • Diffuse esophageal spasm
  • Jackhammer esophagus (also called hypercontractile esophagus)
  • Achalasia (failure of the lower esophageal sphincter to relax)

While these conditions differ in their exact mechanics, they share key symptoms, especially chest pain and difficulty swallowing.

Symptoms: Esophageal Spasm vs. Heart Attack

Both esophageal spasm and heart attack can cause chest pain that feels crushing, squeezing, or burning. Other overlapping symptoms include:

  • Pain that radiates to the back, neck, jaw, or arms
  • Sweating
  • Nausea or vomiting
  • Shortness of breath

Because of this overlap, it's vital to use medical tests and a detailed history to tell them apart.

Initial Assessment: History and Physical Exam

  1. Patient History
  • Onset: Heart attack pain often comes on suddenly during exertion or stress; esophageal spasm can be triggered by eating hot/cold foods, large meals, or acid reflux.
  • Duration: Heart attack pain tends to persist and may get worse over minutes; spasms can come in waves, lasting seconds to minutes.
  • Aggravating/Relieving Factors: Nitroglycerin can relieve both, but antacids or swallowing usually help spasms more.
  1. Physical Exam
  • Vital signs (blood pressure, pulse, temperature)
  • Lung and heart sounds
  • Abdominal exam for tenderness or distension

Neither history nor exam alone is enough; they guide which tests come next.

Key Diagnostic Tests

1. Electrocardiogram (ECG)

  • First-line test in any chest-pain evaluation
  • Detects electrical changes of a heart attack (ST-segment elevation or depression, T-wave inversions)
  • May be normal or nonspecific in esophageal spasm

2. Cardiac Biomarkers

  • Blood tests for troponin and creatine kinase-MB (CK-MB)
  • Elevated levels strongly suggest heart muscle damage
  • Remain normal in esophageal spasm

3. Chest X-Ray

  • Rules out lung causes (pneumonia, collapsed lung)
  • Can show dilation of the esophagus in achalasia
  • Not diagnostic for spasms but helpful for comprehensive evaluation

4. Barium Swallow Study

  • Patient drinks a contrast liquid while X-rays are taken
  • Can reveal corkscrew esophagus (diffuse spasm) or "bird's beak" narrowing (achalasia)
  • Noninvasive and gives real-time view of swallowing

5. Esophageal Manometry

  • Gold standard for diagnosing motility disorders
  • Measures pressure patterns along the esophagus with a thin, pressure-sensitive catheter
  • Identifies high-pressure contractions (jackhammer) or uncoordinated waves (diffuse spasm)

6. Upper Endoscopy (Esophagogastroduodenoscopy, EGD)

  • Uses a flexible scope to view the esophagus, stomach, and duodenum
  • Rules out inflammation, ulcers, tumors, or strictures that could mimic or trigger spasms
  • Can take biopsies if needed

Distinguishing Features

Feature Heart Attack Esophageal Spasm
Chest Pain Onset Often with exertion or stress, persistent Triggered by swallowing hot/cold food, acid reflux, variable
Pain Quality Crushing, heavy, may radiate Squeezing, tight, may feel like stuck food
ECG Changes ST-segment/T-wave abnormalities Usually normal
Blood Tests Elevated troponin/CK-MB Normal
Response to Antacids No relief Often some relief
Radiologic Signs Not specific Corkscrew esophagus or bird's beak (achalasia)
Manometry Not used Confirms abnormal contractions

Treatment Approaches

Heart Attack

  • Emergency care (call 911)
  • Oxygen, aspirin, nitroglycerin, beta-blockers
  • Cardiac catheterization, stenting, or bypass surgery

Esophageal Spasm

  • Medications to relax muscles
    • Calcium channel blockers (e.g., diltiazem)
    • Nitrates (e.g., isosorbide)
    • Low-dose tricyclic antidepressants for pain modulation
  • Treat underlying reflux with proton pump inhibitors (PPIs)
  • Dietary changes: smaller, more frequent meals; avoid triggers (very hot/cold foods, caffeine)
  • In refractory cases: endoscopic botulinum toxin injection or surgical myotomy

When to Seek Emergency Care

Chest pain should never be ignored. Call emergency services (e.g., 911) if you experience:

  • Sudden, crushing chest pain
  • Severe shortness of breath
  • Fainting or near-fainting
  • Profuse sweating without obvious cause
  • Rapid or irregular heartbeat

Even when you suspect an esophageal spasm, it's safer to rule out a heart attack first.

Check Your Symptoms Online

If you're experiencing chest pain or difficulty swallowing and want to better understand whether your symptoms could be related to Esophageal Spasm (Including Achalasia And Jackhammer Esophagus), Ubie's free AI-powered symptom checker can provide personalized insights in just a few minutes to help guide your conversation with a healthcare provider.

Why Accurate Diagnosis Matters

  • Prevents unnecessary invasive cardiac procedures
  • Directs you to the right treatment—muscle relaxants and reflux management rather than stents or bypass surgery
  • Reduces anxiety once you know what's causing your pain
  • Lowers risk of complications from misdiagnosis

Final Thoughts

Distinguishing esophageal spasm from a heart attack relies on careful history-taking, physical exam, and targeted testing (ECG, blood work, imaging, and manometry). While esophageal spasms can be painful and alarming, they are typically treatable with medications and lifestyle adjustments. However, any chest pain that could be life threatening or serious warrants immediate medical attention. Always speak to a doctor about your symptoms to ensure you receive the correct diagnosis and care.

(References)

  • * Shaker R. Noncardiac Chest Pain. N Engl J Med. 2021 May 6;384(18):1733-1741. doi: 10.1056/NEJMcp2028160. PMID: 33945722.

  • * Patel K, Wadhwa V, Desai A, Khan S, Al-Qudimat B, Aysha S, Al-Naji M, Shahbaz M, Quraishi S, Al-Bustani S, Ahmed M. Esophageal Spasm: A Review of Pathophysiology, Diagnosis, and Management. Curr Gastroenterol Rep. 2022 Aug;24(8):177-184. doi: 10.1007/s11894-022-00845-z. Epub 2022 Aug 3. PMID: 35925345.

  • * Chandrasoma N, Chan E, Chandrasoma P, Chan C. Current Perspective on Noncardiac Chest Pain. J Clin Gastroenterol. 2019 Sep;53(8):552-562. doi: 10.1097/MCG.0000000000001221. PMID: 31437164.

  • * Patel DA, Kim HP, Amodeo D, Kitabwalla RS. Chest pain of esophageal origin: diagnosis and treatment. World J Gastroenterol. 2011 Dec 7;17(45):4911-6. doi: 10.3748/wjg.v17.i45.4911. PMID: 22147967; PMCID: PMC3235652.

  • * Fass R, Achem SR. Distinguishing esophageal from cardiac chest pain: a review. J Clin Gastroenterol. 2004 May-Jun;38(5):387-91. doi: 10.1097/00004836-200405000-00003. PMID: 15167098.

Thinking about asking ChatGPT?Ask me instead

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.