Collectively, these findings demonstrate a new regulatory mechanism for YTHDF2 through O-GlcNAcylation and highlight the vital role of YTHDF2 O-GlcNAcylation in m6A RNA methylation and HCC progression. Here, YTHDF2 is linked to hepatocellular carcinoma.