Hepatocellular carcinoma (HCC) is the most common type of liver malignancy with high incidence and poor prognosis. Transmembrane protein 147 (TMEM147) has been implicated in the development of colon cancer. However, the role of TMEM147 in HCC remains unclear. In this study, data of 371 HCC tissues, 50 adjacent nontumor tissues, and 110 normal liver tissues were retrieved from the TCGA and GTEx databases. TMEM147 expression was found to be increased in HCC tissues. High expression of TMEM147 was related to poor prognosis, and TMEM147 was confirmed to be an independent prognostic factor for HCC patients. A receiver operating characteristics (ROC) analysis was performed and showed that the diagnostic efficacy of TMEM147 was significantly higher than that of AFP (0.908 versus 0.746,
p
< 0.001). Furthermore, TMEM147 promoted tumor immune infiltration, and macrophages were the immune cells that predominantly expressed TMEM147 in HCC. Further analysis revealed that TMEM147 mainly impacted the ribosome pathway, and CTCF, MLLT1, TGIF2, ZNF146, and ZNF580 were predicted to be the upstream transcription factors for TMEM147 in HCC. These results suggest that TMEM147 serves as a promising biomarker for diagnosis and prognosis and may potentially become a therapeutic target for HCC.