Health Library Explorer
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z A-Z Listings Contact Us

Endoscopic Retrograde Cholangiopancreatography (ERCP)

What is ERCP?

Endoscopic retrograde cholangiopancreatography, or ERCP, is a procedure to diagnose and treat problems in the liver, gallbladder, bile ducts, and pancreas. It combines X-ray and the use of an endoscope -- a long, flexible, lighted tube. Your healthcare provider guides the scope through your mouth and throat, then down the esophagus, stomach, and first part of the small intestine (duodenum). Your healthcare provider can view the inside of these organs and check for problems. Next, he or she will pass a tube through the scope and inject a dye. This highlights  the organs on X-ray.

Why might I need ERCP?

You may need ERCP to find the cause of unexplained abdominal pain or yellowing of the skin and eyes (jaundice). It may be used to get more information if you have pancreatitis or cancer of the liver, pancreas, or bile ducts.

Other things that may be found with ERCP include:

  • Blockages or stones in the bile ducts
  • Fluid leakage from the bile or pancreatic ducts
  • Blockages or narrowing of the pancreatic ducts
  • Tumors

Your healthcare provider may have other reasons to recommend an ERCP.

What are the risks of ERCP?

You may want to ask your healthcare provider about the amount of radiation used during the test. Also ask about the risks as they apply to you.

Consider writing down all X-rays you get, including past scans and X-rays for other health reasons. Show this list to your provider. The risks of radiation exposure may be tied to the number of X-rays you have over time.

If you are pregnant or think you could be, tell your healthcare provider. Radiation exposure during pregnancy may lead to birth defects.

Tell your healthcare provider if you are allergic to or sensitive to medicines, contrast dyes, iodine, or latex.

Some possible complications may include:

  • Inflammation of the pancreas (pancreatitis) or gallbladder (cholecystitis)
  • Infection
  • Bleeding
  • A tear in the lining of the upper section of the small intestine, esophagus, or stomach
  • Collection of bile outside the biliary system (biloma)

You can’t have ERCP if:

  • You’ve had gastrointestinal (GI) surgery that has blocked the ducts of the biliary tree
  • You have pouches in your esophagus (esophageal diverticula)
  • You have pancreatitis

There may be other risks depend based on your condition. Be sure to discuss any concerns with your healthcare provider before the procedure.

Barium within the intestines from a recent barium procedure may interfere with an ERCP.

How do I get ready for ERCP?

  • Your healthcare provider will explain the procedure and you can ask questions.
  • You may be asked to sign a consent form that gives your permission to do the test. Read the form carefully and ask questions if something is not clear.
  • Tell your healthcare provider if you have ever had a reaction to any contrast dye, or if you are allergic to iodine.
  • Tell your healthcare provider if you are sensitive to or are allergic to any medicines, latex, tape, or anesthesia.
  • Do not to eat or drink liquids for 8 hours before the procedure. You may be given other instructions about a special diet for 1 to 2 days before the procedure.
  • If you are pregnant or think you could be, tell your healthcare provider.
  • Tell your healthcare provider of all medicines (prescribed and over-the-counter) and herbal supplements that you are taking.
  • Tell your healthcare provider if you have a history of bleeding disorders or if you are taking any blood-thinning medicines (anticoagulants), aspirin, ibuprofen, naproxen, or other medicines that affect blood clotting. You may be told to stop these medicines before the procedure.
  • Your healthcare provider will tell you how to get your bowel ready for the procedure. You may need a laxative, have an enema, use a rectal laxative suppository, or drink a special fluid that helps prepare your bowel.
  • If you have heart valve disease, your healthcare provider may give you antibiotics before the procedure.
  • You will be awake during the procedure, but a sedative will be given before the procedure. You will need someone to drive you home.
  • Follow any other instructions your provider gives you to get ready.

What happens during ERCP?

An ERCP may be done on an outpatient basis or as part of your stay in a hospital. Procedures may vary based on your condition and your healthcare provider's practices.

Generally, an ERCP follows this process:

  1. You will need to remove any clothing, jewelry, or other objects that may interfere with the procedure.
  2. You will need to remove clothes and put on a hospital gown.
  3. An intravenous (IV) line will be put in your arm or hand.
  4. You may get oxygen through a tube in your nose during the procedure.
  5. You will be positioned on your left side on the X-ray table.
  6. Numbing medicine will be sprayed into the back of your throat. This helps prevent gagging as the endoscope is passed down your throat. You will not be able to swallow the saliva that collects in your mouth during the procedure. It will be suctioned from your mouth as needed.
  7. A mouth guard will be put in your mouth to keep you from biting down on the endoscope and to protect your teeth.
  8. Once your throat is numbed and you are relaxed from the sedative, your provider will ask you to swallow the endoscope. Your provider will guide the endoscope down the esophagus into the stomach and through the duodenum until it reaches the ducts of the biliary tree.
  9. When the endoscope is in place, you will be asked to lie flat on your back.
  10. A small tube will be passed through the endoscope to the biliary tree, and contrast dye will be injected into the ducts. Air may be injected before the contrast dye. This may cause you to feel fullness in your abdomen.
  11. Various X-ray views will be taken. You may be asked to change positions during this time.
  12. After X-rays of the biliary tree are taken, the small tube for dye injection will be repositioned to the pancreatic duct. Contrast dye will be injected into the pancreatic duct, and X-rays will be taken. Again, you may be asked to change positions while the X-rays are taken.
  13. If needed, your provider will take samples of fluid or tissue. He or she may do other procedures, such as the removal of gallstones or other blockages, while the endoscope is in place.
  14. After the X-rays and any other procedures are done, the endoscope will be withdrawn.

What happens after ERCP?

After the procedure, you will be taken to the recovery room. Once your blood pressure, pulse, and breathing are stable and you are alert, you will be taken to your hospital room or discharged home. If this procedure was done as an outpatient, plan to have someone drive you home.

You will not be allowed to eat or drink anything until your gag reflex has returned. You may have a sore throat and pain with swallowing for a few days. This is normal.

You may go back to your usual diet and activities after the procedure, unless your healthcare provider tells you otherwise.

Tell your healthcare provider if you have any of the following:

  • Fever or chills
  • Redness, swelling, or bleeding or other drainage from the IV site
  • Abdominal pain, nausea, or vomiting
  • Black, tarry, or bloody stools
  • Trouble swallowing
  • Throat or chest pain that worsens

Your healthcare provider may give you other instructions after the procedure, based on your situation.

Next steps

Before you agree to the test or the procedure make sure you know:

  • The name of the test or procedure
  • The reason you are having the test or procedure
  • The risks and benefits of the test or procedure
  • When and where you are to have the test or procedure and who will do it
  • When and how will you get the results
  • How much will you have to pay for the test or procedure
Online Medical Reviewer: Hanrahan, John, MD
Online Medical Reviewer: MMI board-certified, academically affiliated clinician
Date Last Reviewed: 11/23/2013
© 2000-2015 The StayWell Company, LLC. 780 Township Line Road, Yardley, PA 19067. All rights reserved. This information is not intended as a substitute for professional medical care. Always follow your healthcare professional's instructions.
Powered by StayWell
About Us| Disclaimer