In the present study, we demonstrated that gut microbiota dysbiosis induces C3/CR3 system activation to promote synaptic pruning and precipitate depression-like behaviors. Here, C3 is linked to major depressive disorder.