Background: Hepatocellular carcinoma (HCC) is a high mortality disease, the fifth most general cancer worldwide, and the second leading to cancer-related deaths, with more than 500,000 new patients diagnosed each year. First, the high expression of centromere M (CENPM) in mammary gland tissue of b-catenin transformed mice was identified. Materials and methods: In our study, we evaluated the expression of CENPM in hepatocellular carcinoma based on data obtained from an online database. Multivariate analysis showed that the expression of CENPM and M classification was an independent prognostic factor for patients with hepatocellular carcinoma. Results: Survival analysis showed that patients with high CENPM had a worse prognosis than patients with low CENPM (P < 0.01). A multivariate Cox regression hazard model showed that B cells, CD8+ T cells, macrophages, and dendritic cells infiltrated by immune cells were statistically significant in liver cancer (P < 0.05). Using the network, the 50 most frequently changed neighbor genes of CENPM were shown, and the most common change was RAD21 (18.3%). Conclusion: Our study found that the expression of CENPM was significantly increased in patients with hepatocellular carcinoma, and it was related to a variety of clinical characteristics, its correlation with the level of immune infiltration and poor prognosis, so CENPM can be used as a useful prognosis for patients' markers and HCC.