To decipher the mechanism behind the paradoxical prognostic values of mdig in breast cancers, the present study demonstrated that mdig negatively regulates DNA methylation and H3K9me3 in cancer cells and tissues, which influences the accessibility of chromatin and the expression of genes involved in cancer cell migration and invasion. The gene discussed is RIOX2; the disease is cancer.