Dysregulation of the epigenetic enzyme-mediated transcription of oncogenes or tumor suppressor genes is closely associated with the occurrence, progression, and prognosis of tumors. Based on the reversibility of epigenetic mechanisms, small-molecule compounds that target epigenetic regulation have become promising therapeutics. These compounds target epigenetic regulatory enzymes, including DNA methylases, histone modifiers (methylation and acetylation), enzymes that specifically recognize post-translational modifications, chromatin-remodeling enzymes, and post-transcriptional regulators. Few compounds have been used in clinical trials and exhibit certain therapeutic effects. Herein, we summarize the classification and therapeutic roles of compounds that target epigenetic regulatory enzymes in cancer treatment. Finally, we highlight how the natural compounds berberine and ginsenosides can target epigenetic regulatory enzymes to treat cancer.