Endoscopic Retrograde Cholangiopancreatography
Pronounced: en-doh-SKAH-pik REH-troh-grayd koh-LAN-jee-oh-PANG-kree-uh-TAH-gruh-fee
by Daus Mahnke, MD
Endoscopic retrograde cholangiopancreatography (ERCP) is a procedure used to treat and diagnose problems in the liver, gallbladder, bile ducts, and pancreas. ERCP uses endoscopy and x-rays. An endoscopy is the use of a special scope with a camera to view the throat, stomach, and upper intestine.
Reasons for Procedure TOP
This procedure may be done if you are suspected of having:
Possible Complications TOP
Problems from the procedure are rare, but all procedures have some risk. Your doctor will review potential problems, such as:
Some factors that may increase the risk of complications include:
What to Expect TOP
Prior to Procedure
Talk to your doctor about your medications. You may be asked to stop taking some medications up to 1 week before the procedure.
Description of the Procedure TOP
You will lie on your stomach with your head turned to the right. A mouthpiece will be placed in your mouth to help keep it open. Your breathing and heart rate will be monitored. An endoscope will be put into your mouth. The scope will be slowly passed through your throat into your esophagus, stomach, and/or small intestine/duodenum. Air will be passed through the scope to open the small intestine/duodenum to allow the doctor to see better.
The images will be viewed on a video monitor. The scope will be passed into the place where the ducts from the liver and pancreas open into the small intestine.
A tiny tube from the endoscope will then be passed into the opening of the bile and pancreatic ducts. A contrast material will be injected through this tube. The contrast will make the ducts visible on the x-ray. If a gallstone shows up on the images, it may be removed through the scope. Scarring or narrowing within the ducts can also be treated with instruments passed through the scope. Stents may be placed to keep the duct open. Tissue samples may also be taken through the scope for biopsy. The sample will be sent to a lab for further testing.
How Long Will It Take? TOP
It will take 30 minutes-2 hours.
Will It Hurt? TOP
During the procedure, you may feel discomfort in your throat. After the procedure, your throat may be sore for a few days. In addition, you may feel bloated and need to belch.
Average Hospital Stay TOP
If the ERCP is diagnostic, you may go home the same day. If you have other procedures done through the scope, you may need to stay in the hospital overnight.
Postoperative Care TOP
At the Care Center
You will be observed in a recovery area for at least 1 hour before you are sent home.
Rest for the remainder of the day. You can resume your normal diet unless told otherwise by your doctor. Do not drink alcohol or drive for at least 24 hours after the procedure. If you were asked to stop taking certain medications, ask your doctor when to resume taking them.
Call Your Doctor If Any of the Following Occur TOP
Contact your doctor if your recovery is not progressing as expected or you develop complications, such as:
If you think you have an emergency, call for emergency medical services right away.
American Gastroenterological Association
American Society for Gastrointestinal Endoscopy
Canadian Digestive Health Foundation
Cohen S, Bacon BR, et al. National Institutes of Health State-of-the-Science Conference Statement: ERCP for diagnosis and therapy, January 14-16, 2002. Gastrointest Endosc. 2002;56(6):803-809.
ERCP (endoscopic retrograde cholangiopancreatography). National Institute of Diabetes and Digestive and Kidney Diseases website. Available at:
...(Click grey area to select URL)
Updated June 2016. Accessed March 5, 2018.
Therapeutic ERCP. American Society for Gastrointestinal Endoscopy website. Available at:
...(Click grey area to select URL)
Accessed March 5, 2018.
Last reviewed March 2018 by EBSCO Medical Review Board Alan Drabkin, MD
Last Updated: 3/18/2013
EBSCO Information Services is fully accredited by URAC. URAC is an independent, nonprofit health care accrediting organization dedicated to promoting health care quality through accreditation, certification and commendation.
This content is reviewed regularly and is updated when new and relevant evidence is made available. This information is neither intended nor implied to be a substitute for professional medical advice. Always seek the advice of your physician or other qualified health provider prior to starting any new treatment or with questions regarding a medical condition.
To send comments or feedback to our Editorial Team regarding the content please email us at firstname.lastname@example.org. Our Health Library Support team will respond to your email request within 2 business days.