Sepsis, a serious inflammatory response that can be fatal, has a poorly understood pathophysiology. The Metabolic syndrome (MetS), however, is associated with many cardiometabolic risk factors, many of which are highly prevalent in adults. It has been suggested that Sepsis may be associated with MetS in several studies. Therefore, this study investigated diagnostic genes and metabolic pathways associated with both diseases. In addition to microarray data for Sepsis, PBMC single cell RNA sequencing data for Sepsis and microarray data for MetS were downloaded from the GEO database. Limma differential analysis identified 122 upregulated genes and 90 downregulated genes in Sepsis and MetS. WGCNA identified brown co-expression modules as Sepsis and MetS core modules. Two machine learning algorithms, RF and LASSO, were used to screen seven candidate genes, namely, STOM, BATF, CASP4, MAP3K14, MT1F, CFLAR and UROD, all with an AUC greater than 0.9. XGBoost assessed the co-diagnostic efficacy of Hub genes in Sepsis and MetS. The immune infiltration results show that Hub genes were expressed at high levels in all immune cells. After performing Seurat analysis on PBMC from normal and Sepsis patients, six immune subpopulations were identified. The metabolic pathways of each cell were scored and visualized using ssGSEA, and the results show that CFLAR plays an important role in the glycolytic pathway. Our study identified seven Hub genes that serve as co-diagnostic markers for Sepsis and MetS and revealed that diagnostic genes play an important role in immune cell metabolic pathway.