SARM1 deletion in CNS alleviated the cognitive decline, Aβ deposition and inflammatory infiltration in AD model mice by downregulating TNF-α signaling. Here, TNF is linked to Alzheimer disease.