Preparing for cancer surgery: what you need to know to maximize the success of your treatment
Share
A cancer diagnosis hits hard. Despite the stress, it helps to learn about your treatment options so you can have informed discussions with your oncologist, surgeon and anesthesiologist. If your treatment plan includes surgery to remove a tumour, the surgeon's skill and experience are the most important factors. But the medications you receive before, during and after surgery also matter: good pain control supports recovery, effective nausea control improves comfort, and the right chemotherapy dose reduces the risk of serious side effects.
This article explains how pharmacogenetic (PGx) testing before surgery can help your healthcare team choose medications and doses that suit you.
Does the type of anesthesia affect cancer outcomes?
Some observational studies suggested that people who received intravenous anesthesia with propofol lived longer after cancer surgery than those who received inhaled anesthetics. However, a large randomized trial has since tested this directly. In the CAN study of 1,670 people having breast cancer surgery, five-year survival was the same whether anesthesia was maintained with propofol (91.9%) or with the inhaled anesthetic sevoflurane (92.2%). Research is continuing in other types of cancer, but for now the choice of anesthesia is best left to your anesthesiologist, based on your health and DNA.
How do genes affect anesthesia?
Propofol is broken down mainly by the liver enzyme UGT1A9, with smaller contributions from CYP2B6 and CYP2C9. Some studies and modelling suggest that variations in CYP2B6 may slow propofol clearance, particularly in older adults, but there is currently no clinical guideline for adjusting propofol based on genotype. Typically, your anesthesiologist will adjust propofol based on its effect during surgery and your vitals.
For some other anesthetic drugs, genes matter a great deal:
- Malignant hyperthermia. Some RYR1 and CACNA1S variants can cause a dangerous reaction, with high fever and muscle rigidity, to gas anesthetics (such as sevoflurane) and the muscle relaxant succinylcholine. People with these variants should not receive these drugs. Safe alternatives are available.
- Prolonged paralysis. Some BCHE variants slow the breakdown of the muscle relaxants succinylcholine and mivacurium, so their effect can last much longer than expected.
Because these reactions can be serious and are often unknown until a person has anesthesia, knowing your results before surgery allows your anesthesiologist to plan safely.
How do genes affect anti-nausea medications?
Nausea and vomiting after surgery are common and can be distressing. A group of anti-nausea medications called 5-HT3 receptor antagonists is widely used to prevent them. Several of these, including ondansetron (Zofran) and tropisetron, are broken down by the enzyme CYP2D6.
The Clinical Pharmacogenetics Implementation Consortium (CPIC) guideline, updated in 2026, recommends that people who are CYP2D6 ultrarapid metabolizers receive an alternative to ondansetron or tropisetron that is not broken down by CYP2D6, such as granisetron, because they clear these drugs too quickly and are more likely to vomit. CPIC found the evidence too limited to make recommendations for poor or intermediate metabolizers, or for dolasetron, palonosetron and ramosetron.
Why does pain control matter after surgery?
Some people try to "tough out" pain after surgery because they are worried about opioid dependence. But the intensity of pain after surgery is linked to the risk of developing persistent pain that lasts long after the wound has healed. Persistent pain after surgery is common after operations such as breast and thoracic surgery. Good pain control in the first days after surgery supports recovery, mobility and sleep.
Opioids are often needed in the short term, and it is important to use them as prescribed and stop them as planned. In a large US study, about 6% of people who had never used opioids before surgery were still filling opioid prescriptions three to six months later, and this was more common in people who smoked or had mood, anxiety or pain disorders before surgery. Ask your surgical team for a pain plan that combines different types of pain relief and includes a plan for tapering opioids.
How do genes affect opioids and other pain medications?
Some opioids must be converted by CYP2D6 into their active forms. Codeine is converted into morphine, and tramadol (Ultram) into a more potent active metabolite. CPIC guidelines recommend:
- CYP2D6 poor metabolizers: avoid codeine and tramadol, because they may not relieve pain. Use a different pain medication.
- CYP2D6 ultrarapid metabolizers: avoid codeine and tramadol, because they can produce dangerously high levels of the active forms, with risks such as extreme drowsiness and slowed breathing.
For other opioids often used after surgery, such as oxycodone and hydrocodone, CPIC found the evidence too limited to make strong genotype-based recommendations. Morphine, hydromorphone and fentanyl are not activated by CYP2D6, and NSAIDs and acetaminophen can be combined with them to reduce the amount of opioid needed. Some antidepressants, such as fluoxetine (Prozac), paroxetine (Paxil) and bupropion (Wellbutrin), strongly block CYP2D6 and can make a person with normal CYP2D6 genes respond to codeine or tramadol like a poor metabolizer.
The gene OPRM1 encodes the main receptor that opioids act on. A 2014 meta-analysis of 18 studies found that people carrying a common OPRM1 variant needed slightly more opioid after surgery, with the clearest effect in Asian patients and morphine users. However, CPIC does not recommend changing opioid doses based on OPRM1 results.
NSAIDs are also affected by genes. CPIC recommends that CYP2C9 poor metabolizers start celecoxib, flurbiprofen, ibuprofen or lornoxicam at 25% to 50% of the lowest starting dose and consider an alternative to meloxicam, piroxicam or tenoxicam.
What about chemotherapy and tamoxifen?
If chemotherapy or hormone therapy is planned after surgery, pharmacogenetic results can help guide the choice and dose of several important medications:
- Fluoropyrimidines (5-fluorouracil and capecitabine), used for colon, breast and other cancers, are broken down by the enzyme made by the DPYD gene. People with reduced DPYD function are at risk of severe, sometimes life-threatening toxicity. CPIC guidelines recommend a reduced starting dose or an alternative medication, depending on the result. Learn more in our article on DPYD testing for colon cancer treatment.
- Thiopurines (mercaptopurine, thioguanine and azathioprine), used mainly for acute lymphoblastic leukemia and some autoimmune conditions, are affected by the TPMT and NUDT15 genes. CPIC guidelines recommend lower starting doses for people with reduced function.
- Tamoxifen, used to prevent breast cancer from returning, must be converted by CYP2D6 into its most active form, endoxifen. CPIC recommends that CYP2D6 poor metabolizers receive an alternative hormone therapy, such as an aromatase inhibitor (with ovarian suppression before menopause), and that intermediate metabolizers consider an aromatase inhibitor, or a higher tamoxifen dose if an aromatase inhibitor can't be used. Medications that block CYP2D6, such as paroxetine, fluoxetine and bupropion, should be avoided with tamoxifen.
- Tamoxifen and blood clots. The US Food and Drug Administration (FDA) tamoxifen label includes warnings for people who carry the F5 (factor V Leiden) or F2 (prothrombin) gene variants, which increase the risk of blood clots.
When should I get tested?
Ideally, a few weeks before your surgery, so your results are ready to share with your surgeon, anesthesiologist and oncologist. Because your genes don't change, the same results can guide medications for pain, nausea, chemotherapy, hormone therapy and other conditions for the rest of your life.
How can Pillcheck help?
Pillcheck reports on genes that affect medications used around cancer surgery and treatment, including CYP2D6, CYP2C9, CYP2B6, OPRM1, DPYD, TPMT, NUDT15, F2 and F5. Starting with the January 2027 report update, Pillcheck will also report RYR1, CACNA1S and BCHE, with recommendations for inhaled anesthetics and succinylcholine. Report updates are free, and Pillcheck notifies you when your updated report is available. A Pillcheck pharmacist reviews your results together with all your current medications and can share recommendations with your doctors.
About Pillcheck
Pillcheck is a pharmacogenetic (PGx) test that shows how your genes may affect the way your body processes certain medications. An expert Pillcheck pharmacist reviews your results alongside your health history, medications, and supplements to give you personalized guidance. Your genes don’t change, so you only test once, with free report updates as new research becomes available.
Summary
- A large randomized trial found no difference in survival between propofol and inhaled anesthesia for breast cancer surgery.
- People with RYR1 or CACNA1S variants linked to malignant hyperthermia should avoid inhaled anesthetics and succinylcholine, and BCHE variants can cause prolonged paralysis after succinylcholine or mivacurium.
- Good pain control after surgery supports recovery and is linked to a lower risk of persistent pain. Use opioids as prescribed and follow a plan to taper them.
- CYP2D6 poor and ultrarapid metabolizers should avoid codeine and tramadol. Ultrarapid metabolizers may get better nausea control with granisetron than with ondansetron.
- DPYD, TPMT and NUDT15 results guide chemotherapy doses, and CYP2D6 results and drug interactions matter for tamoxifen.
- Get tested a few weeks before surgery so your results are ready for your healthcare team.
Frequently asked questions
Will a pharmacogenetic test change my anesthesia?
It can. If you carry RYR1 or CACNA1S variants linked to malignant hyperthermia, you should not receive inhaled anesthetics or succinylcholine, and BCHE variants affect how long succinylcholine and mivacurium last. For propofol, there are no genotype-based guidelines. Your results are also useful for the medications you receive afterwards, such as anti-nausea drugs, pain medications and cancer treatments.
Should I avoid opioids after surgery to prevent addiction?
No. Short-term opioid use for severe pain after surgery is appropriate for many people. Use them as prescribed, combine them with other pain relief, and follow your team's plan to reduce and stop them. Tell your team if you have a history of substance use, anxiety or depression.
I'm starting tamoxifen. Can my other medications affect it?
Yes. Some antidepressants, such as paroxetine, fluoxetine and bupropion, block CYP2D6 and can reduce the amount of active tamoxifen. Ask your pharmacist to review all your medications, and share your CYP2D6 results with your oncologist.
How long does it take to get results?
Plan for a few weeks before surgery, to allow time for sample collection, laboratory testing and a review of your results with a pharmacist.
References
- Enlund M, Berglund A, Enlund A, et al. Impact of general anaesthesia on breast cancer survival: a 5-year follow up of a pragmatic, randomised, controlled trial, the CAN-study, comparing propofol and sevoflurane. EClinicalMedicine. 2023;60:102037. doi:10.1016/j.eclinm.2023.102037
- Gonsalves SG, Dirksen RT, Sangkuhl K, et al. Clinical Pharmacogenetics Implementation Consortium (CPIC) guideline for the use of potent volatile anesthetic agents and succinylcholine in the context of RYR1 or CACNA1S genotypes. Clin Pharmacol Ther. 2019;105(6):1338-1344. doi:10.1002/cpt.1319
- Moore C, Bourque MS, Halman A, et al. Clinical Pharmacogenetics Implementation Consortium (CPIC) guideline for CYP2D6 genotype and use of 5-HT3 receptor antagonists: 2026 update. Clin Pharmacol Ther. 2026;120(2):387-393. doi:10.1002/cpt.70291
- Kehlet H, Jensen TS, Woolf CJ. Persistent postsurgical pain: risk factors and prevention. Lancet. 2006;367(9522):1618-1625. doi:10.1016/S0140-6736(06)68700-X
- Brummett CM, Waljee JF, Goesling J, et al. New persistent opioid use after minor and major surgical procedures in US adults. JAMA Surg. 2017;152(6):e170504. doi:10.1001/jamasurg.2017.0504
- Crews KR, Monte AA, Huddart R, et al. Clinical Pharmacogenetics Implementation Consortium guideline for CYP2D6, OPRM1, and COMT genotypes and select opioid therapy. Clin Pharmacol Ther. 2021;110(4):888-896. doi:10.1002/cpt.2149
- Hwang IC, Park JY, Myung SK, et al. OPRM1 A118G gene variant and postoperative opioid requirement: a systematic review and meta-analysis. Anesthesiology. 2014;121(4):825-834. doi:10.1097/ALN.0000000000000405
- Theken KN, Lee CR, Gong L, et al. Clinical Pharmacogenetics Implementation Consortium guideline (CPIC) for CYP2C9 and nonsteroidal anti-inflammatory drugs. Clin Pharmacol Ther. 2020;108(2):191-200. doi:10.1002/cpt.1830
- Amstutz U, Henricks LM, Offer SM, et al. Clinical Pharmacogenetics Implementation Consortium (CPIC) guideline for dihydropyrimidine dehydrogenase genotype and fluoropyrimidine dosing: 2017 update. Clin Pharmacol Ther. 2018;103(2):210-216. doi:10.1002/cpt.911
- Relling MV, Schwab M, Whirl-Carrillo M, et al. Clinical Pharmacogenetics Implementation Consortium guideline for thiopurine dosing based on TPMT and NUDT15 genotypes: 2018 update. Clin Pharmacol Ther. 2019;105(5):1095-1105. doi:10.1002/cpt.1304
- Goetz MP, Sangkuhl K, Guchelaar HJ, et al. Clinical Pharmacogenetics Implementation Consortium (CPIC) guideline for CYP2D6 and tamoxifen therapy. Clin Pharmacol Ther. 2018;103(5):770-777. doi:10.1002/cpt.1007
- US Food and Drug Administration. Table of pharmacogenomic biomarkers in drug labeling. fda.gov