Taken together, our single cell integrated genomic analysis demonstrates the existence of T2D-associated β-cell heterogeneity with a specific electrophysiological trait driven by a HNF1A/FXYD2 module. This evidence concerns the gene HNF1A and type 2 diabetes mellitus.