Healthdirect Free Australian health advice you can count on.

Medical problem? Call 1800 022 222. If you need urgent medical help, call triple zero immediately

healthdirect Australia is a free service where you can talk to a nurse or doctor who can help you know what to do.

beginning of content

Gastroscopy

7-minute read

Key facts

  • A gastroscopy is a procedure to see inside your oesophagus (food pipe), stomach and first part of your small intestine.
  • Small biopsies (tissue samples) can be taken during a gastroscopy.
  • A gastroscopy is usually done under sedation.
  • Your doctor will talk with you about how to prepare for the procedure and what happens afterwards.

What is a gastroscopy?

A gastroscopy is a procedure to look inside your:

  • oesophagus (food pipe)
  • stomach
  • first part of your small bowel (small intestine)

A gastroscopy is also known as an upper endoscopy. It involves having a thin, flexible tube with a camera on the end (called an endoscope) put into your mouth and moved down into your stomach.

A gastroscopy is usually done as a day procedure in hospital.

Illustration showing some of the main organs that form the digestive system.
Illustration showing some of the main organs that form the digestive system.

When is a gastrosopy needed?

Your doctor may recommend a gastroscopy to investigate symptoms, such as:

It can show if there is inflammation, bleeding, an ulcer or growth in your upper digestive tract. A gastroscopy is also done as part of the testing for coeliac disease.

Sometimes a gastroscopy is done to treat certain conditions. It may be done to:

How do I prepare for a gastroscopy?

Your doctor will check if you have any allergies before the procedure. They will also ask about your other medical conditions.

You should ask your doctor whether to take your regular medicines before the procedure.

If you are having a gastroscopy, you will need to have an empty stomach. This is so that your doctor can see clearly and so you do not vomit. You should not eat or drink for 6 hours beforehand. Your doctor will advise you about the specific details before the procedure.

Before the procedure, you may be given a local anaesthetic throat spray to numb your throat. You may also need to wear a special mouthguard to help protect your teeth during the procedure. Dentures (false teeth) may need to be removed.

ASK YOUR DOCTOR — Preparing for an appointment? Use the Question Builder for general tips on what to ask your GP or specialist.

What happens during a gastroscopy?

A gastroscopy usually takes about 15 to 30 minutes.

If you are having a gastroscopy, you will usually be sedated. Most people don’t remember anything about the procedure afterwards.

Your doctor will direct the endoscopy tube through your mouth and down into your stomach and first part of your small intestine. As the endoscope moves along, your doctor can see images from inside your digestive system on a video monitor.

Your doctor can also take tissue samples (biopsies), and can remove polyps.

What can I expect after the procedure?

After a gastroscopy, you will be in the recovery area for a short while, where you will be monitored.

You might:

  • feel drowsy from the sedation
  • have a slightly sore throat
  • feel slightly bloated

You are usually allowed to eat and drink after the procedure.

You should have a friend or relative take you home after the procedure and stay with you. For the first 24 hours after a gastroscopy you should NOT:

  • drive
  • travel alone on public transport
  • operate machinery
  • sign legal documents
  • drink alcohol

You may need to make an appointment with your doctor to discuss your results.

Watch the videos below to learn how an upper gastrointestinal endoscopy and upper gastrointestinal endoscopy and dilatation are done.

EIDO Healthcare Australia - Upper GI Endoscopy


EIDO Healthcare Australia - Upper GI Endoscopy and Dilatation


Complications of a gastroscopy

Serious complications are rare with a gastroscopy. But possible complications can include:

  • bleeding
  • a tear of your stomach or bowel lining — this is more likely when the gastroscopy involves a biopsy or removal of polyps
  • complications from sedation
  • chest infection

Contact your doctor or hospital straight away if you have any symptoms that worry you after the gastroscopy, such as:

  • fever
  • worsening pain in your throat, chest or tummy
  • difficulty swallowing

Resources and support

The Gastroenterological Society of Australia (GESA) has information on gastroscopy.

You can also call the healthdirect helpline on 1800 022 222 (known as NURSE-ON-CALL in Victoria). A registered nurse is available to speak with 24 hours a day, 7 days a week.

Learn more here about the development and quality assurance of healthdirect content.

Last reviewed: March 2024


Back To Top

Need more information?

These trusted information partners have more on this topic.

Top results

Gastroscopy (endoscopy)

Gastroscopy (or endoscopy) is an examination of the oesophagus (gullet or food pipe), stomach and duodenum (upper part of the small bowel) using a flexible telescope called a gastroscope.

Read more on WA Health website

Endoscopy | Cancer Council

What is an endoscopy or gastroscopy? Find out how it helps a diagnosis, what to expect and how can you prepare for it. Find out more here

Read more on Cancer Council Australia website

ANZCA | Anaesthesia for endoscopy

Endoscopy procedures, which include gastroscopy and colonoscopy, are frequently performed as day-stay cases.

Read more on ANZCA – Australian and New Zealand College of Anaesthetists website

Gastroscopy: examination of the upper digestive tract - myDr.com.au

Gastroscopy is an examination of the upper digestive tract (the oesophagus, stomach and duodenum) using an endoscope - a long, thin, flexible tube containing a camera and light.

Read more on MyDoctor website

Peptic ulcers: diagnosis and tests - myDr.com.au

Tests that help diagnose a peptic ulcer include gastroscopy and Helicobacter pylori tests. The best test depends on your age and symptoms. 

Read more on MyDoctor website

Endoscopy - myDr.com.au

Endoscopy is a medical procedure where a doctor uses a thin flexible lighted tube inserted into the body to look for, diagnose, treat and prevent disease.

Read more on MyDoctor website

Stomach and oesophageal cancer

Information about stomach and oesophageal cancer

Read more on WA Health website

Coeliac disease in children

Coeliac disease is the immune system reacting to gluten, damaging the gut lining. Learn the symptoms and how to test your child to manage the disease.

Read more on Pregnancy, Birth & Baby website

Helicobacter pylori test: simple test for stomach germ - myDr.com.au

Helicobacter pylori infection of the stomach can be diagnosed using several different tests, including a breath test.

Read more on MyDoctor website

ANZCA | About anaesthesia

Most of us will need the care of an anaesthetist at some stage in our lives. We've created this information to help you feel more relaxed about having surgery under anaesthesia.

Read more on ANZCA – Australian and New Zealand College of Anaesthetists website

Healthdirect 24hr 7 days a week hotline

24 hour health advice you can count on

1800 022 222

Government Accredited with over 140 information partners

We are a government-funded service, providing quality, approved health information and advice

Australian Government, health department logo ACT Government logo New South Wales government, health department logo Northen Territory Government logo Queensland Government logo Government of South Australia, health department logo Tasmanian government logo Victorian government logo Government of Western Australia, health department logo

Healthdirect Australia acknowledges the Traditional Owners of Country throughout Australia and their continuing connection to land, sea and community. We pay our respects to the Traditional Owners and to Elders both past and present.