Our study elucidates that upregulation of CDC45 is intricately associated with immune cell infiltration and holds promising potential as a favorable prognostic marker and a novel diagnostic biomarker for GC. This evidence concerns the gene CDC45 and gastric cancer.