Aim: The aim of this study is to investigate the mechanism and interaction of microRNA-181a (miR-181a), toll-like receptor 4 (TLR4) and nuclear factor-kappa B (NF-κB) in gastric hypersensitivity in diabetic rats. Methods: Diabetes was induced by a single intraperitoneal injection of streptozotocin (STZ; 65mg/kg) in female SD rats. Gastric balloon distension technique was used to measure diabetic gastric hypersensitivity. Gastric-specific (T7-T10) dorsal root ganglion (DRG) neurons were acutely dissociated to measure excitability with patch-clamp techniques. Western blotting was employed to measure the expressions of TLR4, TRAF6 and NF-κB subunit p65 in T7-T10 DRGs. The expressions of microRNAs in T7-T10 DRGs were measured with quantitative real-time PCR and fluorescence in situ hybridization. Dual-luciferase reporter gene assay was used to detect the targeting regulation of microRNAs on TLR4. Results: (1) Diabetic rats were more sensitive to graded gastric balloon distention at 2 and 4weeks. (2) The expression of TLR4 was significantly up-regulated in T7-T10 DRGs of diabetic rats. Intrathecal injection of CLI-095 (TLR4-selective inhibitor) attenuated diabetic gastric hypersensitivity, and markedly reversed the hyper-excitability of gastric-specific DRG neurons. (3) The expressions of miR-181a and miR-7a were significantly decreased in diabetic rats. MiR-181a could directly regulate the expression of TLR4, while miR-7a couldn't. (4) Intrathecal injection of miR-181a agomir down-regulated the expression of TLR4, reduced the hyper-excitability of gastric-specific neurons, and alleviated gastric hypersensitivity. (5) p65 and TLR4 were co-expressed in Dil-labeled DRG neurons. (6) Inhibition of p65 attenuated diabetic gastric hypersensitivity and hyper-excitability of gastric-specific DRG neurons. (7) The expression of TRAF6 was significantly up-regulated in diabetic rats. CLI-095 treatment also reduced the expression of TRAF6 and p65. Conclusion: The reduction of microRNA-181a in T7-T10 DRGs might up-regulate TLR4 expression. TLR4 activated NF-κB through MyD88-dependent signaling pathway, increased excitability of gastric-specific DRG neurons, and contributed to diabetic gastric hypersensitivity.