O-GlcNAcylation is the covalent attachment of β-D-N-acetylglucosamine (GlcNAc) sugars to serine or threonine residues of nuclear and cytoplasmic proteins, and it is involved in extensive crosstalk with other post-translational modifications, such as phosphorylation. O-GlcNAcylation is becoming increasing realized as having important roles in cancer-relevant processes, such as cell signalling, transcription, cell division, metabolism and cytoskeletal regulation. However, currently little is known about the specific roles of aberrant O-GlcNAcylation in cancer. In this Opinion article, we summarize the current understanding of O-GlcNAcylation in cancer and its emerging functions in transcriptional regulation at the level of chromatin and transcription factors.