Here, we show that PD-L1 activated Src homology 2 domain-containing tyrosine phosphatase-1 (SHP-1) to downregulate transient receptor potential vanilloid 1 (TRPV1) in DRG neurons and inhibit bone cancer pain in mice. This evidence concerns the gene CD274 and bone neoplasm.