These results suggest that Lactobacilli and Bifidobacteria, which are beneficial commensal bacteria, can relieve both anxiety and colitis by inhibiting NF-κB activation and inducing BDNF expression; these effects can be alleviated by correcting gut microbiota disturbance. The gene discussed is BDNF; the disease is colitis.