Thus, our findings uncover a complex interplay between CD8+ TSCM cells and gut microbial metabolism, shedding light on potential mechanisms underlying depression and suggesting avenues for therapeutic intervention. This evidence concerns the gene CD8A and depressive symptom measurement.