In summary, PF mitigates LPS-induced depression through NLRP3 suppression and Nrf2/HO-1 activation, offering a promising therapeutic strategy for inflammation-related depression-like behavior in mice. This evidence concerns the gene NFE2L2 and major depressive disorder.