Background: Autophagy is involved in the pathophysiological process of sepsis. This study was designed to identify autophagy-related key genes in sepsis, analyze their correlation with immune cell signatures, and search for new diagnostic and prognostic biomarkers.Methods: Whole blood RNA datasets GSE65682, GSE134347, and GSE134358 were downloaded and processed. Differential expression analysis and weighted gene co-expression network analysis (WGCNA) were used to identify autophagy-related key genes in sepsis. Then, key genes were analyzed by functional enrichment, protein-protein interaction (PPI), transcription factor (TF)-gene and competing endogenous RNA (ceRNA) network analysis. Subsequently, key genes with diagnostic efficiency and prognostic value were identified by receiver operating characteristic (ROC) curves and survival analysis respectively. The signatures of immune cells were estimated using CIBERSORT algorithm. The correlation between significantly different immune cell signatures and key genes was assessed by correlation analysis. Finally, key genes with both diagnostic and prognostic value were verified by RT-qPCR.Results: 14 autophagy-related key genes were identified and their TF-gene and ceRNA regulatory networks were constructed. Among the key genes, 11 genes (ATIC, BCL2, EEF2, EIF2AK3, HSPA8, IKBKB, NLRC4, PARP1, PRKCQ, SH3GLB1, and WIPI1) had diagnostic efficiency (AUC > 0.90) and 5 genes (CAPN2, IKBKB, PRKCQ, SH3GLB1 and WIPI1) were associated with survival prognosis (p-value < 0.05). IKBKB, PRKCQ, SH3GLB1 and WIPI1 had both diagnostic and prognostic value, and their expression were verified by RT-qPCR. Analysis of immune cell signatures showed that the abundance of neutrophil, monocyte, M0 macrophage, gamma delta T cell, activated mast cell and M1 macrophage subtypes increased in the sepsis group, while the abundance of resting NK cell, resting memory CD4+ T cell, CD8+ T cell, naive B cell and resting dendritic cell subtypes decreased. Most of the key genes correlated with the predicted frequencies of CD8+ T cells, resting memory CD4+ T cells, M1 macrophages and naive B cells.Conclusion: We identified autophagy-related key genes with diagnostic and prognostic value in sepsis and discovered associations between key genes and immune cell signatures. This work may provide new directions for the discovery of promising biomarkers for sepsis.