The results of the present study reveal that HHLA2 is associated with tumorigenesis and tumor microenvironment and might be used as a novel prognostic biomarker in pan-cancer. The gene discussed is HHLA2; the disease is cancer.