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. Here, FXYD2 is linked to type 2 diabetes mellitus.