High tumor infiltration by CD8+ lymphocytes was associated with longer OS and PFS of patients with aUC treated with pembrolizumab, and high expression of IFNγ in the TME was significantly correlated with favorable PPS. Here, IFNG is linked to neoplasm.