Digestive tract endoscopy is a common procedure that takes place outside the operating room most of the time and has become more and more complex due to advanced invasive procedures. Prior evaluation of the patient's comorbidities and a good understanding of the objectives and constraints of the endoscopic procedures are required. Assessing the risk of gastric content aspiration is critical for determining appropriate anesthetic protocols. The availability of adequate monitoring (capnographs adapted to spontaneous ventilation, bispectral index), devices for administration of anesthetic/sedative agents (target-controlled infusion) and oxygenation (high flow nasal oxygenation) guarantees the quality of sedation and patient' safety during endoscopic procedures. Knowledge of the specificities of each interventional endoscopic procedure (endoscopic retrograde cholangiopancreatography, submucosal dissection) allows preventing complications during anesthesia.