CD8 positive T-cells decrease neurogenesis and induce anxiety-like behaviour following hepatitis B vaccination. Here, CD8A is linked to hepatitis B virus infection.