Our results show that diabetes-induced mTOR activation contributes to TFEB dysfunction and therefore perturbs lysosomal homeostasis by impairing lysosomal biogenesis and clearance in TECs. Here, TFEB is linked to diabetes mellitus.