Endoscopy is the examination of internal organs or cavities with an endoscope, an instrument that provides illumination and transmits images from inside the body. Depending on its design, an endoscope enters through a natural opening, such as the mouth or urethra, or through an incision. Many instruments also contain channels through which clinicians can collect tissue, inject substances, remove abnormal growths, control bleeding, or place therapeutic devices. Endoscopy therefore encompasses both diagnostic examination and treatment.
The term covers a family of procedures rather than a single test. Gastrointestinal endoscopy, airway examination, inspection of the urinary tract, and examination of joints use different instruments and techniques. Laparoscopy, which provides access to the abdominal cavity through small incisions, is an endoscopic technique, although it is commonly discussed within minimally invasive surgery. Unlike most external imaging methods, endoscopy can combine direct visualization, tissue sampling, and intervention during the same procedure.
Its clinical importance rests on this combination of observation and action. Endoscopy can identify a bleeding ulcer, obtain samples from an abnormal lining, or remove a precancerous growth without a conventional open operation. Its usefulness nevertheless depends on access, visibility, instrument performance, operator expertise, and interpretation. A normal examination does not exclude every disease, and an abnormal appearance does not necessarily establish a definitive diagnosis.
Historical development
The development of endoscopy depended on solving three linked problems: bringing light into the body, transmitting an image outward, and constructing an instrument that could reach the target without unacceptable injury. Early instruments were predominantly rigid and suited to relatively straight anatomical passages. In 1806, the German physician Philipp Bozzini described his Lichtleiter, or light conductor, which used an external light source and mirrors to illuminate body cavities. Its practical capabilities were limited, but it established an important principle: internal examination required a coordinated optical and illumination system.
In 1853, the French physician Antonin Jean Desormeaux introduced an instrument he called an endoscope. Like other nineteenth-century devices, it faced substantial limitations from heat, dim illumination, and restricted access. Adolf Kussmaul is associated with an early attempt at rigid gastroscopy in 1868, performed with the assistance of a professional sword swallower. Such demonstrations showed that the stomach could be reached, but rigid examination remained difficult and potentially hazardous. The development of electrically illuminated cystoscopes, notably associated with Maximilian Nitze in the late nineteenth century, helped establish endoscopy as a practical clinical method.
An important transition occurred with instruments that could bend while retaining useful image quality. Rudolf Schindler and instrument maker Georg Wolf introduced a semiflexible gastroscope in 1932. Its distal portion could follow the curvature of the upper digestive tract more readily than a completely rigid tube. Nevertheless, examination remained dependent on a complex optical arrangement, and the reachable field was limited compared with later flexible instruments.
Fiber optics transformed flexible endoscopy during the 1950s. Coherent bundles of fine glass fibers preserved the spatial arrangement of an image while allowing the instrument to bend. Basil Hirschowitz and colleagues developed a practical fiber-optic gastroscope during this period. Fiber optics also allowed illumination to be supplied from an external source, reducing the need for a hot light source near tissue.
Electronic video endoscopy became established during the 1980s. An image sensor at the instrument tip converted the scene into an electronic signal displayed on a monitor. This made shared viewing, image recording, teaching, and procedural assistance much easier. Subsequent developments included high-definition imaging, improved therapeutic accessories, miniature ultrasound transducers, and swallowable imaging capsules. The historical progression was not simply from poorer to sharper pictures: each technical advance also expanded the anatomical regions that could be examined and the treatments that could be performed.
Instruments, optics, and image formation
Endoscopes are broadly classified as rigid, flexible, or capsule-based. Rigid instruments use lens systems within a straight shaft and are particularly useful where direct access is possible, including many joint, nasal, bladder, and abdominal procedures. Flexible instruments contain an insertion tube with a steerable distal section. Control wheels or other mechanisms deflect the tip, while rotation and advancement of the shaft determine its overall position. Instrument diameter, stiffness, working length, viewing direction, and channel size are matched to the intended procedure.
A modern flexible video endoscope typically incorporates an image sensor, illumination, air or gas delivery, water irrigation, suction, and one or more working channels. Accessories such as biopsy forceps, snares, needles, clips, and retrieval devices pass through these channels. Larger channels permit more substantial instruments or stronger suction but usually require a larger endoscope. Specialized designs include side-viewing instruments for access to the bile duct opening and ultrasound endoscopes with integrated transducers.
Conventional white-light imaging renders tissue through the reflected visible spectrum. Image quality depends on illumination, sensor performance, optics, processing, distance, and the cleanliness of the lens and examined surface. Blood, mucus, stool, bubbles, or retained food can conceal abnormalities. Insufflation creates a viewing space by expanding a hollow organ. In gastrointestinal practice, air or carbon dioxide may be used; carbon dioxide is absorbed more rapidly through the intestinal wall and generally produces less persistent distension.
Image-enhancement methods aim to make subtle surface features more visible. Chromoendoscopy uses applied dyes to emphasize contours or tissue patterns. Electronic approaches alter illumination or processing to accentuate superficial vessels and mucosal architecture. Magnification can provide additional detail, but the clinical meaning of a pattern depends on the organ, disease, classification system, and examiner’s experience. Enhanced images can guide sampling and lesion assessment; they do not universally replace microscopic examination.
Some instruments combine endoscopic access with another imaging modality. Endoscopic ultrasonography places an ultrasound transducer close to the digestive wall and nearby structures, improving access to regions such as the pancreas and mediastinum. By contrast, capsule devices contain miniature cameras, lights, batteries, and transmitters within a swallowed enclosure. Standard passive capsules acquire images as they travel but lack the steering, suction, biopsy capability, and therapeutic channels of conventional instruments. These differences make instrument selection a question of function and access, not simply image resolution.
Gastrointestinal examinations
Gastrointestinal endoscopy examines the internal lining of the digestive tract. Upper gastrointestinal endoscopy, also called esophagogastroduodenoscopy, usually passes through the mouth to inspect the esophagus, stomach, and proximal duodenum. It can investigate swallowing difficulty, bleeding, persistent vomiting, and selected cases of upper abdominal symptoms. Findings may include esophagitis, peptic ulcers, narrowing, tumors, and vascular abnormalities. The examination also provides access for sampling and treatment, making its purpose broader than visual inspection alone.
Colonoscopy examines the rectum and colon and may include the terminal ileum. A flexible instrument is advanced through the anus, with careful inspection generally concentrated during withdrawal after the intended extent has been reached. Colonoscopy is used in the assessment of bleeding, unexplained iron-deficiency anemia, chronic diarrhea, and suspected inflammatory disease. It also has a major role in screening and surveillance for colorectal cancer, because many precursor lesions can be removed during the examination. Flexible sigmoidoscopy examines a shorter, distal segment of the large bowel and has different preparation and coverage characteristics.
The small intestine poses a particular access problem because of its length, mobility, and looping configuration. Capsule endoscopy provides extensive mucosal imaging without advancing a conventional endoscope through the entire bowel. It is especially relevant to selected cases of suspected small-bowel bleeding and inflammatory disease. Device-assisted enteroscopy uses balloons, overtubes, or other mechanisms to help advance a long endoscope deeper into the intestine. Unlike a standard capsule, it permits biopsy and treatment, although complete examination may require more than one insertion route or session.
The bile and pancreatic ducts require different access techniques. Endoscopic retrograde cholangiopancreatography—ERCP—uses a side-viewing duodenoscope to reach the major duodenal papilla. Catheters enter the ducts, and contrast imaging helps guide interventions. Because noninvasive imaging can answer many diagnostic questions, ERCP is now principally therapeutic, including removal of ductal stones, drainage of obstruction, and placement of stents. It has a distinct complication profile, particularly post-procedure pancreatitis.
Endoscopic ultrasonography complements these approaches by examining the layers of the digestive wall and adjacent tissues. It can characterize lesions beneath the surface, assess some tumors, and guide tissue acquisition from the pancreas or nearby lymph nodes. These procedures are related but not interchangeable: conventional endoscopy primarily views the exposed surface, ultrasound evaluates deeper structures, and ductal procedures access channels that are not directly visible from the intestinal lumen.
Uses beyond the digestive tract
Bronchoscopy examines the trachea and branching airways. Flexible bronchoscopes can inspect bronchial surfaces, retrieve secretions, collect washings or tissue, and assist selected airway procedures. In rigid bronchoscopy, a larger straight instrument provides a working channel and greater capacity for ventilation, suction, and certain interventions. The two approaches serve complementary purposes. Foreign-body extraction, assessment of airway obstruction, and treatment of selected central airway lesions may require capabilities that differ from those needed for routine diagnostic inspection.
Bronchoscopy can also incorporate ultrasound. Endobronchial ultrasound allows assessment of structures beyond the airway wall and needle sampling of selected lymph nodes, particularly in the evaluation and staging of lung cancer. This illustrates a recurring feature of endoscopic practice: a natural passage becomes an access route to tissues that are not themselves visible on its internal surface. The resulting specimen is interpreted alongside imaging and clinical findings rather than as an isolated observation.
In urology, cystoscopy examines the urethra and bladder using flexible or rigid instruments. It is important in investigating blood in the urine, evaluating bladder lesions, and performing selected treatments. Ureteroscopy extends access into a ureter and, with appropriate instruments, the renal collecting system. It can be used to assess abnormalities and treat urinary stones, including fragmentation with a laser and removal of fragments. The urinary tract’s narrow passages create specific constraints on instrument diameter, irrigation pressure, and the size of retrieved material.
In gynecology, hysteroscopy visualizes the uterine cavity through the cervix. It can identify focal abnormalities such as polyps, submucosal fibroids, and intrauterine adhesions, and it permits targeted removal or sampling in selected circumstances. Distension fluid separates the cavity walls to create a view. Fluid balance is therefore part of procedural monitoring, especially during operative hysteroscopy, because excessive absorption can disturb circulation or electrolyte balance depending on the fluid used.
Arthroscopy examines joints through small incisions and allows treatment of selected intra-articular injuries or abnormalities. Nasal endoscopy and laryngoscopy inspect structures of the nose, pharynx, and larynx. Neurosurgical endoscopes can provide access to ventricular spaces for selected procedures, including treatment of some forms of hydrocephalus. Across these specialties, the shared optical principle does not imply uniform clinical practice. The surrounding anatomy, methods of maintaining a working space, requirements for anesthesia, and consequences of tissue injury differ substantially.
Tissue diagnosis and interpretation
Endoscopic appearance provides information about surface color, vascular patterns, shape, texture, movement, and the distribution of abnormalities. Interpretation depends on context. A red mucosal surface can reflect inflammation, trauma, vascular congestion, or preparation-related change. A smooth bulge may represent a lesion beneath the lining or pressure from an adjacent organ. Some clinically important diseases produce little visible change. Consequently, an endoscopic description and a final diagnosis are often separate components of the medical record.
A biopsy obtains tissue for examination. Standard forceps generally sample the mucosa and sometimes superficial underlying tissue; they do not reliably sample every deeper layer. Needle-based techniques can reach masses or lymph nodes beyond the digestive or airway wall. Brushings and washings collect cells or microorganisms, while larger endoscopic resections may preserve enough architecture to assess the relationship between a lesion and surrounding tissue. The sampling method determines which questions a specimen can answer.
Histopathology is central to distinguishing many inflammatory, precancerous, and malignant processes. Examples include duodenal sampling in the evaluation of celiac disease, colonic biopsies in suspected microscopic colitis, and tissue assessment in inflammatory bowel disease. Gastric samples can contribute to identifying Helicobacter pylori infection or evaluating atrophy and intestinal metaplasia. In each case, the number, location, orientation, handling, and labeling of samples influence the information available to the pathologist.
Sampling error is an important limitation. Disease may be patchy, an accessible surface may not represent the deepest component of a lesion, or a biopsy may contain only necrotic or inflamed material. A negative sample therefore has different significance in a uniformly normal-looking organ than in a highly suspicious mass. Interpretation may require correlation with cross-sectional imaging, laboratory findings, repeat sampling, or a different method of tissue acquisition. These are features of diagnostic uncertainty rather than contradictions between tests.
Endoscopy also contributes to staging and treatment planning. Surface morphology can suggest whether a lesion is confined to superficial layers, while endoscopic ultrasonography can assess wall layers and nearby nodes in selected cancers. Nevertheless, staging frequently also requires computed tomography, magnetic resonance imaging, or other tests to evaluate distant disease. Optical classifications and computer-assisted systems can estimate histological features, but their performance depends on the lesion type, image quality, validation population, and operator training. The distinction between visual prediction and tissue-confirmed diagnosis remains clinically important.
Therapeutic interventions
Endoscopic therapy uses access channels and a controlled visual field to treat abnormalities from within a lumen or cavity. One major application is control of gastrointestinal bleeding. Mechanical clips compress vessels or close a bleeding point; thermal devices coagulate tissue; and injected substances can tamponade bleeding or alter local vascular flow. Topical powders and other agents can cover a bleeding surface. The choice of method depends on the lesion and anatomical setting, and some situations require combinations rather than a single technique.
Removal of abnormal tissue ranges from small-polyp excision to advanced resection of large superficial lesions. A snare encircles tissue and cuts it mechanically or with electrosurgical energy. Endoscopic mucosal resection often uses fluid injection beneath a lesion to separate it from deeper tissue before removal. Endoscopic submucosal dissection uses specialized knives to dissect beneath a lesion and can produce an intact specimen from a larger area. This can improve pathological assessment of margins, although the procedure is technically demanding and carries risks of bleeding and perforation.
Dilation and stenting address narrowed passages. Balloons or tapered dilators can enlarge selected strictures, while stents maintain a channel through an obstruction or bridge a leak. Endoscopic treatment may restore swallowing, relieve biliary obstruction, or support drainage without an open operation. These devices have their own failure modes: stents can migrate, become blocked, or exert pressure on surrounding tissue. Some are intended for removal, whereas others are used for longer-term palliation or disease management.
Endoscopy also enables drainage and creation of internal access routes. Endoscopic ultrasonography can guide drainage of selected pancreatic fluid collections into the stomach or duodenum. Feeding access can be established by percutaneous endoscopic gastrostomy. Foreign bodies can be retrieved with nets, baskets, forceps, or snares. Each intervention combines visualization with a mechanical task, and success depends partly on whether the object or target can be safely approached and manipulated within the available space.
A further group of procedures uses controlled passage through the gastrointestinal wall or a submucosal tunnel. Peroral endoscopic myotomy treats selected esophageal motility disorders by dividing muscle fibers through a tunnel created beneath the mucosa. Similar principles have expanded the boundary between endoscopy and surgery. Endoscopic treatment is not inherently equivalent to definitive treatment, however. A resected lesion may show deeper invasion or other features requiring additional therapy, and unsuccessful hemostasis or drainage may require interventional radiology or an operation.
Preparation, sedation, and procedural workflow
Preparation is tailored to the organ, procedure, and intended intervention. Upper gastrointestinal endoscopy commonly requires an empty stomach to improve visibility and reduce the risk of aspiration. Colonoscopy requires removal of stool through a bowel-cleansing regimen. The quality of cleansing affects lesion detection, procedural completion, and whether an examination provides a reliable basis for subsequent decisions. Airway, urinary, gynecological, and joint procedures have different preparation requirements, reflecting their distinct anatomy and infection risks.
Pre-procedure assessment includes the clinical indication, relevant medical history, allergies, previous procedures, and conditions that affect sedation or intervention. Medicines that alter blood coagulation are especially relevant when tissue cutting or other high-bleeding-risk treatment is planned. Management depends on both the procedural bleeding risk and the risk of thrombosis associated with interruption. This is not a uniform rule across all endoscopy: inspection without intervention and extensive tissue resection have different risk profiles.
Sedation ranges from none to minimal or moderate sedation, deep sedation, and general anesthesia. Some examinations use topical local anesthetic alone, while complex or prolonged procedures may require a deeper level of anesthesia and additional airway support. Sedation exists on a continuum; a patient can become more deeply sedated than initially intended. Monitoring therefore concerns ventilation, oxygenation, circulation, and responsiveness, with the specific equipment and personnel determined by the procedure and sedation arrangement.
During the examination, the team identifies anatomical landmarks, records findings, manages irrigation and suction, and handles accessories and specimens. The operator’s view depends partly on coordinated assistance: water delivery can clear a lens, suction can expose a bleeding point, and correct accessory positioning can determine whether a treatment succeeds. Procedural documentation generally records the indication, extent reached, preparation quality where relevant, lesions, interventions, specimens, and immediate adverse events.
Recovery is a distinct phase rather than simply the end of instrument use. Sedation-related impairment can persist after a patient appears awake, and some complications become apparent only after observation or discharge. Endoscopy services therefore incorporate recovery monitoring, written procedural findings, communication of specimen results, and systems for identifying delayed events. A visually completed procedure and a completed episode of care are not identical: pathology review, device removal, or reassessment may remain outstanding. These organizational steps connect the technical procedure to continuity of care without assuming that every examination produces a definitive answer.
Complications and limits of safety
The risks of endoscopy vary substantially between a brief diagnostic examination and a complex therapeutic procedure. Relevant factors include the organ entered, the intervention performed, the patient’s physiological reserve, sedation, and the presence of obstruction, inflammation, or altered anatomy. Adverse-event rates are therefore meaningful only when tied to a defined procedure and population. A single overall complication percentage would obscure important differences between inspection, biopsy, resection, ductal intervention, and procedures requiring passage through tissue layers.
Cardiopulmonary events can arise from sedation, airway obstruction, reduced breathing, aspiration, or underlying illness. Changes in oxygen saturation, blood pressure, and heart rhythm may occur even when the instrument itself causes no structural injury. This is why procedural safety includes assessment and monitoring as well as manual technique. The relationship between sedation and risk is also influenced by the length and complexity of the procedure and by whether access to the airway is shared with the endoscope.
Bleeding can follow biopsy, resection, dilation, or other therapeutic manipulation. It may occur immediately or after a delay, particularly when a treatment site separates or a vessel becomes exposed. Perforation creates an abnormal opening through the wall of a hollow organ. Its consequences depend on the size and location of the defect, contamination, recognition time, and the patient’s condition. Some defects can be closed endoscopically, whereas others require drainage, surgery, or combined treatment.
Certain procedures have characteristic complications. ERCP can cause pancreatitis, biliary infection, bleeding, or perforation. Capsule retention can occur at an intestinal narrowing and may require endoscopic or surgical retrieval. Thermal treatment can produce deeper injury than is immediately apparent at the surface. Arthroscopy and hysteroscopy have risks related to irrigation fluid, while airway procedures can compromise ventilation or cause bleeding in a confined respiratory passage.
Not all harms are physical injuries during the examination. Incomplete access, poor preparation, missed lesions, inadequate sampling, and misinterpretation can delay diagnosis. Conversely, detection of abnormalities that would never have caused illness can contribute to overdiagnosis and unnecessary downstream procedures in some screening contexts. A normal endoscopic examination does not exclude disease outside the viewed region, beneath the visible surface, or at a microscopic level. Understanding these boundaries is part of assessing both benefit and harm: the procedure provides direct access to particular tissues, not a complete survey of the body.
Infection prevention and instrument reprocessing
Reusable endoscopes present a distinctive infection-control challenge because they combine delicate optical and electronic components with narrow internal channels. After use, these channels can contain blood, mucus, tissue, and microorganisms. Some components cannot tolerate the high temperatures used for routine steam sterilization. Reprocessing therefore requires a validated sequence appropriate to the specific instrument rather than simple external wiping or immersion in a disinfectant.
The sequence for many reusable flexible endoscopes includes immediate pre-cleaning, safe transport, leak testing, meticulous manual cleaning, rinsing, high-level disinfection or sterilization as applicable, drying, and protected storage. Manual cleaning removes organic material that could shield microorganisms from subsequent processing. Brushes and flushing methods must reach the relevant channels and recesses. Automated endoscope reprocessors standardize selected stages, but they do not remove the need for effective cleaning beforehand.
The required processing level depends partly on the tissues contacted. Devices contacting intact mucous membranes are generally treated as semicritical and require at least high-level disinfection, subject to their approved instructions. Instruments entering normally sterile tissues require sterilization. Accessories that penetrate tissue, such as reusable cutting or sampling instruments, must meet the processing requirements appropriate to that contact. Some accessories are supplied for single use and are not intended to enter a reusable-device workflow.
Outbreak investigations have demonstrated that transmission can occur when cleaning or drying is inadequate, equipment is damaged, or instrument design makes contaminated spaces difficult to access. Duodenoscopes have received particular attention because the distal elevator mechanism and surrounding recesses can complicate cleaning. These problems contributed to redesigns, disposable components, and fully disposable devices for selected applications. Moisture remaining in channels can support microbial persistence, while bacterial biofilms can make contamination more difficult to eliminate.
Effective prevention also depends on organization. Staff competency, correct chemicals and contact times, equipment maintenance, instrument tracking, and separation of contaminated and clean work areas all contribute to safety. Traceability links an individual instrument and its processing history to the procedures in which it was used. Infection transmission is distinct from a patient developing infection from their own microorganisms after an intervention, but both are relevant to patient safety. The former centers on preventing cross-contamination; the latter also involves the biological consequences of entering obstructed ducts, disrupting barriers, or manipulating infected spaces.
Quality measurement and emerging technologies
Endoscopy quality includes appropriate use, technical performance, accurate interpretation, effective treatment, and reliable follow-up. Procedure completion alone is an incomplete measure. In colonoscopy, reaching the cecum documents anatomical extent, but adequate cleansing and careful mucosal inspection are also necessary. The adenoma detection rate—the proportion of eligible examinations in which at least one adenoma is found—is an established performance measure associated with the risk of colorectal cancer developing after colonoscopy. Its interpretation requires attention to the examined population and the definition of eligible procedures.
Quality measures differ across specialties and interventions. They may include adequate documentation of landmarks, successful tissue acquisition, complete lesion removal, duct clearance, adverse-event rates, and unplanned subsequent treatment. Structured reporting makes these outcomes easier to compare, but measurement can be distorted by incomplete records or differences in case complexity. Quality of care also includes communication and continuity: a technically excellent examination can still fail clinically if an important pathology result is not acted upon.
Training combines anatomical knowledge, image interpretation, instrument handling, therapeutic technique, and recognition of complications. Simulators and supervised procedures allow skills to be developed without treating procedure counts as a complete substitute for demonstrated competence. Advanced techniques such as submucosal dissection or complex ultrasound-guided intervention require skills beyond those used in routine diagnostic examination. Team performance, including nursing, anesthesia, reprocessing, and recovery functions, is integral to procedural quality.
Artificial intelligence has introduced systems for computer-aided detection and characterization. In colonoscopy, a detection system can highlight image regions that may contain polyps, directing the operator’s attention to a possible lesion. Characterization systems attempt to estimate lesion type from visual patterns. These tasks are different: locating an abnormality does not establish its histology. Studies have shown improvements in some detection outcomes, but effects on long-term cancer outcomes, unnecessary resections, workflow, and performance across different populations require separate evaluation. Validation against representative clinical data is therefore essential.
Other developments include single-use endoscopes, smaller instruments, magnetically controlled capsules, improved closure devices, and robotic assistance. Each involves trade-offs. Single-use instruments avoid reprocessing between patients but introduce procurement, waste, and environmental considerations. Smaller devices may improve access while limiting channel size or image performance. Robotic systems may improve stability or control, but additional complexity and cost must be assessed against measurable clinical benefit. The relevant evidence extends beyond image quality or technical feasibility to treatment success, complications, patient experience, resource use, and access within the wider health system.