HF 4516

Endoscopic Retrograde Cholangiopancreatography (ERCP)

Endoscopic retrograde cholangiopancreatography (ERCP) is an exam done to look at the bile or pancreatic duct. It can help to diagnose problems of the pancreas, bile ducts, liver, and gall bladder.

ERCP is done by passing a tube through the mouth, esophagus (the tube that connects the throat to the stomach), stomach, and the first part of the small bowel. Then a small plastic tube is threaded into the ducts, a dye is injected, and x-ray pictures are taken.

  • Treatment can also be done at this time. Treatments allow us to:

  • Enlarge the bile duct opening.

  • Remove gallstones lodged in the bile duct.

  • Place a stent (drain) in the duct.

  • Take a biopsy.



Read this handout 1 week before the exam. We may have to cancel if you do not follow the instructions.

Plan ahead. Due to the sedation medicines, you must have a responsible adult drive you home. You may take a cab or bus home but, you must have an adult with you other than the driver.


Never stop taking blood thinners without talking with your doctor first. They will tell you how to safely stop these medicines. Call us if you have questions.

7 Days Before
Stop taking the blood thinner Effient® (prasugrel).
5 Days Before
Stop taking the blood thinners Coumadin® (warfarin) or Plavix® (clopidogrel).
2 Days Before
Stop taking blood thinners Pradaxa® (dabigatran), Xeralto® (rivaroxaban), Eliquis® (apixaban) and Brilinta® (ticagrelor).

Diabetic medicines (oral and insulin) will need to be adjusted for the time you’re not eating like normal. Please discuss this with your primary doctor.

Our staff will need to review your health history. This includes any past surgeries, allergies, and medicines that you take. Please bring this information with you.

If you use CPAP or BiPAP for sleep apnea, please bring it with you. We will need your machine to safely sedate you.

The Day of Your ERCP

You are not able to have any solid food, milk, or dairy products.

You may drink clear liquids until 4 hours before you arrive (i.e., water, apple juice, soda, Gatorade®). This is done to keep you safe. Do not drink red liquids.

Take your normal medicines with a small sip of clear liquid up to 1 hour before you arrive. Do not take medicines listed above.

Follow the instructions in your cover letter. If you are running late, call us at (608) 263-8094 to let us know. If you are more than 30 minutes late, we may have to cancel and reschedule. We do our best to stay on time.

Plan to be with us about 3-5 hours. Your driver will need to be available in our waiting room or by phone.

The Test

A nurse will review your health history and place an IV. The IV is used to give you medicines which make you feel drowsy and relaxed during your test. You will be placed on an x-ray table and will lie on your stomach for the exam. If there is a chance that you are pregnant, we will need to know this before using the x-ray machine. The test will take about 1 hour.

After the test, you will go to our recovery room for about 1½ hours. Your driver may sit with you there. Once awake, you may be given something to drink. Sometimes patients will need to stay in the hospital for the night.

Your doctor will discuss results with you before you go home. You and the doctor who referred you will get a copy of the report.

After the Exam and for the Rest of the Day

  • Do not return to work.

  • Do not drive.

  • Do not use heavy machinery.

  • Do not make any important decisions.

  • Plan to rest.

  • Do not drink alcohol.

  • You should be able to resume normal daily tasks the day after your exam.

  • You may have a mild sore throat. Gargling salt water should help.

  • You will be asked to stay on a liquid diet for the rest of the day.

  • You may have some gas pains from the air used to distend your stomach. Burping will help.

  • Someone should stay with you overnight after the procedure.

Who to Call

GI Procedure Center at University Hospital
7:00 am to 5:00 pm
(608) 263-8094

Digestive Health Center at Meriter Hospital
8:00 am to 5:00 pm
(608) 417-6389

After clinic hours, this number will give you the paging operator. Ask for the gastroenterology (GI) doctor on call. Leave your name and phone number with the area code. The doctor will call you back.

If you live out of the area, please call:

If you are not able to keep your visit, let us know 5 days in advance.