Background: Deoxycytidine kinase (DCK), an enzyme in the nucleoside biosynthetic pathway, can affect the development of immune cells. However, the relationships between the expression of DCK, patient prognosis, and tumor-infiltrating immune cells (TIICs) in hepatocellular carcinoma (HCC) are still unclear. Methods: The expression of DCK in HCC was analyzed through the Oncomine and Tumor Immune Estimation Resource (TIMER) databases. The impact of DCK on clinical prognosis was investigated via the Kaplan-Meier plotter and verified in the Gene Expression Profiling Interactive Analysis (GEPIA) databases. The interrelationships between DCK expression and TIICs in HCC were analyzed by the TIMER database. Additionally, the relationship between DCK expression and immune cell gene markers was calculated through TIMER and GEPIA databases. Results: Compared with the adjacent normal tissues, high expression of DCK was observed in HCC tissues. Also, the higher expression of DCK was correlated to poorer prognosis in HCC patients, and it was associated with decreased survival in those with early stage and grade. Moreover, DCK expression was positively correlated with TIICs, including CD4 + and CD8 + T cells, B cells, monocytes, tumor-associated macrophages (TAMs), M1 and M2 macrophages, neutrophils, natural killer cells, and dendritic cells. Specifically, DCK expression levels were significantly associated with diverse immune gene marker sets, including those of Tregs and exhausted T cells.