Skip to main content
Clinical Condition Center
🩸 Diabetes & Blood Sugar ❤️ Heart, BP & Cholesterol 💉 GLP-1, Metabolism & Weight 🧪 Lab Tests & Biomarkers 💊 Medications & Drug Safety 🫁 Digestive, GERD & Liver 🌸 Women's, Thyroid & Hormones 🧠 Brain, Migraine & Mental Health
Qullañ tuqit Guias → • Calculadores ukanaka →
✨ Unlock your Free Personal Health Dashboard — smart guidance tailored to your age & vitals

What is an ERCP test? What you need to know about it (ERCP Test)

Dr. Priya Awami (MBBS) jupax akham siwa:

Qullañ tuqit uñakipaña Dr. Priya Awami (MBBS) jupax akham siwa: — Ukax akham uñt’ayatawa Nov 25, 2026 · 8 Mä minuto liytʼañataki

What is an ERCP test? What you need to know about it (ERCP Test)
Aka qillqatan qillqatanakapa (Tabla de Contenidos) . ▾

Have you or someone in your family had a stomach ache for several days? Or are your eyes turning yellow, like jaundice? When you go to the doctor at a time like this, and he tells you that you need to have an ERCP test, you may suddenly feel a little scared. "What is this ERCP?" You may think. So today, very simply, as if you were talking to a friend, let's learn everything about this ERCP test.

Simply put, what is ERCP?

The full name of ERCP is Endoscopic Retrograde Cholangiopancreatography''. Although the name is a bit long, its meaning is very simple. This is a special procedure used to diagnose and sometimes treat problems with the bile ducts and pancreatic ducts in our digestive system.

Imagine this is done with an instrument called an endoscope. That is, a thin, long tube. It has a small camera and a light at one end. The doctor inserts this tube through your mouth and slowly passes it through your stomach until it reaches the duodenum, the first part of the small intestine.

Once there, the doctor injects a special dye through the tube. Then, he takes an X-ray to see how the dye flows through the tube. This can help determine if there are any blockages or stones in the tube. Sometimes, if something like gallstones is stuck in the tube, it can be removed during the test.

What are the bile ducts and pancreatic ducts?

These are like a small pipe system inside our bodies.

  • Bile ducts: These ducts carry bile, a fluid made by our liver, to the gallbladder and small intestine. This bile helps to dissolve the fats in the foods we eat.
  • Pancreatic ducts: These ducts carry juices made by the pancreas to the small intestine. These juices contain enzymes that help digest the food we eat.

What is the difference between ERCP and MRCP?

You may have also heard of MRCP. MRCP stands for (Magnetic Resonance Cholangiopancreatography). Although both are used to look at the same duct system, the two methods are very different. Instead of inserting a camera like in ERCP, MRCP involves injecting a special liquid into a vein and performing an (MRI) scan.

Let's look at this table to simply understand the difference.

FeatureERCP (through endoscopy) • MRCP (by MRI scan)
Method
ERCP (through endoscopy): An instrument (endoscope) is inserted into the body (invasive).
MRCP (by MRI scan): Nothing is inserted into the body. It is scanned from the outside (non-invasive).
Main objective
ERCP (through endoscopy): At the same time as diagnosing the disease, treatment such as stone removal and stent placement can be performed.
MRCP (by MRI scan): Only imaging of the vascular system is needed for diagnosis. Treatment is not possible.
Anesthesia
ERCP (through endoscopy): Usually causes unconsciousness or intoxication.
MRCP (by MRI scan): No anesthesia is required.

If the MRCP finds that there is a problem, you will definitely have to go for a different procedure (often an ERCP) to treat it.

In what cases is an ERCP test needed?

A doctor may recommend an ERCP for you for the following reasons:

  • If you have a stomach ache for which you can't find a cause .
  • If the eyes or skin become yellow (jaundice).
  • If there is a suspicion that gallstones or other objects (such as tumors) are blocking the bile ducts.
  • If you think your bile ducts or pancreatic ducts are blocked or narrowed .
  • If you suspect that a liquid is leaking from these pipes.
  • Look for infections in the urinary system.

Doctors usually recommend an ERCP if there is a hope of treating the condition rather than diagnosing it. This is because any procedure that involves inserting a device into the body carries a small amount of risk. However, ERCP is often a low-risk procedure. Your doctor will explain the possible complications to you before the procedure.

How do you prepare for this test?

There are a few things you need to prepare for before an ERCP. Be sure to discuss these with your doctor.

  • Tell us about any other illnesses you have: If you are pregnant, have lung or heart disease, have diabetes, or have any allergies to any medications, you should tell us all of this.
  • If you take insulin for diabetes: Your insulin dose may need to be adjusted on the day of the test. Talk to your diabetes doctor about this.
  • If you are taking blood thinners: If you are taking medications such as Aspirin, Clopidogrel (Plavix), Warfarin, your doctor may tell you to stop taking those medications for a few days. Never stop taking your medication without asking your doctor.
  • Fast for 8 hours: It is best not to eat or drink anything for 8 hours before the test.
  • Have someone to drive you home: You may feel dizzy after the test. Therefore, have someone responsible drive you home. Do not drive or operate machinery for 8 hours.
  • Will I have to stay in the hospital?: You may have to stay in the hospital overnight after the test. Prepare the necessary items, such as clothing, for that.

What happens during ERCP?

The entire process usually takes about 1-2 hours. In most cases, you can go home the same day.

Before the test begins, your throat will be numbed. You will also be given a sedative through a vein. Then, the doctor will insert the endoscope through your mouth and guide it into the area.

Treatments that can be performed during ERCP

One of the biggest advantages of this is that several treatments can be performed at the same time as this test, without having to undergo a separate surgery.

  • Stone removal: Gallstones that are stuck in the ducts can be captured, crushed, and removed with a small wire basket-like instrument passed through the endoscope.
  • Biopsy: If there is something suspicious in the ducts, such as a lump, a small piece of it can be taken and sent for a biopsy'' to check for cancer cells.
  • Dilation: A narrowed tube can be widened by inserting a small balloon into it and inflating it.
  • Stent Placement: If a vessel needs to be kept open, a small mesh tube called a stent can be placed inside it.
  • Sphincterotomy: Sometimes the muscle at the opening of the urethra (Sphincter of Oddi) can become narrow. This procedure can be used to widen it by making a small incision.

What happens after the test? And the risks?

After the test, you will be kept under observation for about 1-2 hours before being admitted to the ward. You may experience temporary pain, such as a slight scratch in your throat.

Although ERCP is generally a low-risk procedure, complications can occur in a very small number of people.

  • Reactions to sedatives.
  • Allergy to the piercing fluid (dye).
  • Inflammation of the pancreas (Pancreatitis).
  • Infectious conditions.
  • Injury or bleeding in the stomach or intestines caused by the endoscope.

Warning signs that require immediate medical attention!

If you experience any of the symptoms below within 72 hours of the test, call your doctor immediately and go to the hospital's Emergency Treatment Unit (ETU).

Symptoms that require urgent attention
  • Severe stomach pain
  • Persistent cough
  • Fever and chills
  • Chest pain
  • Nausea or vomiting
  • Vomiting blood
  • Black stools (a sign of bleeding)
  • Difficulty breathing

💡 Take-Home Message

  • ERCP is an important procedure used to diagnose and treat diseases of the bile ducts and pancreatic ducts.
  • This is usually a low-risk test, but be open about it with your doctor.
  • Follow the doctor's instructions (such as fasting and medication) carefully before the test.
  • Be sure to arrange for someone to take you home after the test.
  • Do not ignore any unusual symptoms (especially severe stomach pain, fever) that occur after the test. Seek medical advice immediately.
❓ FAQ

Qullañ tuqit jiskt’äwinaka (FAQ) .

Sapa kuti jiskt’awinaka ukat qullañ tuqit jaysawinaka aka usu tuqita

What are the bile ducts and pancreatic ducts?

These are like a small pipe system inside our bodies.

  • Bile ducts: These ducts carry bile, a fluid made by our liver, to the gallbladder and small intestine. This bile helps to dissolve the fats in the foods we eat.
  • Pancreatic ducts: These ducts carry juices made by the pancreas to the small intestine. These juices contain enzymes that help digest the food we eat.
📚 Cite This Medical Article (Vancouver / APA 7th / HTML Link) ▾
Vancouver (ICMJE): Sammani P. What is an ERCP test? What you need to know about it (ERCP Test) [Internet]. Nirogi Lanka Medical Encyclopedia; Nov 25, 2026. Available from: https://nirogilanka.com/aym/digestive-diseases-ercp/
APA 7th: Sammani, P. (2026). What is an ERCP test? What you need to know about it (ERCP Test). Nirogi Lanka. https://nirogilanka.com/aym/digestive-diseases-ercp/
<a href="https://nirogilanka.com/aym/digestive-diseases-ercp/" target="_blank" rel="noopener">What is an ERCP test? What you need to know about it (ERCP Test) — Nirogi Lanka</a>
🔍 Search Keywords: digestive diseases ercp • ERCP Test • Surgery
💬 Uñakipirinakan arsutanakapa ukat jiskt’äwinakapa (0)

Have a question or experience to share? Post a comment or reply to other readers below.

🛡️ Plain Text Only • No Links
👤

Janiw kuna arsuwinakas jichhakamax uñt’ayatäkiti. Aka chiqanx amuyt’awim jan ukax jiskt’awim yapxatañamawa.

🩺 Artículos ukanakax jumatakix wali askiwa
Scared about Gamma Knife Surgery? Let's talk about it simply!
Are you tired of having varicose veins in your legs? Let's talk about this surgery (Varicose Vein Stripping and Ligation)
Want to get rid of wrinkles and look younger? Let's learn about Dermal Fillers!
Lymphocytes meaning ukat kuna yatichäwinakasa: Cuerpon defensa forzanakapata yatiqañani
Lactic acid yaka chinu (lactic acid blood test) ukhamaraki qhanañchawi
Is your body low in chloride? Let's be aware of this (Hypochloremia)
⚠️ WAKISKIRI: Nirogi Lanka ukan sitio web ukan qullañ tuqit qillqatanaka ukat yatiyawinakax taqpach yatiyawinakatakiw ukat janiw qullañ tuqit iwxt’awinaka, diagnóstico jan ukax qullañ tuqit lantintatäkiti. Kʼumaräñ tuqit kuna jan waltʼäwinakas utjaspa ukhaxa, wali yatxattʼat qulliriruw jisktʼasiñama.