Background: Genomic alteration is the basis of occurrence and development of carcinoma. Specific gene mutation may be associated with the prognosis of hepatocellular carcinoma (HCC) patients without distant or lymphatic metastases. Hence, we developed a nomogram based on prognostic gene mutations that could predict the overall survival of HCC patients at early stage and provide reference for immunotherapy.Methods: HCC cohorts were obtained from The Cancer Genome Atlas (TCGA) and International Cancer Genome Consortium (ICGC) databases. The total patient was randomly assigned to training and validation sets. Univariate and multivariate cox analysis were used to select significant variables for construction of nomogram. The support vector machine (SVM) and principal component analysis (PCA) were used to assess the distinguished effect of significant genes. Besides, the nomogram model was evaluated by concordance index, time-dependent receiver operating characteristics (ROC) curve, calibration curve and decision curve analysis (DCA). Gene Set Enrichment Analysis (GSEA), CIBERSORT, Tumor Immune Dysfunction and Exclusion (TIDE) and Immunophenoscore (IPS) were utilized to explore the potential mechanism of immune-related process and immunotherapy.Results: A total of 695 HCC patients were selected in the process including 495 training patients and 200 validation patients. Nomogram was constructed based on T stage, age, country, mutation status of DOCK2, EYS, MACF1 and TP53. The assessment showed the nomogram has good discrimination and high consistence between predicted and actual data. Furthermore, we found T cell exclusion was the potential mechanism of malignant progression in high-risk group. Meanwhile, low-risk group might be sensitive to immunotherapy and benefit from CTLA-4 blocker treatment.Conclusion: Our research established a nomogram based on mutant genes and clinical parameters, and revealed the underlying association between these risk factors and immune-related process.