Herein, we summarize the effect of the NLRP3 inflammasome and P2X7 receptor in DM and depression, respectively, and deduce their pathological roles in DD. This evidence concerns the gene NLRP3 and diabetes mellitus.