Almost all previous reports on endoscopic ultrasound-guided hepaticogastrostomy (EUS-HGS) involve malignant distal bile duct strictures. However, the feasibility of EUS-HGS for malignant hilar biliary obstruction (MHBO) remains unclear. This study aimed to evaluate the efficacy and safety of EUS-HGS for MHBO and identify the risk factors associated with technical failure. In this multicenter retrospective study, we reviewed consecutive patients who underwent EUS-HGS between April 2017 and March 2023 at five institutions. We assessed the overall feasibility and efficacy of EUS-HGS for MHBO, including the factors associated with technical failure, using multivariable logistic regression analysis. A total of 85 patients were enrolled (mean age, 72years; 36.4% female). Thirty-six patients (42.3%) had surgically altered anatomy, and 43 (50.6%) underwent biliary stenting by transpapillary or percutaneous biliary drainage before EUS-HGS. The rates of technical success, clinical success, and adverse events were 87.0% (74/85), 76.4% (65/85), and 11.8% (10/85), respectively. Multivariable analysis demonstrated that a bile duct diameter ≤ 4mm was the only independent risk factor for technical failure (odds ratio, 6.12; 95% confidence interval, 1.02-36.6; P = 0.047). The most common reason for technical failure was cholangiography failure (45.4%), followed by inappropriate guidewire position (36.4%). EUS-HGS is a challenging but promising treatment option for MHBO. Patients with a bile duct diameter ≤ 4mm or inappropriate guidewire position should be careful as these factors can lead to the technical failure of EUS-HGS for MHBO.