We identified 30 CXCR4-related immunomodulators in lung adenocarcinoma (LUAD) and lung squamous cell carcinoma (LUSC) and constructed immune prognostic signatures based on CXCR4-related immunomodulators and CXCR4-related mutant genes. This evidence concerns the gene CXCR4 and squamous cell lung carcinoma.