Our study revealed that increased SOX5 expression promoted DNMT1 expression and inhibited p21 expression via DNA methylation, indicating a potential role for the SOX5/DNMT1/p21 pathway in the diagnosis and treatment of BC. This evidence concerns the gene DNMT1 and breast cancer.