Cannabinoid receptor 1 (CB1) gene (CNR1) knockout mice are prone to develop anhedonic and helpless behavior after chronic mild stress. In humans, the CB1 antagonist rimonabant increases the risk of depressed mood disorders and anxiety. These studies suggest the hypothesis that genetic variation in CB1 receptor function influences the risk of depression in humans in response to stressful life events. In a population sample (n=1269), we obtained questionnaire measures of personality (Big Five Inventory), depression and anxiety (Brief Symptom Inventory), and life events. The CNR1 gene was covered by 10 SNPs located throughout the gene to determine haplotypic association. Variations in the CNR1 gene were significantly associated with a high neuroticism and low agreeableness phenotype (explained variance 1.5 and 2.5%, respectively). Epistasis analysis of the SNPs showed that the previously reported functional 5' end of the CNR1 gene significantly interacts with the 3' end in these phenotypes. Furthermore, current depression scores significantly associated with CNR1 haplotypes but this effect diminished after covariation for recent life events, suggesting a gene x environment interaction. Indeed, rs7766029 showed highly significant interaction between recent negative life events and depression scores. The results represent the first evidence in humans that the CNR1 gene is a risk factor for depression--and probably also for co-morbid psychiatric conditions such as substance use disorders--through a high neuroticism and low agreeableness phenotype. This study also suggests that the CNR1 gene influences vulnerability to recent psychosocial adversity to produce current symptoms of depression.