Endoscopy

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

A doctor or specialist nurse, called an endoscopist does the test. There are many types of endoscopes. The endoscopist uses these to look inside different parts of the body.

The endoscopist can use the camera to take photographs or videos of the areas they are looking at. They can also pass fine surgical instruments through the endoscopes.

The name of the test you have will depend on which part of the body the endoscopist is looking at.

Why do I need an endoscopy?

You might have an endoscopy to help find out what is causing your symptoms. During this test the endoscopist can also take a sample (biopsy Open a glossary item) of any abnormal looking tissue through the endoscope.

Sometimes you might have an endoscopy for treatment. For example, to control bleeding or to put in a stent Open a glossary item.

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 symptoms such as:

  • abnormal bleeding

  • indigestion

  • low levels of iron (iron deficiency anaemia)

  • difficulty swallowing

If you have Barrett's oesophagus Open a glossary item you'll have regular gastroscopies to check for any changes to cells in the lining of your food pipe. The endoscopist looks down the endoscope to see if there are any abnormal looking areas. If any are found they can take biopsies through the endoscope.

Diagram of an endoscopy

Other types of endoscopy include:

  • bronchoscopy to look inside your windpipe (trachea) and bronchi (tubes going into the 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.

  • The Royal Marsden Manual of Clinical Nursing Procedures (10th Edition)
    S Lister, J Hofland and H Grafton
    Wiley-Blackwell, 2020

  • Suspected cancer: recognition and referral
    National Institute for Health and Care Excellence (NICE), 2015 (updated 2025)

Last reviewed: 
10 Oct 2025
Next review due: 
10 Oct 2028

Related links