Pain in the middle of chest when swallowing food may be due to esophagitis, gastric ulcer, esophageal tumor and other diseases. 1. Esophagitis: Usually, esophagitis is an inflammation caused by damage to the mucous membrane of the patient’s esophagus. When suffering from this disease, the patient will have chest pain, acid reflux, heartburn, chest pain when swallowing food and other symptoms. 2. Gastric ulcer: Gastric ulcer is a localized ulcer caused by damage to the gastric mucosa, which is usually induced by infection with Helicobacter pylori. When gastric ulcer occurs, when eating food, it will stimulate the ulcer surface of the stomach, thus causing pain in the middle of the chest. 3. Esophageal tumor: when patients suffer from esophageal tumor, due to the invasion and compression of the tumor on the esophagus, the symptoms of pain in the middle of the chest will be produced when eating food. When patients have the symptom of pain in the middle of chest when swallowing food, they must consult doctor in time for examination and treatment for the primary disease.