A cholangiogram is an imaging study that produces a detailed picture of the bile ducts, the network of small tubes that carry bile from the liver and gallbladder into the small intestine. Doctors use it to find blockages, gallstones that have migrated out of the gallbladder, tumors, structural abnormalities, or injuries to the bile ducts. There are several ways to perform one, ranging from a quick injection of contrast dye during gallbladder surgery to a completely non-invasive MRI-based scan. Which type you get depends on the clinical question your doctor is trying to answer and whether treatment might be needed at the same time.
Intraoperative Cholangiography During Gallbladder Surgery
The most common scenario in which people encounter a cholangiogram is during a cholecystectomy, the surgical removal of the gallbladder. An intraoperative cholangiogram (IOC) is performed while the surgery is underway, typically during laparoscopic (keyhole) surgery. The surgeon locates the cystic duct, which connects the gallbladder to the common bile duct, and threads a small catheter into it. A contrast dye is then injected through the catheter while a real-time X-ray (fluoroscopy) captures images of the dye flowing through the biliary system.1PubMed Central. The Use of Intraoperative Cholangiography During Cholecystectomy: A Systematic Review
The entire process typically adds only a few minutes to the operation. It serves two purposes at once. First, it maps out the anatomy so the surgeon can see exactly where the ducts run and avoid accidentally cutting or clipping the wrong structure. Second, it reveals any stones hiding in the common bile duct that might not have shown up on preoperative scans. If the cholangiogram looks clear, the surgeon proceeds with closing; if stones appear, they can be addressed during the same operation or scheduled for removal soon after.
The safety argument for routine IOC is substantial. A large Swedish population study of more than 51,000 cholecystectomies found that planning to use intraoperative cholangiography cut the risk of death after surgery by about 62 percent, largely because it helped catch bile duct injuries early rather than letting them go undetected until complications set in.2BMJ. Effect of intended intraoperative cholangiography and early detection of bile duct injury on survival after cholecystectomy: population based cohort study Despite this, not every surgeon performs an IOC routinely. Some use it selectively, reserving it for cases where the anatomy looks unclear or the patient has a higher risk of duct stones.
ERCP and Its Dual Role
Endoscopic retrograde cholangiopancreatography, usually called ERCP, is both a diagnostic cholangiogram and a treatment tool. It is performed by a gastroenterologist rather than a surgeon, usually in a specialized endoscopy suite. You are sedated, and a flexible scope is passed through your mouth, down the esophagus and stomach, and into the first part of the small intestine (the duodenum). At that point, the scope reaches the opening where the bile duct empties into the intestine. A thin catheter is guided through the scope and into that opening, and contrast dye is injected so the ducts light up on X-ray.
What sets ERCP apart from other cholangiograms is that the doctor can treat problems in the same session. If a stone is spotted in the common bile duct, the opening of the duct can be widened with a small incision (sphincterotomy), and the stone can be pulled out with a basket or balloon. If a narrowing (stricture) is found, a stent can be placed to hold the duct open. In one series of 60 consecutive patients who had therapeutic ERCP, over 90 percent had successful removal of stones or relief of symptoms through a combination of sphincterotomy, stone retrieval, and stent placement.3PubMed. Therapeutic ERCP: spectrum of procedures performed in 60 consecutive patients The ability to diagnose and fix a problem in the same sitting is ERCP’s biggest advantage.
ERCP is generally reserved for situations where treatment is expected, not just for looking. If the doctor only needs to see whether a stone or blockage is present and treatment is unlikely, a non-invasive scan like MRCP is preferred because ERCP carries real procedural risks.
Percutaneous Transhepatic Cholangiography
When the bile ducts cannot be reached from below through an endoscope, percutaneous transhepatic cholangiography (PTC) offers an alternative route from the outside in. Under image guidance (usually ultrasound or fluoroscopy), an interventional radiologist inserts a thin needle through the skin of the abdomen, through the liver tissue, and directly into one of the bile ducts. Contrast dye is then injected, and X-ray images reveal the duct anatomy.4PubMed. Percutaneous Transhepatic Cholangiography
PTC is typically used when ERCP has failed or is not feasible. This happens more often than you might think. Patients who have had certain types of stomach or intestinal surgery may have altered anatomy that makes it impossible for an endoscope to reach the bile duct opening. Patients who are too unstable for sedation and endoscopy may also be candidates for PTC.5Digestive Disease Interventions. Transhepatic Cholangiography and Biliary Drainage: Basic Concepts and Technique Like ERCP, PTC can be followed immediately by therapeutic steps such as placing a drain or a stent to relieve a blockage.
MRCP as a Non-Invasive Scan
Magnetic resonance cholangiopancreatography (MRCP) is fundamentally different from the other types of cholangiogram because nothing is injected, no scope is inserted, and no needle passes through your skin. It is an MRI scan that takes advantage of the fact that bile and pancreatic fluid naturally produce a bright signal on certain MRI sequences. The result is a detailed map of the bile ducts and the pancreatic duct without any contrast dye, radiation, or sedation.6PubMed Central. Magnetic resonance cholangiopancreatography: the ABC of MRCP
Early research showed that the diagnostic information from MRCP was fully comparable to what invasive cholangiograms provided, and the technique proved especially useful when endoscopic access was impossible or when cystic abnormalities needed evaluation.7PubMed. Breath-hold projection magnetic resonance-cholangio-pancreaticography (MRCP): a new method for the examination of the bile and pancreatic ducts Over the past two decades, MRCP has become the first-line test for evaluating suspected bile duct obstruction in many hospitals. Its main limitation is that it can only look; it cannot treat. If MRCP finds a stone or stricture, you still need ERCP or surgery to deal with it.
MRCP is also used to evaluate the biliary anatomy before surgery. CT-based cholangiography can produce high-resolution three-dimensional images of very small bile ducts, including tiny aberrant branches and the cystic duct, that are potential sources of surgical complications.8PubMed Central. CT and MR cholangiography: advantages and pitfalls in perioperative evaluation of biliary tree Having a road map of these structures before operating helps surgeons plan their approach and reduces the chance of accidental injury.
T-Tube Cholangiography After Bile Duct Surgery
After some bile duct operations, surgeons leave a T-shaped rubber tube in the common bile duct. The tube drains bile externally into a bag while the surgical site heals. Before the tube is removed, a cholangiogram is performed through it to make sure no stones were left behind and that bile flows freely into the intestine.
The procedure is straightforward. The drainage tube is clamped, and a contrast agent is slowly injected through it. The patient’s position is adjusted so the dye spreads evenly throughout the duct system, and X-ray images are taken from multiple angles. Surgeons and radiologists then examine the images for residual stones or narrowing.9PubMed Central. Diagnostic value of T-tube cholangiography and choledochoscopy in residual calculi after biliary surgery This check is typically done about a week after the operation.10Insights into Imaging. Postoperative cholangiogram through Kehr T-tube: from technique to results. About 50 cases If the cholangiogram is clear, the tube is removed. If stones are found, they can sometimes be extracted through the tube tract without another major procedure.
How Accurate Is MRCP Compared to ERCP
Because MRCP carries essentially no procedural risk while ERCP does, a natural question is whether the non-invasive scan is accurate enough to rely on. The short answer is that MRCP performs well for diagnosis, though it is not perfect.
For detecting stones in the common bile duct (choledocholithiasis), one study reported that MRCP had a sensitivity of about 91 percent and a specificity of 98 percent compared to the final diagnosis.11PubMed. The diagnostic accuracy of magnetic resonance cholangiopancreatography and ultrasound compared with direct cholangiography in the detection of choledocholithiasis A separate study comparing MRCP directly against ERCP found sensitivity around 88 percent and specificity around 94 percent for duct stones, with overall accuracy of 90 percent.12PubMed Central. Comparison of MRCP and ERCP in the evaluation of common bile duct and pancreatic duct pathologies A systematic review pooling 15 studies found that sensitivity for duct stones ranged from 50 to 100 percent and specificity from 83 to 100 percent across different study populations.13PubMed Central. MRCP compared to diagnostic ERCP for diagnosis when biliary obstruction is suspected: a systematic review
That wide sensitivity range deserves a note. MRCP is less reliable for very small stones and for detecting stones in patients with dilated ducts where the stone can be harder to distinguish from surrounding fluid. For strictures, including those caused by tumors, MRCP performs comparably well, with sensitivity above 83 percent and specificity above 97 percent in one head-to-head comparison with ERCP.12PubMed Central. Comparison of MRCP and ERCP in the evaluation of common bile duct and pancreatic duct pathologies The practical takeaway for most patients is that MRCP is a reliable screening test. When it shows a clear duct system, you can usually trust it. When it finds something concerning, ERCP is then booked to confirm the diagnosis and treat the problem in the same sitting.
Risks and Complications
The risk profile varies dramatically depending on the type of cholangiogram. MRCP is essentially risk-free apart from the standard MRI contraindications (metal implants, severe claustrophobia). Intraoperative cholangiography adds minimal risk during an already-ongoing surgery. The invasive procedures, ERCP and PTC, are where complications matter.
ERCP Complications
The most talked-about complication of ERCP is post-procedure pancreatitis, which occurs because the scope and catheter work right next to the pancreatic duct. The rate ranges from roughly 2 to 10 percent of procedures, and in high-risk patients it can climb to 30 percent or higher.14PubMed Central. Post-ERCP Pancreatitis: Prevention, Diagnosis and Management Most cases are mild, with belly pain and elevated pancreatic enzymes that resolve in a few days. Severe pancreatitis, including organ failure, occurs in up to about 5 percent of those who develop it, and roughly 1 percent of pancreatitis cases can be fatal.
Several strategies reduce this risk. Rectal anti-inflammatory medication, typically indomethacin given just before or after the procedure, has been shown to significantly lower the rate of post-ERCP pancreatitis.15PubMed Central. Prevention of post-ERCP pancreatitis Placing a small temporary stent in the pancreatic duct also helps in high-risk patients.16PubMed Central. Incidence, Risk Factors, and Prevention Strategies for Post-ERCP Pancreatitis in Patients with Biliopancreatic Disorders and Acute Cholangitis Procedural factors that raise the risk include difficult cannulation (when the endoscopist struggles to get into the duct), accidental catheterization of the pancreatic duct, and balloon dilation of the duct opening. Other ERCP complications include bleeding after sphincterotomy, infection (cholangitis), and, rarely, perforation of the intestine.
PTC Complications
Because PTC involves passing a needle through the liver, it carries a different set of risks. A multicenter study of 331 patients undergoing PTC and biliary drainage found that non-infectious complications such as bleeding and bile leakage developed in about 34 percent of patients, though many of these were manageable. The 30-day mortality rate was roughly 17 percent, reflecting the fact that most PTC patients are already seriously ill with advanced biliary disease or cancer.17PubMed Central. Complications of percutaneous transhepatic cholangiography and biliary drainage, a multicenter observational study Drain obstruction and internal drainage placement were risk factors for infectious complications, while patients who needed multiple repeat procedures were at higher risk for non-infectious problems. These numbers look alarming, but context matters: PTC is often the last option for patients who are too sick or anatomically unable to undergo ERCP, so the baseline illness severity in these populations is high.
Radiation Exposure Across Procedures
MRCP uses no radiation at all, which is one reason it is preferred when the goal is diagnosis alone. Intraoperative cholangiography, ERCP, and PTC all use fluoroscopy, which delivers ionizing radiation to the patient and the medical team.
A phantom study that measured organ-level radiation doses during ERCP and PTC found that PTC delivers higher radiation to critical organs than ERCP across the board. The thyroid and spleen received particularly high doses during PTC, and the per-minute exposure rate was consistently higher for PTC in every organ measured.18PubMed. Radiation exposure to patients undergoing percutaneous transhepatic cholangiography and endoscopic retrograde cholangiography: an advanced phantom study When radiation exposure needs to be minimized, ERCP is the less harmful of the two fluoroscopic options.
Awareness of radiation safety among practitioners is uneven. A UK survey of ERCP practitioners found that only about half were up to date on their radiation protection training, and fewer than 40 percent wore radiation protection goggles. Trainees were less likely than experienced practitioners to wear thyroid shields or know their average procedural radiation dose.19BMJ. Attitudes to radiation safety and cholangiogram interpretation in endoscopic retrograde cholangiopancreatography (ERCP): a UK survey For patients, the radiation from a single diagnostic ERCP or intraoperative cholangiogram is generally modest, but people who need repeat procedures over time may accumulate more meaningful exposure. Asking your doctor how many fluoroscopy minutes a procedure is expected to use is a reasonable question.
Direct Visualization With Cholangioscopy
Standard cholangiograms show the outline of the bile ducts filled with contrast, a silhouette view. Cholangioscopy goes a step further by threading a tiny camera directly into the bile duct during ERCP so the doctor can see the duct lining in detail. This is particularly valuable when a cholangiogram shows an area of narrowing and the question is whether it is cancerous.
In a multicenter registry of 60 patients with indeterminate strictures or filling defects, single-operator cholangioscopy successfully allowed direct visual inspection and targeted biopsy in 88 percent of cases. The biopsy tissue was judged adequate in 87 percent of patients, and in those with at least six months of follow-up, biopsies had a 78 percent sensitivity and 100 percent specificity for detecting malignancy.20Gastrointestinal Endoscopy. Use of single-operator cholangioscopy for targeted biopsy of indeterminate biliary strictures and intraductal lesions: Results of a multicenter international registry trial In practice, this means that when cholangioscopy sees cancer, it is almost always right, but a negative biopsy does not completely rule it out. Patients with suspicious strictures and a negative cholangioscopy biopsy often need continued monitoring.
Cholangiograms for Monitoring Chronic Biliary Disease
Cholangiograms are not only used for acute problems like gallstones. In chronic conditions such as primary sclerosing cholangitis (PSC), a disease that causes progressive scarring of the bile ducts, serial cholangiograms help track whether the disease is worsening or whether cancer has developed. Progressive widening of the ducts seen on sequential studies has been identified as the most useful cholangiographic sign of biliary tract cancer complicating PSC.21PubMed. Using CT and cholangiography to diagnose biliary tract carcinoma complicating primary sclerosing cholangitis
Specific warning signs on cholangiography that suggest malignant transformation in PSC include marked duct dilation, the appearance of a mass-like filling defect a centimeter or larger, and progressive narrowing between studies.22PubMed. Cholangiocarcinoma complicating primary sclerosing cholangitis: cholangiographic appearances Because cholangiocarcinoma (bile duct cancer) in PSC patients is notoriously difficult to detect early, repeat cholangiography combined with other tools like cholangioscopy and cross-sectional imaging forms the backbone of surveillance in these patients.
Cholangiograms in Infants
One of the most important pediatric uses of cholangiography is in diagnosing biliary atresia, a condition in which infants are born with bile ducts that are absent or severely damaged. Untreated, it leads to liver failure. Speed matters: the surgery to correct it (the Kasai procedure) works best when performed within the first weeks of life, so confirming or ruling out biliary atresia quickly is critical.
MRCP has proven highly accurate for this purpose. In a study comparing MR cholangiography to surgical findings, MRC correctly diagnosed biliary atresia with 100 percent sensitivity and 96 percent specificity by looking for the absence of visible extrahepatic bile ducts. No infant with biliary atresia showed identifiable ducts on MRC, while 23 of 24 infants without biliary atresia had clearly visible ducts.23Journal of Pediatric Surgery. Magnetic resonance cholangiography for the diagnosis of biliary atresia The researchers recommended MRCP for any infant with persistent jaundice being considered for exploratory surgery, since a clear MRC showing normal ducts can spare the baby an unnecessary operation.
Intraoperative cholangiography is also used during exploratory surgery in these infants. If contrast injected into the gallbladder fills the duct system and drains into the intestine, biliary atresia is effectively ruled out. When the contrast cannot pass, the surgeon can proceed directly to the corrective operation in the same session.24PubMed Central. Re-evaluation of Laparoscopic Hepatic Subcapsular Spider-Like Telangiectasis Sign: A Highly Accurate Method to Diagnose Biliary Atresia in Infants
A Brief History of Biliary Imaging
The idea of injecting something into the bile ducts and then taking a picture dates back more than a century. The extrahepatic biliary tree was first visualized in 1918 when a surgeon named Reich injected a bismuth-and-petrolatum mixture to define a biliary fistula. The technique became more systematic in 1932, when Mirizzi published the first series of intraoperative cholangiograms using static X-ray films. The real game-changer came decades later, in the late 1970s, when mobile C-arm fluoroscopy units with TV monitors made real-time imaging practical in the operating room.25PubMed. Intraoperative cholangiography: past, present, and future ERCP emerged in the 1970s and 1980s, PTC developed alongside it for patients who could not undergo endoscopy, and MRCP arrived in the 1990s as MRI technology improved. Each new technique expanded the range of patients who could have their bile ducts safely examined.