As one of the research hotspots in the field of medical research in recent years, there are increasing researches on immune function abnormalities in the onset of neurological diseases such as depression, AD, ischemic brain injury and cerebral infarction, the NLRP3 inflammasome causes the activated caspase-1 to cleave pre-interleukin-1β and pre-interleukin-18 into mature interleukin-1β and interleukin-18, in turn, a large number of inflammatory factors are produced, which participate in the occurrence and development of the above-mentioned diseases. This evidence concerns the gene NLRP3 and major depressive disorder.