Health Information and Tools > Patient Care Handouts >  Endoscopic Retrograde Cholangiopancreatogram (ERCP): Before Your Procedure
Facebook Tweet Email Share

Main Content

Endoscopic Retrograde Cholangiopancreatogram (ERCP): Before Your Procedure

What is an endoscopic retrograde cholangiopancreatogram?

Endoscopic retrograde cholangiopancreatogram (ERCP) is a test to look at the tubes that carry fluids from the liver, gallbladder, and pancreas. These tubes are called ducts.

For this test, the doctor will use a tool called an endoscope, or scope. It is a thin, lighted tube that bends. It has a camera on it that lets the doctor use pictures on a screen to guide it.

This test is used for different reasons. It can help find out the cause of your symptoms. If the test shows gallstones or a narrow spot in a bile duct, the doctor can use the scope to remove the stones or widen the duct. He or she may also put a metal or plastic tube in the duct. This can help open it.

Before the test, you may get medicine to numb the back of your throat. You also will get medicine to help you relax.

During the test, you will lie on your left side or on your stomach. The doctor puts the scope in your mouth and then gently moves it toward the back of your throat. The doctor will tell you when to swallow. This helps the scope move down your throat. You will be able to breathe normally.

After that, the doctor moves the scope through the tube (esophagus) that leads to your stomach, through your stomach, and into the first part of your small intestine. When the scope reaches the place where the bile ducts and the pancreas meet the small intestine, you may turn and lie on your stomach. The doctor then puts a small plastic tube into the scope to inject dye into the ducts. The dye helps the ducts show up on X-rays. Then the doctor takes X-ray pictures to help find any problems.

The test takes 30 minutes to 2 hours. You may go home the same day. But if you have treatment during the test, you may need to stay in the hospital overnight.

Follow-up care is a key part of your treatment and safety. Be sure to make and go to all appointments, and call your doctor or nurse call line if you are having problems. It's also a good idea to know your test results and keep a list of the medicines you take.

What happens before the procedure?

Preparing for the procedure

  • Understand exactly what procedure is planned, along with the risks, benefits, and other options.
  • Tell your doctors ALL the medicines and natural health products you take. Some of these can increase the risk of bleeding or interact with anesthesia.
  • If you take blood thinners, such as warfarin (Coumadin), clopidogrel (Plavix), or aspirin, be sure to talk to your doctor. He or she will tell you if you should stop taking these medicines before your procedure. Make sure that you understand exactly what your doctor wants you to do.
  • Your doctor will tell you which medicines to take or stop before your procedure. You may need to stop taking certain medicines a week or more before the procedure. So talk to your doctor as soon as you can.
  • If you have an advance care plan, let your doctor know. Bring a copy to the hospital. If you don't have one, you may want to prepare one. It lets your doctor and loved ones know your health care wishes. Doctors advise that everyone prepare these papers before any type of surgery or procedure.

Procedures can be stressful. This information will help you understand what you can expect. And it will help you safely prepare for your procedure.

What happens on the day of the procedure?

  • Follow the instructions exactly about when to stop eating and drinking. If you don't, your procedure may be cancelled. If your doctor told you to take your medicines on the day of the procedure, take them with only a sip of water.
  • Take a bath or shower before you come in for your procedure. Do not apply lotions, perfumes, deodorants, or nail polish.
  • Take off all jewellery and piercings. And take out contact lenses, if you wear them.

At the hospital or surgery centre

  • Bring a picture ID.
  • You may get medicine that relaxes you or puts you in a light sleep. The area being worked on will be numb.
  • Tell your doctor if you are allergic to iodine. It is in the dye that the doctor puts into the bile ducts.
  • The doctor may send puffs of air through the tube to see better. This may make you feel bloated. You may also feel cramps. This feeling does not last long.
  • You may feel some bloating or cramping as the tube is moved. If you are very uncomfortable, you can let the doctor know with a signal or a tap on the arm. You and your doctor can agree on this signal before the test.
  • After, you will stay at the hospital or clinic for 1 to 2 hours until the medicine wears off.

Going home

  • Be sure you have someone to drive you home. Anesthesia and pain medicine make it unsafe for you to drive.
  • You will be given more specific instructions about recovering from your procedure. They will cover things like diet, wound care, follow-up care, driving, and getting back to your normal routine.

When should you call your doctor?

  • You have questions or concerns.
  • You don't understand how to prepare for your procedure.
  • You become ill before the procedure (such as fever, flu, or a cold).
  • You need to reschedule or have changed your mind about having the procedure.

Where can you learn more?

Go to

Enter F420 in the search box to learn more about "Endoscopic Retrograde Cholangiopancreatogram (ERCP): Before Your Procedure".

Care instructions adapted under license by your healthcare professional. If you have questions about a medical condition or this instruction, always ask your healthcare professional. Healthwise, Incorporated disclaims any warranty or liability for your use of this information.