Pretreatment with sulforaphane, a naturally occurring Nrf2 activator, prevented depression-like phenotype in mice after inflammation, or chronic social defeat stress. Here, NFE2L2 is linked to depressive disorder.