Hepatocellular carcinoma (HCC) is the third leading cause of cancer-related death worldwide. Currently, overcoming the drug resistance in HCC is a critical challenge and ferroptosis has emerged as a promising therapeutic option for cancer. We aim to construct a new gene signature related to ferroptosis and drug resistance to predict the prognosis in HCC. The RNA-seq data of HCC patients was obtained from the Cancer Genome Atlas database. Using least absolute shrinkage and selection operator cox regression, Kaplan–Meier analysis, and differential analysis, we constructed a prognostic model consisting of six hub genes (TOP2A, BIRC5, VEGFA, HIF1A, FTH1, ACSL3) related to ferroptosis and drug resistance in HCC. Functional enrichment, pathway enrichment and GSEA analysis were performed to investigate the potential molecular mechanism, and construction of PPI, mRNA-miRNA, mRNA-RBP, mRNA-TF and mRNA-drugs interaction networks to predict its interaction with different molecules. Clinical prognostic characteristics were revealed by univariate, multivariate cox regression analysis and nomogram. We also analyzed the relationship between the signature, immune checkpoints, and drug sensitivity. The expression of the gene signature was detected in HCC cell lines and HPA database. Our prognostic model classified patients into high and low-risk groups based on the risk scores and found the expression level of the genes was higher in the high-risk group than the low-risk group, demonstrating that high expression of the hub genes was associated with poor prognosis in HCC. ROC analysis revealed its high diagnostic efficacy in both HCC and normal tissues. The proportional hazards model and calibration analysis confirmed that the model’s prediction was most accurate for 1- and 3-years survival. QRT-PCR showed the high expression level of the gene signature in HCC. Our study built a novel gene signature with good potential to predict the prognosis of HCC, which may provide new therapeutic targets and molecular mechanism for HCC diagnosis and treatment.