In conclusion, differential HAVCR2 expression was significantly associated with prognosis, immune cell infiltration, and immune-related markers in pan-cancer. Here, HAVCR2 is linked to cancer.