In this study we aimed to compare the effects of sedation provided by propofol with the addition of the short-acting opioid alfentanil and long-acting opioid fentanyl on cognitive functions, pain, side effects during the procedure and the endoscopist and patient satisfaction.