Targeting of KLF4 in these macrophage populations may restore homeostatic M1/M2 populations and, subsequently, preserve pancreatic islets during T1D onset. Here, KLF4 is linked to type 1 diabetes mellitus.