The expression of EFHD2 was closely related to immune infiltration, among which 18 cancers were significantly correlated with CD8T cells, 14 cancers were significantly correlated with T regulatory (Tregs) cells, 15 cancers were significantly correlated with CD4 memory activated Tcells, and EFHD2 was significantly correlated with common tumor-related regulatory genes such as TGF beta signaling, TNFA signaling, hypoxia, scorch death, DNA repair, autophagy, and iron death-related genes. The gene discussed is TNF; the disease is cancer.