In summary, IL-22 secreted by Th22 cells in the hippocampus of DM model mice alters the morphology of microglia and promotes the transformation of homeostatic microglia into reactive microglia. This evidence concerns the gene IL22 and diabetes mellitus.