Post inflammatory irritable bowel syndrome (PI-IBS), a subset of IBS, is characterized by symptoms of visceral pain, bloating, and changed bowel habits that occur post initial episode of intestinal infection. Gut microbial dysbiosis or inflammation plays a key role in the pathogenesis of abdominal hypersensitivity of PI-IBS. Electroacupuncture (EA) stimulation results in an alleviated PI-IBS-associated symptom. This study investigated the effect of EA on IL-18 and gut microbial dysbiosis in one visceral hypersensitive rat models with PI-IBS. A trinitrobenzene sulfonic acid (TNBS)-induced visceral hypersensitivity rat model was developed. EA stimulation was applied to the ST25 and ST36 acupoints. Animals were assessed using abdominal withdrawal reflex (AWR) scores to determine the development of colonic visceral hypersensitivity. The 16S rRNA was used to correlate microbial diversity. IL-18 expression in colon was quantified by quantitative real-time PCR and western blotting. We identified that model rats had an increased visceral hypersensitivity to colorectal distention at different distention pressures compared with the normal group. Sensitivity to colorectal distention decreased after EA stimulation. The composition of the fecal microbiota was different between groups. Specifically, in the model group were more abundant affected genera, whereas was enriched in normal rats. EA stimulation was correlated with significant decrease in the phyla of . The mRNA and protein levels of IL-18 were higher in the model group. Meanwhile, EA stimulation attenuated this response. In a word, our findings suggest that PI-IBS is associated with significant increase in IL-18 levels as well as an alteration in microbiome diversity. These changes can be reversed with EA treatment. EA stimulation has a positive effect in alleviating symptoms of visceral hypersensitivity and protecting the gastrointestinal tract.