Painless gastroscopy anesthesia refers to the injection of anesthesia drugs through the vein, so that the patient quickly enter into the state of anesthesia, under the state of anesthesia for gastroscopy, and there are two main ways of painless gastroscopy anesthesia. The first one is through intravenous general anesthesia, which means injecting general anesthesia drugs through intravenous injection, so that the examiner can quickly enter into the state of anesthesia, and carry out gastroscopy under the state of anesthesia. This type of general anesthesia can cause some side effects, and it is not recommended to be applied by people with cardiovascular disease, heart disease, advanced age, or lung disease. The second method is to inject sedative drugs through intravenous injection, this way can reduce the pain. Both methods are through intravenous injection, but the choice of drugs are different, the first use of general anesthesia anesthetics, while the second use of sedative drugs, which way to use should be based on the recommendations of the clinician to apply.