Patients who satisfied the following inclusion criteria were enrolled in this study: (1) initially pancreatic duct cannulation by chance, (2) successful insertion of the guidewire into the pancreatic duct to at least half of the presumed total length of the pancreatic duct,, and (3) age 20 years or older. Exclusion criteria were: (1) refusal the ERCP, (2) previous endoscopic sphincterotomy or endoscopic papillary balloon dilatation, (3) acute pancreatitis at the time of the procedure, (4) pregnancy and (5) anatomical change due to past surgery; total gastrectomy, Billroth II operation, Whipples's operation etc. Patients who satisfied the inclusion criteria were randomly assigned to either the double-guidewire technique (DGT) group or the transpancreatic precut sphincterotomy (TPS) group; A randomization list for group allocation was generated by using computer-based pseudo-random number generators. We compared both techniques , for a maximum of ten extra attempts which are CBD cannulation by each methods. We obtained the written informed consent from all enrolled patients.