In the present study, we demonstrated for the first time that activation of GLP-1R significantly ameliorated depression-like behaviors in diabetic db/db mice by inhibiting microglial pyroptosis and promoting mitophagy in the hippocampus. This evidence concerns the gene GLP1R and major depressive disorder.