Although visceral hypersensitivity is a major pathophysiological feature of irritable bowel syndrome (IBS), its underlying mechanisms remain elusive. Toll-like receptor 4 (TLR4) is a critical pattern recognition molecule of the innate immune system. In this study, we investigated whether the TLR4/myeloid differentiation factor 88 (MyD88)/nuclear factor-kappa B (NF-κB) signalling pathway in the spinal cord contributed to the visceral hypersensitivity induced by neonatal colonic irritation (CI) in rats.