Loss of O-GlcNAcylation of cofilin leads to destabilization of invadopodia and impairs cell invasion, although the actin-severing activity or lamellipodial localization is not affected.