Inflammatory bowel disease (IBD) is marked by persistent inflammation, and its development and progression are linked to environmental, genetic, immune system and gut microbial factors. DNA methylation (DNAm), as one of the protein modifications, is a crucial epigenetic process used by cells to control gene transcription. DNAm is one of the most common areas that has drawn increasing attention recently, with studies revealing that the interleukin (IL)-23/IL-12, wingless-related integration site, IL-6-associated signal transducer and activator of transcription 3, suppressor of cytokine signaling 3 and apoptosis signaling pathways are involved in DNAm and in the pathogenesis of IBD. It has emerged that DNAm-associated genes are involved in perpetuating the persistent inflammation that characterizes a number of diseases, including IBD, providing a novel therapeutic strategy for exploring their treatment. The present review discusses DNAm-associated genes in the pathogenesis of IBD and summarizes their application as possible diagnostic, prognostic and therapeutic biomarkers in IBD. This may provide a reference for the particular form of IBD and its related methylation genes, aiding in clinical decision-making and encouraging therapeutic alternatives.