O-GlcNAcylation is a dynamic post-translational modification that takes place on ser/thr residues of nucleocytoplasmic proteins. O-GlcNAcylation regulates almost all cellular events as a nutrient sensor, a transcriptional and translational regulator, and a disease-related factor. Although the role of O-GlcNAcylation in insulin signaling and metabolism are well established, the relationship between O-GlcNAcylation and autophagy is largely unknown. Here, we manipulated O-GlcNAcylation in Drosophila and found that it regulates autophagy through Akt/dFOXO signaling. We demonstrate that O-GlcNAcylation and the levels of O-GlcNAc transferase (OGT) are increased during starvation. Furthermore, Atg proteins and autolysosomes are increased in OGT-reduced flies without fasting. Atg proteins and autophagosomes are reduced in OGT-overexpressing flies. Our results suggest that not only autophagy gene expression but also autophagic structures are regulated by OGT through Akt and dFOXO. These data imply that O-GlcNAcylation is important in modulating autophagy as well as insulin signaling in Drosophila.