Background: Lactate, as an essential clinical evaluation index of septic shock, is crucial in the incidence and progression of septic shock. This study aims to investigate the differential expression, regulatory relationship, clinical diagnostic efficacy, and immune infiltration of lactate metabolism-related genes (LMGs) in septic shock.Methods: Two sepsis shock datasets (GSE26440 and GSE131761) were screened from the GEO database, and the common differentially expressed genes (DEGs) of the two datasets were screened out. LMGs were selected from the GeneCards database, and lactate metabolism-related DEGs (LMDEGs) were determined by integrating DEGs and LMGs. Protein-protein interaction networks, mRNA-miRNA, mRNA-RBP, and mRNA-TF interaction networks were constructed using STRING, miRDB, ENCORI, and CHIPBase databases, respectively. Receiver operating characteristic (ROC) curves were constructed for each of the LMDEGs to evaluate the diagnostic efficacy of the expression changes in relation to septic shock. Finally, immune infiltration analysis was performed using ssGSEA and CIBERSORT.Results: This study identified 10 LMDEGs, including LDHB, STAT3, LDHA, GSR, FOXM1, PDP1, GCDH, GCKR, ABCC1, and CDKN3. Enrichment analysis revealed that DEGs were significantly enriched in pathways such as pyruvate metabolism, hypoxia pathway, and immune-inflammatory pathways. PPI networks based on LMDEGs, as well as 148 pairs of mRNA-miRNA interactions, 243 pairs of mRNA-RBP interactions, and 119 pairs of mRNA-TF interactions were established. ROC curves of eight LMDEGs (LDHA, GSR, STAT3, CDKN3, FOXM1, GCKR, PDP1, and LDHB) with consistent expression patterns in two datasets had an area under the curve (AUC) ranging from 0.662 to 0.889. The results of ssGSEA and CIBERSORT both showed significant differences in the infiltration of various immune cells, including CD8 T cells, T regulatory cells, and natural killer cells, and LMDEGs such as STAT3, LDHB, LDHA, PDP1, GSR, FOXM1, and CDKN3 were significantly associated with various immune cells.Conclusion: The LMDEGs are significantly associated with the immune-inflammatory response in septic shock and have a certain diagnostic accuracy for septic shock.