HSD17B6 inhibited tumor cell proliferation, migration and invasion in liver cancer cells and low expression of HSD17B6 correlated with high immune cells infiltration, relative reduction of immune responses and multiple immune checkpoint genes expression in HCC, probably by regulating the expression of TGFB1. Here, TGFB1 is linked to hepatocellular carcinoma.