Our findings suggest that EA attenuates mechanical allodynia and visceral hypersensitivity associated with IBD by activating CB2 receptors and subsequent inhibition of macrophage activation and expression of IL-1β and iNOS. Here, IL1B is linked to inflammatory bowel disease.