Skip to content
Font Size

Endoscopic Retrograde Cholangiopancreatogram (ERCP)

How To Prepare

Follow the instructions exactly about when to stop eating and drinking, or your test may be canceled. If your doctor told you to take your medicines on the day of the test, do so using only a sip of water.

If your doctor prescribed antibiotics before the test, take them as directed. You need to take the full course of antibiotics.

Tell your doctor if you:

Talk to your doctor about any concerns you have about the need for the test, its risks, how it will be done, or what the results will mean. To help you understand the importance of this test, fill out the medical test information form(What is a PDF document?).

You will be asked to empty your bladder. You will also need to remove any dentures, jewelry, or contact lenses before you have this test.

How It Is Done

An endoscopic retrograde cholangiopancreatogram (ERCP) is usually done by a gastroenterologist. This is a doctor who has special training in diseases of the digestive system. The doctor must be trained in endoscopy. A thin, flexible fiber-optic endoscope (scope) is used.

This test is done in the hospital. You may have to stay overnight if your doctor takes out gallstones or places a stent during the test. Otherwise, you can go home after the test.

An ERCP usually takes 30 to 60 minutes. You will be in the recovery room 1 to 2 hours.

Your throat may be numbed with an anesthetic spray, gargle, or lozenge to relax your gag reflex. This makes it easier to insert the scope. Shortly before the test begins, an intravenous (IV) line will be placed in a vein in your arm. You will get pain medicine and a sedative through the IV during the test. You may also get an antibiotic through the IV.

WebMD Medical Reference from Healthwise

Last Updated: November 14, 2014
This information is not intended to replace the advice of a doctor. Healthwise disclaims any liability for the decisions you make based on this information.

Today on WebMD

man holding his stomach
Get the facts on common problems.
blueberries in a palm
Best and worst foods.
woman shopping
Learn what foods to avoid.
fresh and dried plums
Will it help constipation?
top foods for probiotics
couple eating at cafe
sick child
Woman blowing bubble gum

Send yourself a link to download the app.

Loading ...

Please wait...

This feature is temporarily unavailable. Please try again later.


Now check your email account on your mobile phone to download your new app.

Woman with crohns in pain
Woman with stomach pain
diet for diverticulitis
what causes diarrhea