Antidepressants remain the first-line treatment for depression. However, the factors influencing medication response are still unclear. Accumulating evidence implicates an association between alterations in gut microbiota and antidepressant response. Therefore, the aim of this study is to investigate the role of the gut microbiota-brain axis in the treatment response of venlafaxine. After chronic social defeat stress and venlafaxine treatment, mice were divided into responders and non-responders groups. We compared the composition of gut microbiota using 16S ribosomal RNA sequencing. Meanwhile, we quantified metabolomic alterations in serum and hippocampus, as well as hippocampal neurotransmitter levels using liquid chromatography-mass spectrometry. We found that the abundances of 29 amplicon sequence variants (ASVs) were significantly altered between the responders and non-responders groups. These ASVs belonged to 8 different families, particularly Muribaculaceae. Additionally, we identified 38 and 39 differential metabolites in serum and hippocampus between the responders and non-responders groups, respectively. Lipid, amino acid, and purine metabolisms were enriched in both serum and hippocampus. In hippocampus, the concentrations of tryptophan, phenylalanine, gamma-aminobutyric acid, glutamic acid, and glutamine were increased, while the level of succinic acid was decreased in the responders group, compared with the non-responders group. Our findings suggest that the gut microbiota may play a role in the antidepressant effect of venlafaxine by modulating metabolic processes in the central and peripheral tissues. This provides a novel microbial and metabolic framework for understanding the impact of the gut microbiota-brain axis on antidepressant response.