These findings indicate that the control of Mgat4a expression and functional glycosylation of GLUT2 by GnT-IVa play key roles in the development of diabetes, and GnT-IVa could be a drug target. Here, MGAT4A is linked to diabetes mellitus.