We found that inhibiting RIP1 using necrostatin-1 during chronic stress limited neuroinflammation, increased neurogenesis and GluA2 expression, and finally improved memory impairment. The gene discussed is RIPK1; the disease is memory impairment.