Here, we found that genetic or pharmacologic inhibition of the lipid kinase PIKfyve, a regulator of autophagic flux and lysosomal biogenesis, upregulated surface expression of major histocompatibility complex class I (MHC-I) in cancer cells via impairing autophagic flux, resulting in enhanced cancer cell killing mediated by CD8+ T cells. Here, PIKFYVE is linked to cancer.