By establishing an animal model of IL-17A overexpression, we discovered that IL-17A increases the level of TNF-α in the brain through the TLR4/NF-κB signalling pathway, aggravates neuroinflammation, and thus exacerbates cognitive impairment. The gene discussed is TNF; the disease is Cognitive impairment.