The results of this retrospective cohort study showed that KRAS gene mutation, hyperlipidaemia, pancreatitis, and pancreatic cysts are significantly associated with the risk of developing pancreatic cancer. This evidence concerns the gene KRAS and pancreatitis.