Our results support the finding that endoscopic biliary drainage for malignant biliary obstruction is a first-line intervention. Endoscopic drainage is superior to percutaneous drainage, in regard to adverse event rate, for patients with pancreatic cancer. For patients with cholangiocarcinoma, endoscopic drainage is superior in centers that perform a low volume of percutaneous biliary drainage procedures.