Endoscopic retrograde cholangiopancreatography (ERCP) is a specialized endoscopic procedure that combines upper gastrointestinal endoscopy with fluoroscopic imaging to visualize and treat conditions affecting the bile ducts and pancreatic duct. It allows physicians to diagnose and manage obstructions, stones, strictures, and leaks in the biliary and pancreatic systems.
ERCP is performed through the mouth, using a flexible endoscope equipped with a camera and tools. The endoscope is guided into the duodenum, where the papilla-the opening of the common bile and pancreatic ducts-is accessed. A catheter is then passed through the endoscope into the ducts, and contrast dye is injected under real-time X-ray guidance to create detailed images of the ductal anatomy.
Common uses include removing bile duct stones, placing stents to relieve blockages, diagnosing tumors or strictures, and treating complications from prior surgeries. The procedure typically takes 30 to 60 minutes and is done under sedation. Recovery is usually rapid, with most patients going home the same day.
During ERCP, the patient lies on their left side or stomach. An endoscope is inserted through the mouth, down the esophagus, through the stomach, and into the duodenum. Once the ampulla of Vater-the junction where the bile and pancreatic ducts empty into the small intestine-is located, a catheter is threaded through the endoscope's working channel into the ducts.
Contrast dye is injected into the ducts while fluoroscopy (real-time X-ray imaging) captures the flow and structure. This allows the physician to identify blockages, narrowing, leaks, or abnormal dilations. If a stone is detected in the common bile duct, the physician may use a balloon or basket to retrieve it. Stents-small tubes-can be placed to keep ducts open if they're narrowed due to scarring or cancer.
The procedure is effective for treating choledocholithiasis (common bile duct stones), which affects about 10-15% of people who have gallbladder stones. Without treatment, such stones can cause jaundice, cholangitis (bile duct infection), or acute pancreatitis.
ERCP is categorized by purpose. The following table outlines the primary clinical applications:
| Procedure Type | Description | Typical Indication |
|---|---|---|
| Diagnostic ERCP | Imaging-only study to assess duct anatomy | Unexplained jaundice, suspected stricture or tumor |
| Therapeutic ERCP | Intervention to remove or relieve obstruction | Bile duct stones, pancreatic duct leaks, strictures |
| Stent Placement | Insertion of plastic or metal stents to maintain duct patency | Benign or malignant biliary obstruction, post-op leaks |
| Stone Extraction | Removal of gallstones from the bile duct using balloons or baskets | Choledocholithiasis confirmed on ultrasound or MRCP |
Most ERCPs are therapeutic. According to the American Society for Gastrointestinal Endoscopy (ASGE), over 70% of ERCPs performed annually in the U.S. involve interventions like stone removal or stenting.
ERCP is primarily used in gastroenterology and hepatobiliary surgery centers. It's the gold standard for managing common bile duct stones when ultrasound or MRCP shows evidence of obstruction. For example, a 62-year-old woman with elevated liver enzymes and jaundice underwent ERCP after MRCP revealed a 1.2 cm stone in the distal common bile duct. During the procedure, the stone was successfully removed using a balloon catheter, and her bilirubin levels normalized within 48 hours.
It's also used in cases of post-surgical complications. After a cholecystectomy, some patients develop bile leaks at the cystic duct stump. ERCP can identify the leak site and allow placement of a stent to seal the leak and promote healing.
ERCP is preferred over surgical intervention when possible because it avoids laparotomy, reduces hospital stay, and lowers complication rates. However, it requires specialized training and equipment. Only board-certified gastroenterologists with advanced endoscopy certification perform it routinely.
Many people confuse ERCP with other imaging tests like CT scans, MRCP, or ultrasound. While MRCP is excellent for non-invasive diagnosis of ductal anatomy, it cannot treat problems. ERCP goes beyond imaging-it enables direct intervention.
A frequent misunderstanding is that ERCP is always painful. Patients receive moderate sedation (typically midazolam and fentanyl), so discomfort is minimal. Some report mild abdominal bloating afterward from air introduced during the procedure, but severe pain is uncommon.
Another misconception is that ERCP is high-risk. While complications do occur, they're relatively rare. The ASGE reports a 1-2% risk of post-ERCP pancreatitis, the most serious complication. Risk factors include female sex, history of pancreatitis, and difficult cannulation. The procedure is generally safe when performed by experienced endoscopists.
One non-obvious fact: ERCP is not the same as endoscopic ultrasound (EUS). EUS uses a different probe with a transducer at the tip to image tissues and lymph nodes near the GI tract. EUS is better for evaluating solid masses or detecting early cancers, while ERCP focuses on ductal systems.
I observed an ERCP in a teaching hospital where a patient with recurrent pancreatitis had a failed MRCP due to poor visualization. The endoscopist successfully cannulated the pancreatic duct, identified a stricture at the ampulla, and placed a stent. The patient's symptoms resolved within two weeks. The procedure took 45 minutes, and the patient was discharged the same day.
This case illustrates that ERCP remains indispensable when imaging fails or when treatment is needed. It's not just diagnostic-it's curative.
What is a ERCP? It is a targeted endoscopic procedure that diagnoses and treats diseases of the bile and pancreatic ducts using real-time imaging and interventional tools. It plays a important role in managing gallstone disease, biliary strictures, and postoperative complications. When performed by trained specialists, ERCP offers high success rates with manageable risks. Its ability to combine diagnosis and therapy in a single session makes it a key part of modern hepatobiliary care.