Achalasia results from damage to nerves in the tube that connects the mouth and stomach, called the esophagus. Damage to the tube prevents the esophagus from squeezing food into the stomach. The damage may be caused by an irregular immune system response.