Oxycodone is one of the most commonly used analgesics in the clinic. However, long-term use can contribute to drug dependence. Accumulating evidence of changes in DNA methylation after opioid relapse has provided insight into mechanisms underlying drug-associated memory. The neuropeptide oxytocin is reported to be a potential treatment for addiction. The present study sought to identify changes in global and synaptic gene methylation after cue-induced reinstatement of oxycodone conditioned place preference (CPP) and the effect of oxytocin. We analyzed hippocampal mRNA of synaptic genes and also synaptic density in response to oxycodone CPP. We determined the mRNA levels of DNA methyltransferases (Dnmts) and ten-eleven translocations (Tets), observed global 5-methylcytosine (5-mC) and 5-hydroxymethylcytosine (5-hmC) levels, and measured DNA methylation status of four synaptic genes implicated in learning and memory (Arc, Dlg1, Dlg4, and Syn1). Both synaptic density and the transcription of 15 hippocampal synaptic genes significantly increased following cue-induced reinstatement of oxycodone CPP. Oxycodone relapse was also related to markedly decreased 5-mC levels and decreased transcription of Dnmt1, Dnmt3a, and Dnmt3b; in contrast, 5-hmC levels and the transcription of Tet1 and Tet3 were increased. Oxycodone exposure induced DNA hypomethylation at the exons of the Arc, Dlg1, Dlg4, and Syn1 genes. Intracerebroventricular (ICV) administration of oxytocin (2.5μg/μl) specifically blocked oxycodone relapse, possibly by inhibition of Arc, Dlg1, Dlg4, and Syn1 hypomethylation in oxycodone-treated rats. Together, these data indicate the occurrence of epigenetic changes in the hippocampus following oxycodone relapse and the potential role of oxytocin in oxycodone addiction.