found that after icariin treatment, the neurological function score and cerebral infarction rate of MCAO model rats were improved, the activation of Iba1 and TLR4 in microglia decreased, the NF-κB p65 protein level decreased, and the content of inflammatory factors IL-1α and TNF-α decreased significantly. The gene discussed is TNF; the disease is cerebral infarction.