This pan-cancer study provides, for the first time, a comprehensive understanding of the multifunctionality of ABCG2 and unveils further details of the potential therapeutic role of ABCG2 in pan-cancer. Here, ABCG2 is linked to cancer.