Gastrointestinal diseases are common and frequent diseases of the digestive system, especially tumors of the gastrointestinal tract, which seriously endanger people’s health. Although gastroscopy has been widely used, there are still some people who delay the examination due to the fear of discomfort caused by gastroscopy, so that the diseases are not diagnosed and treated early and endanger their lives. The development of painless gastroscopy in recent years has made this problem well solved. Painless gastroscopy is to give patients a certain amount of anesthetic drugs from a vein before the examination, so that patients are in a painless state during the gastroscopy, and after the examination is over, the injection of drugs is stopped and patients can return to the awake state. This examination method has been widely used in gastroscopy in many developed countries such as Europe and America, and is a safe and humane examination method. Compared with conventional gastroscopy, painless gastroscopy can significantly reduce the patient’s tension before the examination, eliminate the pain of nausea and vomiting brought by the patient during gastroscopy, and further improve the accuracy of the examination.