Is an upper gastrointestinal endoscopy painful?
In general, an upper gastrointestinal endoscopy is not considered painful. Doctors strive to provide maximum comfort for the patient, and intravenous sedatives can be used to help the patient relax deeply or sleep during the procedure [4]. A numbing spray or gargle solution is also used to anesthetize the throat, which reduces the "gag reflex" or the urge to vomit when the endoscope is inserted [4], [5]. The procedure typically takes between 10 to 20 minutes, during which the doctor passes a flexible tube equipped with a camera; this tube does not obstruct the patient's breathing at all [4].
Preparation to Ensure a Comfortable Procedure
Patient comfort during the examination depends significantly on good prior preparation. You must inform your doctor of your complete medical history, including allergies to medications and any regular treatments you are taking, such as blood thinners or diabetes medication, as the doctor may request to adjust the doses or stop them temporarily before the examination [4]. To ensure a clear view of the digestive tract and avoid any discomfort, you are usually required to fast from food and drink for up to 8 hours before the appointment [4]. For more information about preparation and recovery, you can view our guide on Diagnostic and Therapeutic Upper Gastrointestinal Endoscopy: Preparation, Procedure, and Recovery (Arabic).
Before starting, a member of the team will talk with you about the steps of the endoscopy and ask about your health status. Inquire about available throat anesthesia and sedation options, and let them know what makes you anxious. You can request to stop the examination if you cannot tolerate it; additionally, taking a small tissue sample when necessary is not supposed to cause pain by itself [5].
Recovery Phase
After the endoscopy is finished, the patient remains under observation at the center or hospital for approximately one hour until the effects of the sedatives wear off [4]. It is normal to feel mild bloating, nausea, or a temporary sore throat. Given the effect of sedative medications on alertness, driving a car after the procedure is strictly prohibited; therefore, you must arrange for safe transportation home in advance [4], [5].
When Symptoms Require Immediate Medical Intervention
Although complications are rare, any abnormal symptoms after the examination must be monitored. Please go immediately to the emergency room or contact your attending physician if any of the following occur:
- Difficulty breathing or feeling short of breath.
- Severe and persistent abdominal or chest pain that gets worse [4], [5].
- Repeated vomiting, especially if it contains blood or looks like "coffee grounds."
- Passing black, bloody, or tar-like stools [4], [5].
- Fever (high body temperature).
These recommendations remain as guidelines, and you must always adhere to the doctor's direct instructions based on each patient's individual health status.
Medical references
Cite this answer
ClinicsJo Editorial Team. Is an upper gastrointestinal endoscopy painful? (Sep 13, 2026).
https://clinicsjo.com/en/faq/is-upper-gastrointestinal-endoscopy-painful#answerRead the text version with referencesHow to use medical information