BackgroundLactate dehydrogenase (LDHs) is an enzyme involved in anaerobic glycolysis, including LDHA, LDHB, LDHC and LDHD. Given the regulatory role in the biological progression of certain tumors, we analyzed the role of LDHs in pan-cancers.MethodsCox regression, Kaplan–Meier curves, Receiver Operating Characteristic (ROC) curves, and correlation of clinical indicators in tumor patients were used to assess the prognostic significance of LDHs in pan-cancer. The TCGA, HPA, TIMER, UALCAN, TISIDB, and Cellminer databases were used to investigate the correlation between the expression of LDHs and immune subtypes, immune checkpoint genes, methylation levels, tumor mutational load, microsatellite instability, tumor-infiltrating immune cells and drug sensitivity. The cBioPortal database was also used to identify genomic abnormalities of LDHs in pan-cancer. A comprehensive assessment of the biological functions of LDHs was performed using GSEA. In vitro, HepG2 and Huh7 cells were transfected with LDHD siRNA and GFP-LDHD, the proliferation capacity of cells was examined using CCK-8, EdU, and colony formation assays; the migration and invasion of cells was detected by wound healing and transwell assays; western blotting was used to detect the levels of MMP-2, MMP-9, E-cadherin, N-cadherin and Akt phosphorylation.ResultsLDHs were differentially expressed in a variety of human tumor tissues. LDHs subtypes can act as pro-oncogenes or anti-oncogenes in different types of cancer and have an impact on the prognosis of patients with tumors by influencing their clinicopathological characteristics. LDHs were differentially expressed in tumor immune subtypes and molecular subtypes. In addition, LDHs expression correlated with immune checkpoint genes, tumor mutational load, and microsatellite instability. LDHD was identified to play an important role in the prognosis of HCC patients, according to a comprehensive analysis of LDHs in pan-cancer. In HepG2 and Huh7 cells, knockdown of LDHD promoted cell proliferation, migration, and invasion, promoted the protein expression levels of MMP-2, MMP-9, N-cadherin, and Akt phosphorylation, but inhibited the protein expression level of E-cadherin. In addition, LDHD overexpression showed the opposite changes.ConclusionLDHs subtypes can be used as potential prognostic markers for certain cancers. Prognostic and immunotherapeutic analysis indicated that LDHD plays an important role in the prognosis of HCC patients. In vitro experiments revealed that LDHD can affect HCC proliferation, migration, and invasion by regulating MMPs expression and EMT via Akt signaling pathway, which provides a new perspective on the anti-cancer molecular mechanism of LDHD in HCC.