Our proposed pathway connecting early malnutrition, sex-independent regulatory changes in Egr1, and sex-specific epigenetic reprogramming of its effector gene, Npy1r, represents the first molecular evidence of how early life risk factors may generate sex-specific epigenetic effects relevant for mental disorders. Here, NPY1R is linked to psychiatric disorder.