The use of sedation for diagnostic procedures including gastrointestinal endoscopy is rapidly growing. Recovery of cognitive function after sedation is important because it would be important for most patients to resume safe, normal life soon after the procedure. Computerized tests have shown being accurate descriptors of cognitive function. The purpose of the present study was to evaluate the time course of cognitive function recovery after sedation with propofol and remifentanil. A prospective observational double blind clinical study conducted in 34 young healthy adults undergoing elective outpatient colonoscopy under sedation with the combination of propofol and remifentanil using a target controlled infusion system. Cognitive function was measured using a validated battery of computerized cognitive tests (Cogstate™, Melbourne, Australia) at different predefined times: prior to starting sedation (Tbaseline), and then 10 min (T10), 40 min (T40) and 120 min (T120) after the end of colonoscopy. Tests included the assessment of psychomotor function, attention, visual memory and working memory. All colonoscopies were completed (median time: 26 min) without significant adverse events. Patients received a median total dose of propofol and remifentanil of 149 mg and 98 µg, respectively. Psychomotor function and attention declined at T10 but were back to baseline values at T40 for all patients. The magnitude of psychomotor task reduction was large (d = 0.81) however 100% of patients were recovered at T40. Memory related tasks were not affected 10 min after ending sedation. Cognitive impairment in attention and psychomotor function after propofol and remifentanil sedation was significant and large and could be easily detected by computerized cognitive tests. Even though, patients were fully recovered 40 min after ending the procedure. From a cognitive recovery point of view, larger studies should be undertaken to propose adequate criteria for discharge after sedation.