This study highlighted LTβR’s crucial role in HCC immunity by regulating Th17 and Treg cell differentiation. Here, LTBR is linked to hepatocellular carcinoma.