The spermatogenesis associated serine rich 2 (SPATS2) is a member of RNA-binding protein in which the abnormal expression is linked with carcinogenesis in serval types of cancer. However, there is no systematic study on the differential expression, prognostic significance, epigenetic regulation, immune infiltration of SPATS2 in HCC. In the present study, we investigated the expression, prognosis, epigenetic regulation, and immune cell infiltration of SPATS2 in HCC. We found that the elevated expression of SPATS2 was unfavorably associated with the clinical pathological stage and prognosis. Functional enrichment analysis revealed that SPATS2 associated with cell cycle, apoptosis and cancer cell metastasis processes in HCC. Our results confirmed that knockdown of SPATS2 will affect cell cycle, apoptosis and invasion of HCC cell lines. Moreover, the expression of SPATS2 is upregulated by epigenetic regulation, including DNA methylation, m6A and histone modification in HCC. In addition, SPATS2 expression was positively correlated with immune cell or gene markers of immune infiltration in HCC. Taken together, our data demonstrated that SPATS2 was associated with progression and immune infiltration, and could serve as a prognostic biomarker for HCC. In conclusion, these results highlight the potential of SPATS2 to be used as a therapeutic target for HCC.