Page header image

Endoscopic Retrograde Cholangiopancreatography (ERCP)

What is endoscopic retrograde cholangiopancreatography (ERCP)?

ERCP is a test to examine your liver, gallbladder, bile ducts, and pancreas. Your healthcare provider puts a slim, flexible, lighted tube called an endoscope into your mouth and passes it through the esophagus and stomach into the small intestine. Your provider finds the opening of the bile drainage tube from the liver. This drainage tube is called the common bile duct. It drains bile from the liver and pancreatic juice from the pancreas into the small intestine to help with fat digestion. Your provider passes a small plastic tube into the common bile duct and injects a contrast dye that can be seen with an X-ray exam. The ducts and the pancreas can then be examined for abnormalities. ERCP may be used to remove stones or blockages in the bile ducts by making a cut in the intestine at the opening of the duct to enlarge the opening.

When is it used?

ERCP is used mainly to diagnose and treat gallstones.

Examples of other tests that may be done to look at the liver, gallbladder, bile ducts, and pancreas and to diagnose problems with these organs are:

  • endoscopic ultrasound (EUS), which uses a thin, flexible, lighted tube put through the mouth and into the stomach to bounce high-energy sound waves off the organs to create a picture of the organs
  • magnetic resonance cholangiogram (MRC)
  • CT scan of the abdomen
  • percutaneous transhepatic cholangiogram, which uses X-rays and the injection of a dye.

You should ask your healthcare provider about these choices.

How do I prepare for an ERCP?

  • Your stomach and duodenum must be empty for the procedure to be accurate and safe. You will not be able to eat or drink anything after midnight the night before the test, or for 6 to 8 hours before the test, depending on the time of your test.
  • Tell your provider if you are allergic to any medicines or iodine, which is in the dye.
  • Follow your healthcare provider's instructions about not smoking before and after the procedure.
  • Arrange for someone to drive you home after the exam.
  • Follow any other instructions your healthcare provider gives you.

What happens during the procedure?

The test may be done in an outpatient clinic or hospital.

You will be given a sedative to relax you. The back of your throat will be sprayed with a local anesthetic to prevent gagging on the scope. Your healthcare provider will insert a tube into your mouth, down your throat, and through your esophagus, stomach, and small intestine until it reaches the point at which the common bile duct opens into the intestine (the sphincter of Oddi).

Your healthcare provider will pass a small tube through the scope and inject a contrast dye through the tube into the ducts. This makes the ducts show up clearly on X-rays.

If the exam shows stones, your provider may use a tool to break them and move them into the intestine. Your provider may also enlarge the opening of the sphincter of Oddi by cutting into the muscle wall to allow the stones to pass through to the intestine more easily. Tissue samples may be taken for testing in the lab.

The test takes 30 minutes to 2 hours.

What happens after the procedure?

You will need to stay at the clinic or hospital for 1 to 2 hours until the most of the sedative wears off. If any kind of treatment is done during ERCP, such as removing a gallstone, you may need to stay in the hospital overnight.

After the procedure:

  • Do not eat or drink for at least 1 hour. Your throat may still be numb, causing you to choke if you eat or drink too soon.
  • After 1 hour, try taking small sips of water. Then try other liquids. Once you can swallow easily, you may have solid food.
  • Your throat may feel sore when the anesthetic wears off. This discomfort may last for 3 to 4 days. Throat lozenges and gargling with warm saltwater will help.
  • You may feel bloated and pass a soft bowel movement because of the air and dye used during the test.

Ask your healthcare provider what other steps you should take and when you should come back for a checkup.

What are the benefits of this procedure?

Your healthcare provider may understand your problem better and be able to suggest further care.

You may get relief from the problem. If you have a blockage, your healthcare provider may be able to relieve it without abdominal surgery. Abdominal surgery has more risks, causes more discomfort, and requires a longer hospital stay and greater expense.

What are the risks associated with this procedure?

  • Your esophagus, stomach, intestine or common bile duct may be hurt or punctured.
  • You may develop inflammation in the liver, common bile duct, or pancreas.
  • The procedure may not work: If there is a blockage or if you have stones, your healthcare provider may not be able to clear either one.
  • You may have infection or bleeding.
  • If the muscle needed to be cut, the wall of the duodenum could be injured, which would require an operation to fix.

You should ask your healthcare provider how these risks apply to you.

When should I call my healthcare provider?

Call your provider right away if:

  • You have severe abdominal pain.
  • You feel nauseated.
  • You vomit.
  • You have a temperature over 100°F (37.8°C).

Call during office hours if:

  • You have questions about the procedure or its result.
  • You want to make another appointment.
Developed by RelayHealth.
Published by RelayHealth.
Last modified: 2009-02-04
Last reviewed: 2008-12-15
This content is reviewed periodically and is subject to change as new health information becomes available. The information is intended to inform and educate and is not a replacement for medical evaluation, advice, diagnosis or treatment by a healthcare professional.
© 2009 RelayHealth and/or its affiliates. All Rights Reserved.
Page footer image