This cohort study analyzes the association of proton pump inhibitor use with treatment outcomes among patients in Japan with non−small cell lung cancer receiving immune checkpoint inhibitor therapy with or without chemotherapy.