Targeting epigenetics is a new strategy to treat cancer and develop novel epigenetic drugs with anti-tumor activity. DNA methyltransferases transfer the methyl group from S-adenosyl-L-methionine (SAM) to the cytosine residue in a CpG island, leading to the transcription silencing of the gene. Hypermethylation can frequently be observed in several tumor types. Hence, the inhibition of DNMT1 has become a novel approach to cure cancer. In this study, virtual screening and molecular docking were performed for more than 11,000 ligands from the ZINC15 database to discover new hypomethylation agents. Four candidate compounds were further tested for their effects on DNMT1 in silico and in vitro. Compounds 2 and 4 showed the best DNMT1 inhibitory activity, but only compound 4 was able to inhibit the growth of several cancer cell lines. The hypomethylation of the luciferase gene by compound 4 was verified by a CMV- luciferase assay using KG-1 cells. Additionally, compound 4 suppressed cell migration in a dose- and time-dependent manner in the wound healing assay. Moreover, cell cycle analyses demonstrated that compound 4 arrested CCRF-CEM cells and MDA-MB-468 cells in the G0/G1 phase. Also, compound 4 significantly induced early and late apoptosis in a dose-dependent manner. In conclusion, we introduce compound 4 as a novel DNMT1 inhibitor with anticancer activity.