Epigenetic modifications and metabolism are two fundamental biological processes. During tumorigenesis and cancer development both epigenetic and metabolic alterations occur and are often intertwined together. Epigenetic modifications contribute to metabolic reprogramming by modifying the transcriptional regulation of metabolic enzymes, which is crucial for glucose metabolism, lipid metabolism, and amino acid metabolism. Metabolites provide substrates for epigenetic modifications, including histone modification (methylation, acetylation, and phosphorylation), DNA and RNA methylation and non-coding RNAs. Simultaneously, some metabolites can also serve as substrates for nonhistone post-translational modifications that have an impact on the development of tumors. And metabolic enzymes also regulate epigenetic modifications independent of their metabolites. In addition, metabolites produced by gut microbiota influence host metabolism. Understanding the crosstalk among metabolism, epigenetic modifications, and gene expression in cancer may help researchers explore the mechanisms of carcinogenesis and progression to metastasis, thereby provide strategies for the prevention and therapy of cancer. In this review, we summarize the progress in the understanding of the interactions between cancer metabolism and epigenetics.