What Diseases Can Be Detected by an Endoscopy?

Endoscopy can detect dozens of diseases spanning the full length of the digestive tract, from precancerous changes in the esophagus to colon polyps that might one day become colorectal cancer. The scope of detection goes well beyond cancer screening, though: infections, autoimmune conditions, inflammatory diseases, bleeding sources, and even rare systemic illnesses like amyloidosis all show recognizable patterns when viewed through an endoscope. Which diseases come into focus depends on which type of endoscopy is performed and where the scope is directed.

Esophageal Diseases

The esophagus is one of the first structures an upper endoscopy encounters, and several important conditions are diagnosed or monitored there. Gastroesophageal reflux disease (GERD) can cause visible inflammation and erosions in the lower esophagus. When reflux persists over years, the normal lining of the esophagus can transform into a different type of tissue, a condition called Barrett’s esophagus. Because Barrett’s carries a risk of progressing to esophageal cancer, endoscopic surveillance with biopsies is the standard approach for catching precancerous changes early. Specialized techniques like virtual chromoendoscopy and acetic acid staining help endoscopists spot irregular mucosal and vascular patterns that signal early neoplasia within Barrett’s tissue.1PubMed. Curriculum for optical diagnosis of esophageal neoplasia and precursor lesions: European Society of Gastrointestinal Endoscopy (ESGE) Position Statement The histological confirmation of Barrett’s and its degrees of dysplasia requires biopsies taken according to specific protocols during the endoscopy.2Filin’s Clinical endoscopy. Pathogenesis and histological diagnostics of gerd, nerd and barrett’s esophagus

Eosinophilic esophagitis (EoE) is another condition that endoscopy is uniquely suited to identify. EoE is an immune-driven disease in which certain white blood cells accumulate in the esophageal lining, causing symptoms like difficulty swallowing and food getting stuck. During endoscopy, characteristic findings include rings, furrows, white exudates, narrowing, and swelling of the esophageal wall.3PubMed Central. Endoscopic Diagnosis of Eosinophilic Esophagitis: Basics and Recent Advances The catch is that between 10% and 32% of EoE patients have a completely normal-looking esophagus on endoscopy, so biopsies are recommended whenever EoE is suspected, regardless of what the scope shows.4Clinical Endoscopy. Role of endoscopy in eosinophilic esophagitis Individual endoscopic features of EoE tend to be highly specific but not very sensitive, which means the visible signs, when present, strongly suggest EoE, but their absence does not rule it out.5Gastroenterology. Prevalence and Operating Characteristics of Endoscopic Features of Eosinophilic Esophagitis

Stomach and Duodenal Conditions

Peptic ulcers, both in the stomach and the first part of the small intestine (the duodenum), are among the most common reasons people undergo an upper endoscopy. The procedure lets doctors see the ulcer directly and assess its severity, while also taking biopsies to test for Helicobacter pylori, the bacterium behind most peptic ulcers. A rapid urease test performed on a small tissue sample is highly sensitive, picking up the bacterium in roughly 90% of positive cases with near-perfect specificity.6JAMA Internal Medicine. Helicobacter pylori–Related Disease: Guidelines for Testing and Treatment In a study of patients with bleeding peptic ulcers, about 90% tested positive for H. pylori on rapid urease testing, underscoring how central this bacterium is to ulcer disease.7INTERNATIONAL JOURNAL OF SCIENTIFIC RESEARCH. A Study on Prevalence of Helicobacter Pylori in Bleeding Peptic Ulcer Using Rapid Urease Test

Gastric cancer is another critical diagnosis made by endoscopy. Advanced imaging techniques like magnifying endoscopy with narrow-band imaging have improved the ability to spot even very small gastric cancers, those five millimeters or less in diameter, with greater sensitivity than older staining methods.8Clinical Endoscopy. Clinical Application of Magnifying Endoscopy with Narrow-Band Imaging in the Stomach This matters because finding gastric cancer at a tiny, early stage dramatically improves the odds of successful treatment.

Celiac Disease

Celiac disease is an autoimmune condition triggered by gluten that damages the lining of the small intestine, specifically the villi, the tiny finger-like projections that absorb nutrients. During an upper endoscopy, the endoscopist takes biopsies from the duodenum and looks for villous atrophy, flattened or absent villi. Several visible changes in the duodenal lining correlate well with the villous damage that characterizes celiac disease, and researchers are even developing computer-assisted detection systems to flag these changes automatically during routine procedures.9PubMed Central. Computer-Based Diagnosis of Celiac Disease by Quantitative Processing of Duodenal Endoscopy Images

The diagnostic picture is not always straightforward. In a study of patients found to have villous atrophy on biopsy but who had no prior celiac blood tests, only about 31% later tested positive on the standard celiac antibody test. The remaining 69% either had seronegative celiac disease, where the gut damage is real but the blood markers are absent, or had other conditions that mimic celiac damage.10PubMed. Predictors of Subsequent Celiac Disease Seropositivity in Patients Diagnosed with Duodenal Villus Atrophy on Upper Endoscopy This is a good example of why endoscopy with biopsy adds diagnostic value that blood tests alone can miss.

Colorectal Polyps and Cancer

Colonoscopy, the form of endoscopy directed at the large intestine, is considered the gold standard for colorectal cancer screening. Its value lies not just in detecting polyps but in removing them during the same procedure, before they have a chance to become cancerous. Newer endoscopic technologies have improved visualization of the colon’s inner lining and the ability to classify polyps by their structural features, helping doctors distinguish harmless growths from those with precancerous potential.11PubMed Central. Advances in endoscopy for colorectal polyp detection and classification The effectiveness of colonoscopy in reducing colorectal cancer deaths is well established.12PubMed Central. Colonoscopy polyp detection and classification: Dataset creation and comparative evaluations

Most polyps found during screening are small. In one randomized trial, the average polyp size was just over four millimeters, with about 47% being tubular adenomas with low-grade dysplasia and about 46% being hyperplastic polyps.13PubMed Central. Artificial Intelligence for Adenoma and Polyp Detection During Screening and Surveillance Colonoscopy: A Randomized-Controlled Trial Hyperplastic polyps are generally benign, while adenomas carry the potential for cancerous transformation if left in place. The ability to catch and remove adenomas before they progress is the central reason colonoscopy saves lives.

Inflammatory Bowel Disease

Ulcerative colitis and Crohn’s disease, the two main forms of inflammatory bowel disease (IBD), are both diagnosed in part through endoscopy. Getting a timely diagnosis of ulcerative colitis depends on recognizing its clinical symptoms alongside characteristic endoscopic findings and confirming with biopsies.14PubMed Central. Diagnosis and Monitoring of Ulcerative Colitis Endoscopy reveals the pattern and extent of inflammation, which determines disease severity, guides treatment decisions, and helps differentiate ulcerative colitis from Crohn’s disease. In ulcerative colitis, the inflammation typically starts at the rectum and extends upward in a continuous pattern, while Crohn’s can affect any part of the digestive tract and tends to appear in patches.

Endoscopy is also used to monitor IBD over time. Mucosal healing, visible improvement of the intestinal lining during follow-up endoscopies, has become an important treatment target because it correlates with better long-term outcomes. Additionally, patients with long-standing IBD have an increased risk of colorectal cancer, so regular surveillance colonoscopies with biopsies are part of ongoing management.

Lower GI Bleeding Sources

When someone presents with bleeding from the lower digestive tract, endoscopy is the primary tool for finding the source. The major causes of lower gastrointestinal bleeding include diverticulosis (outpouchings in the colon wall that can bleed), vascular malformations (abnormal clusters of blood vessels), and cancer.15PubMed Central. Lower GI Bleeding: An Update on Incidences and Causes Endoscopy not only identifies the bleeding site but often allows treatment on the spot through techniques like cauterization or clipping.

CT angiography is sometimes ordered before endoscopy in acute bleeding situations, but its performance as a standalone diagnostic tool is poor. In one study where endoscopy was used as the reference standard, CT angiography detected a bleeding source in only about 20% of cases where endoscopy subsequently found one. Two-thirds of patients with a negative CT scan still had a bleeding lesion found on endoscopy, and about a third of those required therapeutic intervention.16PubMed Central. Diagnostic utility of CT angiography compared with endoscopy in patients with acute GI hemorrhage That gap highlights why endoscopy remains the preferred first-line diagnostic approach for GI bleeding in most clinical scenarios.

Small Bowel Bleeding and Capsule Endoscopy

Standard upper endoscopy reaches the duodenum, and colonoscopy covers the colon, but a long stretch of small intestine sits between them, largely out of reach of conventional scopes. When bleeding is suspected in that middle territory, often called obscure gastrointestinal bleeding, capsule endoscopy offers a way to look. The patient swallows a pill-sized camera that takes thousands of images as it travels through the digestive tract. Capsule endoscopy has higher sensitivity for finding small-bowel bleeding sources than CT imaging or push enteroscopy, though its specificity is somewhat lower.17PubMed Central. Capsule Endoscopy in the Assessment of Obscure Gastrointestinal Bleeding: An Evidence-Based Analysis It also has a good safety profile, making it a reasonable choice when conventional endoscopy has come up empty.

Pancreatic and Biliary Diseases

Endoscopic ultrasound (EUS) combines a tiny ultrasound probe with an endoscope, allowing doctors to image structures that sit behind the stomach and intestinal walls. This is especially valuable for the pancreas, which is difficult to examine with standard endoscopy because it is not directly visible from inside the gut. EUS provides high diagnostic accuracy for pancreatic tumors and is particularly good at detecting small lesions that CT scans might miss.18PubMed Central. Impact of endoscopic ultrasonography on diagnosis of pancreatic cancer Beyond detection, EUS can stage pancreatic cancers, assess cystic lesions, and guide fine-needle aspiration biopsies to obtain tissue for a definitive diagnosis.19PubMed Central. Role of Endoscopic Ultrasound in Pancreatic Cancer Diagnosis and Management

For bile duct problems, endoscopic retrograde cholangiopancreatography (ERCP) allows direct visualization and intervention in the biliary system. Bile duct strictures, which can be caused by gallstones, scarring, or tumors, are a common indication. European guidelines recommend combining EUS-guided tissue sampling with ERCP-based tissue sampling as the preferred approach for diagnosing distal bile duct strictures when no visible pancreatic mass is present. In difficult or uncertain cases, cholangioscopy, where a tiny scope is threaded through the ERCP scope into the bile duct itself, allows direct-vision biopsies.20PubMed. Diagnostic work-up of bile duct strictures: European Society of Gastrointestinal Endoscopy (ESGE) Guideline

Opportunistic Infections in Immunocompromised Patients

For people with weakened immune systems, particularly those living with advanced HIV, endoscopy plays a diagnostic role that blood tests and imaging often cannot fill. Opportunistic infections like cytomegalovirus (CMV) esophagitis, candida esophagitis, and various other pathogens can cause symptoms like painful swallowing, diarrhea, or weight loss that overlap with many other conditions. Endoscopic evaluation of the GI tract remains a cornerstone for diagnosing these infections, especially when CD4 counts fall below 200 cells per cubic millimeter, the threshold at which risk climbs sharply.21PubMed Central. Role of upper endoscopy in diagnosing opportunistic infections in human immunodeficiency virus-infected patients Biopsies taken during the procedure can identify the specific pathogen, which is essential for choosing the right treatment.

Medication-Induced Gut Injury

Nonsteroidal anti-inflammatory drugs (NSAIDs), among the most widely used medications in the world, can damage the lining of the small intestine in ways that endoscopy is well suited to reveal. NSAID-induced enteropathy produces characteristic findings: reddish erosions, sharply demarcated ulcers, and sometimes concentric narrowing of the intestinal passage. Multiple discrete ulcers are the most frequent finding.22Clinical Endoscopy. Non-Steroidal Anti-Inflammatory Drug-Induced Enteropathy Capsule endoscopy has been particularly useful for detecting these lesions in the small bowel, an area traditional scopes have trouble reaching. Recognizing NSAID-related damage matters because it changes clinical management: the ulcers often heal once the offending drug is stopped, but they can cause significant bleeding or obstruction if missed.

Gastrointestinal Amyloidosis and Other Rare Conditions

Endoscopy sometimes turns up findings that point toward diseases well beyond the gut itself. Gastrointestinal amyloidosis, in which abnormal protein deposits build up in the walls of the digestive tract, is rare but clinically important. Endoscopic findings vary widely, from friable mucosa with erosions and ulcers to thickened tissue with polypoid protrusions and submucosal blood collections.23PubMed Central. Clinical and endoscopic manifestations of gastrointestinal amyloidosis: a case series A classification of endoscopic appearances has identified five distinct patterns: protruding, granular, hemorrhagic, ulcerative, and nonspecific. The hemorrhagic type was most common overall, found in about a quarter of cases, while certain subtypes of amyloidosis tended to produce characteristic patterns. The protruding type, for instance, was dominant in localized amyloidosis and carried a better prognosis than the other types.24Gut and Liver. Endoscopic Features of Gastrointestinal Amyloidosis: A Proposed Endoscopic Classification For gastroenterologists, recognizing these patterns can be the first step toward diagnosing a systemic disease that affects far more than the digestive system.

Motility Disorders

Conditions where the muscles or nerves of the digestive tract do not work properly, such as achalasia (where the lower esophageal sphincter fails to relax) or gastroparesis (delayed stomach emptying), are not directly diagnosed by what the endoscope sees. Instead, endoscopy is an important step for ruling out structural problems like tumors or strictures that could mimic the symptoms. Retained food in the stomach when a patient has fasted, or a dilated esophagus with resistance at the lower junction, can offer significant clues toward a motility diagnosis.25PubMed Central. Role of Endoscopy in Motility Disorders of Upper Gastrointestinal Tract Specialized testing like manometry (which measures pressure in the esophagus) usually follows, but endoscopy is often the first diagnostic step.

How Artificial Intelligence Is Changing Detection

One of the most active areas of development in endoscopy involves artificial intelligence systems that analyze the video feed in real time and flag suspicious areas the human eye might miss. In colonoscopy, AI-powered computer-aided detection (CADe) has consistently improved polyp detection rates.26PubMed Central. AI and Polyp Detection During Colonoscopy One prospective randomized trial found that AI-assisted colonoscopy significantly increased overall polyp detection, with the gains coming primarily from catching small polyps under six millimeters that endoscopists are more likely to overlook.27Journal of Gastrointestinal Surgery. Artificial Intelligence-Assisted Colonoscopy for Detection of Colon Polyps: a Prospective, Randomized Cohort Study A separate evaluation of a deep-learning CADe system reported detection sensitivity above 97% for colorectal lesions.28PubMed. Performance evaluation of a computer-aided polyp detection system with artificial intelligence for colonoscopy

The limitation so far is that AI’s biggest gains are with the smallest, most easily missed polyps. For larger or more advanced lesions, and for sessile serrated lesions (a subtype of polyp that sits flat against the colon wall and is notoriously hard to see), AI has shown limited additional benefit over an experienced human eye.26PubMed Central. AI and Polyp Detection During Colonoscopy Still, catching more small adenomas before they grow is exactly the kind of incremental improvement that adds up over millions of screening procedures.

Autoimmune and Connective Tissue Diseases

Conditions you would not normally associate with the gut, like juvenile arthritis, lupus, scleroderma, and familial Mediterranean fever, can produce GI involvement that endoscopy helps uncover. In a study of pediatric rheumatology patients who underwent endoscopic evaluation, inflammatory bowel disease was found in about a third of those with autoimmune diseases and over half of those with autoinflammatory conditions.29PubMed Central. Gastrointestinal endoscopic findings of autoimmune and autoinflammatory diseases in pediatric rheumatology patients These rates are high enough to suggest that GI symptoms in patients with known autoimmune conditions should not be dismissed as incidental. Endoscopy in this context can reveal whether the gut is an active disease site, which changes both the diagnosis and the treatment plan.