Dysregulation of histone modifying enzymes has been associated with numerous psychiatric disorders. Alterations in G9a (Ehmt2), a histone methyltransferase that catalyzes the euchromatic dimethylation of histone H3 at lysine 9 (H3K9me2), has been implicated recently in mediating neural and behavioral plasticity in response to chronic cocaine administration. Here, we show that chronic morphine, like cocaine, decreases G9a expression, and global levels of H3K9me2, in mouse nucleus accumbens (NAc), a key brain reward region. In contrast, levels of other histone methyltransferases or demethylases, or of other methylated histone marks, were not affected in NAc by chronic morphine. Through viral-mediated gene transfer and conditional mutagenesis, we found that overexpression of G9a in NAc opposes morphine reward and locomotor sensitization and concomitantly promotes analgesic tolerance and naloxone-precipitated withdrawal, whereas downregulation of G9a in NAc enhances locomotor sensitization and delays the development of analgesic tolerance. We identified downstream targets of G9a by providing a comprehensive chromatin immunoprecipitation followed by massively parallel sequencing analysis of H3K9me2 distribution in NAc in the absence and presence of chronic morphine. These data provide novel insight into the epigenomic regulation of H3K9me2 by chronic morphine and suggest novel chromatin-based mechanisms through which morphine-induced addictive-like behaviors arise.