Here we perform overexpression and knockdown of Egr1 in vHIP neurons in both sexes and provide functional evidence that Egr1 targets neuronal chromatin sex-dependently, with consequences for gene expression, structural plasticity, and anxiety- and depression-related behaviour. The gene discussed is EGR1; the disease is major depressive disorder.