Here, using the newly generated mouse model we clearly demonstrate that NAFLD impairs antigen-specific CD8+ T cell anti-tumor immunity, and the effect is not CD8+ T cell intrinsic but caused by changed liver immune environment such as accumulated macrophages. This evidence concerns the gene CD8A and metabolic dysfunction-associated steatotic liver disease.