•Ameliorated depression-like behaviors•↑occludin, BDNF and 5-HT•↓LPS, TNF-α, IL-1β and IL-6. Here, TNF is linked to major depressive disorder.