VitMode

Gastroscopy (Upper GI Endoscopy)

An endoscopic examination of the esophagus, stomach, and duodenum that provides a direct view of the upper gastrointestinal lining, allowing tissue sampling and therapeutic procedures within the same session.

VMRedakcja VitMode — Badania i biomarkeryEditorial review: Redakcja VitMode — Hormony i endokrynologiaUpdated: September 24, 2026
Strong evidence

Number of studies

2

Safety

Requires caution

Time to effects

Not applicable — gastroscopy is a diagnostic (and potentially therapeutic) test, not a pharmacological intervention.

Who it's for

People with difficulty swallowing, persistent vomiting, or unintentional weight lossPeople with chronic, treatment-resistant gastroesophageal reflux disease, especially after age 45–50Patients with suspected upper GI bleeding or unexplained iron-deficiency anemiaPatients with treatment-resistant or recurrent Helicobacter pylori infection requiring structural mucosal assessment
Table of contents

TL;DR

An endoscopic examination of the esophagus, stomach, and duodenum that provides a direct view of the upper gastrointestinal lining, allowing tissue sampling and therapeutic procedures within the same session.

  • →The only test that directly visualizes and simultaneously biopsies the mucosa of the esophagus, stomach, and duodenum
  • →Detects early precancerous changes (Barrett's esophagus, gastric intestinal metaplasia) not visible on imaging tests
  • →Enables immediate endoscopic hemostasis for active upper GI bleeding, without the need for surgery
Test typeUpper gastrointestinal endoscopy (esophagus, stomach, duodenum) with biopsy capability
Level of evidenceStrong — first-line test for alarm symptoms and upper GI disease workup
Target groupPeople with dysphagia, chronic reflux, GI bleeding, or unexplained anemia
Scope of the examEsophagus, stomach, and the bulb and descending portion of the duodenum
DurationUsually 5–15 minutes, longer with therapeutic procedures
StatusInvasive procedure performed in medical facilities, under local throat anesthesia with optional intravenous sedation

Understand

Overview

Gastroscopy, also called esophagogastroduodenoscopy (EGD) or upper gastrointestinal endoscopy, involves inserting a flexible, camera-tipped endoscope through the mouth to directly visualize the mucosal lining of the esophagus, stomach, and the initial portion of the duodenum. Like colonoscopy for the lower GI tract, gastroscopy is both a diagnostic and therapeutic procedure — through the endoscope's working channel, doctors can take tissue samples for histopathology, test for Helicobacter pylori, control bleeding, or dilate an esophageal stricture.

The clinical value of gastroscopy comes from being the only test that directly visualizes and simultaneously biopsies the upper GI mucosa — no imaging test (abdominal ultrasound, CT scan) offers comparable resolution for assessing subtle mucosal changes such as early ulcers, erosions, intestinal metaplasia of the esophageal lining (Barrett's esophagus), or suspicious neoplastic lesions. Unlike functional tests such as esophageal pH monitoring, gastroscopy assesses tissue structure rather than function, making the two types of tests complementary rather than interchangeable.

The test is ordered in a wide range of clinical contexts. The most common indication involves so-called alarm symptoms accompanying upper GI complaints — difficulty swallowing (dysphagia), unintentional weight loss, persistent vomiting, gastrointestinal bleeding (coffee-ground vomiting, black tarry stools), or iron-deficiency anemia without an obvious cause. Another common indication is chronic, treatment-resistant gastroesophageal reflux disease, especially in people over 45–50 or with additional risk factors, where the goal is to rule out Barrett's esophagus or early neoplastic changes. Gastroscopy is also routinely ordered when Helicobacter pylori infection is resistant to treatment, for monitoring known precancerous stomach lesions, and for urgent workup of acute upper GI bleeding.

On the practical side, preparation for gastroscopy is much simpler than for colonoscopy — it only requires fasting, usually for 6–8 hours before the procedure, without any laxative preparation. The procedure itself usually takes 5–15 minutes and can be done with local throat anesthesia (a spray) with or without additional intravenous sedation, depending on patient and facility preference. Afterward, it's recommended to avoid eating and drinking for an hour or two due to the throat numbing, to prevent aspiration. The doctor usually shares macroscopic findings right away, while histopathology results for any biopsies are typically available after 1–2 weeks.

Several recurring misconceptions surround gastroscopy. Some patients worry the procedure will involve gagging or vomiting throughout its entirety — in reality, modern, thin endoscopes and local throat anesthesia significantly reduce the gag reflex, and for most patients the experience comes down to a few uncomfortable but brief moments at the start of the exam. Another misconception is treating reflux symptoms as sufficient grounds for self-diagnosis without a test — many more serious conditions, including early neoplastic changes, can produce symptoms identical to ordinary heartburn.

Gastroscopy remains the first-line test for alarm symptoms and chronic upper GI complaints, combining the precision of direct visual mucosal assessment with the ability to immediately take diagnostic material or perform a therapeutic intervention. The decision about indications for the test, its urgency, and the frequency of any follow-up exams is worth discussing individually with your doctor, taking into account the nature of your symptoms, age, and individual risk factors.

Mechanism of action

The diagnostic effectiveness of gastroscopy rests on several complementary technical mechanisms. The first is the endoscope's construction itself — a flexible tube, usually 9–11 millimeters in diameter, equipped with a light source, a high-resolution camera at the distal tip, and a working channel, is inserted through the mouth or, in the transnasal variant, through the nose, and then advanced through the esophagus and stomach to the duodenal bulb and descending portion. Local throat anesthesia with a lidocaine spray suppresses the gag reflex triggered by mechanical stimulation of the posterior pharyngeal wall as the scope is inserted.

The second factor is insufflation of air or carbon dioxide into the GI lumen, which — as in colonoscopy — stretches the walls of the esophagus and stomach, flattening their folds and enabling full mucosal visualization, including areas tucked into the folds of the stomach wall, particularly along the greater curvature and near the pylorus.

The third mechanism is a systematic, standardized examination path covering every anatomical segment of the upper GI tract — the esophagus (with particular attention to the gastroesophageal junction, where Barrett's esophagus develops), the fundus, body, and antrum of the stomach, and then the duodenal bulb and descending portion. Modern endoscopes use narrow-band imaging (NBI) and optical magnification, which reveal subtle changes in vascular pattern and mucosal architecture, increasing sensitivity for detecting early neoplastic changes and intestinal metaplasia that are hard to spot under white light.

The fourth mechanism, decisive for the test's clinical value, is the ability to take tissue and perform therapeutic procedures through the scope's working channel within the same session. Biopsy forceps take small mucosal fragments for histopathological evaluation or a rapid urease test detecting Helicobacter pylori, while in cases of active bleeding, the same working channel allows tools for endoscopic hemostasis — mechanical clips, thermal probes, or vessel-constricting solutions — to be introduced without a separate surgical procedure.

1

Scope insertion and local throat anesthesia

A flexible endoscope is inserted through the mouth or nose after a throat-numbing spray suppresses the gag reflex.

2

Insufflation and stretching of the GI wall

Air or carbon dioxide stretches the esophagus and stomach, flattening folds and exposing the mucosa for assessment.

3

Systematic assessment of every segment

The doctor examines the esophagus, stomach, and duodenum in turn following a standardized path, using narrow-band imaging to detect subtle changes.

4

Biopsy and therapeutic intervention in the same session

The scope's working channel enables tissue sampling, an H. pylori test, or immediate hemostasis in cases of active bleeding.

Evidence: strong — based on 2 studies in this database.

Benefits

The only test that directly visualizes and simultaneously biopsies the mucosa of the esophagus, stomach, and duodenum
Detects early precancerous changes (Barrett's esophagus, gastric intestinal metaplasia) not visible on imaging tests
Enables immediate endoscopic hemostasis for active upper GI bleeding, without the need for surgery
Combines Helicobacter pylori testing with structural mucosal assessment in the same procedure
Relatively short duration and simpler preparation compared with lower GI endoscopy

Common myths

MythGastroscopy always involves a strong gag reflex and significant discomfort throughout the entire procedure.

FactLocal throat anesthesia and modern, thin endoscopes significantly limit the gag reflex — for most patients, only the brief moment of scope insertion is truly uncomfortable.

MythHeartburn symptoms can always be self-diagnosed and treated without a test.

FactMany more serious upper GI conditions, including early neoplastic changes and Barrett's esophagus, can produce symptoms indistinguishable from ordinary heartburn without an endoscopic exam.

MythGastroscopy is only needed for severe abdominal pain.

FactThe test is also ordered for seemingly mild symptoms, such as chronic mild anemia or long-standing, nonspecific upper abdominal discomfort, which can signal a more serious underlying condition.

MythYou can't function normally for the entire day after a gastroscopy.

FactWithout intravenous sedation, patients can usually return to normal activity almost immediately once the throat anesthesia wears off; driving restrictions mainly apply after sedation is used.

Forms & variants

Gastroscopy (Upper GI Endoscopy) comes in several forms that differ in bioavailability and use case — the form you pick genuinely matters for how effective the supplementation is.

Standard diagnostic gastroscopy

Visual assessment of the esophageal, gastric, and duodenal mucosa with the option to take biopsies for histopathology.

Best for: Symptom workup, Barrett's esophagus screening, and Helicobacter pylori assessment

Therapeutic gastroscopy

A procedure combined with hemostasis for bleeding, dilation of a stricture, or removal of a polyp through the scope's working channel.

Best for: Treating active bleeding, esophageal strictures, or polypoid lesions in the same session

Transnasal gastroscopy with a thin scope

A variant using a thinner endoscope inserted through the nose instead of the mouth, usually without intravenous sedation.

Best for: People with a strong gag reflex or a preference for a procedure without sedation

Check your profile

Not sure which supplements actually make sense for you?

Answer a few short questions about your lifestyle, diet, sleep, and goals. VitMode will build your profile and show supplements worth considering — with reasoning and evidence strength.

Takes about 2 minutesBased on scientific evidence

Recommendations take your answers and the strength of the scientific evidence into account. A supplement's popularity has no bearing on whether it gets recommended.

Practice

Frequently asked questions

The procedure itself isn't painful, though it triggers a transient gag reflex in some patients as the scope is inserted. Local throat anesthesia and optional intravenous sedation significantly reduce discomfort.

Yes, it's usually recommended to avoid eating for at least 6–8 hours and drinking for 2–4 hours before the test, so the stomach is empty and allows full mucosal visualization.

The diagnostic procedure itself usually takes 5–15 minutes, though this can extend when biopsies or therapeutic procedures, such as bleeding control, are performed.

If local throat anesthesia was used, it's recommended to wait usually 1–2 hours before eating and drinking, until the numbing wears off and the normal swallowing reflex returns, to prevent aspiration.

Yes, it's one of the most effective tests for detecting early neoplastic and precancerous changes in the stomach and esophagus, especially combined with modern narrow-band imaging and targeted biopsy of suspicious areas.

What to combine with

Good combinations

Proton Pump Inhibitors (PPIs) — Proton pump inhibitor therapy and gastroscopy are often considered together for chronic reflux disease — the test can assess treatment effectiveness and rule out complications

Vitamin B12 — Chronic atrophic gastritis detected on gastroscopy can impair vitamin B12 absorption, so the two tests are sometimes ordered together

Colonoscopy — For unexplained gastrointestinal bleeding or anemia, doctors often order both endoscopic tests to assess the upper and lower GI tract together

Safety

Side effects & contraindications

Possible side effects

Transient throat discomfort, hoarseness, or irritation after the procedure, usually resolving within a day

Bloating and a feeling of fullness in the upper abdomen related to residual air in the stomach

Risk of bleeding after biopsy or a therapeutic procedure, usually minor and self-limiting

Rare risk of esophageal or gastric perforation, estimated at under 1 in 1,000 diagnostic procedures, higher with therapeutic interventions

Reactions related to intravenous sedation, if used — drops in blood pressure, respiratory depression, requiring monitoring during the procedure

Contraindications

Suspected gastrointestinal perforation or severe, unstable peritonitis

Cardiopulmonary instability precluding safe performance of the procedure and any sedation

Recent heart attack or another acute, unstabilized cardiovascular condition — usually requires postponing the procedure until stabilized

Suspected large thoracic aortic aneurysm in close proximity to the esophagus

Lack of patient cooperation preventing safe insertion and maintenance of the endoscope

Interactions

Anticoagulants and antiplatelet drugs (warfarin, non-vitamin K oral anticoagulants, clopidogrel) may require temporary discontinuation before a planned biopsy or therapeutic procedure

Proton pump inhibitors taken before the test can mask ulcers or reduce the sensitivity of the urease test for Helicobacter pylori, so temporary discontinuation is sometimes recommended before a test aimed at diagnosing infection

Insufficient fasting time before the test increases the risk of aspirating gastric contents during anesthesia or sedation

Antacids taken shortly before the test can hinder mucosal assessment by leaving residue on its surface

Intravenous sedation (propofol, benzodiazepines, opioids) interacts with other centrally acting drugs and requires an escort after the procedure

A recently eaten meal or drink, even a small amount of fluid, may force the procedure to be postponed due to risk of incomplete visualization and aspiration

Is it worth taking?

Who it's for

  • People with difficulty swallowing, persistent vomiting, or unintentional weight loss
  • People with chronic, treatment-resistant gastroesophageal reflux disease, especially after age 45–50
  • Patients with suspected upper GI bleeding or unexplained iron-deficiency anemia
  • Patients with treatment-resistant or recurrent Helicobacter pylori infection requiring structural mucosal assessment

Not for

  • Suspected gastrointestinal perforation or severe, unstable peritonitis
  • Cardiopulmonary instability precluding safe performance of the procedure and any sedation
  • Recent heart attack or another acute, unstabilized cardiovascular condition — usually requires postponing the procedure until stabilized
  • Suspected large thoracic aortic aneurysm in close proximity to the esophagus
  • Lack of patient cooperation preventing safe insertion and maintenance of the endoscope

Evidence

Worth knowing

Gastroscopy is the only test that allows simultaneous visual assessment and biopsy of the esophageal, gastric, and duodenal mucosa in one procedure.

Modern endoscopes with narrow-band imaging (NBI) increase detection of early metaplastic and neoplastic changes not visible under white light.

The urease test for Helicobacter pylori can be performed on the same mucosal sample taken during the exam, without a separate procedure.

The transnasal variant with a thinner endoscope allows some patients to have the procedure without intravenous sedation and return to daily activity faster.

Studies

The diagnostic yield of upper endoscopy is significantly higher when the test is performed according to appropriate clinical indications, particularly for gastrointestinal bleeding and dysphagia.

Zullo A et al., Digestive and Liver Disease, 2019

ACG Clinical Guideline: Upper Gastrointestinal and Ulcer Bleeding

Strong evidence

Laine L, Barkun AN, Saltzman JR, Martel M, Leontiadis GI · American Journal of Gastroenterology · 2021

American College of Gastroenterology guidelines on the role of urgent gastroscopy and endoscopic hemostasis methods in diagnosing and treating upper gastrointestinal bleeding.

View study

Diagnostic yield of upper endoscopy according to appropriateness: A systematic review

Moderate evidence

Zullo A, Manta R, De Francesco V, Fiorini G, Hassan C, Vaira D · Digestive and Liver Disease · 2019

A systematic review showing that gastroscopy's diagnostic yield is significantly higher when the test is ordered according to appropriate clinical indications, particularly for bleeding and dysphagia.

View study

Sources & bibliography

The PubMed identifiers in this knowledge base were checked against NCBI records (October 2026). If you spot an error in a source, please let us know via the contact form.

Compare with similar entries

About the authors of this entry

VM

Author

Redakcja VitMode — Badania i biomarkery

Editorial team

VitMode Editorial — Lab Tests and Biomarkers is the VitMode editorial team responsible for: laboratory tests, interpreting results and ageing biomarkers. The team has no individual bylines — texts are prepared by VitMode editors from primary sources (clinical trials, meta-analyses, guidelines). Every cited PubMed paper is automatically checked for a matching identifier, title and publication year. The content is educational and does not replace medical advice. Factual errors can be reported in a comment under the post or through the contact form; corrections are made by the editorial team.

272 publications on this site

VM

Editorial review

Redakcja VitMode — Hormony i endokrynologia

Editorial team

VitMode Editorial — Hormones and Endocrinology is the VitMode editorial team responsible for: hormones, testosterone therapy, the thyroid and metabolism. The team has no individual bylines — texts are prepared by VitMode editors from primary sources (clinical trials, meta-analyses, guidelines). Every cited PubMed paper is automatically checked for a matching identifier, title and publication year. The content is educational and does not replace medical advice. Factual errors can be reported in a comment under the post or through the contact form; corrections are made by the editorial team.

328 publications on this site

Published: September 24, 2026Updated: September 24, 2026

Related entries

Zbliżenie na różowo-białe kapsułki wysypujące się z butelki

Proton Pump Inhibitors (PPIs)

Among the most commonly prescribed drugs in the world, effectively suppressing stomach acid production — but increasingly used chronically for longer than clinical guidelines suggest.

LekiStrong evidence
Ampułki z lekiem na białej powierzchni

Vitamin B12

The only vitamin the body can store in the liver for years — yet its deficiency is often mistaken for dementia, depression or plain fatigue, because neurological changes can precede any abnormality in a standard blood count by years.

SuplementyStrong evidence
Świeżo umyte liście szpinaku z kroplami wody na durszlaku

Ferritin

An iron-storage protein whose blood level is the best available indicator of the body's iron stores — though it can be falsely elevated by inflammation, which complicates straightforward interpretation.

BiomarkeryStrong evidence
Zespół medyczny pracujący na sali zabiegowej przy nowoczesnym sprzęcie

Colonoscopy

An endoscopic examination of the entire large intestine that lets doctors find and immediately remove polyps before they can turn into cancer — the only widely available screening test that combines diagnosis and treatment in a single procedure.

DiagnostykaStrong evidence
Zbliżenie mężczyzny trzymającego się za klatkę piersiową z dyskomfortem

Gastroesophageal Reflux Disease (GERD)

A chronic disease in which stomach contents flow back into the esophagus often and forcefully enough to cause bothersome symptoms (heartburn, regurgitation, cough) or damage the esophageal lining. One bout of heartburn after a big meal isn't yet a disease — GERD is diagnosed only when episodes are recurring and affect quality of life or lead to complications.

ChorobyStrong evidence
Mężczyzna z elektrodami wykonujący test wysiłkowy na bieżni

VO2 max

The maximum amount of oxygen the body can take up during exercise — one of the strongest, well-documented predictors of lifespan, measurable in a sports diagnostics lab.

DiagnostykaStrong evidence
Lekarz asystujący pacjentowi podczas badania w skanerze rezonansu magnetycznego

MRI (Magnetic Resonance Imaging)

MRI uses a strong magnetic field and radio waves, not ionizing radiation, to produce images with exceptionally high soft-tissue contrast — brain, spinal cord, joints, and internal organs — at the cost of a much longer scan time than CT.

DiagnostykaStrong evidence
Sala diagnostyczna ze sprzętem rentgenowskim i stołem badawczym

Mammography

An X-ray examination of the breast that is the primary method for screening detection of breast cancer at an early, asymptomatic stage — the only imaging test with mortality reduction documented in randomized clinical trials.

DiagnostykaStrong evidence

Related articles

Lekarz konsultujący się z pacjentem w nowoczesnym gabineciePoradniki

Helicobacter pylori: Symptoms, Diagnosis, and Treatment of Infection

Helicobacter pylori is a bacterium that colonizes the stomach of nearly half the world's population, in most cases without symptoms. The problem is that in some infected people it leads to chronic inflammation of the stomach lining, peptic ulcer disease, and, in rare cases, gastric cancer — and rising antibiotic resistance means standard treatment increasingly fails. We check how to recognize an infection, when treatment actually reduces gastric cancer risk, and when antibiotic therapy "just in case" misses the point.

VMRedakcja VitMode — Żywienie, suplementy i trening14 min

September 10, 2026

Zbliżenie kłosa pszenicy na poluPoradniki

Celiac Disease vs. Non-Celiac Gluten Sensitivity: How Do They Differ and Get Diagnosed?

"Gluten intolerance" is a term that in practice covers two completely different phenomena: celiac disease — an autoimmune condition with a clear diagnostic test, which likely affects over a million undiagnosed people in the US — and non-celiac gluten sensitivity, whose existence as a reaction specifically to gluten was undermined by the same research team's own follow-up study. This is one of the rare cases in medicine where science openly corrected itself within two years.

VMRedakcja VitMode — Żywienie, suplementy i trening14 min

September 4, 2026

Czerwone jabłka i zielone gruszki w koszachPoradniki

Fructose Intolerance: Symptoms, Breath Test and What to Do After the Result

Bloating, gas and diarrhoea after fruit, apple juice or honey are often labelled 'fructose intolerance'. Behind that label sit two very different conditions: common, usually mild fructose malabsorption in the small intestine, and the extremely rare, genetic and potentially dangerous hereditary fructose intolerance. We explain how they differ, how the hydrogen breath test with fructose works (and why its result must be read with caution), what the research says about dietary management, and when symptoms need prompt medical attention.

VMRedakcja VitMode — Badania i biomarkery12 min

October 22, 2026

Mężczyzna trzyma się za wzdęty brzuchPoradniki

Bloating After Eating: Causes and How to Work It Out Step by Step

Bloating after eating is among the most common digestive complaints, yet it rarely comes down simply to 'too much gas'. Studies show that in many people the amount of gas in the gut is normal, while it is transported and tolerated worse, and the gut reacts with hypersensitivity. We explain the difference between the feeling of bloating and visible abdominal distension, point out the most common causes (irritable bowel syndrome, carbohydrate intolerances, celiac disease, constipation, SIBO) and show in what order to investigate symptoms so as to avoid unnecessary tests and not miss anything serious.

VMRedakcja VitMode — Sen i neurobiologia13 min

October 22, 2026

Wnętrze starej apteki z zabytkowymi butelkami na lekiPoradniki

Stopping PPIs: Is Heartburn After Stopping Rebound, and How to Taper Off

Heartburn after stopping a proton pump inhibitor (omeprazole, pantoprazole, esomeprazole) can be a real phenomenon: in a randomised trial in healthy volunteers, after 8 weeks of esomeprazole 44% of people reported acid-related symptoms, compared with 15% in the placebo group. That does not mean the drug is addictive or that it must always be taken for life, however. We explain the difference between transient rebound and a true relapse of reflux disease, what the guidelines say about coming off the drug (gradual reduction, stopping, on-demand dosing), who should not stop a PPI and when symptoms need investigation.

VMRedakcja VitMode — Żywienie, suplementy i trening13 min

November 3, 2026

Osoba jedząca makaron w kremowym sosie przy stolePoradniki

Coughing After Eating and Choking: Causes and When to Test Swallowing

An occasional choke is normal, but coughing at every meal, a wet voice after eating, recurrent pneumonia or weight loss are reasons to test swallowing. Swallowing problems affect about 1 in 5 older people living at home, and some aspiration is silent. We explain how to tell dysphagia from reflux and other causes, what studies say about screening tests and swallowing imaging (FEES, videofluoroscopy), and when to see a doctor or speech therapist.

VMRedakcja VitMode — Odporność, infekcje i skóra13 min

November 3, 2026

Lekarze i pacjenci w szpitalnym korytarzuPoradniki

Colonoscopy Prep: Low-Residue Diet and How to Take the Bowel Prep

The quality of a colonoscopy depends largely on what happens before it: the diet on the day before and how the bowel prep is taken. European and American guidelines agree that the prep is best split into two doses, that dietary restrictions can be limited to one day, and that a low-fibre diet is an acceptable alternative to clear liquids only. We explain where these recommendations come from, what the meta-analyses show, how low-volume and high-volume preparations differ, how to handle medicines, and what to do when the prep has not worked.

VMRedakcja VitMode — Badania i biomarkery12 min

November 3, 2026

Kobieta leży na łóżku z bólem żołądkaPoradniki

Functional Dyspepsia: Upper Abdominal Pain and Fullness Without an Ulcer — Symptoms, Rome IV Criteria and Treatment

Functional dyspepsia is chronic pain, burning, fullness or early satiety in the upper abdomen that is not explained by an ulcer, a tumour or any other disease visible at gastroscopy. It is diagnosed with the Rome IV criteria after organic causes have been excluded, and treated step by step: H. pylori test-and-treat, a proton pump inhibitor, then low-dose tricyclic antidepressants or a prokinetic. We explain what the meta-analyses show, how large the real effect of each approach is and which symptoms need urgent work-up.

VMRedakcja VitMode — Żywienie, suplementy i trening13 min

October 29, 2026