O-linked β-N-acetyl glucosamine (O-GlcNAc) is attached to proteins under glucose-replete conditions; this posttranslational modification results in molecular and physiological changes that affect cell fate. Here we show that posttranslational modification of serine/arginine-rich protein kinase 2 (SRPK2) by O-GlcNAc regulates de novo lipogenesis by regulating pre-mRNA splicing. We found that O-GlcNAc transferase O-GlcNAcylated SRPK2 at a nuclear localization signal (NLS), which triggers binding of SRPK2 to importin α. Consequently, O-GlcNAcylated SRPK2 was imported into the nucleus, where it phosphorylated serine/arginine-rich proteins and promoted splicing of lipogenic pre-mRNAs. We determined that protein nuclear import by O-GlcNAcylation-dependent binding of cargo protein to importin α might be a general mechanism in cells. This work reveals a role of O-GlcNAc in posttranscriptional regulation of de novo lipogenesis, and our findings indicate that importin α is a "reader" of an O-GlcNAcylated NLS.