Overall, this study reveals a novel antidepressant mechanism of FMN in terms of neuroinflammation regulated by microglia polarization and NLRP3, and also provides a potential therapeutic target for depression treatment. This evidence concerns the gene NLRP3 and depressive disorder.