In this retrospective transverse study, enrolling 976 advanced cancer patients treated with anti-PD-1/PD-L1 immunotherapy, we found a significant association between overweight (BMI ≥ 25) and improved clinical outcomes to ICIs. Here, PDCD1 is linked to cancer.