Esophageal spasms are painful contractions within the muscular tube connecting your mouth and stomach (esophagus). Esophageal spasms can feel like sudden, severe chest pain that lasts from a few minutes to hours. Some people may mistake it for heart pain (angina).
Esophageal spasms typically occur only occasionally and might not need treatment. But sometimes the spasms are frequent and can prevent food and liquids from traveling through the esophagus. If esophageal spasms interfere with your ability to eat or drink, treatments are available.