High density and spatial proximity of CD8+ T cells to tumor cells were associated with better response to nivolumab, whereas the proximity of regulatory T cells to tumor cells was associated with worse response, suggesting that the distinct landscape of the TME could be a potential predictor of ICI efficacy in pleural mesothelioma. Here, CD8A is linked to pleural mesothelioma.