This work aims to analyze the effects of SNPs of the OPRM1 gene, including rs1799971 A>G (Asp40Asn), rs563649 C>T, rs1323040 A>G and SNPs of the ABCB1 gene, such as rs2032582 G>T, rs1045642 C>T, rs1128503 C>T, on the analgesic effect and consumption of sufentanil in patients treated with thoracoscopic-assisted radical resection of lung cancer. This evidence concerns the gene OPRM1 and lung cancer.