Hepatocellular carcinoma (HCC) is one of the most malignant tumors with a poor prognosis. The long non-coding RNA (lncRNA) has been found to have great potential as a prognostic biomarker or therapeutic target for cancer patients. However, the prognostic value and tumor immune infiltration of lncRNAs in HCC has yet to be fully elucidated. To identify prognostic biomarkers of lncRNA in HCC by integrated bioinformatics analysis and explore their functions and relationship with tumor immune infiltration. The prognostic risk assessment model for HCC was constructed by comprehensively using univariate/multivariate Cox regression analysis, Kaplan–Meier survival analysis, and the least absolute shrinkage and selection operator regression analysis. Subsequently, the accuracy, independence, and sensitivity of our model were evaluated, and a nomogram for individual prediction in the clinic was constructed. Tumor immune microenvironment (TIME), immune checkpoints, and human leukocyte antigen alleles were compared in high- and low-risk patients. Finally, the functions of our lncRNA signature were examined using Gene Ontology, Kyoto Encyclopedia of Genes and Genomes enrichment analysis, and gene set enrichment analysis. A 6-lncRNA panel of HCC consisting of RHPN1-AS1, LINC01224, CTD-2510F5.4, RP1-228H13.5, LINC01011, and RP11-324I22.4 was eventually identified, and show good performance in predicting the survivals of patients with HCC and distinguishing the immunomodulation of TIME of high- and low-risk patients. Functional analysis also suggested that this 6-lncRNA panel may play an essential role in promoting tumor progression and immune regulation of TIME. In this study, 6 potential lncRNAs were identified as the prognostic biomarkers in HCC, and the regulatory mechanisms involved in HCC were initially explored.