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 P2RX7 and major depressive disorder.