The hippocampal long-term potentiation (LTP) was implicated in the formation of visceral hypersensitivity in rats with irritable bowel syndrome in our previous study. Recent studies have shown that protein kinase M ζ (PKMζ) may be responsible for the maintenance of LTP in memory formation. However, it remains unclear whether PKMζ is involved in the visceral hypersensitivity. In this study, a rat model of visceral hypersensitivity was generated by neonatal maternal separation (NMS). The visceral hypersensitivity was assessed by recording responses of the external oblique abdominal muscle to colorectal distension. Our results demonstrated that hippocampal LTP and visceral hypersensitivity were enhanced significantly in rats of NMS. ζ-Pseudosubstrate inhibitory peptide (ZIP) could dose dependently inhibit the maintenance of Cornu Ammonis area 1 LTP in rats of NMS. Furthermore, Western blot data showed that the expression of hippocampal phosphorylated PKMζ (p-PKMζ) significantly increased in rats of NMS. In addition, bilateral intrahippocampal injections of ZIP attenuated the visceral hypersensitivity dose dependently in rats of NMS. The maximal inhibition was observed at 30 min, and significant inhibition lasted for 1.5–2 h after ZIP application. Besides, data from the open-field test and Morris water maze showed that ZIP did not influence the movement and spatial procedural memory in rats of NMS. In conclusion, p-PKMζ might be a critical protein in the maintenance of hippocampal LTP, which could result in visceral hypersensitivity.