Anti-PD-1 treatment induced severe enteritis by promoting CD8+ T cells infiltration and activating PI3K-AKT-mTOR pathway in T cells. Here, CD8A is linked to enteritis.