Epigenetic alterations have emerged as an important mechanism involved in tumorigenesis. The epigenetic impact of DNA methylation in various types of human cancer is not completely understood. Previously, we observed melatonin-induced differential expression of miRNA and miRNA-related genes in human breast cancer cell lines that indicated an anticancer effect of melatonin. In this report, we further characterized epigenetic changes in melatonin-exposed MCF-7 cells through the analysis of DNA methylation profiles in breast cancer cells to provide new insights into the potential mechanisms of the anticancer effect of melatonin. Microarray-based DNA methylation and gene expression profiling were carried out using human breast cancer cell lines. We further identified a number of mRNAs whose expression levels show an inverse correlation with DNA methylation levels. The mRNA expression levels and methylation status of candidate genes in melatonin-exposed cells were confirmed by real-time quantitative PCR and bisulfite PCR. This approach led to the detection of cancer-related genes, which were oncogenic genes, including EGR3 and POU4F2/Brn-3b were down-regulated, while the tumor suppressor gene, GPC3, was up-regulated by 1 nm melatonin-treated MCF-7 cells. Our results provide detailed insights into the DNA methylation patterns induced by melatonin and suggest a potential mechanism of the anticancer effect of aberrant DNA methylation in melatonin-treated breast cancer cells.