A Procedure That Diagnoses and Treats at the Same Time
Most medical investigations are purely diagnostic — they identify a problem and leave treatment to a separate procedure. ERCP is different. It is one of the few medical procedures that can both diagnose and treat conditions of the bile ducts, pancreatic duct, and gallbladder in a single session. For patients in Lahore suffering from jaundice, gallstones, unexplained abdominal pain, or pancreatic conditions, understanding what ERCP is and how it works can make the prospect of undergoing it far less daunting.
What Does ERCP Stand For?
ERCP stands for Endoscopic Retrograde Cholangiopancreatography. The name describes exactly what the procedure does. Endoscopic means it is performed using an endoscope — a long, flexible camera inserted through the mouth. Retrograde means the dye used during the procedure travels backward — against the normal direction of flow — into the ducts. Cholangiopancreatography refers to imaging of the bile ducts and pancreatic duct using contrast dye and X-ray.
Together, these elements make ERCP a powerful tool for examining and treating the biliary and pancreatic systems — structures that play a central role in digestion and that are responsible for a wide range of serious abdominal conditions when they malfunction.
The Anatomy Involved — What ERCP Looks At
To understand ERCP, it helps to understand the structures it examines. The liver produces bile — a digestive fluid that breaks down fats. Bile travels from the liver through the bile ducts and is stored in the gallbladder. When food is eaten, the gallbladder releases bile into the common bile duct, which carries it into the small intestine through a small opening called the ampulla of Vater.
The pancreas sits just behind the stomach and produces digestive enzymes. These enzymes travel through the pancreatic duct, which joins the common bile duct at the ampulla before entering the small intestine. This junction — where both the bile duct and pancreatic duct meet and drain — is the area ERCP is specifically designed to access and examine.
When gallstones, tumors, strictures, or inflammation obstruct these ducts, the consequences can be serious — jaundice, severe abdominal pain, infection, and pancreatitis. ERCP allows the gastroenterologist to see into these ducts directly, identify the obstruction, and in many cases clear it during the same procedure.
How the ERCP Procedure Works
ERCP is performed by a gastroenterologist — a specialist in digestive conditions — in a specifically equipped procedure room with X-ray capability. Here is how the procedure unfolds step by step.
The patient is given a sedative or light anaesthesia to ensure comfort throughout. An endoscope — a long, flexible tube with a camera and light at the tip — is passed gently through the mouth, down the oesophagus, through the stomach, and into the first part of the small intestine called the duodenum.
Once the endoscope reaches the duodenum, the gastroenterologist locates the ampulla of Vater — the small opening where the bile duct and pancreatic duct drain. A fine catheter is then passed through the endoscope and carefully inserted into this opening.
Contrast dye is injected through the catheter directly into the bile ducts and pancreatic duct. This dye makes these structures visible on X-ray. Fluoroscopy — real-time X-ray imaging — is then used to visualise the ducts as they fill with contrast, revealing any stones, narrowings, blockages, leaks, or tumours present within the duct system.
If a problem is identified, the gastroenterologist can treat it immediately without any additional procedure. A small cut — called a sphincterotomy — can be made at the ampulla to widen the opening. Gallstones lodged in the bile duct can be captured in a small basket and removed. A narrow or blocked duct can be opened by inserting a stent — a small plastic or metal tube that holds the duct open and restores drainage. Tissue samples can be collected for biopsy if a suspicious area is identified.
The entire procedure typically takes between 30 minutes and one hour depending on the complexity of findings and any treatment performed.
What Conditions Does ERCP Diagnose and Treat?
ERCP is used for a wide range of conditions affecting the bile ducts and pancreas. Bile duct stones — also called choledocholithiasis — are the most common indication. Gallstones that have passed from the gallbladder into the common bile duct cause obstruction, jaundice, and severe pain, and ERCP is the preferred method of removing them without open surgery.
Biliary strictures — narrowings of the bile duct caused by inflammation, previous surgery, or tumour compression — are identified and treated with stent placement. Primary sclerosing cholangitis, a condition causing progressive scarring of the bile ducts, is assessed and managed through ERCP. Pancreatic duct strictures and stones causing chronic pancreatitis are also accessible through ERCP. Bile leaks following gallbladder surgery or liver transplantation are diagnosed and sealed. Tumours causing obstruction of the bile duct — whether from pancreatic cancer or cholangiocarcinoma — are identified, sampled for biopsy, and stented to relieve jaundice even when surgical removal is not possible.
How to Prepare for ERCP
Preparation for ERCP is straightforward but important. Patients are required to fast for at least six hours before the procedure — the stomach must be empty for the endoscope to pass safely and for the stomach contents to be clearly seen. Blood-thinning medications may need to be paused in advance — your gastroenterologist will provide specific instructions based on your medication history. You will need someone to accompany you home afterward as sedation affects the ability to drive.
At Alnoor Diagnostic Centre in Shadman, Lahore, our team provides clear pre-procedure instructions to every patient so that preparation is simple and the procedure proceeds without complications.
What to Expect After ERCP
After the procedure, patients are monitored in a recovery area while the sedation wears off. Mild throat discomfort and bloating are common and settle within a few hours. Most patients can resume eating and normal activities the following day. If a sphincterotomy was performed or a stent was placed, the gastroenterologist will provide specific post-procedure guidance.
Complications from ERCP are uncommon when the procedure is performed by an experienced team in a well-equipped facility. The most significant potential complication is post-ERCP pancreatitis — inflammation of the pancreas triggered by the procedure — which occurs in a small percentage of cases and is managed with appropriate monitoring and care.
ERCP Services at Alnoor Diagnostic Centre, Lahore
At Alnoor Diagnostic Centre in Shadman, Lahore, we provide ERCP services delivered by experienced gastroenterologists in a fully equipped endoscopy facility. Our team is committed to patient safety, comfort, and clinical accuracy at every stage of the procedure — from preparation and the procedure itself to post-procedure recovery and follow-up.
If you have been experiencing jaundice, recurring upper abdominal pain, elevated liver enzymes, or have been advised by your physician to undergo ERCP, we are here to help.

