Harmful excessive use of alcohol has a severe impact on society and it remains one of the major causes of morbidity and mortality in the population. However, mechanisms that underlie excessive alcohol consumption are still poorly understood, and thus available medications for alcohol use disorders are limited. Here, we report that changing the level of chromatin condensation by affecting DNA methylation or histone acetylation limits excessive alcohol drinking and seeking behaviors in rodents. Specifically, we show that decreasing DNA methylation by inhibiting the activity of DNA methyltransferase (DNMT) with systemic administration of the FDA-approved drug, 5-azacitidine (5-AzaC) prevents excessive alcohol use in mice. Similarly, we find that increasing histone acetylation via systemic treatment with several histone deacetylase (HDAC) inhibitors reduces mice binge-like alcohol drinking. We further report that systemic administration of the FDA-approved HDAC inhibitor, SAHA, inhibits the motivation of rats to seek alcohol. Importantly, the actions of both DNMT and HDAC inhibitors are specific for alcohol, as no changes in saccharin or sucrose intake were observed. In line with these behavioral findings, we demonstrate that excessive alcohol drinking increases DNMT1 levels and reduces histone H4 acetylation in the nucleus accumbens (NAc) of rodents. Together, our findings illustrate that DNA methylation and histone acetylation control the level of excessive alcohol drinking and seeking behaviors in preclinical rodent models. Our study therefore highlights the possibility that DNMT and HDAC inhibitors can be used to treat harmful alcohol abuse.