Skip to main content

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

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

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.

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

If the MRCP finds that there is a problem, you will definitely have to go for a separate 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.

ERCP, ERCP test Sinhala, bile ducts, pancreas, stomach pain, jaundice, endoscopy, stone removal, Endoscopy Sinhala

Frequently Asked Questions (FAQ)

What are the bile ducts and pancreatic ducts?

These are like a small pipe system inside our bodies.

⚠️ Important: The medical articles and information on Nirogi Lanka are for general awareness only, and are by no means a substitute for professional medical advice, diagnosis, or treatment. For any medical problem you have, consult a qualified physician immediately.

💬 Comments (0)

No comments yet. Be the first to share your thoughts here.

Add Your Comment

Please calculate: 1 + 1 =
What is an ERCP test? What you need to know about it (ERCP Test)
SurgeriesJuly 7, 2026

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

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.

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

If the MRCP finds that there is a problem, you will definitely have to go for a separate 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.

ERCP, ERCP test Sinhala, bile ducts, pancreas, stomach pain, jaundice, endoscopy, stone removal, Endoscopy Sinhala

Frequently Asked Questions (FAQ)

What are the bile ducts and pancreatic ducts?

These are like a small pipe system inside our bodies.

⚠️ Important: The medical articles and information on Nirogi Lanka are for general awareness only, and are by no means a substitute for professional medical advice, diagnosis, or treatment. For any medical problem you have, consult a qualified physician immediately.

💬 Comments (0)

No comments yet. Be the first to share your thoughts here.

Add Your Comment

Please calculate: 1 + 1 =