Patient Information
Tests and Treatments: Interventional Tests: Endoscopies: ERCP
This page describes Endoscopic Retrograde CholangioPancreatography (ERCP). It explains how to prepare, what to expect, and what to do afterwards. It reviews the risks. We want you to be as comfortable as possible with the test.
These guidelines apply to having your ERCP on an out-patient basis. The arrangements are slightly different when the examination is given to patients who are already in hospital for other reasons.
What is ERCP?
ERCP stands for Endoscopic Retrograde CholangioPancreatography. The doctor uses use a flexible endoscope to get into the bile duct and the pancreatic duct, which drain your liver, gallbladder and pancreas. X-rays can be taken, and treatments applied.
What is an Endoscope?
An endoscope is a long, narrow, flexible tube containing a tiny light and camera at one end. This camera carries pictures of your upper digestive track to a television screen, where they can be seen by the doctor and nurse. The pictures can also be printed.
How Do I Prepare?
- Make sure you understand what is being recommended and what is involved.
- Tell your doctor if you:
- have any allergies, heart or lung problems
- are or think you may be pregnant
- have had endoscopy in the past and if you had problems with the medicines
- have had any allergic reactions to iodine or X-ray contrast agents
- take antibiotics before having dental work
- take medicine to thin your blood (e.g.Coumadin or aspirin compounds). They may need to be stopped for a few days
- are a diabetic. You will probably need to adjust your insulin or pills.
- Do not eat or drink for 6 hours before your test. Your stomach must be empty (but you can take blood pressure and heart medicines as usual the morning of your test, with a few sips of water). Do not take any antacids.
- Bring with you:
- all prescription and over-the-counter medicines you are taking.
- medical records and x-rays that relate to your current problem.
- Make sure an adult can take you home. The medicines used during the procedure will not wear off for several hours. You will NOT be able to drive. If you travel by public transportation, you will still need an adult to ride home with you.
If you come alone, your test will have to be rescheduled.
What Will Happen?
- The nurse and doctor will talk to you about the test and answer any questions you have. You should know why you are having an ERCP and understand the treatment options and possible risks. You will be asked to sign a consent form, which gives the doctor your permission to do the test, and any necessary treatment.
- You will put on a hospital gown. You will be asked to remove any eye glasses, contact lenses or dentures. An IV will be started and blood may be drawn for lab studies. You may receive antibiotics through the IV at this time.
- You will be taken by stretcher to the procedure room. The nurse will help you get into the correct position, usually on your side, and make you comfortable. A clip on your finger and cuff on your arm will help the nurse monitor your pulse, blood pressure and oxygen level.
- ERCP is done under sedation or anesthesia, depending on the complexity of the case, your past experiences with endoscopy procedures, and mindful of your wishes. Sedation makes you relaxed and sleepy. Anesthesia means deep sedation supervised by an anesthesiologist, or full anesthesia with a temporary breathing tube.
- If sedation is used
- You will be given medicine through the IV to make you relaxed and sleepy.
- A medicine will be sprayed onto the back of your throat to make it numb. The medicine may taste unpleasant but it will stop any coughing during the test.
- A plastic guard will be placed between your teeth to protect them.
- When you are sleepy, the doctor will place a thin, flexible tube (endoscope) through the mouth guard and into your mouth.
- The doctor will then ask you to swallow. When you swallow, the endoscope will gently move down your esophagus, the same way food goes down when you are eating. You may feel like gagging, but you should not feel any pain. The endoscope will not interfere with your breathing.
- After you are sedated or anesthetized, the doctor will guide the endoscope through your stomach, and look for the opening of the bile and pancreatic ducts at the papilla of Vater, which is located in the upper small intestine (duodenum). The doctor will then place a small plastic tube (catheter) through the endoscope into the papilla. Contrast material (dye) will be injected into the ducts, and x-ray pictures are taken.
- The doctor may take samples or pressure measurements from these areas, and can provide treatment for many of the problems. Details are given below.
- ERCP usually lasts between 30 and 90 minutes.
Treatments During ERCP
If the x-ray pictures taken during ERCP show a stone or blockage in the ducts, the doctor may be able to treat the problem right away. The commonest treatments are sphincterotomy and stenting.
- Sphincterotomy. This involves making a small cut in the papilla of Vater (using an electric knife) to enlarge the opening to the bile duct and/or pancreatic duct. This is done to improve the drainage or to remove stones in the ducts. Removed stones are usually dropped in the intestine, and pass through quickly.
- Stenting. A stent is a tube which is placed in a blocked or narrowed duct to improve drainage. The narrowing may need to be stretched (dilated) before the stent is placed. A few stents are designed to pass out into the intestine after a few weeks when they have done their work. Other stents have to be removed or changed after 3-4 months. There are also permanent stents made out of metal mesh.
Other treatments are used occasionally. Your doctor will explain these if necessary.
What Will Happen Afterwards?
- You will be taken on a stretcher to the recovery area to relax. Your blood pressure and heart rate are watched while you rest. You will be fully awake in about 30 minutes.
- If treatments were done during your test, you may need to be observed in hospital overnight.
FOR PATIENTS GOING HOME
- After removing your IV, the nurse will give you written instructions to follow when you go home. If you have any questions, please ask. The doctor will talk to you about your test and treatments before your leave.
- Even if you feel awake, your judgment and reflexes will be slow. You will not be allowed to leave unless an adult takes you home. You will NOT be able to drive.
- If specimens (biopsies) were taken during endoscopy, the results of laboratory analysis will be available in 2-3 days.
For the Rest of the Day
- You should rest quietly
- Do not drive, operate machinery, sign legal documents or make important decisions.
- Do not drink alcohol or take sleeping or nerve pills.
- Drink plenty of fluids. Return to your normal diet and medications unless otherwise instructed.
- You may feel bloated and pass gas. This is normal and will go away in a few hours.
- Your throat may be a little sore for a few days.
What are the Risks?
You should know that there are some drawbacks to ERCP. Your doctor will discuss these with you, and answer your questions.
- The test is not perfect. Occasionally, important lesions may not be seen, and treatment attempts may be unsuccessful.
- The medicines may make you sick. You may have nausea, vomiting, hives, dry mouth, or a reddened face and neck.
- A tender lump may form where the IV was placed. Call your doctor if redness, pain or swelling appears to be spreading.
- You will receive a low dose of radiation from the x-rays.
- The commonest complication of ERCP is pancreatitis (swelling and inflammation of the pancreas). This occurs in about one patient in twenty, and results in the need to stay in hospital. This usually lasts for one or two days, but can be much more serious. Rarer complications include bleeding (after sphincterotomy), infection in the bile duct (cholangitis), and a tear in the intestine (perforation). These problems may require surgery, and prolonged stays in hospital. Other complications, such as problems with the chest and heart function, have occurred.
- Fatal complications are extremely rare.
Call your Doctor if You
- have severe pain.
- vomit.
- pass or vomit blood.
- have chills and fever above 101 degrees.






