Previous studies have confirmed that bisphenol A (BPA) induced immune toxicity and affected diseases, however, the underlying mechanism remains unknown. In the present study, zebrafish was employed as the model to assess the immunotoxicity and the potential disease risk of BPA exposure. Upon BPA exposure, a series of abnormalities were found, which included the increased oxidative stress, damaged innate and adaptive immune functions and the elevated insulin and blood glucose levels. According to the target prediction and RNA sequencing data of BPA, the differential expression genes were found enriched in immune- and pancreatic cancer-related pathway and process, and the potential role of stat3 in the regulation of these processes was revealed. The key immune- and pancreatic cancer-related genes were selected for further confirmation by RT-qPCR. Based on the changes in the expression levels of these genes, our hypothesis that BPA induced the occurrence of pancreatic cancer by modulating immune responses was further evidenced. Deeper mechanism was further disclosed by molecular dock simulation and survival analysis of key genes, proving that BPA stably bound to STAT3 and IL10 and STAT3 may serve as the target of BPA-inducing pancreatic cancer. These results are of great significance in deepening the molecular mechanism of immunotoxicity induced by BPA and our understanding of the risk assessment of contaminants.