Post-endoscopic retrograde cholangiopancreatography (ERCP) pancreatitis (PEP) remains the most common and serious adverse event associated with ERCP. Risk factors for PEP have been described in various reports. However, risk factors have not been quantified to date. The aim of this study was to investigate the risk factors for PEP by quantification of pancreatic volume using pre-ERCP images.