Breadcrumb
- Home
- Tests, Treatments & Medications
- Medical Tests
- Endoscopic Retrograde Cholangiopancreatogram (ERCP)
Content Map Terms
Tests, Treatments & Medications Categories
-
Medications
- Immunization, Inactivated influenza
- Anthrax Vaccine
- Diphtheria, Pertussis, and Tetanus Vaccines
- Haemophilus Influenzae Type B (Hib) Vaccine
- Hepatitis A Vaccine
- Hepatitis B Vaccine
- Herpes-Zoster Vaccine for Shingles
- Human Papillomavirus (HPV) Vaccine
- Measles, Mumps, and Rubella Vaccine
- Meningococcal Vaccine
- Pneumococcal Vaccines
- Polio Vaccine
- Rotavirus Vaccine
- Weight-Loss Medicines
- Non-Prescription Products for Weight Loss
- Obesity: Should I Take Weight-Loss Medicine?
-
Medical Tests
- Abdominal Ultrasound
- Abdominal X-Ray
- Adrenocorticotropic Hormone
- Alanine Aminotransferase (ALT)
- Albumin Urine Test
- Aldosterone in Blood
- Aldosterone in Urine
- Alkaline Phosphatase
- Allergy Tests
- Alpha-Fetoprotein (AFP) in Blood
- Ambulatory Electrocardiogram
- Ammonia
- Amniocentesis
- Amylase
- Angiogram
- Angiogram of the Head and Neck
- Angiogram of the Lung
- Antinuclear Antibodies (ANA)
- Antisperm Antibody Test
- Antithyroid Antibody Tests
- Arterial Blood Gases
- Arthrogram (Joint X-Ray)
- Arthroscopy
- Aspartate Aminotransferase (AST)
- Autoimmune Disease Tests
- Autopsy
- Barium Enema
- Bilirubin
- Biophysical Profile (BPP)
- Biopsy of Genital Warts
- Bladder Stress Test in Women
- Blood Alcohol
- Blood Culture
- Blood Glucose
- Blood Type Test
- Blood Urea Nitrogen
- Body Temperature
- Bone Biopsy
- Bone Density
- Bone Marrow Aspiration and Biopsy
- Bone Scan
- Bowel Transit Time
- Brain Natriuretic Peptide (BNP) Test
- Breast Biopsy
- Breast Cancer (BRCA) Gene Test
- Breast Ultrasound
- Bronchoscopy
- C-Peptide
- C-Reactive Protein (CRP)
- Calcium (Ca) in Blood
- Calcium (Ca) in Urine
- Cancer Antigen 125 (CA-125)
- Carbon Dioxide
- Carbon Monoxide (CO)
- Carcinoembryonic Antigen (CEA)
- Cardiac Blood Pool Scan
- Cardiac Catheterization
- Cardiac Enzyme Studies
- Cardiac Perfusion Scan
- Catecholamines in Blood
- Catecholamines in Urine
- CD4+ Count
- Celiac Disease Antibodies
- Cell-Free Fetal DNA Test
- Chemistry Screen
- Chest X-Ray
- Chlamydia Tests
- Chloride (Cl)
- Cholesterol and Triglycerides Tests
- Chorionic Villus Sampling (CVS)
- Clinical Breast Examination
- Clostridium Difficile Toxins
- Cold Agglutinins
- Colonoscopy
- Colposcopy and Cervical Biopsy
- Complete Blood Count (CBC)
- Computed Tomography (CT) Scan of the Body
- Computed Tomography (CT) Scan of the Head and Face
- Computed Tomography (CT) Scan of the Spine
- Computed Tomography Angiogram
- Contraction Stress Test
- Coombs Antibody Test
- Coronary Calcium Scan
- Cortisol in Blood
- Cortisol in Urine
- Cranial Ultrasound
- Creatine Kinase
- Creatinine and Creatinine Clearance
- Cystometry
- Bacterial Vaginosis Tests
- Cystoscopy
- Cystourethrogram
- D-Dimer Test
- D-Xylose Absorption Test
- DHEA-S Test
- Dental X-Rays
- Digital Rectal Examination (DRE)
- Doppler Ultrasound
- Ear Examination
- Echocardiogram
- Electrocardiogram
- Electroencephalogram (EEG)
- Electromyogram (EMG) and Nerve Conduction Studies
- Electronystagmography (ENG)
- Electrophysiology Study
- Electrophysiology Tests for the Eyes
- Endometrial Biopsy
- Endoscopic Retrograde Cholangiopancreatogram (ERCP)
- Endoscopic Sinus Examination for Sinusitis
- Esophagus Tests
- Evoked Potential Test for Multiple Sclerosis
- Exercise Electrocardiogram
- Extremity X-Ray
- Facial X-Ray
- Ferritin
- Fertility Awareness
- Fetal Blood Sampling (FBS) for Rh Sensitization During Pregnancy
- Fetal Ultrasound
- Folic Acid Test
- Galactosemia Test
- Gallbladder Scan
- Gallium Scan
- Gastrin
- Genetic Test
- Glycohemoglobin
- Gonioscopy
- Gonorrhea Test
- Growth Hormone
- HIV Viral Load Measurement
- Hair Analysis
- Hearing Tests
- Heart Catheterization for Congenital Heart Defects
- Helicobacter Pylori Tests
- Hemochromatosis Gene Test
- Hemoglobin Electrophoresis
- Hepatitis A Virus Test
- Hepatitis B Virus Tests
- Hepatitis C Virus Tests
- Herpes Tests
- High-Sensitivity C-Reactive Protein
- Home Blood Glucose Test
- Home Blood Pressure Test
- Home Ear Examination
- Home Lung Function Test
- Home Pregnancy Tests
- Homocysteine
- Hormone Inhibin A
- Human Chorionic Gonadotropin (HCG)
- Human Immunodeficiency Virus (HIV) Test
- Human Papillomavirus (HPV) Test
- Hysterosalpingogram
- Hysteroscopy
- Immunoglobulins
- Intravenous Pyelogram (IVP)
- Iron (Fe)
- Joint Fluid Analysis
- KOH Preparation
- Karyotype Test
- Ketones
- Kidney Biopsy
- Kidney Scan
- Kidney Stone Analysis
- Lactic Acid Dehydrogenase (LDH)
- Lactic Acid
- Laparoscopy
- Laryngoscopy
- Lead
- Lipase
- Liver Biopsy
- Liver Function Tests
- Liver and Spleen Scan
- Lumbar Puncture
- Lung Biopsy
- Lung Cancer Screening: Low-Dose CT Scan
- Lung Function Tests
- Lung VQ Scan
- Lyme Disease Test
- Lymph Node Biopsy
- Magnesium (Mg)
- Magnetic Resonance Angiogram (MRA)
- Magnetic Resonance Imaging (MRI) of the Abdomen
- Magnetic Resonance Imaging (MRI) of the Breast
- Magnetic Resonance Imaging (MRI) of the Head
- Magnetic Resonance Imaging (MRI) of the Knee
- Magnetic Resonance Imaging (MRI) of the Shoulder
- Magnetic Resonance Imaging (MRI) of the Spine
- Magnetic Resonance Imaging (MRI)
- Mammogram
- Mediastinoscopy
- Medicine Levels in Blood
- Mental Health Assessment
- Mononucleosis Tests
- Myelogram
- Myoglobin Test
- Needle Puncture and Aspiration of Sinus Contents
- Neurological Examination for Multiple Sclerosis
- Neuropsychological Tests
- Nuchal Translucency Screening Test
- Ophthalmoscopy
- Oral Glucose Tolerance Test
- Overnight Dexamethasone Suppression Test
- Pap Test
- Paracentesis
- Parathyroid Hormone
- Partial Thromboplastin Time
- Pelvic Examination
- Pelvic Ultrasound
- Pericardial Drainage
- Perimetry Test for Glaucoma
- Phenylketonuria (PKU) Test
- Phosphate in Blood
- Phosphate in Urine
- Positron Emission Tomography (PET)
- Potassium (K) in Blood
- Potassium (K) in Urine
- Prealbumin Blood Test
- Prolactin
- Prostate Biopsy
- Prostate-Specific Antigen (PSA)
- Prothrombin Time and INR
- Pulse Measurement
- Radioactive Iodine Uptake Test
- Rapid Strep Test for Strep Throat
- Renin Assay
- Reticulocyte Count
- Retinal Imaging
- Retrograde Pyelogram for Kidney Stones
- Rheumatoid Factor (RF)
- Rubella Test
- Salivary Gland Scan
- Sedimentation Rate
- Seizure Medicine Levels in Blood
- Self-Examination for Dental Plaque
- Semen Analysis
- Sentinel Lymph Node Biopsy
- Serum Osmolality
- Serum Protein Electrophoresis (SPEP)
- Sickle Cell Test
- Sigmoidoscopy
- Single Photon Emission Computed Tomography (SPECT)
- Skin Biopsy
- Skin and Wound Cultures
- Skull X-Ray
- Sleep Studies
- Slit Lamp Examination
- Sodium (Na) in Blood
- Sodium (Na) in Urine
- Sonohysterogram
- Spinal X-Ray
- Sputum Culture
- Sputum Cytology
- Stool Analysis
- Stool Culture
- Stool Tests for Colorectal Cancer
- Swallowing Study
- Sweat Test
- Syphilis Tests
- Tay-Sachs Test
- Testicular Biopsy
- Testicular Examination and Testicular Self-Examination
- Testicular Scan
- Testicular Ultrasound
- Testosterone
- Tests for Erection Problems
- Thick and Thin Blood Smears for Malaria
- Thoracentesis
- Throat Culture
- Thyroid Biopsy
- Thyroid Hormone Tests
- Thyroid Scan
- Thyroid and Parathyroid Ultrasound
- Thyroid-Stimulating Hormone (TSH)
- Tissue Type Test
- Tonometry
- Total Serum Protein
- Toxicology Tests
- Toxoplasmosis Test
- Tuberculin Skin Test
- Tympanocentesis for Ear Infections
- Tympanometry
- Upper Gastrointestinal (UGI) Series
- Upper Gastrointestinal Endoscopy
- Uric Acid in Blood
- Uric Acid in Urine Test
- Urine Culture
- Urine Test
- Urodynamic Tests for Urinary Incontinence
- Vaginal Examination for Preterm Labour
- Vaginal Self-Examination (VSE)
- Vaginal Wet Mount
- Viral Tests
- Vision Tests
- Vitamin B12 Test
- Vitamin D Test
-
Surgery
- Achilles Tendon Rupture: Should I Have Surgery?
- ACL Injury: Should I Have Knee Surgery?
- Blood Transfusions: Should I Bank Blood Before Surgery?
- Bunions: Should I Have Surgery?
- Carpal Tunnel Syndrome: Should I Have Surgery?
- Cataracts: Should I Have Surgery?
- Dupuytren's Disease: Should I Have Hand Surgery?
- Ear Problems: Should My Child Be Treated for Fluid Buildup in the Middle Ear?
- Endometriosis: Should I Have a Hysterectomy and Oophorectomy?
- Enlarged Prostate: Should I Have Surgery?
- Gallstones: Should I Have Gallbladder Surgery?
- GERD: Which Treatment Should I Use?
- Coronary Artery Disease: Should I Have Bypass Surgery?
- Hysterectomy: Should I Also Have My Ovaries Removed?
- Inguinal Hernia: Should I Have Surgery Now, or Should I Wait?
- Lumbar Herniated Disc: Should I Have Surgery?
- Lumbar Spinal Stenosis: Should I Have Surgery?
- Meniscus Tear: Should I Have Surgery?
- Nearsightedness: Should I Have Laser Surgery?
- Pelvic Organ Prolapse: Should I Have Surgery?
- Peripheral Arterial Disease: Should I Have Surgery?
- Plantar Fasciitis: Should I Have Surgery for Heel Pain?
- Rotator Cuff Problems: Should I Have Surgery?
- Scoliosis: Should My Child Have Surgery?
- Sinusitis: Should I Have Surgery?
- Sleep Apnea: Should I Have Surgery?
- Stress Incontinence in Women: Should I Have Surgery?
- Tennis Elbow: Should I Have Surgery?
- Temporomandibular Disorder: Should I Have Surgery for Jaw Pain?
- Tonsillitis: Should My Child Have a Tonsillectomy?
- Ulcerative Colitis: Should I Have Surgery?
- Umbilical Hernia: Should I Have Surgery?
- Umbilical Hernia: Should My Child Have Surgery?
- Uterine Fibroids: Should I Have Surgery?
- Varicose Veins: Should I Have a Surgical Procedure?
- Wisdom Teeth: Should I Have My Wisdom Teeth Removed?
-
Treatments
- Advance Care Planning: Should I Receive CPR and Life Support?
- Advance Care Planning: Should I Stop Treatment That Prolongs My Life?
- Hearing Loss: Should I Get Hearing Aids?
- Atrial Fibrillation: Should I Have Catheter Ablation?
- Hemorrhoids: Which Treatment Should I Use?
- Kidney Failure: What Type of Dialysis Should I Have?
- Low Back Pain: Should I Try Epidural Steroid Shots?
- Obesity: Should I Use a Diet Plan to Lose Weight?
- Warts: Should I Treat Warts?
- First Aid
Test Overview
An endoscopic retrograde cholangiopancreatogram (ERCP) test checks the tubes (ducts) that drain the liver, gallbladder, and pancreas. A flexible, lighted scope (endoscope) and X-ray pictures are used.
The scope is put through the mouth and gently moved down the throat. It goes through your esophagus, stomach, and duodenum until it reaches the point where the ducts from the pancreas and gallbladder drain into the duodenum. A dye is put into the ducts, and X-rays are then taken.
ERCP can diagnose and treat certain problems found during the test. In some cases, your doctor can insert small tools through the scope to:
- Take a sample of tissue (biopsy) from an abnormal growth. Then it can be checked for problems.
- Remove a gallstone in the common bile duct.
- Open a narrowed bile duct. The duct can be opened by inserting a small wire-mesh or plastic tube (called a stent) into it.
Why It Is Done
ERCP is done to:
- Check on jaundice or ongoing pain related to the liver or pancreas.
- Find gallstones or diseases of the liver, bile ducts, or pancreas.
- Remove gallstones from the common bile duct if they are causing problems. These may include a blockage (obstruction), inflammation or infection of the common bile duct (cholangitis), or pancreatitis.
- Open a narrowed bile duct or insert a drain.
- Get a tissue sample for more testing (biopsy).
- Measure the pressure inside the bile ducts (manometry).
How To Prepare
Procedures can be stressful. This information will help you understand what you can expect. And it will help you safely prepare for your procedure.
Preparing for the procedure
- You may need to stop eating and drinking before the day of the procedure. If this is the case, your doctor will tell you what to do.
- 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 are allergic to any dyes, including iodine.
- Be sure you have someone to take you home. Anesthesia and pain medicine will make it unsafe for you to drive or get home on your own.
- Understand exactly what procedure is planned, along with the risks, benefits, and other options.
- Tell your doctor ALL the medicines and natural health products you take. Some may increase the risk of problems during your procedure. Your doctor will tell you if you should stop taking any of them before the procedure and how soon to do it.
- If you take a medicine that prevents blood clots, your doctor may tell you to stop taking it before your procedure. Or your doctor may tell you to keep taking it. (These medicines include aspirin and other blood thinners.) Make sure that you understand exactly what your doctor wants you to do.
- Make sure your doctor and the hospital have a copy of your advance care plan. If you don't have one, you may want to prepare one. It lets others know your health care wishes. It's a good thing to have before any type of surgery or procedure.
How It Is Done
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.
Your throat may be numbed with an anesthetic spray, gargle, or lozenge to relax your gag reflex. This makes it easier to insert a thin, flexible fibre-optic endoscope (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.
You will need to lie on your left side. Your head will be tilted slightly forward. A mouth guard may be inserted to protect your teeth from the scope. The scope's tip will be lubricated. The doctor will guide it into your mouth while gently pressing your tongue out of the way. You may be asked to swallow to help move the tube along. The scope is no thicker than many foods you swallow.
When the scope is in your esophagus, your head will be tilted upright to help the scope slide down. Then your doctor will slowly move the scope into your stomach and duodenum. Your doctor looks at all three of these areas as the scope moves forward. When it reaches your duodenum, you will be turned over to lie flat on your belly.
A small amount of air will be injected through the scope. This makes it easier for the doctor to see. The doctor will move the scope forward until it reaches the point where the ducts from the pancreas and gallbladder drain into the duodenum. A thin tube called a catheter is then passed through the scope into that area. Then contrast material is injected into the bile or pancreatic ducts. Several X-rays are taken. You will stay on your belly until the X-rays are ready to view. If needed, the doctor may take more X-rays.
The doctor may insert small tools through the scope. This allows the doctor to take a tissue sample, remove a gallstone, open a narrowed bile duct, or place a stent.
When the test is done, the scope is slowly withdrawn.
After the test
After the test, you will be observed in a recovery room. If your throat was numbed before the test, you will not be allowed to eat or drink until your throat is no longer numb. You will need to be able to swallow without choking. You can then eat and drink normally.
If your doctor removed a gallstone or placed a stent during the test, you may need to stay a night in the hospital. You cannot drive or return to work for 24 hours.
How long the test takes
An ERCP usually takes 30 to 60 minutes.
How It Feels
You may notice a brief, sharp burning or stinging when the IV is started in your arm. The local anesthetic sprayed into your throat usually tastes slightly bitter. It will make your tongue and throat feel numb and swollen. Some people report feeling as though they can't breathe sometimes because of the tube in their throat. This is a false sensation caused by the anesthetic. There is always plenty of breathing space around the tube in your mouth and throat. Remember to relax and take slow, deep breaths.
You may gag, feel nauseated or bloated, or have mild belly cramps as the tube is moved. If the discomfort is severe, alert your doctor with an agreed-upon signal or tap on the arm. Even though you won't be able to talk during the test, you can still communicate.
The IV medicines will make you feel sleepy. You may not be able to remember much of what happens during or for several hours after the test. You may have heavy eyelids, trouble speaking, a dry mouth, or blurred vision for several hours after the test.
You may feel flushed when the contrast material is injected.
Risks
Complications aren't common. But having this test may cause serious problems, such as:
- Inflammation of the pancreas. (This is called pancreatitis.)
- Bleeding. This may occur if the pancreatic or bile ducts were widened, if a stent was placed, or if biopsies were taken.
- Infection of the bile ducts, which may occur if gallstones were removed.
- Infection of the blood. (This is called sepsis.)
- An abnormal heart rhythm.
- A puncture of the esophagus, stomach, duodenum, bile duct, or pancreatic duct. If this happens, you will need to have surgery to repair the puncture.
- Problems caused by anesthesia.
People who have serious heart disease and older adults who have other chronic diseases have a greater chance of having problems from this test. Talk to your doctor about your specific risks.
Results
Your doctor may be able to tell you about some findings right after the test. But the medicines used to relax you for the test may impair your memory. So your doctor may tell you to call the next day for your results.
Normal: |
|
---|---|
Abnormal: |
|
Related Information
Credits
Current as of: March 22, 2023
Author: Healthwise Staff
Medical Review:
E. Gregory Thompson MD - Internal Medicine
Adam Husney MD - Family Medicine
Jerome B. Simon MD, FRCPC, FACP - Gastroenterology
Current as of: March 22, 2023
Author: Healthwise Staff
Medical Review:E. Gregory Thompson MD - Internal Medicine & Adam Husney MD - Family Medicine & Jerome B. Simon MD, FRCPC, FACP - Gastroenterology
This information does not replace the advice of a doctor. Healthwise, Incorporated disclaims any warranty or liability for your use of this information. Your use of this information means that you agree to the Terms of Use and Privacy Policy. Learn how we develop our content.
Healthwise, Healthwise for every health decision, and the Healthwise logo are trademarks of Healthwise, Incorporated.
HealthLinkBC Files
HealthLinkBC Files are easy-to-understand fact sheets on a range of public health and safety topics including disease prevention and immunizations.
Find Services and Resources
If you are looking for health services in your community, you can use the HealthLinkBC Directory to find hospitals, clinics, and other resources.