At the tissue level, the downregulation of the TLR4/NF-κB inflammatory pathway in epilepsy inhibited microglial activation and CD68 expression, inhibited hyperphagocytosis, inhibited the occurrence and exacerbation of epilepsy, and thus improved cognitive and emotional behavior after epilepsy. The gene discussed is NFKB1; the disease is epilepsy.