The study reveals a broad signature of hepatocellular carcinoma in PBMC and T cells DNA methylation which discriminates early HCC stage from chronic hepatitis B and C and healthy controls, intensifies with progression of HCC, and is highly enriched in immune function-related genes such as PD-1, a current cancer immunotherapy target. Here, PDCD1 is linked to chronic hepatitis B virus infection.