Patient guide · Procedure
An ERCP is one of the most powerful tools we have in gastroenterology — it lets us treat problems in the bile ducts and pancreas through an endoscope, often solving something that once needed major surgery. If a doctor has recommended one, this guide walks you through exactly what it means, why it's done, and what to expect — the same explanation Dr. Maaz gives his own patients before their procedure.
ERCP stands for Endoscopic Retrograde Cholangiopancreatography — a long name for an elegant idea. A thin, flexible camera (an endoscope) is passed gently through your mouth, down the food pipe and stomach, to the point where the bile duct and pancreatic duct drain into the small bowel. Using live X-ray pictures and a fine dye, Dr. Maaz can then see inside those ducts and, in the same sitting, treat what's wrong — remove a stone, open a blockage, relieve jaundice, or place a small tube (a stent) to keep a duct draining.
The key thing to understand: ERCP is usually a treatment, not just a test. Most people come to it because something needs fixing, and it can be fixed without a single cut on the outside of the body.
The bile ducts carry bile from the liver and gallbladder to the bowel. When something blocks or narrows them, ERCP is often the answer. Common reasons include:
Gallstones are very common in Pakistan, and so are bile-duct stones that follow them. The good news is that if you've been told a bile-duct stone or blockage may need surgery, an endoscopic option often exists — treating it through ERCP instead, without open surgery, and closer to home. It's always worth asking.
The specific fasting time and medicine adjustments for your ERCP will be given to you when it's booked. If anything here differs from what you were told, follow the clinic's instructions.
ERCP is generally safe, and in experienced, high-volume hands complications are uncommon. But it is a real procedure, and you deserve a straight account:
These risks are the reason ERCP is best done by a dedicated advanced endoscopist who performs them regularly — experience and volume genuinely lower complication rates.
You'll be observed for a few hours, sometimes overnight, mainly to make sure the pancreas is settled. Mild bloating or a sore throat is normal. You'll usually restart eating gently the same day once cleared. If a stent was placed, there's often a follow-up plan to remove or exchange it later — this matters, so keep that appointment.
Read the full aftercare guide — what's normal, and the warning signs →
Severe or worsening tummy pain, fever or chills, repeated vomiting, vomiting blood, black tarry stools, or difficulty breathing. These can signal a treatable complication — don't wait it out. Call the clinic on +92 51 8464646 or attend the nearest emergency department.
Patients are often sent for more than one of these and reasonably ask why. They are not alternatives competing to answer the same question.
The sensible sequence in most cases is therefore: scan to see the anatomy, EUS if the question is whether a stone or lesion is truly there, and ERCP when the answer is yes and it must be dealt with.
The commonest reason. A stone that has left the gallbladder and lodged in the bile duct causes jaundice, pain and sometimes infection. ERCP opens the lower end of the duct and removes the stone with a balloon or basket. Most stones come out in a single session.
A stone passing through the duct can inflame the pancreas. This is where ERCP is most often misunderstood. In the majority of gallstone pancreatitis, the stone has already passed by the time the patient arrives, and an ERCP would add risk without adding benefit. Urgent ERCP is indicated when the stone is still obstructing — particularly when there is accompanying cholangitis. Otherwise the pancreatitis is managed medically, and attention turns to removing the gallbladder to prevent a recurrence.
When an obstructed bile duct becomes infected, bacteria enter the bloodstream and the patient becomes rapidly unwell — fever with rigors, jaundice, pain, sometimes confusion and a falling blood pressure. This is a medical emergency, and it is one of the few situations where ERCP is genuinely urgent, because antibiotics alone cannot succeed while the duct stays blocked. Draining the duct is the treatment.
A tumour of the pancreas, bile duct or gallbladder can block bile flow and cause deepening jaundice with intense itching. ERCP relieves it by placing a stent. This matters even when surgery is planned, since chemotherapy and anaesthesia are both safer once the bilirubin has fallen.
Not every narrowing is cancer. Bile duct strictures also follow gallbladder surgery, liver transplantation, chronic pancreatitis, and autoimmune conditions such as IgG4-related disease and primary sclerosing cholangitis. These are often treated over several sessions with balloon dilatation and stents. The central difficulty is telling a benign stricture from a malignant one — which is where cholangioscopy has changed things, below.
Bile escaping after gallbladder surgery or liver trauma collects in the abdomen and causes pain and fever. Placing a stent lowers the pressure inside the duct so that bile takes the easier route downward, and the leak seals itself. This usually avoids further surgery.
Stones, strictures and duct disruption in chronic pancreatitis can be treated at ERCP, though these are technically more demanding than biliary work and the decision to intervene needs care.
Not every ERCP finishes the job, and that is not a failure. A very large stone, a tight or angled duct, or an unwell patient may mean the safest course is to place a stent to keep bile draining and return for a second session — a staged ERCP. The stent relieves the obstruction immediately, prevents infection, and often softens a stone and dilates the duct in the interval, making the second procedure easier and safer than forcing the first. If you are told your ERCP will need repeating, this is usually the reason.
Most ERCPs need nothing beyond standard technique. But fluoroscopy shows only the shadow bile casts — not the duct lining itself. When a stone is too large to remove whole, or a narrowing could be either scar or cancer, an outline cannot settle it. A very fine camera can be passed into the duct to look directly. Read about cholangioscopy, difficult bile duct stones and unexplained strictures →
You'll be sedated and comfortable, and most people remember very little. Afterwards, mild bloating from the air used is common and settles quickly.
Often, yes — for bile-duct stones and blockages, ERCP treats the problem endoscopically. Note that if you have gallstones in the gallbladder itself, you may still be advised to have the gallbladder removed separately; Dr. Maaz will explain your specific plan.
In experienced hands, yes. Complications exist but are uncommon and actively guarded against. The single biggest safety factor is being treated by someone who performs ERCP regularly.
For duct problems, ERCP is usually less invasive, has a quicker recovery, and avoids open surgery — which is exactly why it has become the first choice for these conditions worldwide.
If you have been advised to undergo ERCP, EUS, cholangioscopy or another advanced endoscopic procedure and you live outside Islamabad, your reports and imaging can often be reviewed before you travel.
Send them on WhatsApp, then book an online consultation to go through them together. That is where it is decided whether the procedure is appropriate, what further evaluation may be needed first, and what the next steps in your management should be.
WhatsApp: 03459116675. Reports are reviewed ahead of the consultation; management is decided during it.
Dr. Maaz welcomes questions, complex referrals, and second opinions.
This guide provides general information only and does not replace personal medical advice. Always follow the specific instructions given to you by Dr. Maaz and the clinic. For emergencies, contact Shifa International Hospital or your nearest emergency department.