What Is a Cholangiogram and How Is It Performed?

Understand the cholangiogram, a specialized medical imaging procedure for bile duct assessment. Get insights into its applications, techniques, and patient journey.

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.

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. 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. 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.

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. 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.

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. 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. 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. This check is typically done about a week after the operation. 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. 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. 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.

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. 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. 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. Placing a small temporary stent in the pancreatic duct also helps in high-risk patients. 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. 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. 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. 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. 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.

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. 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. 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.

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. 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.