There is substantial inter-individual variation in response to antidepressants, and genetic variation may, in part, explain these differences. For example, there is evidence to suggest that variation in the serotonin transporter gene (SLC6A4) predicts response to selective serotonin reuptake inhibitors (SSRIs). Environmental factors such as the occurrence of stressful life events before treatment may also be important. One prior report suggests that both factors interact in predicting response to antidepressants. GENDEP, a prospective part-randomized pharmacogenomics trial, collected longitudinal data on the outcome of 811 patients with major depression undergoing treatment with either an SSRI (escitalopram) or a tricyclic antidepressant (nortriptyline). Life events experienced over 6 months preceding treatment were measured using a List of Threatening Experiences Questionnaire, and several polymorphisms in the serotonin transporter gene (SLC6A4) have been genotyped including the serotonin transporter-linked polymorphic region (5-HTTLPR). Stressful life events were shown to predict a significantly better response to escitalopram but had no effect on response to nortriptyline. Variation in the 5-HTTLPR and another polymorphism in the gene, STin4, significantly modified these effects. Gene-environment interactions including life events may therefore be important not only in the aetiology of depression, but also in predicting response to antidepressant medication.