Collectively, NLRP3 inflammasome activation and subsequent IL-1β generation were involved in the development of depression and T2D separately. This evidence concerns the gene IL1B and major depressive disorder.