These results demonstrate that SOX5 regulates cellular processes in BC cells via the SOX5/DNMT1/p21 pathway. Here, SOX5 is linked to breast cancer.