Our study aimed to type DLBCL based on specific immune gene sets, analyse the immune and prognostic characteristics of different subtypes, investigate the regulatory mechanisms of immune subtypes, and assess the predictive value of IRGSs constructed based on CD8+ T cell-related hub genes for ICBT. Here, CD8A is linked to diffuse large B-cell lymphoma.