Resveratrol ameliorated inflammation and anxiety- and depression-like behaviors induced by maternal separation by activating Sirt1 and thereby inhibiting the NF-κB signaling pathway. Here, NFKB1 is linked to depressive disorder.