You breathe normally through your nose during an upper endoscopy. The endoscope goes down your esophagus (the food pipe), which is a completely separate tube from your trachea (the windpipe). Your airway stays open the entire time, and your body continues breathing on its own without any effort from you.
This is one of the most common concerns people have before the procedure, and it makes sense. The idea of a flexible tube going down your throat feels like it should interfere with breathing. But the anatomy of your throat keeps your airway and digestive tract separate, and sedation helps your body relax enough that most people don’t remember the procedure at all.
Why the Scope Doesn’t Block Your Airway
Your throat contains two separate tubes running side by side. The trachea sits in front and carries air to your lungs. The esophagus sits directly behind the trachea and carries food and liquid to your stomach. During an endoscopy, the scope travels down the esophagus only.
Your body already has a built-in system for keeping these two pathways separate. When you swallow, a small flap called the epiglottis closes over the trachea to prevent anything from entering your airway. This is the same mechanism that protects you every time you eat or drink. During the procedure, the scope follows the same path your food takes, leaving the trachea completely unobstructed. You breathe in and out through your nose as you normally would.
How Sedation Affects Your Breathing
Most upper endoscopies are performed under some level of sedation, and the type you receive determines how deeply you’ll sleep. With conscious sedation (also called moderate sedation), you’re drowsy and relaxed but still breathing entirely on your own. You may drift in and out of awareness, and most people have little to no memory of the procedure afterward.
A deeper option called monitored anesthesia care, or MAC, brings you closer to full sleep. Even at this level, the goal is to maintain spontaneous breathing. Your body keeps breathing without a ventilator. The sedation team adjusts medication in real time to keep you deeply relaxed without suppressing your breathing reflex.
Regardless of which level is used, you’ll typically receive supplemental oxygen through a small nasal cannula (a thin tube that rests just inside your nostrils). This provides extra oxygen as a safety buffer, since sedation can slightly slow your breathing rate or make each breath a little shallower than usual.
What the Medical Team Monitors
Throughout the procedure, a pulse oximeter clipped to your finger continuously tracks the oxygen level in your blood. If your oxygen dips below a safe threshold, the team can adjust your sedation, reposition your head, or increase supplemental oxygen flow. Your heart rate, blood pressure, and heart rhythm are also monitored the entire time.
One nuance worth knowing: pulse oximeters are excellent at detecting drops in oxygen, but they’re less reliable at catching a buildup of carbon dioxide, which can happen when breathing becomes too shallow. This is why the endoscopy team also watches your breathing rate and chest movement visually, and some centers use carbon dioxide monitors for added safety during longer or more complex procedures.
The Gag Reflex and Why It Feels Like Choking
The sensation that worries most people isn’t actually a breathing problem. It’s the gag reflex. When the endoscope passes over the back of your tongue, the roof of your throat, and the tissue near your tonsils, it can trigger a strong involuntary gagging sensation. This feels like choking, but your airway remains open.
To reduce this, a numbing gel or spray (typically lidocaine) is applied to the back of your throat before the scope is inserted. This dulls the nerve endings that trigger the gag reflex. You’ll also have a small plastic bite block placed between your teeth. It keeps your mouth open, protects the scope, and in some designs includes a channel that helps maintain airflow. Between the numbing agent, the bite block, and sedation, most patients experience little to no gagging.
Why You Fast Before the Procedure
The fasting instructions you receive aren’t just about getting a clear view of your stomach. They’re primarily about protecting your airway. When you’re sedated, your normal protective reflexes (like coughing or swallowing) are dampened. If your stomach contains food or liquid, there’s a small risk it could travel back up your esophagus and enter your lungs, a complication called aspiration.
The standard guidelines from the American Society of Anesthesiologists are straightforward: stop drinking clear liquids at least 2 hours before the procedure, stop eating light meals at least 6 hours before, and allow 8 or more hours after heavy, fatty, or fried foods. These timeframes apply to adults and children alike. Following them significantly reduces the risk of aspiration, which occurs in roughly 1.9% of upper endoscopy patients based on national hospital data from 2016 to 2020.
What to Watch for Afterward
Once the procedure is over, the sedation wears off gradually. Your throat may feel sore or slightly swollen for a few hours, and you might notice a mild cough. This is normal. Your breathing should feel completely natural within minutes of waking up.
Contact your doctor or go to an emergency room if you develop shortness of breath, chest pain, fever, difficulty swallowing, severe abdominal pain, or vomiting that contains blood or looks like coffee grounds. These are uncommon but signal complications that need prompt attention.

