Background: Mortality due to hepatocellular carcinoma (HCC), which is the most common liver cancer, is often overestimated because of deaths from other causes. This study was conducted to estimate the probability of cancer-specific mortality (CSM) of patients with HCC and establish a competing risk nomogram for predicting the CSM of among these patients HCC using a large population-based cohort. Methods: Patients diagnosed with HCC between 2004 and 2015 were identified from the Surveillance Epidemiology and End Results Program. CSM and overall survival (OS) were the endpoints of the study. A competing risk nomogram for predicting CSM was built using the Fine and Gray regression model, and the nomogram for predicting OS was constructed with the Cox proportional hazard regression model, and 10-fold cross-validation was performed for the entire set. Results: A total of 34,957 patients were included in the study and randomly divided into a training set and validation set at a ratio of 7:3. Multivariate analysis identified age, race, surgical therapy, chemotherapy, radiotherapy, tumour diameter, and tumour staging as the independent predictive factors of CSM. In addition to these factors, sex and marital status were also identified as independent predictive factors of OS. Using these factors, corresponding nomograms were constructed for CSM and OS. In the validation set, the 5 year concordance-indices of the two nomogram models were estimated as 0.746 and 0.74. Calibration curves revealed good consistency between model predictions and observed outcomes. Furthermore, based on the results of cumulative incidence function analysis and Kaplan-Meier analysis, patients were categorised into four distinct risk subgroups, supporting the predictive performance of the models. Conclusions: In this population-based analysis, we developed and validated nomograms for individualized prediction of CSM and OS in patients with HCC.