Your doctor might recommend:

  • Endoscopy. A flexible tube (endoscope) that is passed down your throat allows your doctor to see the inside of the esophagus. Your doctor may remove a tissue sample (biopsy) for testing to rule out other esophageal diseases.
  • X-ray. Images of your esophagus are taken after you swallow a contrast liquid.
  • Esophageal manometry. This test measures muscle contractions in your esophagus when you swallow water
  • Esophageal pH monitoring. This test can determine if stomach acid is flowing back into your esophagus (acid reflux).


Treatment depends on the frequency and severity of your esophageal spasms.

If your spasms are occasional, your doctor might recommend avoiding trigger foods or situations.

If your spasms make it difficult to eat or drink, your doctor might recommend:

  • Managing any underlying conditions. Esophageal spasms are sometimes associated with conditions such as heartburn, GERD, anxiety or depression. Your doctor might recommend a proton pump inhibitor — such as lansoprazole — to treat GERD, or an antidepressant, such as trazodone or imipramine (Tofranil). Antidepressants might also help reduce the sensation of pain in the esophagus.
  • Medications to relax your swallowing muscles. Sildenafil (Revatio, Viagra), onobotulinumtoxin A (Botox) injections or calcium channel blockers, such as diltiazem (Cardizem CD, Tiazac, others), can reduce the severity of spasms.
  • Surgery (myotomy). If medication doesn't work, your doctor might recommend a procedure that involves cutting the muscle at the lower end of the esophagus, to weaken esophageal contractions. Long-term studies of this approach aren't available, so myotomy generally isn't recommended for esophageal spasms. However, it might be considered if other treatments don't work.
  • Peroral endoscopic myotomy (POEM). In this new minimally invasive technique, an endoscope inserted through your mouth and down your throat allows an incision in the inside lining of your esophagus. Then, as in myotomy, the surgeon cuts the muscle at the lower end of the esophagus. Like myotomy, POEM is usually considered only if other treatments don't work.

Lifestyle and home remedies

To help you cope with occasional esophageal spasms, try to:

  • Avoid your triggers. Make a list of foods and beverages that cause your esophageal spasms.
  • Choose food that is warm or cool. Let foods and drinks that are very hot or very cold sit for a bit before eating or drinking them.
  • Find ways to control stress. Esophageal spasms may be more common or more severe when you're stressed.
  • Suck a peppermint lozenge. Peppermint oil is a smooth-muscle relaxant and might help ease esophageal spasms. Place the peppermint lozenge under your tongue.

Preparing for your appointment

You may be referred to a doctor who specializes in the digestive system (gastroenterologist).

What you can do

  • Be aware of any pre-appointment restrictions, such as fasting before your appointment.
  • Write down your symptoms, including any that may seem unrelated to the reason why you scheduled the appointment.
  • Write down any triggers to your symptoms, such as specific foods.
  • Make a list of all your medications, vitamins and supplements.
  • Write down your key medical information, including other conditions.
  • Write down key personal information, including any recent changes or stressors in your life.
  • Write down questions to ask your doctor.
  • Ask a relative or friend to accompany you, to help you remember what the doctor says.

Questions to ask your doctor

  • What's the most likely cause of my symptoms?
  • What tests do I need? Is there any special preparation for them?
  • Is my condition likely temporary or chronic?
  • What treatments are available?
  • What types of foods are likely to make my symptoms worse?
  • I have other health problems. How can I best manage these conditions together?

In addition to the questions that you've prepared to ask your doctor, don't hesitate to ask other questions.

What to expect from your doctor

Your doctor is likely to ask you a number of questions. Being ready to answer them may leave time to go over points you want to spend more time on. You may be asked:

  • When did you begin experiencing symptoms? How severe are they?
  • Have your symptoms been continuous or occasional?
  • What, if anything, seems to improve or worsen your symptoms?
  • Does exertion bring on your chest pain?
  • Is your chest pain associated with arm or jaw pain, shortness of breath, or nausea?
  • Are your symptoms related to eating? Are they triggered by any particular food or type of food?
  • Do you experience symptoms of heartburn after eating, such as a burning sensation in your chest or an acid taste in your mouth?
  • Do you ever wake up during the night with heartburn, chest pain or an acid taste in your mouth?
  • Do you have difficulty swallowing food, or have you had to change your diet to avoid difficulty swallowing?
Nov. 06, 2018
  1. Feldman M, et al. Esophageal neuromuscular function and motility disorders. In: Sleisenger & Fordtran's Gastrointestinal and Liver Disease. 10th ed. Philadelphia, Pa.: Saunders Elsevier; 2016. http://www.clinicalkey.com. Accessed July 30, 2015.
  2. Castell DO. Esophageal motility disorders: Clinical manifestations, diagnosis and management. www.uptodate.com/home. Accessed July 30, 2015.
  3. Ravi K, et al. Diagnosis and medical management of esophageal dysmotility. Techniques in Gastrointestinal Endoscopy. 2015;17:62.
  4. Cameron JL. Disorders of esophageal motility. In: Current Surgical Therapy. 11th ed. Philadelphia, Pa.: Saunders Elsevier; 2014.  http://www.clinicalkey.com. Accessed July 30, 2015.
  5. Weijenborg PW, et al. Effects of antidepressants in patients with functional esophageal disorders or gastroesophageal reflux disease: A systematic review. Clinical Gastroenterology and Hepatology. 2015;13:251.
  6. Coss-Adame E, et al. Treatment of esophageal (noncardiac) chest pain: An expert review. Clinical Gastroenterology and Hepatology. 2014;12:1224.
  7. Castell DO. Chest pain of esophageal origin. www.uptodate.com/home. Accessed July 30, 2015.
  8. Vanuytsel T, et al. Botulinum toxin reduces dysphagia in patients with nonachalasia primary esophageal motility disorders. Clinical Gastroenterology and Hepatology. 2013;11:1115.
  9. Picco MF (expert opinion). Mayo Clinic, Jacksonville, Fla. Sept. 10, 2015.
  10. Khashab MA, et al. International multicenter experience with peroral endoscopic myotomy for the treatment of spastic esophageal disorders refractory to medical therapy. Gastrointestinal Endoscopy. 2015;81:1170.