In a high-glucose-induced zebrafish model of type 2 diabetes, chronic high glucose exposure led to a progressive decline in mitochondrial function, mediated through the activation of the miR-139-5p/NAMPT pathway. Here, NAMPT is linked to type 2 diabetes mellitus.