The invention discloses a stomach tube capable of measuring pressure and preventing backflow. The stomach tube comprises a tube body, a plastic tail end, a head end sleeve seat, an internal thread, a silica gel connecting belt, a first sealing washer, a threaded column, a holding head, a guide wire, a first air tube, a first air bag, a second air tube, a second air bag, an exhaust port, a sealing cover, a one-way valve, a filter cotton layer, a first sleeve bag, a second sleeve bag, a control box, a cable, a rotary connecting body, an embedded groove, a rotary head, a medicine discharging hole, a pressure sensor, a sealing ball head, a second sealing gasket, a connecting guide rod, a sealing cover strip, a communicating hole, a spring arc piece, an iron disc, a guide ring, a connecting strip, a guide hole, a first spiral spring, a first electromagnet, a nesting base, an embedding hole, a second spiral spring, a sealing plate, an inner blocking hole, a sealing embedding block, a third spiral spring, a limiting groove, a trapezoidal block, a second electromagnet, an iron sheet, a hinge shaft and a spring wire. The stomach tube has the beneficial effects that the medicine discharging hole and the medicine outlet can be self-sealed, automatic blocking can be carried out, and backflow is prevented.