O-GlcNAcylation of XRCC4 controls its stability and confers resistance to DNA double-strand break damage in cancer cells. Here, XRCC4 is linked to cancer.