What Is an Esophageal Spasm?
Esophageal spasm is a condition where the muscles of the esophagus (the tube that carries food from your mouth to your stomach) contract abnormally. These spasms can be sudden, intense, and painful, often mimicking heart pain or angina. They can make swallowing difficult and uncomfortable.
There are two main types:
- Diffuse esophageal spasm (DES): Irregular, uncoordinated contractions.
- Nutcracker esophagus (also called hypercontractile esophagus): Extremely strong but coordinated muscle contractions.
While these spasms are not life-threatening, they can significantly affect your quality of life and may be confused with other serious conditions like heart problems.

What Causes Esophageal Spasms?
The exact cause isn’t always clear, but possible triggers and contributing factors include:
- Abnormal nerve signals to the esophageal muscles
- Gastroesophageal reflux disease (GERD)
- Anxiety or stress
- Very hot or cold foods and drinks
- Certain medications, including opioids or antidepressants
Some people may develop esophageal spasms without any identifiable reason.
What Are the Symptoms of Esophageal Spasm?
Symptoms can vary but often include:
- Sudden chest pain that may feel like a heart attack
- Difficulty swallowing (dysphagia)
- The feeling that food is stuck in the chest
- Painful swallowing
- Regurgitation of food or liquid
- Heartburn or a burning sensation in the chest
Chest pain from esophageal spasm may come and go and is often triggered by eating or stress.
How Is Esophageal Spasm Diagnosed?
Because the symptoms mimic other conditions, especially heart disease, doctors will often rule out cardiac problems first. Diagnostic tests may include:
- Endoscopy: A flexible tube with a camera is used to look inside the esophagus.
- Esophageal manometry: Measures the pressure and movement of the muscles in your esophagus.
- Barium swallow: A special X-ray using a contrast material to see the shape and motion of the esophagus.
- pH monitoring: To check for acid reflux, which can contribute to spasms.

How Is Esophageal Spasm Treated?
Treatment depends on the severity and frequency of the spasms. Options include:
Medications:
- Calcium channel blockers (e.g., diltiazem) or nitrates to relax esophageal muscles
- Proton pump inhibitors (PPIs) if GERD is also present
- Antidepressants (low doses) to ease nerve-related chest pain
- Antianxiety medications if stress is a trigger
Lifestyle Changes:
- Eat slowly and chew food thoroughly
- Avoid trigger foods like spicy, very hot, or very cold items
- Reduce stress through relaxation techniques or therapy
- Avoid alcohol, caffeine, and tobacco
Procedures (for severe cases):
- Botox injections into the esophageal muscle to reduce spasms
- Esophageal dilation to widen the esophagus
- Surgery (myotomy) in rare cases when other treatments fail
When Should You See a Doctor?
Seek medical help if you experience:
- Recurring or unexplained chest pain
- Difficulty swallowing
- Pain during meals
- Symptoms that don’t improve with home remedies or medication
It’s especially important to rule out heart conditions if you’re having chest pain.
Can Esophageal Spasms Be Prevented?
While not all spasms can be prevented, you can reduce the risk by:
- Managing stress and anxiety
- Avoiding known food and drink triggers
- Treating GERD promptly
- Maintaining a healthy lifestyle



