The invention discloses a stomach tube preventing aspiration. The stomach tube comprises a control circuit, an air pump, a PH value sensor and a stomach tube provided with an air bag, wherein the air pump is communicated with the air bag, the PH value sensor is arranged at the position which is 40cm away from an incisor, on the inner wall of the stomach tube, and the control circuit is connected with the air pump and the PH value sensor respectively. According to the stomach tube disclosed by the invention, the gastroesophageal reflux can be accurately detected in advance every time by utilizing the real-time monitoring of the PH value in an esophagus and the pressure of the air bag by the PH value sensor and a pressure sensor, so that the aspiration caused by reflux and the possibility of resulting in recessive pneumonia can be avoided; and besides, the stomach tube disclosed by the invention adopts a real-time control manner so as to automatically start the expansion of the air bag, so that the damage of esophageal mucosa due to the longstanding oppression of the air bag on the esophagus is avoided, and the substernal discomfort of users can be relieved. The stomach tube preventing aspiration, which is disclosed by the invention, can be widely applied to the field of medical apparatus.