Objective: To investigate the relationship between single nucleotide polymorphisms of opioid-related genes and high-dose opioid tolerance in patients with cancer pain. Methods: Twenty patients (high-dose opioid tolerance group, group A) who were hospitalized in Henan Cancer Hospital from June 2016 to June 2018 and who received high-dose opioid for pain control for more than 1 week were selected as case groups (group A). Thirty patients with stage Ⅳ tumors who were hospitalized in Henan Cancer Hospital and did not have opioid tolerance were randomly selected as the control group (group B). The peripheral blood samples of two groups were taken for DNA extraction. Gene polymorphisms were detected in 15 single nucleotide polymorphisms (SNP) (rs1799971, rs754891060, rs200637194, rs1045642, rs7438135, rs7439366, rs2242480, rs1080985, rs529520, rs581111, rs2234918, rs4680, rs6276, rs3732765, rs9859538) of the nine opioid receptor-related genes (OPRM1,ABCB1,UGT2B7,CYP3A4,CYP2D6,OPRD1, COMT,DRD2,P2RY12) which most likely to affect high-dose opioid tolerance in patients with cancer pain. Results: The distribution of different genotypes of rs7438135 locus in UGT2B7 gene were statistically significant between the two groups (χ(2)=9.68, P=0.004). The difference in the distribution of the different genotypes of the rs3732765 locus of the P2RY12 gene in the two groups were at the significant edge (χ(2)=5.57, P=0.05). A correlation analysis between the relevant SNP locus and the risk of high-dose opioid tolerance in cancer patients indicated that individuals with rs7438135 GA genotype in cancer patients were at 6.19 times more likely to have high doses of opioid tolerance than individuals with AA genotypes. Conclusions: The rs7438135 locus gene polymorphism of UGT2B7 gene may be a risk predictor for high-dose opioid tolerance. The rs3732765 site of the P2RY12 gene may be a potential predictor of high-dose opioid tolerance.