Comorbid neuropsychiatric disorders such as addiction and anxiety could involve common underlying mechanisms. One potential mechanism involves epigenetic regulation of histone 3 dimethylation at lysine 9 residues (H3K9me2) by the histone dimethyltransferase G9a. Here we provide evidence that local AAV-RNAi-mediated knockdown of G9a expression in nucleus accumbens shell (NAcSh) of male rats reduces both addictive-related and anxiety-related behaviors. Specifically, G9a knockdown reduces sensitivity to low dose cocaine reinforcement when cocaine is freely available (fixed ratio schedule). Similarly, G9a knockdown reduces motivation for cocaine under higher effort demands (progressive ratio schedule). Following several weeks of forced abstinence, G9a knockdown attenuates extinction responding and reinstatement triggered by either cocaine-priming injections or footshock stress. This decrease in addictive behavior is associated with a long-term reduction in anxiety-like behavior as measured by the elevated plus maze (EPM). G9a knockdown also reduces basal anxiety-like behavior in EPM and marble burying tests in drug-naïve rats. These results complement our previous work showing that increased G9a expression in NAcSh enhances addictive-related and anxiety-related behaviors, indicating that G9a bi-directionally controls these responses. These results also suggest that regulation of G9a-influenced gene expression could be a common epigenetic mechanism for co-morbid anxiety and psychostimulant addiction.