Digestive endoscopy is a procedure where a thin, flexible tube with a camera and light is gently inserted into your body to look inside your digestive system. This includes your esophagus, stomach, and intestines. Doctors use this to find problems like inflammation, ulcers, or blockages, and sometimes to fix them right away during the same procedure.
Every report comes from a Lived member, sent anonymously.
Have you had Digestive Endoscopy for Anisakiasis?
Digestive endoscopy is a family of procedures in which a doctor looks directly at the inside of the digestive tract using an endoscope, a thin, flexible tube with a light and camera at its tip. The scope goes in through a natural opening, so there are no incisions. Because small instruments can be passed through it, the same procedure that finds a problem can often take a tissue sample or treat it. The type of endoscopy depends on which part of the tract needs to be seen. Upper endoscopy, also called EGD (esophagogastroduodenoscopy), passes through the mouth to examine the esophagus, stomach and first part of the small intestine. Colonoscopy and the shorter flexible sigmoidoscopy pass through the anus to examine the large intestine. More specialized versions include ERCP (endoscopic retrograde cholangiopancreatography), which combines endoscopy with x-rays to treat blockages in the bile and pancreatic ducts, and endoscopic ultrasound, which uses a sound-wave probe on the scope to image organs next to the gut, such as the pancreas, and guide needle biopsies. Capsule endoscopy is different again: you swallow a pill-sized camera that photographs the small intestine as it passes through. Endoscopy is used to investigate symptoms such as persistent heartburn or upper belly pain, trouble swallowing, ongoing vomiting, unexplained anemia or weight loss, and bleeding from the digestive tract. It can confirm conditions such as celiac disease, Barrett's esophagus, ulcers or cancer, and it can treat problems: stopping a bleeding ulcer, removing polyps, stretching a narrowed esophagus or clearing a gallstone from the bile duct. Colonoscopy is also a colorectal cancer screening test, usually starting at age 45 for people at average risk. When a picture alone would answer the question, a less invasive option such as magnetic resonance imaging (MRI), an ultrasound or, for colon screening, a stool test may be enough, and your doctor can explain why a scope is recommended instead.
Preparation depends on the part of the tract being examined. For upper endoscopy, the main step is an empty stomach: you will usually be asked not to eat or drink for up to about 8 hours beforehand, so the lining can be seen clearly and to lower the chance of stomach contents entering the lungs during sedation. Colonoscopy needs more work. A bowel preparation, typically a clear-liquid diet and a prescribed laxative taken the evening before and often the morning of the test, empties the colon so polyps are not hidden. Finishing the preparation matters, and it is worth calling the care team if side effects stop you from completing it. Go over every medicine and supplement with the team, because a few change the plan. Blood thinners are the most important. Guidelines suggest continuing warfarin and aspirin taken to protect the heart for many planned procedures, while newer anticoagulants such as apixaban (Eliquis) or rivaroxaban (Xarelto) are often paused briefly. The right choice depends on why you take the medicine and how likely the procedure is to cause bleeding, so do not stop a blood thinner on your own; ask the doctor who prescribes it and the endoscopy team together. Diabetes medicines may need adjusting while you fast. GLP-1 medicines (glucagon-like peptide-1 receptor agonists) used for diabetes or weight loss, such as semaglutide (Ozempic, Wegovy), slow stomach emptying, so food can remain in the stomach despite fasting. Many people continue them, but if you have nausea, fullness or other stomach symptoms, or recently increased the dose, the team may ask you to hold a dose or follow a liquid diet the day before. Tell the team about allergies, past problems with sedation or anesthesia, and whether you are or might be pregnant, since some procedures, such as ERCP, use x-rays. If you will receive sedation, arrange for an adult to drive you home, since you should not drive or go back to work for the rest of the day.
Most endoscopies take place in a hospital or outpatient center. A nurse places an IV, a small tube in a vein in your arm or hand, to give medicine that makes you relaxed and drowsy; many people sleep through the procedure and remember little of it. Some procedures, particularly ERCP and complex treatments, use deeper anesthesia. Your breathing, heart rate, blood pressure and oxygen level are monitored throughout. For an upper endoscopy, your throat may be numbed with a spray, a mouth guard protects your teeth, and you lie on your left side while the doctor guides the scope down. It does not interfere with breathing. Air or carbon dioxide is pumped in to open up the lining for a better view, which can cause a feeling of pressure. A standard upper endoscopy usually takes 10 to 20 minutes and a colonoscopy under an hour, while endoscopic ultrasound and ERCP can take longer. Biopsies are taken with tiny forceps passed through the scope and are not felt. Capsule endoscopy needs no sedation. You swallow the capsule, and as it travels through the small intestine it sends images to a recorder you wear, which the doctor reviews afterward.
You will rest for a short time while sedation wears off, usually about an hour after an upper endoscopy or colonoscopy and several hours after ERCP. Some people stay overnight, especially after ERCP or a larger treatment. Bloating, gas, mild cramping, a sore throat or nausea are common and usually settle within hours. After a polyp removal or biopsy, a small amount of rectal bleeding can be normal. Because sedation affects judgment and reaction time, plan to rest for the rest of the day without driving or working. Most people eat normally soon afterward, although the team may limit you to liquids for a while after ERCP or certain treatments. The doctor can often tell you what they saw before you leave, so it helps to have a companion who can listen. Biopsy results take a few days or longer. Follow-up depends on the findings: some results need only routine care, while polyps, Barrett's esophagus or other changes may mean a repeat procedure at a set interval. Seek medical care right away if you develop chest or belly pain that gets worse rather than easing, fever, worsening throat pain or trouble swallowing, vomit that is bloody or looks like coffee grounds, black tarry stool, or rectal bleeding that does not stop. Trouble breathing, or heavy bleeding with dizziness or fainting, needs emergency care. Bleeding after polyp removal can occasionally start up to two weeks later.
Standard upper endoscopy and colonoscopy are low-risk procedures. The main complications are bleeding, a tear or hole in the wall of the digestive tract (called a perforation), and reactions to sedation such as slowed breathing or low blood pressure. In a large review of screening colonoscopies, perforation occurred in about 3 of every 10,000 procedures and bleeding in about 15 of every 10,000, mostly in older people or those who had polyps removed. Bleeding is often minor and can usually be treated through the scope; a perforation is rare but may need surgery. The risk rises when treatment is done, such as removing large polyps or stretching a narrowing, compared with simply looking. ERCP carries more risk than other forms of endoscopy. Complications, most often inflammation of the pancreas (pancreatitis), infection, bleeding or perforation, occur in about 5 to 10 percent of procedures, which is why doctors usually reserve it for situations where treatment is likely to be needed and use imaging such as MRI for diagnosis alone. Endoscopic ultrasound with a needle biopsy has a small risk of bleeding, infection or pancreatitis. With capsule endoscopy, the capsule can occasionally get stuck at a narrowed section of bowel, which is more likely in people with Crohn's disease or known narrowing; a test capsule, called a patency capsule, is sometimes swallowed first to check that the path is clear. Endoscopy can also miss an abnormality, especially if the view is limited by an incomplete bowel preparation or food in the stomach. Your own risk depends on your health, the medicines you take, and whether the procedure is diagnostic or therapeutic.
Last reviewed • Oct 2026
Educational content, not medical advice.
Share your experience with Digestive Endoscopy, what to expect, or ask the community a question.