Alterations in signaling pathways and modulation of cell metabolism are associated with the pathogenesis of cancers, including hepatocellular carcinoma (HCC). Small ubiquitin-like modifier (SUMO) proteins and NF-κB family play major roles in various cellular processes. The current study aims to determine the expression profile of SUMO and NF-κB genes in HCC tumors and investigate their association with the clinical outcome of HCC. The expression of 5 genes - SUMO1, SUMO2, SUMO3, NF-κB p65, and NF-κB p50 - was quantified in tumor and adjacent non-tumor tissues of 58 HBV-related HCC patients by real-time quantitative PCR and was analyzed for the possible association with clinical parameters of HCC. The expression of SUMO2 was significantly higher in HCC tumor tissues compared to the adjacent non-tumor tissues (P = .01), while no significant difference in SUMO1, SUMO3, NF-κB p65, and NF-κB p50 expression was observed between HCC tumor and non-tumor tissues (P > .05). In HCC tissues, a strong correlation was observed between the expression of SUMO2 and NF-κB p50, between SUMO3 and NF-κB p50, between SUMO3 and NF-κB p65 (Spearman rho = 0.83; 0.82; 0.772 respectively; P < .001). The expression of SUMO1, SUMO2, SUMO3, NF-κB p65, and NF-κB p50 was decreased in grade 3 compared to grades 1 and 2 in HCC tumors according to the World Health Organization grades system. Our results highlighted that the SUMO2 gene is upregulated in tumor tissues of patients with HCC, and is related to the development of HCC, thus it may be associated with the pathogenesis of HCC.