Therefore, SOX12 was involved in the abnormal infiltration of Tregs and CD8+T‐cells in HCC. Here, SOX12 is linked to hepatocellular carcinoma.