Doctify logo
For providers
Provider Login

Gastroscopy

Last reviewed: 07/06/26
Medically reviewedLearn more about our editorial process

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 the 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 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 - which 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.

It is not only a diagnostic test. During the same procedure, the specialist can:

  • Take tissue samples (biopsies)
  • Treat bleeding areas
  • 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.

When to consider

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 (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

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

In some cases, gastroscopy is performed not just to diagnose, but to treat problems at the same time, such as controlling bleeding or widening a narrowed oesophagus.

Treatment & procedure details

What to expect from the procedure

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

Preparation

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

Sedation and comfort

You will usually be offered a choice:

  • A local anaesthetic throat spray, which numbs the throat but keeps you fully awake
  • Sedation, given through a vein, which helps you feel relaxed and drowsy

Sedation does not fully put you to sleep, but many people remember very little of the procedure afterwards.

During the procedure

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 a temporary feeling of 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 to expect after surgery

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.

Common short-term effects include:

  • A mild sore throat
  • Temporary bloating or wind

These usually settle within a day or two.

Risks & benefits

Gastroscopy is considered a very safe procedure, but like any medical intervention, it carries some risks.

  • Provides a direct and highly accurate view of the digestive tract
  • Can detect conditions that imaging tests may miss
  • Allows immediate treatment, such as stopping bleeding
  • Enables biopsy for diagnosis, including infections or coeliac disease

Serious complications are rare.

  • Sedation reactions, affecting breathing or heart rate, are uncommon and monitored closely
  • Bleeding can occur after biopsies or treatment but is usually minor
  • Perforation (a tear in the digestive tract lining) is very rare
  • Infection or dental damage can occur but are uncommon

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

Recovery & outlook

Recovery after a gastroscopy is usually quick, as no surgical incisions are involved.

Most people feel back to normal within a day or two, although a mild sore throat can last slightly longer.

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

The next steps depend on what is found. This may include medication, dietary changes, or follow-up monitoring.

When to seek medical help

Although complications are uncommon, it is important to 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. The 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

https://www.healthdirect.gov.au/gastroscopy

https://www9.health.gov.au/mbs/search.cfm?q=gastroscopy&Submit=&sopt=S

https://queenslandgastroenterology.com.au/our-services/gastroscopy/

Find a provider