Our study found that although the expression levels of AHNAK2 differ in various tumors, they are significantly positively correlated with tumor progression and short OS in pan-cancer patients, indicating that AHNAK2 also has universal prognostic value in pan-cancer. Here, AHNAK2 is linked to cancer.