An endoscope is a thin, flexible tube with a light and camera that lets doctors see inside your body without surgery. The test is done by guiding this tube through a natural opening, like your mouth or rectum, while you are sedated. Most people are asleep for the procedure and feel nothing, and the whole thing usually takes 15 to 60 minutes depending on what part of the body is being examined.
What Happens Before an Endoscopy?
Preparation starts days before the actual test. The exact steps depend on which part of your digestive tract the doctor needs to see.
For an upper endoscopy, which looks at the esophagus, stomach, and the first part of the small intestine, you usually cannot eat or drink anything for about 8 hours beforehand. An empty stomach gives the doctor a clear view and reduces the risk of vomiting during the procedure.
For a colonoscopy, which examines the large intestine, the prep is more involved. You will need to empty your colon completely using a liquid laxative solution the day before. You will also be on a clear liquid diet. This step is essential — if the colon is not clean, the doctor cannot see polyps or other abnormalities, and the test may need to be repeated.
Tell your doctor about every medication you take, including blood thinners, insulin, and iron supplements. You will also need someone to drive you home afterward because the sedation takes hours to fully wear off.
How the Endoscope Is Inserted
You lie on your side or back, and a nurse places an IV in your arm to deliver sedation. The sedation makes you relaxed and drowsy. Many people fall asleep completely and remember nothing.
For an upper endoscopy, the doctor guides the tube through your mouth, down the esophagus, and into the stomach. The tube is about the width of a finger, so it does not block your breathing. A numbing spray may be applied to your throat first to reduce gagging.
For a colonoscopy, the tube enters through the rectum and is advanced through the entire length of the colon. The doctor gently pumps air or carbon dioxide through the tube to inflate the colon slightly so the walls can be seen clearly. This inflation is what causes the cramping some people feel after the procedure.
The tube itself is flexible and steerable. The doctor controls the tip with dials on the handle, guiding it around the natural curves of your digestive tract. The camera at the tip sends live video to a screen in the room.
What the Doctor Does During the Procedure
The main job is looking. The camera transmits high-definition images of the lining of your digestive tract to a monitor. The doctor examines the color, texture, and any unusual growths or inflammation.
If the doctor sees something suspicious, the endoscope has small channels that allow tools to pass through. These tools can take tissue samples, called biopsies, without making any cuts in your skin. A biopsy is painless because there are no pain receptors inside the digestive tract.
Polyps — small growths on the colon wall — can be removed during the same procedure. This is done with a wire loop that snips the polyp off and cauterizes the base to stop bleeding. Removing polyps during a colonoscopy is one of the main reasons this test prevents colorectal cancer.
Some endoscopes can also be used for treatment. Bleeding ulcers can be injected with medication or clipped closed. Narrowed areas, called strictures, can be stretched open with a balloon. These treatments happen during the same session, so you do not need a separate procedure.
How Long Does an Endoscopy Take?
A standard upper endoscopy takes about 15 to 20 minutes. A colonoscopy typically takes 30 to 60 minutes. The time depends on whether the doctor finds anything that needs biopsy or removal.
You will spend more time in the recovery area than in the procedure room. After the test, you stay in a recovery bay for 1 to 2 hours while the sedation wears off. Nurses monitor your blood pressure, heart rate, and oxygen levels during this time.
Most people feel groggy and slightly bloated afterward. The bloating comes from the air used to inflate the digestive tract and passes within a few hours. You can eat normally once your throat is no longer numb, though some doctors recommend a light meal for the first one.
Do not drive, operate machinery, or make important decisions for 24 hours after sedation. The medication affects judgment even when you feel fully awake.
What Are the Risks of Endoscopy?
Endoscopy is a common and generally safe procedure. Serious complications are rare, but they do happen.
The most common side effects are temporary — a sore throat from the tube, mild cramping, and bloating. These usually resolve within a day.
More serious risks include bleeding at a biopsy or polyp removal site, a tear in the digestive tract wall, and reactions to sedation. A tear, called a perforation, is the most serious complication but occurs in fewer than 1 in 1,000 procedures. Bleeding after polyp removal happens in about 1 in 100 cases and often stops on its own or with a repeat endoscopy.
Call your doctor immediately if you have severe abdominal pain, fever, chills, bloody vomit, or large amounts of blood in your stool after the procedure. These symptoms can indicate a complication that needs urgent attention.
What Happens After the Results Come Back
You will get some results immediately. The doctor can tell you what was seen during the procedure before you leave the recovery area. If biopsies were taken, those results take a few days to a week because the tissue must be processed and examined under a microscope by a pathologist.
Normal results mean no abnormalities were found. If polyps were removed, you will be told how many and what type they were. Most polyps are benign, but some have the potential to become cancerous over many years. The follow-up interval for your next colonoscopy depends on the number, size, and type of polyps found.
If the biopsy shows inflammation, infection, or precancerous changes, your doctor will explain what that means and what the next steps are. Some findings require no action. Others require treatment or more frequent monitoring.
Do not hesitate to ask for a copy of your procedure report. It is your medical record, and you have a right to understand what was done and what was found.
Frequently Asked Questions
Is an endoscopy painful?
Most people feel no pain because sedation keeps them relaxed and unaware. You may feel mild cramping or throat discomfort afterward, but this usually passes within a day.
How long does it take to recover from an endoscopy?
Most people feel back to normal within 24 hours. The sedation effects last several hours, so you cannot drive or work that day.
Can I eat before an endoscopy?
No — you must fast for about 8 hours before an upper endoscopy. For a colonoscopy, you follow a clear liquid diet and take laxatives the day before.
Do I need someone to drive me home?
Yes, absolutely. The sedation impairs your reaction time and judgment for up to 24 hours, so you cannot drive yourself home.

