Esophageal spasm
Diffuse esophageal spasm is an uncommon condition in which the muscles of the food pipe squeeze out of order, causing chest pain and trouble swallowing.

Overview
Esophageal spasm is a problem with the way the muscles of your esophagus squeeze. The esophagus (food pipe) is the muscular tube that carries food and drink from your throat to your stomach. Normally, when you swallow, its muscles tighten in a smooth, orderly wave that moves from the top down, pushing food along. In diffuse esophageal spasm (also called distal esophageal spasm, or DES), parts of the esophagus squeeze too early, all at once, or in an uncoordinated way. Instead of a smooth wave, the muscle contracts in spasms.
These spasms can make it feel as if food is stuck in your chest, and they can cause chest pain that may feel a lot like heart pain. Diffuse esophageal spasm is one of a group of conditions called esophageal motility disorders, which affect how the esophagus moves. It is uncommon. For many people, symptoms come and go and can be managed well with changes in eating habits and, when needed, medicines or procedures.
Symptoms
Symptoms often come and go. You may have days or weeks with no trouble and then a flare. Common symptoms include:
- Trouble swallowing (doctors call this dysphagia). Food or liquid may feel like it is sticking or slowing down behind your breastbone. This can happen with both solids and liquids.
- Chest pain. The pain is often squeezing or pressure-like and sits behind the breastbone. It can spread to the neck, jaw, arms or back. It may last a few minutes or longer and can happen while eating or even at rest or during sleep.
- Feeling that something is stuck in your throat or chest.
- Bringing food or liquid back up (regurgitation) soon after swallowing.
- Heartburn, if you also have acid reflux.
Very hot or very cold drinks, eating quickly, and stress can trigger symptoms in some people.
Is it my heart?
Chest pain from esophageal spasm can feel almost the same as angina or a heart attack. You cannot tell the difference on your own. Doctors will usually check your heart first before deciding the pain comes from the esophagus. Never assume new or severe chest pain is "just spasm".
Causes
The exact cause of diffuse esophageal spasm is not fully understood. Researchers think it is linked to a problem with the nerves inside the wall of the esophagus that control the timing of muscle contractions. Normally some of these nerves help the lower part of the esophagus relax in the right order. When they do not work properly, the muscle can contract too early or all at once.
Things that may play a part include:
- Acid reflux (gastroesophageal reflux disease, or GERD), which may irritate the esophagus and trigger spasms in some people.
- A sensitive esophagus. Some people feel normal or mild changes in the esophagus more strongly than others.
- Certain medicines, such as opioid pain medicines, can affect how the esophagus moves.
In some people, diffuse esophageal spasm later changes into another motility disorder called achalasia, where the lower valve of the esophagus does not open properly. This is not common, but it is one reason your doctor may want to follow you over time.
Risk factors
Diffuse esophageal spasm can affect anyone, but it is more often found in:
- Adults, especially people in middle age and older
- People with acid reflux (GERD)
- People with anxiety or depression, which can make symptoms feel stronger, though they do not cause the condition
- People who use opioid medicines regularly
Diagnosis
Because chest pain can come from the heart, your care team will usually rule out heart disease first. Then they will look at your esophagus. Tests may include:
- Heart tests, such as an electrocardiogram (ECG), blood tests and sometimes a stress test, to make sure your heart is not the cause.
- Upper endoscopy. A doctor passes a thin, flexible tube with a camera through your mouth to look at your esophagus and stomach. This checks for other causes such as inflammation, narrowing, or a growth. You are usually given medicine to help you relax.
- Esophageal manometry. This is the main test for diagnosing esophageal spasm. A thin, soft tube is placed through your nose into your esophagus. You then swallow small sips of water while sensors measure the pressure and timing of the muscle squeezes. The test takes about 20 to 30 minutes. It can be uncomfortable but is not usually painful.
- Barium swallow. You drink a chalky liquid that shows up on X-rays. In some people with spasm, the esophagus may look twisted or bumpy, sometimes described as a "corkscrew" shape. A normal result does not rule out spasm.
- pH monitoring. This measures how much acid comes up into your esophagus over a day or more, to see if reflux is part of the problem.
Treatment
Treatment aims to ease your symptoms. It usually starts with the simplest steps and moves to other options only if needed. Your care team will help you weigh the benefits and side effects of each choice.
Treating reflux
If you have acid reflux, treating it is often the first step, because reflux can trigger spasms. Proton pump inhibitors such as omeprazole or pantoprazole lower the amount of acid your stomach makes. For some people, this alone helps a lot.
Medicines that relax the esophagus muscle
- Nitrates, such as nitroglycerin (taken under the tongue) or isosorbide dinitrate or isosorbide mononitrate (tablets), relax smooth muscle and may ease spasm. They can cause headaches and dizziness.
- Calcium channel blockers, such as diltiazem or nifedipine, may also relax the muscle. They can cause dizziness, swelling of the ankles or constipation.
- Sildenafil is sometimes tried, as it relaxes smooth muscle too.
The evidence for these medicines is limited, and they help some people more than others. Nitrates must not be taken with sildenafil or similar medicines, because together they can cause a dangerous drop in blood pressure.
Medicines that calm pain signals
Low doses of certain antidepressants, such as amitriptyline, imipramine or trazodone, can reduce how strongly your nerves sense pain from the esophagus. They are used here for pain, not because the problem is "in your head."
Procedures
If symptoms stay severe despite medicines, other options include:
- Botulinum toxin injections. During an endoscopy, a doctor injects botulinum toxin into the esophagus muscle to relax it. The effect usually wears off after some months, so it may need to be repeated.
- Peroral endoscopic myotomy (POEM). Using an endoscope through the mouth, a specialist cuts the overactive muscle layer of the esophagus. This is done in specialized centres and is usually saved for people with severe, hard-to-treat symptoms.
- Surgery to cut the muscle is rarely needed today.
Living with esophageal spasm
Small changes in how you eat and live can make a real difference:
- Eat slowly and take small bites. Chew food well.
- Sit upright while eating and for a while afterwards.
- Notice your triggers. If very hot or very cold food and drinks bring on spasms, choose warm or room-temperature options.
- Sip water with meals to help food move along.
- If you have reflux, avoid large meals late at night, and limit foods that make your heartburn worse.
- Find ways to manage stress, such as regular exercise, breathing exercises or relaxation techniques. Stress can make spasms and pain feel worse.
- If you smoke, quitting helps reflux and your overall health.
- Keep a symptom diary to share with your care team. Note what you ate, when symptoms started and how long they lasted.
Ask your doctor or pharmacist before starting any new medicine, and do not stop or change a prescribed medicine without talking to them first.
Complications
Diffuse esophageal spasm is not usually dangerous, but it can affect your quality of life. Possible problems include:
- Weight loss or poor nutrition if swallowing is hard and you eat less
- Food getting stuck (food impaction), which can need urgent care
- Worry and anxiety about eating or about chest pain
- In a small number of people, change over time to achalasia
Outlook
For most people, diffuse esophageal spasm is a long-term condition that comes and goes. Symptoms often improve with lifestyle changes, treatment of reflux and, when needed, medicines. People with severe symptoms now have more options, such as POEM, than in the past. The condition does not cause cancer and does not usually shorten life. Regular follow-up lets your care team adjust your treatment and watch for any change in your symptoms.
Prevention
There is no known way to prevent diffuse esophageal spasm. You can lower the chance of flares by treating reflux, eating slowly, avoiding your personal triggers and managing stress.
When to get medical help
See your doctor if you:
- Have trouble swallowing, or feel food sticking in your chest, especially if it is new or getting worse
- Lose weight without trying
- Have chest pain that keeps coming back, even if heart tests were normal before
- Have treatment side effects, such as dizziness or headaches that bother you
Call emergency services or go to the emergency department right away if you:
- Have chest pain, pressure or tightness, especially with shortness of breath, sweating, nausea, or pain spreading to your arm, jaw or back. Treat it as a possible heart attack until proven otherwise.
- Have food stuck in your esophagus and cannot swallow your own saliva
- Vomit blood or material that looks like coffee grounds, or pass black stools
In an emergency, call 911.
References
- U.S. National Library of Medicine. MeSH: Diffuse Esophageal Spasm. meshb.nlm.nih.gov
- MedlinePlus: Esophagus disorders. medlineplus.gov/esophagusdisorders.html
- Yadlapati R, et al. Esophageal motility disorders on high-resolution manometry: Chicago classification version 4.0. Neurogastroenterol Motil. 2021. doi.org/10.1111/nmo.14058