In summary, our pan-cancer approach showed a prominent role for CXCR4 as immune marker in solid tumors. Here, CXCR4 is linked to cancer.