With loss of MAFA in type 2 diabetes, β-cells cannot maintain their mature phenotype and are dedifferentiated. Here, MAFA is linked to type 2 diabetes mellitus.