Although converging epidemiological evidence links exposure to stressful life events with increased risk for affective spectrum disorders, there is extraordinary interindividual variability in vulnerability to adversity. The environmentally moderated penetrance of genetic variation is thought to play a major role in determining who will either develop disease or remain resilient. Research on genetic factors in the aetiology of disorders of emotion regulation has, nevertheless, been complicated by a mysterious discrepancy between high heritability estimates and a scarcity of replicable gene-disorder associations. One explanation for this incongruity is that at least some specific gene effects are conditional on environmental cues, i.e. gene-by-environment interaction (G × E) is present. For example, a remarkable number of studies reported an association of variation in the human serotonin (5-HT) transporter gene (SLC6A4, 5-HTT, SERT) with emotional and cognitive traits as well as increased risk for depression in interaction with psychosocial adversity. The results from investigations in non-human primate and mouse support the occurrence of G × E interaction by showing that variation of 5-HTT function is associated with a vulnerability to adversity across the lifespan leading to unfavourable outcomes resembling various neuropsychiatric disorders. The neural and molecular mechanisms by which environmental adversity in early life increases disease risk in adulthood are not known but may include epigenetic programming of gene expression during development. Epigenetic mechanisms, such as DNA methylation and chromatin modification, are dynamic and reversible and may also provide targets for intervention strategies (see Bountra et al., Curr Top Behav Neurosci, 2011). Animal models amenable to genetic manipulation are useful in the identification of molecular mechanisms underlying epigenetic programming by adverse environments and individual differences in resilience to stress. Therefore, deeper insight into the role of epigenetic regulation in the process of neurodevelopmental programmes is likely to result in early diagnosis of affective spectrum disorders and will contribute to the design of innovative treatments targeting neural pathways that foster resilience.