The purpose of this study was to explore whether EA could ameliorate the dysregulation of pain sensation by suppressing microglial activation and the resulting neuroinflammatory response, and to evaluate whether this response was regulated by Toll-like receptor 4 (TLR4)/nuclear factor-kappa B(NF-κB) in the trigeminal nucleus caudalis (TNC) in a rat model of migraine. This evidence concerns the gene NFKB1 and migraine disorder.