Esophageal spasms hurt but or else not damaging. Treatments are available to help a person with esophageal convulsions take care of and prevent their symptoms. Myotomy, in which a surgeon cuts the muscular tissues at the reduced end of the esophagus to weaken the spasms.