An ERCP is a test that allows doctors to look at the pancreas, gall bladder and bile duct. They can take a biopsy during the test.

What is an ERCP?

Doctors may use an ERCP (endoscopic retrograde cholangio-pancreatography) to help diagnose pancreatic cancer, gall bladder cancer or bile duct cancer.

The doctor can take a biopsy during the test. They can also put in a stent to treat jaundice during an ERCP.

The organs inside the abdomen (tummy)

The doctor passes a thin, flexible tube called an endoscope down your throat. This goes down into your stomach and into the first part of the small bowel (duodenum).

Having an ERCP

You should not eat or drink anything for 6 hours before the procedure. This is so your stomach and duodenum are empty. The doctor or nurse will give you a sedative to make you feel relaxed and sleepy. They will also use a local anaesthetic spray to numb your throat. Sometimes, doctors do this test under general anaesthetic (while you are asleep).

Your doctor will look down the endoscope. This helps them find the openings where the bile duct and the pancreatic duct drain into the duodenum. They can inject a dye into these ducts that will show on x-rays. This helps them find any abnormalities or blockages.

Biopsies during an ERCP

If there are any abnormal areas, the doctor will take a biopsy. They will then send the biopsy to the laboratory to be examined under a microscope.

They may put a small brush down the endoscope and take biopsies from the tumour. They will then send the brush with the cells on it to a laboratory, to be tested for cancer.

How we can help

Macmillan Cancer Support Line
The Macmillan Support Line offers confidential support to people living with cancer and their loved ones. If you need to talk, we'll listen.
0808 808 00 00
7 days a week, 8am - 8pm
Email us
Get in touch via this form
Chat online
7 days a week, 8am - 8pm
Online Community
An anonymous network of people affected by cancer which is free to join. Share experiences, ask questions and talk to people who understand.
Help in your area
What's going on near you? Find out about support groups, where to get information and how to get involved with Macmillan where you live.