Skip to content

Choledocholithiasis, acute cholangitis and gallstone ileus

Choledocholithiasis, acute cholangitis and gallstone ileus: presentation, diagnosis, risk stratification, antibiotics, ERCP and urgent biliary drainage.

  • 23 min read
  • Last verified
  • Checked against sources

In one minute

  • Choledocholithiasis is a stone in the common bile duct. Most are secondary (they have travelled from the gallbladder), but some form in the duct itself.
  • A simple obstruction causes biliary colic, jaundice, dark urine, pale stool and itch, without fever. Fever, rigors and hypotension mean infection has been added: acute cholangitis.
  • Acute cholangitis is therefore obstruction plus infection, and it ranges from mild to organ failure. The Tokyo Guidelines use Charcot triad for diagnosis and a three-grade severity scale to decide who needs urgent drainage.
  • Stable patients with a suspected duct stone are risk-stratified by the ASGE 2019 criteria; high probability goes straight to ERCP, intermediate probability is confirmed by MRCP or endoscopic ultrasound, and low probability has duct clearance performed with the cholecystectomy.
  • Gallstone ileus is the odd one out: a large stone erodes through a cholecystoenteric fistula and blocks the terminal ileum, mainly in older women; on imaging it gives Rigler triad.

Learning objectives

By the end of this page you should be able to:

  1. Explain the difference between biliary colic, choledocholithiasis without infection, and acute cholangitis.
  2. Read a cholestatic liver panel and say what raised alkaline phosphatase, GGT and conjugated bilirubin mean.
  3. Apply the 2019 ASGE risk stratification for common bile duct stones and choose between ultrasound, MRCP, endoscopic ultrasound, intraoperative cholangiography and ERCP.
  4. Diagnose acute cholangitis with the Tokyo 2018 criteria, grade its severity, and name the antibiotics and drainage plan for each grade.
  5. Describe the prevention of post-ERCP pancreatitis and the place of laparoscopic bile duct exploration.
  6. Recognise gallstone ileus from its pathophysiology and from Rigler triad, and choose a surgical approach.
  7. Outline what to do when MRCP, ERCP and advanced surgery are not available.

Definition and classification

DefinitionCholedocholithiasis

Choledocholithiasis means one or more stones in the common bile duct. It usually complicates gallstone disease, because most stones migrate from the gallbladder through the cystic duct. A minority are primary bile duct stones that form in the duct itself in the setting of bile stasis, infection, a stricture or, in some parts of the world, biliary parasites.

Secondary stones are travel stones. They are the ones that interrupt surgery and that cause acute biliary pancreatitis when they impact at the ampulla. Primary stones are usually brown pigment stones (calcium bilirubinate mixed with cholesterol) and they recur unless the underlying stasis or infection is corrected. Black pigment stones, by contrast, are usually associated with haemolysis and are less common in the duct.

Acute cholangitis is defined as bacterial infection of the biliary tree in the setting of obstruction. It is not simply "infected bile": it is obstruction plus infection, and the obstruction is what turns a localised infection into a septic emergency. Choledocholithiasis is the commonest cause, but strictures, tumours, prior ERCP and stents, and primary sclerosing cholangitis can all produce the same clinical picture.

Gallstone ileus is mechanical small-bowel obstruction caused by a gallstone that has entered the gut through a fistula between the gallbladder and the bowel, usually the duodenum. The stone is almost always large, and the obstruction is most often in the terminal ileum, which has the narrowest diameter.

Mirizzi syndrome is a related but distinct problem: a stone impacted in the cystic duct or in Hartmann pouch compresses the adjacent common hepatic duct from outside, producing jaundice that looks like a common duct stone.

Epidemiology

Up to 10 to 20% of people with symptomatic gallstones have a concomitant common bile duct stone at the time of their work-up. [1] Not all of these cause trouble: some are silent, others declare themselves with biliary colic, jaundice or pancreatitis.

Acute cholangitis is one of the serious complications of biliary obstruction. The mortality of biliary infection in general is 1 to 6%, but it rises to 10 to 20% when bacteraemia is present. [2] Bloodstream infection is present in 25 to 75% of patients with acute cholangitis. [2]

Gallstone ileus is rare. It accounts for 1 to 4% of all small-bowel obstructions, and for about a quarter of obstructions in people over 65 years. [4] It affects women about 3.5 times as often as men and is a disease of older adults. [4]

Aetiology and risk factors

Common bile duct stones share the risk factors of gallstones: increasing age, female sex, obesity and rapid weight loss, pregnancy and possibly genetic factors. Stones become more likely to enter the duct once the gallbladder is stone-laden and once biliary dynamics are disturbed.

Acute cholangitis arises when obstruction and infection coincide. The organisms are the ordinary flora of the bowel, because the biliary tree and the gut share drainage through the ampulla of Vater. Common causes of obstruction other than gallstones include biliary strictures, malignant obstruction, primary sclerosing cholangitis, post-ERCP or post-surgical change and complicated cholecystitis. Infection of the biliary tree after ERCP is an increasingly important cause, especially where stents are present, because the flora of a stented duct differs from that of a native duct.

Gallstone ileus requires three things: a large stone, chronic inflammation that erodes the gallbladder wall into an adjacent loop of bowel, and (usually) obstruction of the distal biliary tree that raises pressure inside the gallbladder and drives the erosion. A cholecystoduodenal fistula is the usual connection.

Pathophysiology

Choledocholithiasis. A stone in the duct raises intraductal pressure. If it is completely obstructing, bile cannot drain, pressure rises behind the stone and the patient develops jaundice and cholestatic liver chemistry. If it is partially obstructing or briefly stuck, the patient has pain but little jaundice. Stasis behind the stone favours bacterial overgrowth, and bacteria in an obstructed system cannot be cleared by the normal flow of bile; infection follows. Reflux of bile and bacteria down the common channel into the pancreatic duct is the mechanism of gallstone pancreatitis.

Acute cholangitis. The initial event is bacteraemia from the pressurised, infected biliary tree. Bacteria and their products cross into the circulation when duct pressure exceeds the pressure in the surrounding vessels, producing sepsis. Systemic inflammation then unmasks organ dysfunction: the liver (coagulopathy), kidneys, lungs and brain. This is why a patient can look well at 8 a.m. and be in shock by noon.

Gallstone ileus. Once a large stone has entered the bowel, it is carried distally until it reaches a segment narrow enough to trap it. The terminal ileum is the commonest site, in about 60% of cases, followed by the jejunum. [4] The stone has to be larger than about 2 cm before obstruction is likely. [4] The obstruction is therefore mechanical and high-grade, with vomiting, distension and absent flatus; it is not an ileus in the physiological sense.

Clinical features: history

Ask in the patient's own words. Patients with choledocholithiasis describe a steady or colicky pain in the epigastrium or right upper quadrant, often radiating to the back or to the scapula. It is usually not relieved by antacids. Nausea and vomiting are common; fever and rigors are not expected, and when they occur the diagnosis has shifted to cholangitis.

Jaundice may be noticed as yellowing of the sclerae or skin. Patients often report dark, tea-coloured urine and pale, clay-coloured stool, sometimes days before anyone looks at the eyes. Itching (pruritus) is common, worse at night and after a warm bath, because bile salts deposit in the skin. Appetite falls; weight loss may follow. Attacks can be short-lived if the stone drops back into the duct or passes into the duodenum, so a pain-free patient with jaundice still needs the same work-up.

Acute cholangitis adds fever and rigors to the picture. The classic triad of right upper quadrant pain, jaundice and fever (Charcot triad) is specific but is seen in only 20 to 50% of patients. [2] Its sensitivity is between 21 and 26%. [2] The more reliable marker of severe disease is the Reynolds pentad: Charcot triad plus shock and confusion, two signs of organ failure. [2]

Gallstone ileus presents in an older patient after a short history of pain, vomiting and abdominal distension, with absolute constipation or minimal flatus. The diagnosis should be considered whenever an older woman has small-bowel obstruction with no prior abdominal surgery: there are no adhesions to explain it.

Clinical features: examination

Look for jaundice in daylight. Palpate the right upper quadrant for tenderness; in uncomplicated choledocholithiasis there is no guarding or rebound. Undue tenderness, a rigid abdomen or systemic illness suggests cholecystitis, cholangitis or perforation. A palpable gallbladder is not a feature of simple duct stones in adults with chronic disease; an enlarged, palpable gallbladder in a jaundiced patient suggests malignant obstruction.

Fever is the pointer to infection. Rigors are common in cholangitis. Tachycardia, tachypnoea and hypotension define sepsis and need a resuscitation bundle immediately.

Murphy sign is negative in choledocholithiasis unless acute cholecystitis coexists. Scratch marks and excoriations betray pruritus. Kinking of the conjunctivae from jaundice is useful in pigmented skin. A sudden change in mental state in an elderly jaundiced patient is an emergency: it may be septic encephalopathy or hypoglycaemia, not simply "old age".

Differential diagnosis

Causes of jaundice and biliary pain that must be separated from choledocholithiasis
ConditionFeature that separates it
Acute cholecystitisFever and focal right upper quadrant signs; stone in the gallbladder on ultrasound; normal or mildly cholestatic liver tests unless a duct stone has also passed.
Acute viral hepatitisSick patient, prodrome, marked transaminase rise out of proportion to the bilirubin; bilirubin usually rises after the transaminases.
Alcoholic hepatitis / drug injuryHistory of alcohol or drug exposure; AST above ALT; fever and leucocytosis possible.
Primary biliary cholangitisChronic, asymptomatic itch with raised alkaline phosphatase; positive antimitochondrial antibodies; normal ducts on imaging.
Primary sclerosing cholangitisYounger men, inflammatory bowel disease, beading of ducts on MRCP, perinuclear ANCA.
Malignant obstructionPainless progressive jaundice, weight loss, a palpable gallbladder, a mass on imaging.
Mirizzi syndromeStone impacted in the cystic duct or neck of gallbladder; external compression of the common hepatic duct; jaundice without a stone visible in the common duct.
Acute pancreatitisSevere epigastric pain radiating to the back, vomiting; raised amylase and lipase; duct stone is the precipitant, not the differential.
Peptic ulcer / functional painNo jaundice, no cholestatic tests, no fever.

Investigations

First-line for every patient

  • Full blood count and C-reactive protein, to look for leucocytosis or an inflammatory response.
  • Liver panel: bilirubin (total and direct), alkaline phosphatase, GGT, and the transaminases. A cholestatic pattern (raised alkaline phosphatase, GGT and conjugated bilirubin) argues for obstruction; a modest transient rise in ALT and AST is common during an attack and does not by itself mean hepatitis. [1]
  • Amylase and lipase, to exclude gallstone pancreatitis.
  • Renal function and glucose, especially before contrast imaging or ERCP.
  • Blood cultures before antibiotics if cholangitis is suspected.
  • Transabdominal ultrasound: look for stones in the gallbladder, for dilatation of the common bile duct, and, if seen, for a stone in the duct itself. Ultrasound is highly specific but has a low sensitivity, 42 to 63%, for the ducts themselves. [2] A normal ultrasound does not exclude a duct stone, particularly in the distal duct, which is often hidden by bowel gas.

Confirmatory tests

  • MRCP is the standard non-invasive test for the ducts. Its sensitivity for bile duct stones is greater than 90%, but stones smaller than 6 mm can be missed. [2] It is the test of choice in jaundice and when the ultrasound is equivocal.
  • Endoscopic ultrasound has comparable accuracy to MRCP for stones and may be more sensitive for small stones; it is operator-dependent and, when sedation requires anaesthesia, more costly. The 2019 ASGE guideline considers either EUS or MRCP acceptable in patients at intermediate probability of a duct stone, choosing by local availability and patient factors. [1]
  • Intraoperative cholangiography or intraoperative ultrasound can be used during laparoscopic cholecystectomy to clear the question at surgery; many surgeons prefer this to preoperative duct imaging when probability is intermediate.
  • ERCP is primarily a treatment, not a diagnostic test. It should be reserved for patients with high probability, for patients who also need biliary drainage, or for centres without MRCP or EUS.
  • CT abdomen is poor at showing small non-calcified stones, but it is excellent for gallstone ileus, for Mirizzi syndrome, for collections or abscess, and for staging suspected malignancy. The plain abdominal film may show only the small minority of stones that are calcified, but it sometimes shows pneumobilia or an ectopic stone.
  • Bile duct diameter on imaging: greater than 6 mm in adults with an intact gallbladder, or greater than 8 mm after cholecystectomy, counts as dilated in this context. [1]

Diagnostic criteria and severity (Tokyo 2018)

Acute cholangitis is diagnosed clinically, because no single test confirms it. The 2018 Tokyo Guidelines give a composite set of criteria based on systemic inflammation, cholestasis and imaging. [2]

Tokyo Guidelines 2018 diagnostic criteria for acute cholangitis (modified from Kiriyama et al. as presented in the review by Nve et al.)
GroupCriteria
A. Systemic inflammationA-1 Fever and/or chills; A-2 Inflammatory response (C-reactive protein rise, raised leucocyte count)
B. CholestasisB-1 Jaundice: bilirubin 2 mg/dL or higher; B-2 Altered liver function (raised alkaline phosphatase, GGT and/or transaminases)
C. ImagingC-1 Bile duct dilatation; C-2 Evidence of a cause (stricture, stone, stent)

A suspected diagnosis requires one criterion from A plus one from B or C. A definitive diagnosis requires one from A, one from B and one from C. [2] The tool has a diagnostic accuracy of about 90%, although its specificity has not been formally assessed. [2]

These criteria deliberately lean heavily on imaging and on liver chemistry, because blood tests alone cannot separate infection from simple obstruction. In an older or immunosuppressed patient the inflammatory criteria may be blunted, and the diagnosis has to be made earlier and on softer evidence.

Severity grading

Severity is graded by organ function and by inflammatory markers, because the grade determines the speed of intervention and the level of care. [2]

Tokyo Guidelines 2018 severity grading for acute cholangitis
GradeDefinition
Severe (grade III)Dysfunction of at least one organ or system: cardiovascular (hypotension requiring dopamine 5 micrograms/kg/min or more, or any norepinephrine), neurologic (disturbance of consciousness), respiratory (PaO2/FiO2 less than 300), renal (oliguria, creatinine above 2.0 mg/dL), hepatic (PT-INR above 1.5) or haematological (platelets below 100,000/mm3)
Moderate (grade II)Two or more of: leucocyte count above 12,000/mm3 or below 4,000/mm3; fever 39 C or higher; age 75 years or older; bilirubin 5 mg/dL or higher; hypoalbuminaemia
Mild (grade I)Does not meet criteria for grade II or grade III

Blood cultures are positive in 25 to 75% of patients with acute cholangitis, and infection is polymicrobial in up to 80% of cases. [2] Bacteraemia is present in about half. Enterococci are often present (up to about a third of isolates in some series) and anaerobes in up to 50%; anaerobes matter particularly when an anastomosis or stent is present. [2]

The common causative organisms are Escherichia coli, Klebsiella species, Enterococcus species, and anaerobes such as Bacteroides. [2] Their relative proportions vary between community-acquired and healthcare-associated infection, and between native ducts and stented ducts, which is why local antibiograms should be consulted.

Management

Immediate assessment

Acute cholangitis is sepsis until proven otherwise. The first hour belongs to resuscitation and to source control:

  1. Oxygen, intravenous access, a fluid challenge and repeated assessment of perfusion and urine output.
  2. Analgesia and an antiemetic.
  3. Fasting and nasogastric drainage if vomiting is significant.
  4. Blood cultures and a full set of bloods before antibiotics where the patient can be stabilised for a few minutes.
  5. Risk stratification for common bile duct stones if gallstones are known or suspected.

For mild grade I disease, antimicrobial therapy is often enough for the first 24 hours, but clinical reassessment must be frequent and the drainage team should be alerted early if there is no improvement.

Antibiotics

Empirical therapy should cover enteric Gram-negative organisms and, in severe or healthcare-associated infection, enterococci, anaerobes and (where relevant) Pseudomonas. [2] The following examples are representative, not exhaustive; local resistance patterns dominate the choice. [2]

  • Community-acquired, non-severe disease: a third-generation cephalosporin (cefotaxime or ceftriaxone), with an anaerobic agent added if there is a history of bilio-enteric anastomosis. [2]
  • Severe disease, nosocomial infection, biliary stent or immunosuppression: a broad-spectrum cephalosporin such as cefepime, or piperacillin with tazobactam, together with anaerobic cover (metronidazole) and enterococcal cover (for example vancomycin) when an anastomosis is involved. [2]
  • Empirical treatment combined with initial resuscitative measures is effective in 74 to 85% of cases, allowing biliary decompression to be deferred by 48 to 72 hours when the patient is improving. [2]

The standard duration is 4 to 7 days after successful biliary drainage, extended to two weeks where the organism is an Enterococcus or Streptococcus species, to reduce the risk of endocarditis. [2] Sepsis should trigger the Surviving Sepsis bundle: lactate, blood cultures, crystalloids, broad-spectrum antibiotics and vasopressors if needed.

Biliary drainage

This is the step that saves lives. Endoscopic drainage is preferred to surgical or percutaneous decompression, because the latter carry substantially higher morbidity and mortality in this setting. [2]

  • Grade I (mild): drainage may be deferred while antibiotics work. Drain if there is no response within 24 hours, or if the bilirubin or fever does not fall. [2]
  • Grade II (moderate): ERCP for drainage within 48 hours is commonly quoted, that is 24 to 48 hours, and should be organised without waiting for full stabilisation. [5] Earlier is better where the patient is unstable. [5]
  • Grade III (severe): biliary drainage is an emergency, performed alongside organ support and resuscitation. Drainage within 6 hours is appropriate when there is haemodynamic instability or septic shock, and ERCP within 24 hours is associated with a 20% reduction in mortality compared with drainage after 24 hours. [2]
  • If ERCP fails or is unavailable: percutaneous transhepatic drainage (PTBD) is the usual second line. Surgical drainage is a last resort, reserved for centres without endoscopic or percutaneous access, because emergency surgery in this context carries operative morbidity of up to 91% and mortality of up to 55%. [2]
  • A temporary nasobiliary drain or biliary stent may be safer in a critically ill patient than a long procedure.

The flowchart below pulls the duct-stone and drainage arms together.

Management of suspected common bile duct stones and of acute cholangitis

  1. Suspected biliary obstructionPain, jaundice, fever, dark urine, pale stool, raised ALP/GGT/bilirubin
  2. Question: Is there acute cholangitis (infection plus obstruction)?
    • Yes

      1. Resuscitate, blood cultures, antibioticsSepsis bundle; grade severity by Tokyo 2018
      2. Grade I: antibiotics firstDrain within 24 hours if no response
      3. Grade II: ERCP drainage within 24 to 48 hoursPTBD if ERCP fails
      4. Grade III: urgent drainageWithin 6 hours if shock, with organ support; PTBD or surgery if needed
    • No

      1. Question: ASGE 2019 probability of a duct stone?
        • High (stone on imaging, cholangitis, bilirubin over 4 mg/dL with a duct above 6 mm / 8 mm)

          1. Proceed directly to ERCPSphincterotomy and stone extraction
          2. Then cholecystectomySame admission if mild disease permits
        • Intermediate (abnormal liver tests, age above 55, or dilated duct)

          1. MRCP or EUS (or intraoperative cholangiography)Confirm before treating
          2. If a stone is confirmed, ERCP or laparoscopic bile duct explorationThen cholecystectomy
        • Low

          1. Cholecystectomy with intraoperative cholangiographyClear the duct only if a stone is found
A teaching algorithm. Follow local protocols and involve the endoscopy, surgical and critical care teams early.

ERCP with sphincterotomy

ERCP with sphincterotomy and stone extraction is the standard definitive endoscopic treatment of choledocholithiasis. The duodenoscope is advanced to the papilla of Vater, the bile duct is cannulated, and the ampulla is divided (sphincterotomy) to allow stones to be extracted with a basket or balloon. For large or difficult stones, endoscopic papillary large balloon dilatation after sphincterotomy improves clearance and reduces the need for mechanical lithotripsy. [1] Intraductal therapy (electrohydraulic or laser) is an alternative in specialist centres.

Stenting has two roles: temporary drainage when a stone cannot be extracted completely at the first session, and decompression in sepsis. Do not leave an asymptomatic patient with an indwelling stent and no plan for retrieval.

Prevention of post-ERCP pancreatitis, the commonest serious complication, combines technique and pharmacology:

  • Rectal non-steroidal anti-inflammatory drugs (indomethacin or diclofenac, 100 mg) around the time of the procedure reduce the incidence of post-ERCP pancreatitis in high-risk patients by roughly half, and their use has expanded to most patients without contraindication. [3]
  • Timing in current practice is usually 30 minutes before or during the procedure. [3]
  • Prophylactic pancreatic stents are used in selected high-risk situations, for example difficult cannulation or the double-guidewire technique. [3]
  • Intravenous lactated Ringer solution with aggressive hydration is widely used, although its added benefit over NSAIDs alone is still debated. [3]
  • Bleeding and perforation are uncommon but follow sphincterotomy and guidewire manipulation, and occur in separate percentages of the 0.9 to 6% "other adverse event" rate reported with ERCP. [1]

Baseline ERCP and bile duct stone clearance are not risk-free: 6 to 15% of patients suffer a major adverse event. [1] Post-ERCP pancreatitis alone occurs in 9.7 to 14.7% of patients in published series, and haemorrhage, perforation and cholangitis together in 0.9 to 6%. [1]

Laparoscopic common bile duct exploration

Single-stage treatment - laparoscopic cholecystectomy combined with laparoscopic common bile duct exploration - is attractive because it treats the cause and the consequence in one anaesthetic. Clearance is confirmed with a choledochoscope inserted through the cystic duct or through a choledochotomy, and a stone basket or balloon. The duct is usually closed over a stent or T-tube if a choledochotomy has been made, or primarily if the opening is small and the duct is healthy. This approach suits patients in whom cholecystectomy is already indicated and in whom duct stones are strongly suspected.

The trade-offs are well rehearsed: it avoids a separate ERCP, but requires surgical expertise, longer operating time and carefully chosen patients. Two-stage treatment (ERCP first, then cholecystectomy) is easier to organise in most hospitals and is the norm where biliary endoscopy is available. Neither strategy has been shown to be clearly safer for the patient.

Surgical and salvage options

Surgery is needed when ERCP fails, when there is a Mirizzi syndrome with fistula formation, or for gallstone ileus. A stone that cannot be extracted endoscopically, an impacted stone at the hilum or a tight stricture may force open clearance. For Mirizzi syndrome the cure is cholecystectomy; types with a cholecystocholedochal fistula may require biliary reconstruction by a specialist team.

Gallstone ileus requires laparotomy or laparoscopic surgery. The options are enterolithotomy alone, or enterolithotomy with cholecystectomy and fistula closure. Combined enterolithotomy plus cholecystectomy is associated with lower mortality than enterolithotomy alone (odds ratio 2.39 versus 3.09 for enterolithotomy alone in the quoted comparison), but the one-stage procedure is reserved for patients whose general condition is good and whose anatomy is favourable. [4] Enterolithotomy alone remains the mainstay and is the safer choice in a frail patient; definitive biliary surgery can be staged. [4]

Complications

Of choledocholithiasis itself:

  • Acute (gallstone) pancreatitis, which is the commonest serious complication of duct stones and can be fatal at either end of the severity spectrum.
  • Acute cholangitis and, if untreated, septic shock, liver abscess, portal pylephlebitis and secondary biliary cirrhosis with portal hypertension.
  • Worsening cholestasis with fat-soluble vitamin deficiency and coagulopathy.

Of ERCP, see above. Minor bleeding from the sphincterotomy site is common and clinically significant haemorrhage usually declares within days. Perforation may be retroperitoneal (ampullary) and delayed in presentation.

Of gallstone ileus: high-grade obstruction with vomiting, dehydration, strangulation and, in older patients, a substantial risk of death even with surgery. Preoperative CT should not be delayed, because incomplete Rigler triad is common when the scan is limited.

Prognosis

With clearance of the duct and cholecystectomy, the prognosis is excellent. Recurrent common bile duct stones occur in a minority, mainly after incomplete clearance or where biliary stasis persists. Biliary infection mortality fell dramatically with antibiotics plus drainage, but it is still appreciable when drainage is delayed. Invasive cholangitis with bacteraemia carries a mortality of 10 to 20%. [2]

Prevention and screening

There is no population screening for common bile duct stones. Prevention is structural:

  • Remove the gallbladder and clear the duct in symptomatic gallstone disease, ideally during the same admission for mild acute biliary pancreatitis. [5]
  • Correct biliary strictures and eliminate parasites where relevant.
  • Avoid unnecessary or low-value ERCP by using risk stratification and MRCP or EUS in intermediate-probability patients. [1]
  • In an elderly or frail patient who cannot undergo cholecystectomy, a protective sphincterotomy reduces later biliary events, although it is not without risk. [5]

Special groups

Pregnancy. Minimise radiation and invasive procedures. Ultrasound is the first test; MRCP without gadolinium can be used. ERCP is reserved for clear therapeutic need (cholangitis, severe jaundice, stones that will not pass) and is performed by an experienced endoscopist with fetal shielding. Surgical timing follows obstetric and surgical senior advice.

Older adults. Fever may be low-grade or absent, the pain may be vague, and mental confusion is often the first sign of sepsis. Gallstone ileus is a disease of older women, and delay in diagnosis is common. Co-morbidity, not the stone, usually determines outcome.

Children. Common bile duct stones are rare and usually secondary to a haemolytic state, a congenital duct anomaly or a parasite. Imaging with ultrasound and MRCP is preferred; ERCP for therapy only.

Frail patients. Consider sphincterotomy alone rather than combined endoscopic and surgical procedures, balancing the risk of recurrent biliary events against the higher mortality of surgery in this group. [5]

Low-resource settings

  • Risk stratification can be done without MRCP or EUS. Use the simple ASGE bedside criteria (stones on ultrasound, clinical cholangitis, or bilirubin over 4 mg/dL with a dilated duct), together with the cholestatic liver tests. If none of the high-risk criteria are present, treat as suspected and refer rather than rush to unavailable endoscopy. [1]
  • Ultrasound is the key test. Learn to measure the common bile duct and to look for stones, dilatation and gallbladder wall thickening. CT is often unavailable for biliary detail, but it is the test that makes gallstone ileus obvious.
  • Blood cultures and MRCP are luxuries. Send cultures when they are possible, but do not delay antibiotics or drainage to obtain them.
  • Antibiotics must at least cover enteric Gram-negatives. Third-generation cephalosporins, or amoxicillin-clavulanate where staphylococcal or anaerobic cover is needed, are reasonable empirical choices; add metronidazole for anastomoses or severe disease. [2]
  • Drainage saves lives even without ERCP. If endoscopy is unavailable, percutaneous transhepatic drainage or an early surgical drainage (T-tube) should be used, with referral arranged as soon as possible. Septic shock demands action within hours.
  • Cholecystectomy after recovery is the definitive prevention of recurrence. Where elective surgery is delayed, a protective sphincterotomy may bridge the gap, but it requires endoscopic capability.
  • Gallstone ileus needs early surgical consultation. Enterolithotomy alone controls the emergency and can be followed by interval cholecystectomy if the patient is not fit for a one-stage operation.

Key points

  • Choledocholithiasis is usually secondary (stone migrated from the gallbladder); primary stones form in the duct with stasis or infection.
  • Biliary colic, uncomplicated duct stones and acute cholangitis are points on a spectrum from simple obstruction to obstruction plus infection.
  • Uncomplicated choledocholithiasis causes cholestatic jaundice with raised alkaline phosphatase, GGT and conjugated bilirubin and sometimes a transient ALT rise; it is afebrile unless infected.
  • In acute cholangitis the Charcot triad is specific but present in only 20 to 50% of patients (sensitivity 21 to 26%); the Reynolds pentad marks septic shock and confusion.
  • Tokyo 2018 criteria diagnose acute cholangitis by combining systemic inflammation, cholestasis and imaging; severity is grade I, II or III.
  • Common organisms are Escherichia coli, Klebsiella, Enterococcus and anaerobes such as Bacteroides.
  • ASGE 2019 risk stratifies duct stones as high, intermediate or low; high probability goes straight to ERCP.
  • MRCP sensitivity for duct stones is over 90%, but stones smaller than 6 mm can be missed.
  • ERCP carries a 6 to 15% risk of major adverse events; post-ERCP pancreatitis occurs in 9.7 to 14.7% of patients.
  • Rectal indomethacin or diclofenac 100 mg, given around ERCP, halves post-ERCP pancreatitis in high-risk patients.
  • Biliary drainage is urgent in moderate disease (within 48 hours) and emergency in severe disease, with percutaneous drainage if ERCP fails.
  • Gallstone ileus is a large stone through a cholecystoenteric fistula, usually obstructing the terminal ileum; Rigler triad (pneumobilia, small-bowel obstruction, ectopic stone) is seen in only 30 to 35% on plain film but CT is highly sensitive and specific.
  • Emergency biliary infection without drainage carries a mortality of 1 to 6%, rising to 10 to 20% with bacteraemia.

Check yourself

Answer each one in your head first, then open the answer.

  1. A 62-year-old woman has biliary colic, jaundice, dark urine and pale stools, but no fever. Her alkaline phosphatase and GGT are raised, her direct bilirubin is raised and her ALT rose briefly. She is also 1 week into a mild acute biliary pancreatitis. Is she more likely to have simple choledocholithiasis or acute cholangitis, and what tells you?

    Show answerHide answer

    Simple choledocholithiasis. The raised but stable cholestatic panel and the transient ALT rise fit obstruction; fever, rigors, leucocytosis or hypotension would be needed before calling it cholangitis. She still needs duct imaging before cholecystectomy.

  2. A 78-year-old man is febrile, jaundiced and confused, with right upper quadrant pain. His blood pressure is 82/48 mmHg despite fluids. Bilirubin is 7 mg/dL. How should you grade and manage his cholangitis?

    Show answerHide answer

    Grade III (severe) acute cholangitis: organ failure is present (shock and confusion), with hyperbilirubinaemia above 5 mg/dL. He needs emergency biliary drainage (ERCP within hours, or percutaneous drainage if endoscopy is not available) together with organ support, blood cultures and broad-spectrum antibiotics.

  3. A patient with suspected duct stones has total bilirubin 5.2 mg/dL, a common bile duct diameter of 7 mm on ultrasound and no stone visible. Does this meet high-risk criteria? Which investigation comes next?

    Show answerHide answer

    Yes. Total bilirubin above 4 mg/dL together with a dilated common bile duct is a high-risk criterion, so proceeding directly to ERCP is appropriate. MRCP is reserved for intermediate-risk patients when the diagnosis remains uncertain.

  4. During ERCP a 12 mm stone cannot be extracted. The patient is otherwise well. What are the sensible next steps?

    Show answerHide answer

    Leave a temporary biliary stent for drainage, reassess the patient, and return with large balloon papillary dilatation after sphincterotomy, mechanical lithotripsy, or intraductal (cholangioscopy-guided) therapy in a specialist centre. Rectal indomethacin should already have been given to reduce post-ERCP pancreatitis.

  5. An 84-year-old woman presents with colicky abdominal pain, vomiting and absolute constipation. Symptoms began 5 days ago. Chest and abdomen X-rays are unhelpful. What single investigation is most likely to diagnose gallstone ileus, and what 3 findings would you expect?

    Show answerHide answer

    A CT scan of the abdomen and pelvis. The three components of Rigler triad are small-bowel obstruction, pneumobilia and an ectopic gallstone in the bowel lumen. The triad is evident in only 30 to 35% of cases on plain film but CT is highly sensitive and specific.

  6. In a district hospital without MRCP or ERCP, an elderly patient has acute cholangitis with bilirubin 6 mg/dL, fever and a duct diameter of 9 mm on ultrasound. What is the safest immediate plan?

    Show answerHide answer

    Start the sepsis bundle, give empirical antibiotics covering enteric Gram-negative organisms and anaerobes where indicated, and arrange urgent biliary drainage, using percutaneous transhepatic drainage if no endoscopist is available, with transfer to a centre that can perform ERCP. Do not wait for a confirmatory MRCP.

Gastroenterology: gallstones and biliary colic; acute cholecystitis; acute pancreatitis; primary sclerosing cholangitis; primary biliary cholangitis; cirrhosis and portal hypertension; jaundice approach; acute abdomen; small-bowel obstruction; peptic ulcer disease. Future MedGrasp pages on gallstone disease, cholecystectomy and ERCP will complete the pathway.

References

  1. ASGE Standards of Practice Committee, Buxbaum JL, Abbas Fehmi SM, et al. ASGE guideline on the role of endoscopy in the evaluation and management of choledocholithiasis. Gastrointestinal Endoscopy 2019;89(6):1075-1105.e15. doi:10.1016/j.gie.2018.10.001. Accessed .
  2. Nve E, Badia JM, Amillo-Zaragüeta M, et al. Early Management of Severe Biliary Infection in the Era of the Tokyo Guidelines. Journal of Clinical Medicine 2023;12(14):4711. doi:10.3390/jcm12144711. Accessed .
  3. Zuo J, Li H, Zhang S, Li P. Nonsteroidal Anti-inflammatory Drugs for the Prevention of Post-endoscopic Retrograde Cholangiopancreatography Pancreatitis. Digestive Diseases and Sciences 2024;69(9):3134-3146. doi:10.1007/s10620-024-08565-9. Accessed .
  4. Ji J, Huang Y, Tang D, Wulamu W. Cholecystoduodenal Fistula, Gallstone Ileus, and Choledocholithiasis: A Case Report and Literature Review. Clinical Case Reports 2026;14(10):e73641. doi:10.1002/ccr3.73641. Accessed .
  5. Dupont B, Lozac'h J, Alves A. Etiological treatment of gallstone acute pancreatitis. World Journal of Gastrointestinal Surgery 2025;17(5):105410. doi:10.4240/wjgs.v17.i5.105410. Accessed .

Educational content for medical students and doctors. It is not a substitute for clinical judgement or local guidelines.