Substance abuse increases an individual's vulnerability to stress-related illnesses, which is presumably mediated by drug-induced neural adaptations that alter subsequent responses to stress. Here, we identify repressive histone methylation in nucleus accumbens (NAc), an important brain reward region, as a key mechanism linking cocaine exposure to increased stress vulnerability. Repeated cocaine administration prior to subchronic social defeat stress potentiated depressive-like behaviors in mice through decreased levels of histone H3 lysine 9 dimethylation in NAc. Cre-mediated reduction of the histone methyltransferase, G9a, in NAc promoted increased susceptibility to social stress, similar to that observed with repeated cocaine. Conversely, G9a overexpression in NAc after repeated cocaine protected mice from the consequences of subsequent stress. This resilience was mediated, in part, through repression of BDNF-TrkB-CREB signaling, which was induced after repeated cocaine or stress. Identifying such common regulatory mechanisms may aid in the development of new therapies for addiction and depression. © 2011 Elsevier Inc.