The painless gastroscopy can be completed in about 5-15 minutes, but it is also affected by the doctor’s proficiency and other factors. Before the examination, the patient will lie on the left side, and the anesthesiologist will give intravenous anesthesia when the patient is ready. After the patient is ready, the anesthesiologist will administer intravenous anesthesia. Afterwards, the doctor will use the gastroscope to examine the patient through the mouth, esophagus, stomach, and duodenum in turn while the patient is asleep. The procedure usually takes about 5-15 minutes, and most patients wake up about half an hour after the procedure. Of course, the exact time is also related to the level of doctors and anesthesiologists. In addition, if additional treatments or samples are required during the gastroscopy, the gastroscopy will take relatively longer. In the event of stomach disorders, it is recommended to seek medical attention, follow the doctor’s instructions for timely examination, determine the cause of the disease, and actively cooperate with the treatment.