Cancer is a highly heterogeneous disease that poses a serious threat to human health worldwide. Despite significant advances in the diagnosis and treatment of cancer, the prognosis and survival rate of cancer remain poor due to late diagnosis, drug resistance, and adverse reactions. Therefore, it is very necessary to study the development mechanism of cancer and formulate effective therapeutic interventions. As widely available bioactive substances, natural products have shown obvious anticancer potential, especially by targeting abnormal epigenetic changes. The main active part of garlic is organic sulfur compounds, of which diallyl trisulfide (DATS) content is the highest, accounting for more than 40% of the total composition. The garlicâderived compounds have been recognized as an antioxidant for cancer prevention and treatment. However, the molecular mechanism of the antitumor effect of garlicâderived compounds remains unclear. Recent studies have identified garlicâderived compound DATS that plays critical roles in enhancing CpG demethylation or promoting histone acetylation as an epigenetic inhibitor. Here, we review the therapeutic progress of garlicâderived compounds against cancer through epigenetic pathways.