Medications involved when receiving an upper GI endoscopic procedure include midazolam, fentanyl, propofol and lidocaine viscous solution, according to MedicineNet. Midazolam is a type of benzodiazepine that works on the central nervous system, says Drugs.com.
Midazolam sedates the patient, and fentanyl, an opioid, prevents pain, says MedicineNet and Drugs.com. Doctors administer both drugs intravenously. Propofol is an anesthetic that places the patient into a deep state of sedation, according to WebMD and MedicineNet.
The physician may also spray numbing lidocaine viscous solution in the patient's throat before the endoscopy begins, says MedicineNet. It blocks the nerves in the throat to reduce the sensation of pain when the endoscope is inserted.