Skip to main contentLast updated: 19-Nov-2026
Tapping Book on WhatsApp will likely open the WhatsApp app on your phone.

Dr Harsh Shah
MS, MCh (Surgical Gastroenterology), DrNB (Surgical Gastroenterology)
Registered with Gujarat Medical Council, Reg. No. G-38738
Gastro & Cancer Surgeon
Dr. Jivraj Mehta Hospital, Vasna, Ahmedabad · 18 years of experience
In short
A gallstone can slip into the duct and block the pancreas for a while. That is how gallstones cause pancreatitis.
Most stones pass by themselves, so most people do not need an ERCP. The scope test is for a blocked duct or an infection of the bile, not for every attack.
The gallbladder keeps making stones, so after a mild attack it is usually removed before you leave hospital. After a severe attack the operation waits for some weeks.
For the whole story of an attack, from the first drip to the recovery, read our acute pancreatitis treatment page. This post answers one question: when should the gallbladder be removed after gallstone pancreatitis?
A small stone leaves the gallbladder, travels down the bile duct and sticks for a time at the opening shared with the pancreas.
The bile duct and the pancreatic duct open together into the small bowel. When a stone blocks that opening, the juice made by the pancreas cannot drain. Pressure builds up and the enzymes start to work inside the gland itself. That is the attack.
Our post on when to remove the gallbladder and how it is done explains the operation itself.
No single test proves it. The cause is worked out by putting a blood test, an ultrasound and your own history together.
| Clue | What it tells us | Keep in mind |
|---|---|---|
| Liver blood test (ALT) raised to about three times normal | Points strongly to a stone | A normal value does not rule it out |
| Ultrasound of the belly | Shows stones or sludge, and the width of the duct | A normal scan does not rule it out, as sludge is easily missed |
| Bilirubin and ALP rising | The stone is still stuck | Repeated, because the value changes with time |
| MRI of the ducts or an endoscopic ultrasound | Looks for a stone left in the main duct | Used when the doubt is real, to avoid a needless ERCP |
The enzymes amylase and lipase only tell us that the pancreas is inflamed. They do not tell us why. Other causes, such as alcohol or a high blood fat level, are looked for if the stone clues are missing.
No. An ERCP is needed only when the bile duct is infected or the stone stays stuck and keeps the duct blocked.
An ERCP is a scope test through the mouth that clears the duct. It treats a blocked duct. It does not treat the pancreatitis. Doing it in everyone adds risk, because the test itself can inflame the pancreas.
When the doubt is in the middle, an MRI of the ducts or an endoscopic ultrasound is done first. The ERCP is kept for a stone that is really there.
Before you leave the hospital. Once the pain has settled and you are eating, the keyhole operation is done in the same admission.
For many years, people were sent home and called back for the operation a few weeks later. A well-known trial compared the two plans. The people who waited came back more often with new gallstone trouble, and the early operation was no harder and no riskier.
The reason is simple. The weeks at home are the weeks when the next stone moves. Taking the gallbladder out first removes the source before it can cause a second attack.
If the duct needs checking, it is done by an MRI beforehand or by a dye picture taken during the operation. A stone found then can be dealt with in the same sitting or soon after by an ERCP.
The operation waits. In a severe attack, with fluid collections or dead tissue, the gallbladder is removed after the inflammation has settled, usually after some weeks.
| Type of attack | ERCP? | Gallbladder removal |
|---|---|---|
| Mild, no infection of the bile | No | Same admission, before discharge |
| Mild, with an infected bile duct | Yes, urgent | Same admission, after the ERCP |
| Mild, with a stone suspected in the main duct | MRI or scope ultrasound first | Same admission, with a dye picture of the duct |
| Severe, with collections or dead tissue | Only for infection or a block | Delayed until things settle, usually some weeks |
| Not fit for an operation | For infection or a block | Not done; a small cut in the duct opening is used instead |
Operating early in a severe attack is unsafe. The tissue is swollen, the anatomy is distorted and the risk of injury to the bile duct is higher. Any collections near the pancreas also need to be treated first. So the sicker the attack, the longer the gallbladder waits. This is the opposite of what many families expect.
While waiting, a small cut in the muscle at the duct opening can be made through the scope. It lowers the chance of another stone-triggered attack. It is a bridge, not a replacement for the operation.
If you are truly unfit, the scope procedure alone can reduce further attacks, but the gallbladder stays and can still cause pain.
A small cut at the duct opening lets stones pass more easily. It lowers the chance of another pancreatitis. It does not stop colic or an inflamed gallbladder. It is a concession to health, not the preferred plan, and it is chosen only after a careful look at your fitness.
Age alone is not a reason to skip the operation. Many older people do well after keyhole surgery when the heart, lungs and sugar are looked after. The decision is made with your anaesthetist.
It is the same keyhole operation, done with extra care, because the area may be swollen after the attack.
The gallbladder keeps making stones, and a stone can block the pancreas again. Removing it takes away the source, so a second attack is much less likely.
Yes, after a mild attack, once the pain has settled and you are eating. Waiting at home has no benefit and carries the risk of another attack.
Only if the bile duct is infected, the skin is turning yellow, or a stone is seen stuck in the duct. Most people with a mild attack do not need one.
The tissue is swollen and the anatomy is distorted, so surgery is riskier. Collections near the pancreas may also need treatment first. The gallbladder is usually removed after some weeks, once things have settled.
Yes. It can come back within weeks or months. A small cut in the duct opening lowers the chance but does not remove the source.
Eat small, low-fat meals and avoid alcohol. A heavy, oily meal can set off pain from the gallbladder.
Tiny stones and sludge are easily missed. The liver blood test and your history may still point to a gallstone cause, and a scope ultrasound can look more closely.
For the whole picture of an attack of pancreatitis, start at the acute pancreatitis treatment page. For questions before you travel, call +91-63555-64601.
Dr Harsh Shah — Dr. Jivraj Mehta Hospital, Vasna, Ahmedabad
Dr. Jivraj Mehta Hospital, Dr Jivraj Mehta Marg, Vasna, Ahmedabad 380007.
Consultations, review of reports and scans, operations and follow-up. OPD Monday to Saturday, 9 am to 5 pm.
Appointments: +91-63555-64601 · +91-63590-11009 · Hospital 079-2663 6363
Directions to the hospital · WhatsApp +91-63555-64601
Had an attack of pancreatitis and been told it came from gallstones? Dr Harsh Shah, a gastro and gallbladder surgeon in Ahmedabad, explains whether you need an ERCP, and when the gallbladder should come out. You can also call us or write on WhatsApp. Call For Appointment Book on WhatsApp Tapping Book on WhatsApp will likely open the WhatsApp app on your phone.
Tapping Book on WhatsApp will likely open the WhatsApp app on your phone.
Swasth Parivar: every week, practical advice on recovery, diet and warning signs. No advertising. Stop any time.
Your number is used for these updates and for the clinic to reach you. It is never sold or passed on. To stop, reply STOP on WhatsApp.