Skip to main content

Camera tests of the gut and bladder

Endoscopy tests: gastroscopy, colonoscopy and cystoscopy explained

An endoscopy uses a thin, flexible tube with a camera to look inside the body without major surgery. This guide explains the main types used in UK practice, including gastroscopy, colonoscopy and cystoscopy, what preparation involves, what sedation and comfort options exist, how long results take, and which symptoms after a procedure need prompt advice.

Last checked: 2026-10-10

Key facts

At a glance.

  • A camera on a flexible tube

    The NHS describes both gastroscopy and colonoscopy as using a thin, flexible tube with a small camera inside it to check the inside of the digestive system.

  • Gastroscopy takes minutes

    The NHS says a gastroscopy should take 15 to 45 minutes, though you might be at the hospital for around 4 hours in total.

  • Colonoscopy needs bowel preparation

    The NHS says you will be given a laxative so your bowels are empty for a colonoscopy, which should take 30 to 45 minutes.

  • Biopsies can be taken

    Samples of cells can be taken during endoscopy without you feeling anything. The NHS says gastroscopy biopsy results can take up to 2 months, or usually within 2 weeks if doctors think cancer is possible.

  • Know the warning signs

    The NHS advises calling 111 or the hospital after a colonoscopy for heavy or worsening bleeding, severe pain or a high temperature, and after a gastroscopy for a high temperature or black, tar-like stools.

What endoscopy means

Endoscopy is the general name for looking inside the body with a camera on a thin tube, called an endoscope. The type of endoscopy is named after the part of the body being examined. Gastroscopy examines the food pipe (oesophagus), the stomach and the first part of the small intestine. Colonoscopy examines the large bowel. Cystoscopy looks inside the bladder.

The attraction of endoscopy is that a doctor can see the lining directly, rather than relying on a blurred outline from an X-ray, and can take a small tissue sample (biopsy) at the same time. Sometimes treatment can be done through the same tube, such as removing a polyp or widening a narrowed section.

Gastroscopy

The NHS says gastroscopy can help find the cause of digestive symptoms such as indigestion, difficulty swallowing, stomach pain, black and sticky stools or vomiting blood. It can also treat problems, for example widening the food pipe, removing growths or stopping bleeding, and it can check for some types of cancer.

Preparation usually means stopping eating at least 6 hours before the test, although small sips of water may be allowed. You will be offered a local anaesthetic spray to numb the throat, sedation through a small tube in the arm, or both. The tube goes through the mouth or nose and down into the stomach. You may feel as if you want to be sick, and the stomach is inflated with air, so you may feel bloated and burp.

A gastroscopy should not be painful, and you can ask for it to be stopped at any time. After sedation you need someone to take you home and stay with you for 24 hours, and the NHS says to avoid alcohol, driving, operating machinery and signing important documents during that time. A sore throat or stomach discomfort is normal and should pass within hours.

Colonoscopy

A colonoscopy checks inside the bowel. The NHS says it is often done to look into symptoms such as bleeding from the bottom or blood in the stool, diarrhoea or constipation that does not go away, or weight loss or tiredness without a clear reason. It is also used to check for growths (polyps), which are common and mostly harmless but can occasionally become cancer, so they are removed and tested if found. It can help assess Crohn's disease, diverticular disease, ulcerative colitis and bowel cancer.

The NHS notes that you will usually be awake. You may be offered painkillers, sedation or gas and air, though not all hospitals offer every option, so it is worth asking in advance. The procedure involves air being pumped in to open the bowel, which can cause bloating and cramps. You may feel bloated or have stomach cramps for 2 to 3 hours afterwards, and a little blood in the stool for a couple of days is common.

Rare risks that the NHS asks staff to explain when seeking consent include a reaction to sedation, heavy bleeding afterwards and a small tear in the bowel.

Cystoscopy

A cystoscopy looks inside the bladder. The NHS says it may be used to check symptoms such as blood in the urine, recurrent urinary tract infections, incontinence, persistent pelvic pain and changes in passing urine. It can also be used to treat some conditions, such as removing bladder stones, and to help diagnose and treat bladder cancer.

A flexible cystoscopy, which is done with local anaesthetic gel, usually takes around 10 to 15 minutes, and you can go home as soon as it is over. A rigid cystoscopy uses a general or spinal anaesthetic and usually takes around 30 minutes. Afterwards you may see a little blood in the urine for a few days and passing urine may sting. The NHS suggests paracetamol or ibuprofen for pain and advises speaking to a GP if symptoms do not settle after a few days.

Comparing the main endoscopy tests

The details below come from the NHS pages for each test. Local departments may vary the exact steps, so follow the instructions in your appointment letter.

Main endoscopy tests as described by the NHS
TestArea examinedUsual comfort optionsTypical duration
GastroscopyFood pipe, stomach and top of the small intestineThroat spray, sedation15 to 45 minutes
ColonoscopyLarge bowelPainkillers, sedation, gas and air (varies by hospital)30 to 45 minutes
Flexible cystoscopyBladder via the urethraLocal anaesthetic gel10 to 15 minutes
Rigid cystoscopyBladder via the urethraGeneral or spinal anaestheticAround 30 minutes

Getting your results

You may be told what the doctor saw before you leave, but any biopsy has to be examined in a laboratory. For a gastroscopy, the NHS says biopsy results can take up to 2 months, although if doctors think cancer is possible you will usually hear within 2 weeks. After a colonoscopy, the NHS says you should get a letter or a call 2 to 3 weeks later, and that you should phone the hospital if you have not heard after 3 weeks.

A normal colonoscopy means no polyps or cancer were found. If polyps were removed, the report explains whether further treatment or a future surveillance colonoscopy is needed. If a bowel condition other than cancer is found, such as piles, Crohn's disease, diverticular disease or ulcerative colitis, you may need further treatment and the GP will discuss next steps.

Most of the time these tests do not find anything alarming, but waiting can be stressful. The NHS lists charities such as Cancer Research UK, Macmillan Cancer Support, Bowel Cancer UK and Crohn's and Colitis UK for support.

Warning signs after an endoscopy

The NHS says to call 111 or the hospital where you had a gastroscopy if you develop a high temperature, feel hot, cold or shivery, or pass dark or black tar-like stools. Call 999 or go to A&E if you keep being sick, vomit blood, are short of breath, or have severe stomach or chest pain, or pain that gets worse.

After a colonoscopy, the NHS says to call 111 or the hospital for heavy bleeding from the bottom or bleeding that is getting worse, severe or worsening stomach pain, or a high temperature. Keep the aftercare instructions you are given, and have someone with you if you were sedated.

NHS and private routes in general terms

On the NHS, endoscopy is usually arranged after a GP referral, with the urgency depending on symptoms. Private hospitals and clinics also offer endoscopy, usually with a referral from a GP or after a consultation. The procedures are broadly the same, but the options for sedation, appointment times and bowel preparation may differ between providers, so it is sensible to ask what is offered and who will review any biopsy.

Frequently asked

Questions people ask.

Quick, plain-English answers to the questions we hear most.

  • Is a gastroscopy painful?

    The NHS says a gastroscopy should not be painful, though you may feel like being sick as the tube passes through the throat and bloated from the air. You can ask for it to be stopped at any time, and sedation or throat spray can be offered.

  • Can I eat before a gastroscopy?

    The NHS says you need to stop eating at least 6 hours before the test, though you may be able to have small sips of water. Your appointment letter will tell you exactly when to stop.

  • What bowel preparation is needed for a colonoscopy?

    The NHS says you will be given a laxative so your bowels are empty for the test, and that you need to stop eating and drinking on the day. Follow the instructions in your appointment letter closely.

  • How long does a colonoscopy take?

    The NHS says it should take 30 to 45 minutes, but you might be at the hospital for around 2 hours from arrival to going home.

  • Can polyps be removed during the test?

    Yes. The NHS says polyps can be removed during a colonoscopy and tested, and that your results will say whether any further tests or treatment are needed.

  • When will I get biopsy results?

    For a gastroscopy the NHS says it can take up to 2 months, or usually 2 weeks if doctors think you might have cancer. For a colonoscopy, you should get a letter or call 2 to 3 weeks later.

  • Can I drive home after sedation?

    No. The NHS says someone must take you home by car or taxi and that you should not drive for 24 hours after sedation. After gastroscopy it also advises no alcohol, operating machinery or signing important documents for 24 hours.

  • Is blood in the urine normal after a cystoscopy?

    The NHS says you may have a small amount of blood in your urine for a few days and it may hurt to pass urine. These symptoms are usually nothing to worry about, but speak to a GP if they do not go away after a few days.

  • Do endoscopies find cancer every time?

    No. The NHS says that for many people a gastroscopy or colonoscopy will not find anything to worry about. The tests are used to look for causes of symptoms, and most findings are non-cancerous.

Where this comes from

Sources and checking.

This guide is for information, not medical advice.

Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.

Published 2026-10-10, next review 2027-10-10.