DNA methylation is one of the most essential epigenetic mechanisms to regulate gene expression. DNA methyltransferases (DNMTs) play a vital role in DNA methylation in the genome. In mammals, DNMTs act with some elements to regulate the dynamic DNA methylation patterns of embryonic and adult cells. Conversely, the aberrant function of DNMTs is frequently the hallmark in judging cancer, including total hypomethylation and partial hypermethylation of tumor suppressor genes (TSGs), which improve the malignancy of tumors, aggravate the ailment for patients, and significantly exacerbate the difficulty of cancer therapy. Since DNA methylation is reversible, currently, DNMTs are viewed as an important epigenetic target for drug development. However, the impression of DNMTs on cancers is still controversial, and therapeutic methods targeting DNMTs remain under exploration. This review mainly summarizes the relationship between the main DNMTs and cancers as well as regulatory mechanisms and clinical applications of DNMTs in cancer and highlights several forthcoming strategies for targeting DNMTs.