ERCP Test

Also known as: endoscopic retrograde cholangio-pancreatography.

What is an ERCP test?

If a patient has problems related to the biliary or pancreatic ducts, an ERCP might aid in both diagnosis and treatment. It involves using an endoscope and X-rays to operate directly on these ducts.

What happens during the procedure?

  1. An endoscope is passed through the mouth, into the esophagus, stomach, and down into the duodenum, which is the upper portion of the small intestines.
  2. A catheter is passed through the endoscope to inject contrast dye into the small intestines.
  3. Then X-ray is used to look for problems with the bile and pancreatic ducts.
  4. If problems are discovered, the endoscope can be used to fix the problems identified using special tools.

Is any special preparation needed?

You may need to avoid food, drink or medication for a set period of time before the procedure.

What are the risk factors?

Bleeding, infection or perforation of surrounding tissue are potential complications of an ERCP test.


Reviewed by: Carrie Firestone Baum, MD

This page was last updated on: 12/11/2026 18:13:35

Gastroenterology

The Division of Pediatric Gastroenterology at Nicklaus Children's Hospital is dedicated to the treatment of a wide variety of gastrointestinal problems in infants, children and adolescents with a multidisciplinary approach. 

Learn More

Colorectal Center

The first and most experienced Comprehensive Pediatric Colorectal Program in Florida, specialized expertise in treating children, adolescents and young adults with abnormalities affecting the colon, anus, rectum, urinary tract and genitals.

Learn More
Check Your Symptoms
Use the symptom checker tool to check how serious your symptoms are, if a healthcare visit is needed, and what steps you can take to relieve your symptoms at home.

Inspiring Patient Stories

John and his mom in the school cafeteria. He Told His Mom He Just Had a Tummy Ache, but the Diagnosis Was Far More Serious

John, was enjoying the summer break with his family when he started to feel his stomach hurting and it would not go away. What initially seemed to be something minor like constipation turned into an emergency. John's family rushed rushed him for specialized care at Nicklaus Children's Hospital. An Endoscopic Retrograde Cholangiopancreatography (ERCP) revealed John not only had an enlarged liver but also gallstones causing an enlarged gall bladder.

Learn more about