GZMK and cancer: This investigation highlighted the diverse associations between DNA methylation of GZMA, GZMB, GZMK, and PRF1 and survival outcomes, displaying the potential prognostic implications of epigenetic modifications in immune-related genes across different cancer types.