Doctify logo
For providers
Provider Login

Gastroscopy

Last reviewed: 27/07/26
Medically reviewed by
avatar-image
Dr Sukh Chatu
Gastroenterologist
4.89

Snapshot summary

Gastroscopy, also called an upper endoscopy, is a procedure used to look directly inside your upper digestive system using a thin, flexible camera passed through the mouth.

It allows doctors to examine the oesophagus, stomach and first part of the small intestine, and to take biopsies or treat certain conditions during the same procedure.

Key facts:

  • Usually takes 15 to 30 minutes and is performed as a day-case procedure
  • Can be done with throat spray alone or with sedation for comfort
  • Helps investigate symptoms such as persistent reflux, swallowing difficulties or unexplained pain
  • Allows biopsies, treatment of bleeding and removal of small growths
  • Recovery is quick, but sedation requires 24 hours of rest and no driving

Overview

A gastroscopy, medically known as an oesophago-gastro-duodenoscopy (OGD), allows a specialist to examine the lining of your upper gastrointestinal tract in real time.

The procedure uses a gastroscope, a thin, flexible tube with a high-definition camera. It is gently passed through the mouth and down into the oesophagus, stomach and duodenum. This provides a level of detail that scans alone cannot offer.

Gastroscopy is not only a diagnostic test. During the same procedure, the specialist can take tissue samples called biopsies, treat bleeding areas or remove small growths such as polyps.

Because of this, gastroscopy is considered one of the most accurate and practical ways to investigate upper digestive symptoms and identify conditions early.

Treatment & procedure details

When is a gastroscopy recommended?

A gastroscopy is usually recommended when symptoms suggest a problem in the upper digestive tract, particularly when they are persistent, unexplained or not responding to treatment.

Common reasons include:

  • Difficulty swallowing, called dysphagia, where food feels like it is sticking
  • Ongoing heartburn or reflux despite medication
  • Upper abdominal pain that keeps coming back
  • Unexplained nausea or vomiting
  • Unintentional weight loss
  • Signs of bleeding, such as vomiting blood or black stools
  • Iron-deficiency anaemia, which can sometimes be linked to slow internal bleeding

Gastroscopy may also be used to monitor or manage a known condition. For example, patients with Barrett’s oesophagus may need regular checks, while biopsies can help confirm conditions such as coeliac disease.

In some cases, it is performed to treat a problem during the same procedure, such as controlling bleeding or widening a narrowed oesophagus.

What happens before a gastroscopy?

A gastroscopy is typically carried out in a hospital or specialist clinic. The procedure takes around 15 to 30 minutes, although you should allow a few hours for the full visit.

Your stomach needs to be empty so the specialist can see clearly and reduce the risk of complications. You will usually need to fast for 6 to 8 hours beforehand. Clear fluids may be allowed up to a few hours before, depending on your instructions. Some medications, particularly blood thinners or diabetes treatments, may need adjusting.

You will usually be offered a choice of local anaesthetic throat spray, which numbs the throat while you remain fully awake, or sedation through a vein to help you feel relaxed and drowsy. Sedation does not fully put you to sleep, but many people remember very little of the procedure afterwards.

What happens during a gastroscopy?

You will lie on your left side, with a mouth guard in place to protect your teeth.

The gastroscope is gently passed into your mouth and down your throat. You may be asked to swallow to help guide it. Although this can feel unusual, it does not affect your breathing.

As the scope moves into the stomach, a small amount of air is introduced to allow a clear view. This can cause temporary fullness or bloating.

If needed, biopsies can be taken using tiny instruments passed through the scope. This is painless. Once the examination is complete, the scope is carefully removed.

What should I expect after a gastroscopy?

Recovery depends on whether sedation was used.

If you had throat spray only, you can usually go home shortly after the numbness wears off and resume normal activities the same day.

If you had sedation, you will be monitored for a short period while it wears off. You will need someone to take you home and should rest for the remainder of the day.

A mild sore throat, temporary bloating or wind are common short-term effects. These usually settle within a day or two.

Risks & benefits

Gastroscopy is considered a very safe procedure, but it carries some risks.

Benefits:

  • A direct and highly accurate view of the upper digestive tract
  • Detection of conditions that imaging tests may miss
  • The option to treat some problems immediately, such as stopping bleeding
  • Biopsies to help diagnose conditions, including infections or coeliac disease

Risks:

  • An uncommon reaction to sedation affecting breathing or heart rate, which is monitored closely
  • Bleeding after biopsies or treatment, which is usually minor
  • A very rare perforation, or tear, in the digestive tract lining
  • Uncommon infection or dental damage

Overall, the benefits of diagnosing or treating a potentially serious condition usually outweigh these risks.

Recovery & outlook

Recovery is usually quick, as gastroscopy does not involve surgical incisions. Most people feel back to normal within a day or two, although a mild sore throat can last slightly longer.

You will often receive an initial explanation of the findings on the same day. If biopsies were taken, results usually take one to two weeks.

What happens next depends on the findings. You may be advised to take medication, make dietary changes or attend follow-up monitoring.

When to seek medical help

Seek urgent medical advice if you develop:

  • Severe or worsening chest or abdominal pain
  • Difficulty breathing
  • Vomiting blood or material that looks like coffee grounds
  • Black, tarry stools
  • Fever or chills
  • Severe difficulty swallowing

These symptoms may indicate a complication and should be assessed promptly.

Find a provider

FAQs

Is a gastroscopy painful?

Most people find it uncomfortable rather than painful. Throat spray reduces gagging, and sedation helps you feel relaxed.

Can I brush my teeth before the procedure?

Yes, but avoid swallowing water or toothpaste.

Will I be asleep?

With sedation, you will feel very drowsy and may not remember the procedure, but you are not fully asleep.

How long does sedation last?

The immediate effects wear off within an hour, but you should avoid driving or making important decisions for 24 hours.

Can a gastroscopy detect cancer?

Yes. It allows doctors to see abnormal areas directly and take biopsies to confirm a diagnosis.

References

NHS. Gastroscopy. https://www.nhs.uk/tests-and-treatments/gastroscopy/

Find a provider