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. Here, HMOX1 is linked to inflammation.