Communication with the biliary tree is the most common complication of hydatid disease of the liver and up to a few years ago surgery was the only way to treat it successfully. The introduction of endoscopic sphincterotomy represented a great advance in the management of this disease. We report the results obtained with this technique in ten patients after surgical treatment of hepatic hydatid disease open to the biliary tree. The results were satisfactory in all cases, with no morbidity or mortality. Endoscopic sphincterotomy is now the first choice treatment for surgical complications of hepatic hydatid disease open to the biliary tree, as well as the drainage procedure of choice in patients with cholangitis due to hydatid disease.