Conclusions: We demonstrated that the gut microbiota was associated with the clinical response to anti-PD-1 immunotherapy in cancer patients. This evidence concerns the gene PDCD1 and cancer.