What should I expect from an ERCP?

Written by: Dr Gavin Johnson
Published: | Updated: 09/05/2023
Edited by: Emily Lawrenson

In those with bile duct problems, and sometimes pancreatic problems, a procedure called ERCP may be recommended as a course of action. Consultant gastroenterologist Dr Gavin Johnson is an expert in the procedure, and here he explains exactly what ERCP is, and what it is used for.


Dr Gavin Johnson runs courses for trainee doctors learning ERCP in both the UK and in Europe, and leads the UK working group in setting the standards for training and competence in ERCP.

What is an ERCP?

ERCP is short for endoscopic retrograde cholangiopancreatography, but simply described, it is a procedure which is used to treat problems related to diseases of bile ducts of the liver, the gallbladder, and the pancreas.



Why is an ERCP performed?

If a patient presents with abdominal pain, jaundice, or evidence of an abdominal infection, imaging such as ultrasound, CT or MRI may show a blockage in the bile duct. The commonest cause is a gallstone that may have come out of the gallbladder, but a cancer of the bile duct or the pancreas can also obstruct the bile duct. An ERCP is the endoscopic procedure by which the bile duct, or pancreatic duct blockage is relieved.



How is an ERCP performed?

An endoscope is a flexible tube with a camera on the end of it, which is able to reach areas inside your body and give the medical professional a clear view of the internal organs or a specific area. In an ERCP, the endoscope is passed down through the mouth and into the stomach, then into the top part of the small intestine, which is called the duodenum. The bile duct and pancreatic duct open through a small nipple in this area known as the ampulla.


The doctor will then insert a very fine wire into the bile duct (or pancreas less commonly), and inject a special type of dye which shows up on an X-ray. X-rays are then taken which mean the doctor can study the bile ducts, and ducts of the pancreas. The ampulla can then be cut or stretched to allow stones to be removed, or special plastic or metal tubes, known as stents to be inserted into the duct.



Is an ERCP painful?

An ERCP is done with heavy sedation or a full anaesthetic so it is usually very well tolerated, but it can cause some discomfort during the procedure, and afterwards too. You are required to lie on your front for the procedure, and a mouthguard is used to protect your teeth.



How long is the ERCP procedure?

ERCPs usually take between fifteen minutes and an hour and a half. The average is about thirty minutes.



What can an ERCP find?

An ERCP can allow your doctor to get more accurate, detailed information about your bile duct, biliary system, or pancreatic ducts. Bile duct stones can be removed with an ERCP, along with obstructions (both non-cancerous and cancerous) and other rarer bile duct diseases.



Does the ERCP procedure have any risks?

An ERCP is widely regarded as a safe procedure but there are very important and potentially serious complications, which is why an ERCP should only ever be done with a strong indication for the need for treatment, and after the patient is made fully aware of the treatment. More serious complications include: 

  • pancreatitis (inflammation of the pancreas)
  • bleeding, or;
  • infection related to the insertion of the dye for X-rays to be taken.


Minor complications include mild abdominal discomfort and a possible sore throat. These usually disappear after a couple of days.



Do I have to stay in the hospital?

Patients can normally go home the same day of the procedure, after being monitored in the clinic or hospital for a few hours. You will know how the procedure went before you go home, but if a biopsy is taken, these results will take longer to come through.


You can resume a normal diet and general everyday activities after you leave the clinic. 



If you're interested in booking an appointment with Dr Johnson, arrange an appointment via his Top Doctors profile

By Dr Gavin Johnson

Dr Gavin Johnson is a leading London consultant gastroenterologist and expert in medical education with over 15 years' experience in his field having trained in Newcastle, Sydney and London. He has an interest in general gastroenterology with an expert interest in interventional endoscopy, and conditions including irritable bowel syndrome (IBS), pancreatic disease, biliary disease, and gallstones.

Dr Johnson has a strong background in medical education, and is the lead for gastroenterology teaching at UCL Medical School as well as the academic lead for year 4 of UCL Medical School and the Director of Undergraduate Education at UCL Hospitals. He is a former editor-in-chief of United European Gastroenterology eLearning. Dr Johnson has published a range of peer-reviewed papers and book chapters, focusing on both gastroenterology and medical education. He is committed to education, organising regular gastroenterology and endoscopy courses. 

Dr Johnson sits on the training committee for the UK Joint Advisory Group of Endoscopy and is leading on setting the UK standards for the certification process for ERCP and EUS.

View Profile

Overall assessment of their patients

  • Related procedures
  • Nutrition
    Food intolerance test
    Eating disorders
    Balloon enteroscopy
    pH monitoring
    Stomach reduction
    Gastric balloon
    Colon cleanse
    This website uses our own and third-party Cookies to compile information with the aim of improving our services, to show you advertising related to your preferences as well analysing your browsing habits. You can change your settings HERE.