Reward-related memories are essential for adaptive behavior and evolutionary fitness, but they are also a core component of maladaptive brain diseases such as addiction. Reward learning requires dopamine neurons located in the ventral tegmental area (VTA), which encode relationships between predictive cues and future rewards. Recent evidence suggests that epigenetic mechanisms, including DNA methylation, are essential regulators of neuronal plasticity and experience-driven behavioral change. However, the role of epigenetic mechanisms in reward learning is poorly understood. Here we show that the formation of reward-related associative memories in rats upregulates key plasticity genes in the VTA, which are correlated with memory strength and associated with gene-specific changes in DNA methylation. Moreover, DNA methylation in the VTA is required for the formation of stimulus-reward associations. These results provide the first evidence that that activity-dependent methylation and demethylation of DNA is an essential substrate for the behavioral and neuronal plasticity driven by reward-related experiences.