PurposeThis study aimed to assess the safety and efficacy of percutaneous transhepatic cholangiography drainage (PTCD) and endoscopic retrograde cholangiopancreatography (ERCP) in palliative drainage and preoperative biliary drainage for treating malignant obstructive jaundice (MOJ).MethodsA total of 520 patients with MOJ who underwent PTCD or ERCP were enrolled and classified into palliative drainage group and preoperative biliary drainage group. Baseline characteristics, liver function, blood routine, complications were compared among the groups.ResultsThe technical success rates for PTCD and ERCP in palliative group were 97.1% and 85.9%. In palliative drainage group, PTCD had higher levels of total bilirubin (TB) reduction (53.0 (30.0,97.0) vs. 36.8 (17.9,65.0), p < 0.001) and direct bilirubin (DB) reduction (42.0 (22.0,78.5) vs. 28.0 (12.0,50.8), p = 0.001) than ERCP. However, PTCD was associated with higher rates of drainage tube displacement (20 cases, 11.8%), while ERCP had a higher incidence of biliary infection (39 cases, 22.8%) and pancreatitis (7 cases, 4.1%). In preoperative drainage group, PTCD achieved a 50% reduction in total bilirubin faster than ERCP (7.1 days vs. 10.5 days). And the time from palliation of jaundice to surgery was 24.2 days in PTCD group and 35.7 days in ERCP group, a statistically significant difference (Student’s t test, p = 0.017).ConclusionBoth PTCD and ERCP could improve liver function for MOJ patients. PTCD seems to offer better outcomes in jaundice reduction and liver function improvement in palliative drainage, but requires careful postoperative management. In preoperative biliary drainage, PTCD may be a better preoperative bridge to improve liver function and control infection.