Central sensitization plays a pivotal role in the maintenance of chronic pain induced by chronic pancreatitis (CP), but cortical modulation of painful CP remains elusive. This study was designed to examine the role of anterior insular cortex (aIC) in the pathogenesis of hyperalgesia in a rat model of CP. CP was induced by intraductal administration of trinitrobenzene sulfonic acid (TNBS). Abdomen hyperalgesia and anxiety were assessed by von Frey filament and open field tests, respectively. Two weeks after surgery, the activation of aIC was indicated by FOS immunohistochemical staining and electrophysiological recordings. Expressions of VGluT1, NMDAR subunit NR2B and AMPAR subunit GluR1 were analyzed by immunoblottings. The regulatory roles of aIC in hyperalgesia and pain-related anxiety were detected via pharmacological approach and chemogenetics in CP rats. Our results showed that TNBS treatment resulted in long-term hyperalgesia and anxiety-like behavior in rats. CP rats exhibited increased FOS expression and potentiated excitatory synaptic transmission within aIC. CP rats also showed up-regulated expression of VGluT1, and increased membrane trafficking and phosphorylation of NR2B and GluR1 within aIC. Blocking excitatory synaptic transmission significantly attenuated abdomen mechanical hyperalgesia. Specifically inhibiting the excitability of insular pyramidal cells reduced both abdomen hyperalgesia and pain-related anxiety. In conclusion, our findings emphasize a key role for aIC in hyperalgesia and anxiety of painful CP, providing a novel insight into cortical modulation of painful CP and shedding light on aIC as a potential target for neuromodulation interventions in the treatment of CP.