This study determined that IRF4 and TNFRSF17 were immune-related genes in colon cancer, providing immune-related prognostic biomarkers for colon cancer. This evidence concerns the gene TNFRSF17 and colonic neoplasm.