Collectively, these results indicate that CD24 may serve a crucial function in the regulation of immune infiltration in HCC, thereby underscoring its potential as a target for therapeutic intervention. Here, CD24 is linked to hepatocellular carcinoma.