The diagnosis of solid pseudopapillary neoplasm of the pancreas (SPN) can be challenging due to potential confusion with other pancreatic neoplasms, particularly pancreatic neuroendocrine tumors (NETs), using current pathological diagnostic markers. We conducted a comprehensive analysis of bulk RNA sequencing data from SPNs, NETs, and normal pancreas, followed by experimental validation. This analysis revealed an increased accumulation of peroxisomes in SPNs. Moreover, we observed significant upregulation of the peroxisome marker ABCD1 in both primary and metastatic SPN samples compared with normal pancreas and NETs. To further investigate the potential utility of ABCD1 as a diagnostic marker for SPN via immunohistochemistry staining, we conducted verification in a large-scale patient cohort with pancreatic tumors, including 127 SPN (111 primary, 16 metastatic samples), 108 NET (98 nonfunctional pancreatic neuroendocrine tumor, NF-NET, and 10 functional pancreatic neuroendocrine tumor, F-NET), 9 acinar cell carcinoma (ACC), 3 pancreatoblastoma (PB), 54 pancreatic ductal adenocarcinoma (PDAC), 20 pancreatic serous cystadenoma (SCA), 19 pancreatic mucinous cystadenoma (MCA), 12 pancreatic ductal intraepithelial neoplasia (PanIN) and 5 intraductal papillary mucinous neoplasm (IPMN) samples. Our results indicate that ABCD1 holds promise as an easily applicable diagnostic marker with exceptional efficacy (AUC=0.999, sensitivity=99.10%, specificity=100%) for differentiating SPN from NET and other pancreatic neoplasms through immunohistochemical staining.