Find Information About:

Drugs & Supplements

Get information and reviews on prescription drugs, over-the-counter medications, vitamins, and supplements. Search by name or medical condition.

Pill Identifier

Pill Identifier

Having trouble identifying your pills?

Enter the shape, color, or imprint of your prescription or OTC drug. Our pill identification tool will display pictures that you can compare to your pill.

Get Started

My Medicine

Save your medicine, check interactions, sign up for FDA alerts, create family profiles and more.

Get Started

WebMD Health Experts and Community

Talk to health experts and other people like you in WebMD's Communities. It's a safe forum where you can create or participate in support groups and discussions about health topics that interest you.

  • Second Opinion

    Second Opinion

    Read expert perspectives on popular health topics.

  • Community


    Connect with people like you, and get expert guidance on living a healthy life.

Got a health question? Get answers provided by leading organizations, doctors, and experts.

Get Answers

Sign up to receive WebMD's award-winning content delivered to your inbox.

Sign Up

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