Find Services and other Health Information from A-Z



Image of endoscope in throat


ERCP stands for endoscopic retrograde cholangiopancreatography. This procedure is used to view the common bile duct to help locate and treat blockages in the duct. It may also be used to locate and treat pancreas problems.

Preparing for ERCP

  • Talk to your doctor about any health problems or allergies you have, and medications you take.

  • Ask your doctor about the risks of ERCP. These include pancreatitis, infection, bleeding, and bowel perforation.

  • You may be asked to take antibiotics ahead of time.

  • Avoid blood-thinning medications for 1 week before ERCP.

  • Do not eat or drink for 8 to 12 hours before ERCP.

  • Have someone ready to take you home.

The Procedure

ERCP takes 20 and 90 minutes. You may be given medication through an IV to help you relax. Your throat is numbed. A thin tube (endoscope) is placed into your throat. The endoscope lets the doctor see the common bile duct on a video screen. A cut may be made where the common bile duct opens to the duodenum to make it easier to remove stones. As blockages are located and removed, X-rays are taken. Contrast dye is injected through a catheter to make the duct show up better on the X-rays. An imaging technique that uses X-rays to obtain real-time moving images of internal organs is called fluoroscopy. Fluoroscopy is used to watch and guide progress of the procedure. 

In some cases, a plastic tube (stent) is placed to hold the ducts open. This stent may be replaced or removed in 6 to 8 weeks. Or it may be left to fall out on its own and be passed in the stool.

After ERCP

Your doctor may discuss the test results right away or a return visit may be scheduled. You may go home the same day or spend the night in the hospital. Follow these tips:

  • You can return to a normal routine the day after the ERCP.

  • If a cut was made in the duct, avoid blood-thinning medications such as aspirin for 5 to 7 days.

  • Call your doctor right away if you have a fever or abdominal pain. These may be signs of an infection or bowel perforation.