Schizophrenia (SCZ) is a prevalent, severe, and persistent mental disorder with an unknown etiology. Growing evidence indicates that immunological dysfunction is vital in the development of SCZ. Our study aims to uncover potential immune-linked hub genes and immune infiltration characteristics of SCZ, as well as to develop a diagnostic model based on immune-linked central genes. GSE38484 and GSE54913 chip expression data for patients with SCZ and healthy controls were retrieved. Weighted gene co-expression network analysis (WGCNA) was performed to identify major module genes and critical immune-linked genes. Functional enrichment analysis was conducted to elucidate the involvement of key genes in the immunological response to SCZ, along with the examination of their protein interactions. Moreover, 202 peripheral blood samples were examined using the single-sample gene set enrichment analysis (ssGSEA) method to detect distinct immune cell types. Hub immune-linked genes in SCZ were identified using the minimal absolute contraction and selection operator analysis. Receptor profiles of central immune-linked genes were analyzed to distinguish the two groups. Finally, the association between immune-linked hub genes and various types of immune cells was assessed. Our findings revealed ten immune cell types and nine key genes involved in SCZ, including effector memory CD4+ T cells, activated CD8+ T cells, mast cells, naive CD8+ T cells, PBMC, type 17 helper cells (Th17), central memory CD8+ T cells, CD56 bright NK cells, memory B cells, and regulatory T cells. Diagnostic models constructed using LASSO regression exhibited an average area under the curve (AUC) of 0.866. Our results indicate immunological dysfunction as a factor in the development of SCZ. ASGR2, ADRM1, AHANK, S100A8, FUCA1, AKNA, GATA3, AHCYL2, and PTRH2 are the key regulatory genes of immune cells, highlighting their potential as novel therapeutic targets for SCZ.