In NAFLD, disruption of lipid metabolism results in a selective decline in intrahepatic CD4+ T cells, but not CD8+ T cells, accelerating hepatocarcinogenesis. Here, CD8A is linked to metabolic dysfunction-associated steatotic liver disease.