We select the Cancer Genome Atlas (TCGA) HNSCC dataset and the Gene Expression Omnibus (GEO) dataset of NPC samples, and find that ferroptosis-related factor ATG5 shows a high expression level with poor overall survival (OS) in HNSCC and NPC samples and is positively correlated with PD-L1/PD-L2 expression (p < 0.05). This evidence concerns the gene PDCD1LG2 and head and neck squamous cell carcinoma.