Does Your CYP2D6 Gene Affect How Your Medications Work?

    Struggling with medication side effects or wondering why a drug isn't helping? Your CYP2D6 gene might hold the answer.

    By Brain Genome Team|April 7, 2026|12 min read
    Gene Guide
    Does Your CYP2D6 Gene Affect How Your Medications Work?

    Educational Content: This article presents findings from published research and does not constitute medical advice. Always consult your healthcare provider about your specific medications and genetic testing results.

    You've taken codeine for pain, but it didn't work, or maybe it caused unexpected side effects that left you feeling worse. If you're wondering "why does codeine not work for me?" or why it made you feel strange, you're not alone, and the answer might be found in your unique genetic code. Understanding the link between codeine and genetics can provide crucial insights into how your body processes this common pain medication [3, 5, 6].

    Unlike general health information that treats everyone the same, pharmacogenomic testing can reveal why a medication affects you differently. It's about personalizing medicine to your body's blueprint, moving beyond a one-size-fits-all approach to pain relief.

    Understanding Codeine: More Than Just a Painkiller

    Codeine is an opioid analgesic often prescribed for mild to moderate pain [Verified Data]. However, it's not the codeine itself that provides pain relief. Codeine is what's known as a “prodrug,” meaning it needs to be changed by your body into its active form to work effectively [3, 4, 5, 6, 9, 13, 15, 16, 17, 20, 21, 24, 25].

    This crucial conversion happens in your liver, primarily through an enzyme called Cytochrome P450 2D6, or CYP2D6 [FDA label, 3, 4, 5, 6, 9, 13, 15, 16, 17, 20, 21, 24, 25]. CYP2D6 transforms codeine into morphine, which is the compound responsible for relieving pain [FDA label, 3, 4]. Other enzymes, like CYP3A4, convert codeine into norcodeine, and CYP1A2 also plays a role in its metabolism [FDA label, 6]. The effectiveness of codeine, and the likelihood of side effects, largely depends on how efficiently your CYP2D6 enzyme performs this conversion.

    If codeine hasn't provided the pain relief you expected, your genetics could be the primary reason. The CYP2D6 gene, which creates the CYP2D6 enzyme, varies significantly from person to person [3, 4, 26, 27]. These genetic variations can alter how quickly or slowly your body converts codeine into its active pain-relieving form, morphine [3, 4, 9, 13, 15, 17, 25].

    According to CPIC (Clinical Pharmacogenetics Implementation Consortium) guidelines, individuals with certain CYP2D6 genetic profiles may experience diminished analgesia (pain relief) from codeine [CPIC guideline, 2, 3, 17, 25]. For example, if your body produces very little or no functional CYP2D6 enzyme, codeine simply won't be converted into enough morphine to be effective [CPIC guideline, 2, 9, 13, 17, 25]. This often leads to the frustrating experience of taking codeine but getting no relief, making it seem “completely useless for pain” as many people describe on forums like Reddit.

    CYP2D6: The Gene That Changes Everything About Codeine

    The CYP2D6 gene is one of the most variable genes in the human genome, with over 150 known variations (called alleles) [26, 27]. These variations determine your CYP2D6 metabolizer status, which dictates how your body processes codeine [3, 4, 26, 27].

    There are four main CYP2D6 metabolizer phenotypes (categories), each with a different impact on codeine metabolism and response:

    • Poor Metabolizers (PMs): These individuals have very low or no functional CYP2D6 enzyme activity [9, 13, 25]. As a result, they convert very little codeine to morphine [CPIC guideline, 2, 9, 13, 17, 20, 25]. For poor metabolizers, codeine will likely provide little to no pain relief [CPIC guideline, 2, 17, 25]. CPIC guidelines strongly recommend avoiding codeine in poor metabolizers due to the possibility of diminished analgesia [CPIC guideline, 2]. Research shows poor and intermediate CYP2D6 metabolizers have significantly lower odds of achieving adequate pain response to codeine [17].
    • Intermediate Metabolizers (IMs): These individuals have reduced CYP2D6 activity, meaning they convert some, but not all, codeine to morphine [2, 4, 25]. They may experience some pain relief, but it might be less effective than expected [2, 4, 25]. For IMs, CPIC guidelines suggest using label-recommended dosing, but if no response, consider a non-tramadol opioid [CPIC guideline, 2].
    • Normal Metabolizers (NMs): Most people fall into this category. They have normal CYP2D6 enzyme activity and convert codeine to morphine at an expected rate [2, 4]. For NMs, CPIC guidelines recommend using codeine label-recommended dosing [CPIC guideline, 2].
    • Ultrarapid Metabolizers (UMs): These individuals have increased CYP2D6 enzyme activity, leading to a very rapid and extensive conversion of codeine to morphine [2, 4, 21, 24, 25]. This can result in dangerously high levels of morphine in the body, even with standard doses [CPIC guideline, 2, 4, 24, 25]. CPIC guidelines strongly recommend avoiding codeine use in ultrarapid metabolizers because of the potential for serious toxicity [CPIC guideline, 2, 25].

    Codeine Side Effects & Your Genes: What You Need to Know

    Your genetic makeup doesn't just affect codeine's effectiveness; it also plays a significant role in the likelihood and severity of side effects. For example, if your child experienced very bad side effects from codeine after surgery, it could be due to their genetic metabolizer status [24].

    For Ultrarapid Metabolizers (UMs): Because UMs convert codeine to morphine very quickly and efficiently, they can experience dangerously high levels of morphine, leading to severe side effects [CPIC guideline, 2, 4, 24, 25]. These can include:

    • Severe dizziness and drowsiness [PubMed research, 2, 4]
    • Significant constipation [PubMed research]
    • Life-threatening breathing problems and overdose symptoms [CPIC guideline, 2, 24, 25]
    • Respiratory depression in breastfed infants: Mothers who are ultrarapid metabolizers can produce high levels of morphine in breast milk, which can cause dangerous breathing problems in their babies [PubMed research, 18, 24]. This is a significant concern and a key reason to avoid codeine in UM mothers who are breastfeeding [PubMed research, 24].

    For Poor Metabolizers (PMs): Since PMs produce very little morphine, they experience fewer opioid-related side effects that come from morphine [PubMed research]. For example, they may have less severe constipation compared to normal metabolizers [PubMed research]. However, the primary issue for PMs is the lack of pain relief [CPIC guideline, 2, 17, 25].

    Other Genetic Factors: Beyond CYP2D6, genetic variations in the OPRM1 gene (opioid receptor mu 1) have been associated with higher opioid dose requirements for pain control [PubMed research, 16]. This means some individuals might need higher doses of opioids to achieve the same level of pain relief due to how their opioid receptors respond to morphine [PubMed research].

    Common Side Effects (for all patients): Regardless of genetics, codeine can cause general side effects such as drowsiness, nausea, and dizziness [FDA label]. In rare cases, high doses of opioids can lower the brain's seizure threshold, leading to seizures, and codeine can interact with other medications to cause serotonin syndrome [FDA label].

    Before You Take Codeine: Why Pharmacogenomic Testing Matters

    Given the significant impact of codeine and genetics, pharmacogenomic (PGx) testing can be a powerful tool to guide pain management decisions. A genetic test can identify your specific CYP2D6 metabolizer status, informing you and your healthcare provider how you are likely to respond to codeine [3, 12, 14].

    If you've ever received 23andMe results that say you're a CYP2D6 poor metabolizer, this information is highly relevant to codeine. It means your body struggles to convert codeine into its active form, and it's likely codeine won't work well for you [CPIC guideline, 2, 9, 13, 17, 25].

    Pharmacogenomic testing can provide insights that help your doctor:

    • Avoid ineffective treatments: If you're a poor metabolizer, your doctor can choose an alternative pain medication from the start, saving you from unnecessary suffering and frustration [CPIC guideline, 2, 17, 25].
    • Prevent serious side effects: If you're an ultrarapid metabolizer, your doctor can avoid prescribing codeine due to the risk of dangerous morphine toxicity [CPIC guideline, 2, 24, 25].
    • Optimize dosing: For intermediate metabolizers, PGx results can help guide dose adjustments if codeine is used [CPIC guideline, 2, 25].

    Understanding your genetic profile for medications like codeine is a key step towards personalized medicine. Brain Genome offers comprehensive pharmacogenomic reports that analyze your DNA to provide actionable insights into how your body processes over 300 medications, including codeine. Our Pain Medication Report specifically focuses on medications used for pain management, like codeine.

    What to Discuss with Your Healthcare Provider About Your Codeine Metabolism Genes

    If you have concerns about codeine, or have already undergone pharmacogenomic testing, it's crucial to discuss your results with your healthcare provider. Here are some questions you might consider asking:

    • "Based on my CYP2D6 metabolizer status, is codeine an appropriate pain medication for me?" [2, 3]
    • "If I am a poor metabolizer, what are the best alternatives to codeine for my pain?" [2]
    • "If I am an ultrarapid metabolizer, what are the risks of taking codeine, especially if I am breastfeeding?" [2, 24]
    • "Are there any other medications I'm taking that could interact with codeine or my CYP2D6 enzyme activity?" [9, 10, 19]

    Your doctor can use your genetic information, along with your medical history and other current medications, to make the most informed decision about your pain treatment plan [14].

    Alternatives to Codeine for Different Genetic Profiles

    Depending on your genetic profile, your healthcare provider may recommend alternatives to codeine. This is especially true for poor and ultrarapid metabolizers, where codeine is generally not recommended [CPIC guideline, 2].

    • For Poor Metabolizers (PMs): Since codeine is unlikely to provide pain relief, your doctor might consider non-opioid pain relievers or other opioids that are not primarily metabolized by CYP2D6 [CPIC guideline, 2, 20]. For example, dihydrocodeine's analgesia appears to be independent of CYP2D6 activity, unlike codeine [23].
    • For Ultrarapid Metabolizers (UMs): Due to the high risk of toxicity, codeine should be avoided [CPIC guideline, 2, 24, 25]. Your doctor will likely prescribe non-opioid alternatives or opioids that pose less risk for UMs [CPIC guideline, 2].
    • Drug Interactions: It's also important to consider drug interactions. Certain antidepressants, such as paroxetine, fluoxetine, and bupropion, are strong CYP2D6 inhibitors and can effectively turn a normal metabolizer into a poor metabolizer by blocking the conversion of codeine to morphine [7, 9, 10, 19]. This can lead to codeine being ineffective even if your genes suggest you may want to be a normal metabolizer [19]. Other medications like citalopram, escitalopram, and sertraline can also reduce CYP2D6 activity to varying degrees [7, 19]. If you're taking any of these medications, discussing your pain relief options with your doctor is even more critical.

    By understanding your genetic predispositions, you and your doctor can make informed choices to find pain relief that is both effective and safe. You can learn more about how pharmacogenomics works and how it can benefit you by visiting How Brain Genome Works.

    Frequently Asked Questions About Codeine and Genetics

    Why does codeine not relieve my pain?

    Codeine may not relieve your pain if you are a CYP2D6 poor metabolizer. This means your body cannot efficiently convert codeine into its active pain-relieving form, morphine, due to genetic variations [CPIC guideline, 2, 17, 25].

    What is CYP2D6 and how does it affect codeine?

    CYP2D6 is a liver enzyme produced by the CYP2D6 gene that is primarily responsible for converting codeine into morphine, its active pain-relieving metabolite [FDA label, 3, 4, 5, 6]. Genetic variations in CYP2D6 determine how quickly or slowly this conversion happens, impacting codeine's effectiveness and side effects [3, 4, 9, 13, 15, 17, 25].

    Can my genetics make codeine dangerous?

    Yes, if you are a CYP2D6 ultrarapid metabolizer, your genetics can make codeine dangerous. Your body rapidly converts codeine into high, potentially toxic levels of morphine, which can lead to severe side effects like life-threatening breathing problems [CPIC guideline, 2, 24, 25].

    What are the side effects of codeine for ultra-rapid metabolizers?

    Ultrarapid metabolizers can experience severe dizziness, drowsiness, significant constipation, and life-threatening respiratory depression due to dangerously high morphine levels [PubMed research, 2, 4, 24, 25]. In breastfeeding mothers, this can also lead to dangerous breathing problems in their infants [PubMed research, 24].

    Should I get a genetic test before taking codeine?

    According to CPIC guidelines, pharmacogenomic testing for CYP2D6 can provide valuable information to guide codeine therapy, especially for identifying poor and ultrarapid metabolizers who should avoid codeine [CPIC guideline, 2, 3, 12]. Discussing this with your doctor can help determine if testing is right for you.

    Is codeine effective for everyone?

    No, codeine is not effective for everyone. Its effectiveness is highly dependent on an individual's CYP2D6 genetic makeup, which influences how much of the drug is converted into its active pain-relieving form, morphine [3, 4, 17, 25].

    What does it mean to be a poor metabolizer of codeine?

    To be a poor metabolizer of codeine means your body has very low or no functional CYP2D6 enzyme activity, preventing the efficient conversion of codeine to morphine [9, 13, 25]. This typically results in little to no pain relief from codeine [CPIC guideline, 2, 17, 25].


    Disclaimer: This article is for informational purposes only and does not constitute medical advice. Always consult with a qualified healthcare professional before making any decisions about your health or treatment. The information provided here is based on current scientific understanding and guidelines, but individual responses to medication can vary. Do not discontinue or alter any medication dosage without first consulting your doctor. Brain Genome provides pharmacogenomic insights to inform, not replace, clinical decision-making.

    Share:
    codeine
    tramadol
    CYP2D6

    References

    1. PharmVar: CYP2D6 Allele Nomenclature
    2. PharmGKB: CYP2D6 Gene
    3. Opioid overdose associated with concomitant use of hydrocodone and selective serotonin reuptake inhibitors.Bea Sungho, Huybrechts Krista F, Glynn Robert J, Vine Seanna M, Belitkar Shruti, Bateman Brian T, Bykov Katsiaryna BMC medicine (2025)PMID: 41316177
    4. Population Pharmacokinetic Quantification of CYP2D6 Activity in Codeine Metabolism in Ambulatory Surgical Patients for Model-Informed Precision Dosing.Ashraf Muhammad Waqar, Poikola Satu, Neuvonen Mikko, Kiiski Johanna I, Kontinen Vesa K, Olkkola Klaus T, Backman Janne T, Niemi Mikko, Saari Teijo I Clinical pharmacokinetics (2024)PMID: 39441506
    5. Recommendations for pharmacogenetic testing in clinical practice guidelines in the US.Hertz Daniel L, Bousman Chad A, McLeod Howard L, Monte Andrew A, Voora Deepak, Orlando Lori A, Crutchley Rustin D, Brown Benjamin, Teeple Wrenda, Rogers Sara, Patel Jai N American journal of health-system pharmacy : AJHP : official journal of the American Society of Health-System Pharmacists (2024)PMID: 38652504
    6. Physiologically based pharmacokinetic modeling to predict the pharmacokinetics of codeine in different CYP2D6 phenotypes.Yang Yujie, Zhang Xiqian, Wang Yirong, Xi Heng, Xu Min, Zheng Liang Frontiers in pharmacology (2024)PMID: 38756374
    7. A software tool to adjust codeine dose based on CYP2D6 gene-pair polymorphisms and drug-drug interactions.Saab Yolande, Nakad Zahi The pharmacogenomics journal (2023)PMID: 37940650
    8. Dutch Pharmacogenetics Working Group (DPWG) guideline for the gene-drug interaction between CYP2D6 and opioids (codeine, tramadol and oxycodone).Matic Maja, Nijenhuis Marga, Soree Bianca, de Boer-Veger Nienke J, Buunk Anne-Marie, Houwink Elisa J F, Mulder Hans, Rongen Gerard A P J M, Weide Jan van der, Wilffert Bob, Swen Jesse J, Guchelaar Henk-Jan, Deneer Vera H M, van Schaik Ron H N European journal of human genetics : EJHG (2021)PMID: 34267337
    9. Pharmacogenomics of oxycodone: a narrative literature review.Umukoro Nelly N, Aruldhas Blessed W, Rossos Ryan, Pawale Dhanashri, Renschler Janelle S, Sadhasivam Senthilkumar Pharmacogenomics (2021)PMID: 33728947
    10. CYP2D6 genotype and reduced codeine analgesic effect in real-world clinical practice.Carranza-Leon Daniel, Dickson Alyson L, Gaedigk Andrea, Stein C Michael, Chung Cecilia P The pharmacogenomics journal (2021)PMID: 33750887
    11. Clinical Pharmacogenetics Implementation Consortium (CPIC) Guideline for CYP2C19 and Proton Pump Inhibitor DosingLima JJ, Thomas CD, Barbarino J, et al. Clin Pharmacol Ther (2021)PMID: 33387367
    12. Biotransformation, Using Recombinant CYP450-Expressing Baker's Yeast Cells, Identifies a Novel CYP2D6.10A122V Variant Which Is a Superior Metabolizer of Codeine to Morphine Than the Wild-Type Enzyme.Williams Ibidapo S, Gatchie Linda, Bharate Sandip B, Chaudhuri Bhabatosh ACS omega (2018)PMID: 31459022
    13. Interaction between CYP2D6 inhibitor antidepressants and codeine: is this relevant?Cazet Lucie, Bulteau Samuel, Evin Adrien, Spiers Andrew, Caillet Pascal, Kuhn Emmanuelle, Pivette Jacques, Chaslerie Anicet, Jolliet Pascale, Victorri-Vigneau Caroline Expert opinion on drug metabolism & toxicology (2018)PMID: 29963937
    14. Clinical Pharmacogenetics of Cytochrome P450-Associated Drugs in Children.Aka Ida, Bernal Christiana J, Carroll Robert, Maxwell-Horn Angela, Oshikoya Kazeem A, Van Driest Sara L Journal of personalized medicine (2017)PMID: 29099060
    15. Codeine and opioid metabolism: implications and alternatives for pediatric pain management.Chidambaran Vidya, Sadhasivam Senthilkumar, Mahmoud Mohamed Current opinion in anaesthesiology (2017)PMID: 28323671
    16. Dihydrocodeine: safety concerns.Leppert Wojciech, Woroń Jarosław Expert review of clinical pharmacology (2015)PMID: 26479786
    17. Pharmacogenetics of drug oxidation via cytochrome P450 (CYP) in the populations of Denmark, Faroe Islands and Greenland.Brosen Kim Drug metabolism and personalized therapy (2015)PMID: 25719307
    18. CYP2D6 phenotype-specific codeine population pharmacokinetics.Linares Oscar A, Fudin Jeffrey, Schiesser William E, Daly Linares Annemarie L, Boston Raymond C Journal of pain & palliative care pharmacotherapy (2015)PMID: 25562725
    19. Clinical Pharmacogenetics Implementation Consortium guidelines for cytochrome P450 2D6 genotype and codeine therapy: 2014 update.Crews K R, Gaedigk A, Dunnenberger H M, Leeder J S, Klein T E, Caudle K E, Haidar C E, Shen D D, Callaghan J T, Sadhasivam S, Prows C A, Kharasch E D, Skaar T C Clinical pharmacology and therapeutics (2014)PMID: 24458010
    20. Pharmacogenomics of drug-metabolizing enzymes: a recent update on clinical implications and endogenous effects.Sim S C, Kacevska M, Ingelman-Sundberg M The pharmacogenomics journal (2012)PMID: 23089672
    21. Clinical application of pharmacogenomics.Ma Joseph D, Lee Kelly C, Kuo Grace M Journal of pharmacy practice (2012)PMID: 22689709
    22. Pharmacogenomics of codeine, morphine, and morphine-6-glucuronide: model-based analysis of the influence of CYP2D6 activity, UGT2B7 activity, renal impairment, and CYP3A4 inhibition.Eissing Thomas, Lippert Jörg, Willmann Stefan Molecular diagnosis & therapy (2012)PMID: 22352453
    23. CYP2D6 genotyping and codeine.de Leon Jose Paediatric anaesthesia (2008)PMID: 18230077
    24. Pharmacogenetics of opioids.Somogyi Andrew A, Barratt Daniel T, Coller Janet K Clinical pharmacology and therapeutics (2007)PMID: 17339873
    25. Response to hydrocodone, codeine and oxycodone in a CYP2D6 poor metabolizer.Susce Margaret T, Murray-Carmichael Elaina, de Leon Jose Progress in neuro-psychopharmacology & biological psychiatry (2006)PMID: 16631290
    26. [Genetic polymorphism and drug interactions: their importance in the treatment of pain].Samer Caroline F, Piguet Valérie, Dayer Pierre, Desmeules Jules A Canadian journal of anaesthesia = Journal canadien d'anesthesie (2005)PMID: 16189332
    27. Antidepressant drug interactions and the cytochrome P450 system. The role of cytochrome P450 2D6.Ereshefsky L, Riesenman C, Lam Y W Clinical pharmacokinetics (1995)PMID: 8846618