In this study, we employed the phage display technique to screen for a new heptapeptide specific to ANXA2, an oncoprotein overexpressed on the surface of tumor cells during tumor development, and consequently constructing a small‐molecular NIRF probe with a high affinity and selectivity to pancreatic cancer. This evidence concerns the gene ANXA2 and pancreatic neoplasm.