In this review, we elaborate the definition and epidemiology of depression, diabetes, and diabetic depression and introduce the functional characteristics of an NLRP3 inflammasome and upstream P2X7 receptor. This evidence concerns the gene NLRP3 and depressive disorder.