The present invention provides inhibitors of O-GIcNAc transferase. Typically, the inhibitors are quinolinone-6-sulfonamides. The invention also provides pharmaceutical compositions thereof and methods for using the same in diabetes and complications thereof, neurodegenerative diseases, cancers, autoimmune diseases, and inflammatory diseases.