In conclusion, fRG and its constituents Rd and protopanaxatriol mitigated anxiety/depression and colitis by regulating NF-κB-mediated BDNF expression and gut dysbiosis. Here, NFKB1 is linked to major depressive disorder.