Here, we demonstrate that O-GlcNAcylation can enhance the expression, stability and function of Yes-associated protein (YAP), the downstream transcriptional regulator of the Hippo pathway and a potent oncogenic factor in liver cancer. Here, YAP1 is linked to liver cancer.