In orthotopic melanoma models, a ketogenic diet with a 4:1 fat/protein ratio enhanced CD8+ T-cell activity and reduced tumor size in a T-cell-dependent manner, an effect attributed to elevated 3-hydroxybutyrate. The gene discussed is CD8A; the disease is melanoma.