The aim of this study was to comprehensively and systematically perform a pan-cancer analysis of the expression of CD24 and its impact on cancer prognosis, further identifying the key α2,8-STs that affect the terminal sialylation of CD24, as well as revealing the regulatory mechanisms governing the subcellular localization of CD24 in cancer. Here, CD24 is linked to cancer.