In our study, we show that the beneficial prognostic effect of nuclear IL-23p19 on overall survival may be restricted to tumours with high CD8+ T-cell counts. Here, CD8A is linked to neoplasm.