To clarify the risk factors for pancreatitis after procedures related to endoscopic retrograde cholangiopancreatography (ERCP), we statistically analyzed the associations of risk factors with the development of pancreatitis. The study group was comprised of 526 patients who underwent ERCP-related procedures. The following risk factors were analyzed: sex, age, body-mass index, history of endoscopic sphincterotomy (EST), the presence or absence of treatment with protease inhibitors, examination time, the number of times cannulation was performed, pancreatography, intraductal ultrasonography, cholangioscopic biopsy, biliary cytology, pancreatic brush cytology, endoscopic sphincterotomy, pancreatic sphincter precutting, endoscopic biliary drainage (EBD), non-EST/EBD, pancreatic-stent placement, pancreatic guide-wire placement, and operators. Multiple regression analysis showed that examination time, non-EST/EBD and pancreatography were significant risk factors. The optimal cutoff value for the examination time was calculated; the incidence of pancreatitis was found to differ significantly between 15 minutes or longer and less than 15 minutes.