An endoscopy is a test that looks inside the body. The endoscope is a long flexible tube which has a tiny camera and light on the end of it. 

There are many types of endoscopes and the doctor uses these to look inside different parts of the body. The name of the test you have will depend on which part of the body the doctor is looking at.

Why you might have it

You are most likely to have an endoscopy to look at the inside of your:

  • food pipe (oesophagus)
  • stomach
  • duodenum, which is the first part of the small bowel that attaches to the stomach

This test is called a gastroscopy or oesophago gastric duodenoscopy (OGD).

You may have this test if you have:

  • abnormal bleeding
  • indigestion
  • low levels of iron (iron deficiency anaemia)
  • difficulty swallowing

If you have Barrett's oesophagus you'll have regular gastroscopies to check for any changes to cells in the lining of your food pipe. 

A doctor or specialist nurse (endoscopist) looks down the endoscope to see if there are any growths or other abnormal looking areas. They can also take samples of any abnormal looking tissue through the endoscope (biopsies).

Diagram of an endoscopy

Other types of endoscopy include:

  • bronchoscopy to look inside your windpipe (trachea) and bronchi (tubes going into lungs)
  • cystoscopy to look inside your bladder
  • hysteroscopy to look inside your womb
  • colonoscopy to look inside your large bowel
  • flexible sigmoidoscopy to look inside the lower part of your large bowel

More information

We have more information on tests, treatment and support if you have been diagnosed with cancer.

Last reviewed: 
15 Mar 2019
  • Oxford handbook of clinical medicine (10th edition)
    M Longmore and others
    Oxford University Press, 2017

  • Suspected cancer: recognition and referral
    National Institute for Health and Care Excellence, 2017

  • The Royal Marsden Manual of Clinical Nursing Procedures (9th Edition)
    L Dougherty and S Lister (Editors)
    Wiley-Blackwell, 2015

  • Cancer: Principles and Practice of Oncology (10th edition)
    VT De Vita, TS Lawrence and SA Rosenberg
    Lippincott, Williams and Wilkins, 2015 

  • Cancer and its management (7th edition)
    J Tobias and D Hochhauser
    Wiley-Blackwell, 2015

Related links