These findings reveal a previously unrecognized metabolic-transcriptional regulatory mechanism and highlight TCF7L1 O-GlcNAcylation as a potential therapeutic target in AR-dependent prostate cancer. This evidence concerns the gene AR and prostate carcinoma.