Inhibition of IL-17 could ameliorate Aβ-induced neurotoxicity and cognitive decline in C57BL/6 mice by downregulating the TRAF6/NF-κB pathway, which provides new clues for the mechanism of Aβ-induced cognitive impairments. Here, TRAF6 is linked to Cognitive impairment.