Our study combined network pharmacology with in vivo and in vitro experiments to verify that Nrf2 and HMGB1 are important targets for Lir in the treatment of depression. The gene discussed is NFE2L2; the disease is depressive disorder.