Gastroscopy: The Red-Flag Symptoms That Make It Urgent — and What the Test Actually Involves

Published: 2 December 2026 12 min read Dr. Youssef Hagag (Physician and Medical Researcher in Clinical Nutrition)

Medically reviewed by: Dr. Shimaa Fouad

This article was translated into English from the Arabic original and reviewed for medical accuracy.

Gastroscopy: The Red-Flag Symptoms That Make It Urgent — and What the Test Actually Involves

The short answer

A gastroscopy — a thin, flexible camera passed through the mouth to look at the food pipe, stomach and the first part of the small bowel [2, 6] — becomes urgent when your symptoms match what doctors call alarm features. The list is short, and it is worth knowing by heart:

Difficulty swallowing, or pain when you swallow.

Vomiting blood, or stools that are black and sticky like tar.

Losing weight without trying, alongside upper abdominal pain, reflux or indigestion.

Vomiting that keeps coming back, or indigestion that does not respond to treatment.

Iron-deficiency anaemia with no obvious explanation.

New, persistent upper-GI symptoms at an older age — the guidelines draw their lines at 55 and 60, as the table below explains.

Guidelines for doctors treat the first two as urgent in their own right: difficulty swallowing at any age triggers a suspected-cancer pathway referral, and so does the combination of being 55 or over with weight loss plus upper abdominal pain, reflux or dyspepsia [1]. Iron-deficiency anaemia without an obvious cause should also be investigated on an urgent basis, because it can come from the digestive tract — and in men and postmenopausal women, a gastroscopy (with a colonoscopy) is generally the first-line investigation [5].

Two honest qualifications before the detail. First, most gastroscopies do not find anything dangerous — they are how a doctor rules out the serious causes, not a sign that one is expected. Second, this page is a guide to how doctors triage these symptoms, not a self-diagnosis tool: the criteria below are the referral criteria doctors use, and the decision about your case belongs to an assessment, not to a checklist.

The alarm features, and how urgent each one is

Alarm feature — Why it matters — How urgent

Difficulty swallowing, or pain on swallowing — The food pipe may be narrowed or diseased; guidelines refer this on a suspected-cancer pathway at any age [1] — Urgent — do not wait and see

Vomiting blood — Bleeding from the food pipe, stomach or duodenum until proven otherwise; guidelines support direct-access endoscopy to assess it [1] — Urgent — same-day medical help

Black, tarry stools — Digested blood from higher up the digestive tract [2] — Urgent — same-day medical help

Weight loss you did not aim for, with upper abdominal pain, reflux or dyspepsia, at 55 or over — This exact combination is a suspected-cancer pathway trigger in the NICE guideline [1] — Urgent referral

Persistent or recurrent vomiting — Especially with weight loss, reflux or upper abdominal pain in someone 55 or over [1] — Prompt assessment

Indigestion that does not respond to treatment, at 55 or over — Treatment-resistant dyspepsia is one of the guideline reasons to look inside directly [1] — Prompt assessment

Upper abdominal pain with low blood count (low haemoglobin) — Pain plus anaemia points the doctor toward the upper digestive tract [1] — Prompt assessment

Iron-deficiency anaemia without an obvious explanation — A recognised presentation of digestive-tract disease, including cancers that cause no other symptoms; urgent GI investigation is recommended [5] — Prompt, on an urgent basis

New dyspepsia at 60 or over — The ACG/CAG guideline suggests investigating new indigestion at this age with an upper endoscopy to exclude organic disease [3] — Booked assessment and endoscopy

A family history of stomach or food-pipe cancer, or childhood in a region where stomach cancer is common — Guidelines allow endoscopy at a younger age when this risk is present [3, 4] — Mention it at your assessment

Notice what the table is doing: it is not "any stomach symptom needs a camera". It is a short list of specific patterns — swallowing, bleeding, weight, vomiting, blood count, age — that change a symptom from "manage and review" to "look inside". Everything else usually starts somewhere simpler, which is the next section.

When a gastroscopy is NOT the first step

Just as important as the alarm list is knowing when the camera is not where doctors start.

The H. pylori test-and-treat pathway. For younger patients with indigestion and no alarm features, the guidelines' first move is a non-invasive test for Helicobacter pylori — a breath test or a stool test — and treatment if it is positive [3, 8]. The British guideline likewise offers non-invasive H. pylori testing to dyspepsia patients who do not need urgent endoscopy [4]. Only if symptoms persist after that, or do not respond to acid-suppression treatment, does the pathway move on. Our clinic's pages on H. pylori treatment and on still feeling bloated after H. pylori treatment cover that pathway in depth.

Blood tests. A full blood count is part of the first assessment in older patients with dyspepsia [4] — it is how iron-deficiency anaemia, one of the alarm features above, is found in the first place. Blood tests answer "is something being lost or inflamed?"; they cannot show the lining of the stomach.

Ultrasound. An abdominal ultrasound is good at gallstones, the liver and the bile ducts — but it cannot see the lining of the food pipe or stomach, cannot take a tissue sample, and a normal ultrasound does not rule out an ulcer or early inflammation. Our article on what an abdominal ultrasound can and cannot detect explains those limits honestly. That is the general rule: each test answers a different question. The gastroscopy's question is "what does the lining actually look like, and can we sample it?" — and when the alarm features point at the lining, no blood test or scan substitutes for looking.

Colonoscopy is a different test. It examines the large bowel, not the stomach. If your questions are about the bowel — screening, bleeding from below, a change in bowel habit — our Q&A on whether IBS needs a colonoscopy is the right starting point, and general abdominal pain has its own triage in our guide to abdominal pain: when to see a doctor. This article stays with the upper digestive tract.

What the test actually involves, step by step

Most people's fear of a gastroscopy is fear of the unknown, so here is the whole of it, in order [2, 6]:

1. You arrive and check in. A nurse goes through your health history and the medicines you take, and checks your pulse, blood pressure and oxygen. Bring a list of your medicines and follow any instructions you were given about taking them. 2. Consent and comfort choices. The team explains the test and its rare risks, and you sign a consent form. You are offered a local anaesthetic spray to numb the back of your throat, sedation through a small tube in your arm to help you relax, or both — sedation is a choice, not a requirement. 3. You lie on your left side. A mouth guard protects your teeth. Your breathing, heart rate, blood pressure and oxygen are monitored throughout. 4. The camera goes in. The thin, flexible tube passes through your mouth and down into the stomach and the first part of the small bowel. It does not block your breathing. Air is puffed in to open the stomach so the doctor can see — this is what causes the bloated feeling and burping. 5. The doctor looks, and may take samples. The lining of the food pipe, stomach and duodenum is examined. If an area needs testing, a tiny tissue sample (a biopsy) is taken through the tube — you do not feel it. 6. It is over quickly. The tube comes out, and you rest in a recovery area. The test itself usually takes somewhere between a quarter of an hour and three quarters of an hour; plan for a few hours at the hospital in total.

A gastroscopy should not be painful [2]. The common sensations are pressure, a gagging feeling as the tube passes the throat — which settles once it reaches the stomach — and bloating from the air. You can ask for the procedure to be stopped at any time.

Preparation: the pattern

Preparation is simple, and the exact instructions always come with your appointment — follow those over anything you read here, including this page.

An empty stomach. You stop eating several hours beforehand — the usual pattern is at least six hours with nothing to eat, with small sips of water allowed until closer to the test — because the doctor needs to see the stomach lining clearly and an empty stomach is safer [2, 6].

Your medicines. Tell the team everything you take, especially blood thinners, diabetes medicines and regular painkillers, and follow their instructions about which to take on the day [2, 6]. Do not stop a prescribed medicine on your own decision.

If you choose sedation, plan the journey home. Sedation stays in the body for around a day: you cannot drive, and you need someone to collect you and stay with you [2]. With throat spray alone, people usually go home unaccompanied much sooner — but wait until the numbness wears off before eating or drinking.

Results and the biopsy pathway

You usually hear the headline result the same day: the doctor or nurse explains what was seen before you leave, and whether anything was treated or sampled during the test [2]. If biopsies were taken, those results take longer — the samples go to a laboratory and are examined under a microscope, and the wait depends on the laboratory and on what is being looked for [2, 6, 7]. A biopsy is not a verdict; it is the routine way of answering "what exactly is this tissue?" — including checking for H. pylori in the stomach lining [6].

Three outcomes cover most cases. The test is normal — which, after investigation, is how functional dyspepsia is defined: real symptoms, no structural cause found [3, 4]. Something treatable and benign is found — inflammation, an ulcer, reflux damage — and the plan becomes treatment and, sometimes, a check that it has healed. Or something needs a further pathway — and then the value of the test is that it was found at the stage of a symptom, not later.

After the test: what is normal, and what is not

A sore throat and some stomach discomfort or bloating for a few hours afterwards are normal and settle on their own [2, 7]. After sedation, rest for the day and do not drive, operate machinery, drink alcohol or sign important documents for 24 hours [2].

Contact the hospital or seek medical help the same day if, after a gastroscopy, you have [2]:

A high temperature, or you feel hot and shivery.

Stools that turn dark or black, like tar.

Shortness of breath.

Vomiting that keeps happening.

And get emergency help immediately for vomiting blood, or severe stomach or chest pain, or pain that is getting worse [2]. These aftercare warnings are rare — the test's serious complications are uncommon [6] — but they are the reason the instructions exist, and they are always worth acting on the same day.

Next step

If you recognise any of the alarm features above — difficulty swallowing, bleeding signs, weight loss you did not plan, vomiting that keeps returning, or an anaemia result you cannot explain — the next step is a GI assessment, not another month of waiting. At La Rose's Maadi branch, gastroenterology and liver assessments are available. An assessment is a consultation and examination: whether a gastroscopy is needed, and where it would be done, is decided from that assessment — this guide makes no claim about where any individual test is performed. Book through WhatsApp and ask about appointment times there. The Maadi branch page has the location details.

Knowledge Centre

How this article was reviewed

This content is for health education and does not replace diagnosis or an individual care plan.

Author
Dr. Youssef Hagag (Physician and Medical Researcher in Clinical Nutrition)
Medically reviewed by
Dr. Shimaa Fouad
Linked medical sources
10
Publication and review history
  1. Published: 2 December 2026
  2. Review record: Medical review recorded
  3. Linked medical sources: 10

Frequently asked questions

It should not be painful [2]. You are offered a spray that numbs your throat, sedation to help you relax, or both. The usual sensations are pressure, a brief gagging feeling as the tube passes the throat, and bloating from the air used to open the stomach. You can ask for the test to be stopped at any time [2].

The test itself usually takes between a quarter of an hour and three quarters of an hour, but plan for a few hours at the hospital from arrival to going home [2]. If you have sedation, you also need someone to collect you and stay with you afterwards [2].

No. Sedation is offered to help you relax, and many people choose it — but a gastroscopy can be done with throat spray alone, and some prefer to stay fully awake and go home sooner [2, 9]. What sedation changes is the afterwards: no driving for 24 hours, and an escort home [2].

The lining itself. A gastroscopy lets the doctor see the food pipe, stomach and duodenum directly and take tissue samples [6]; an ultrasound cannot see that lining, and blood tests show consequences — such as anaemia — rather than causes. When iron-deficiency anaemia has no obvious explanation, guidelines recommend investigating the digestive tract directly, with gastroscopy a first-line test [5].

No — it means the serious structural causes have been looked for and not found, which is exactly what the test was for. Most people investigated for indigestion turn out to have functional dyspepsia: genuine symptoms without a structural cause, defined once endoscopy has found no disease that explains them [3, 4]. A normal result is an answer, and it points treatment in a different, usually simpler, direction.

The same day, if you develop a fever or shivering, black tarry stools, breathlessness, or vomiting that will not stop — and immediately, as an emergency, for vomiting blood or severe or worsening stomach or chest pain [2]. A sore throat and mild bloating for a few hours are normal and settle on their own [2, 7].

Written by

Dr. Youssef Hagag

Physician and Medical Researcher in Clinical Nutrition

Dr. Youssef Hagag is a physician (M.B.B.Ch.) and a published medical researcher.

View profile

Medically reviewed by

Dr. Shimaa Fouad

Physician, Clinical & Therapeutic Nutrition Specialist, ESPEN member

Dr. Shimaa Fouad is a physician specialising in clinical and therapeutic nutrition and weight management, and a member of the European Society for Clinical Nutrition and Metabolism (ESPEN), with more than 18…

View profile

You may also find helpful

Start with a real consultation - book now

Booking ahead is required. Patients are seen in order of arrival.