YEATS2 promotes DNA repair and induces anoikis resistance by enhancing chromatin accessibility to drive prostate cancer metastasis. Here, YEATS2 is linked to prostate carcinoma.