Two people can swallow the same codeine tablet, at the same dose, with the same glass of water. One feels almost nothing and wonders why the pharmacy bothered. The other turns drowsy within an hour, breathes slowly, and ends up in an emergency department. Nothing about the tablet differs. What differs is a single liver enzyme, and the gene that builds it.

That enzyme is CYP2D6, and it matters more for codeine than for almost any other common medicine. This guide explains what the gene does, what the four main “metabolizer” types mean for you, which everyday medicines can mimic a gene variant, whether a genetic test is worth considering, and what health authorities such as the FDA and the Clinical Pharmacogenetics Implementation Consortium (CPIC) actually recommend. It is written for patients and caregivers, so every technical term is explained as it appears.

The Short Answer

  • Codeine is a prodrug. On its own it is a weak pain reliever. Your liver has to convert a small portion of it into morphine before it works well.
  • The conversion is done mainly by CYP2D6. Genetic variation in this enzyme ranges from “no function at all” to “several extra copies working overtime.”
  • Too little conversion means codeine may not relieve pain. Too much conversion can flood the body with morphine and slow breathing to dangerous levels.
  • Most people cannot tell which group they belong to without a test, which is why regulators restrict codeine in children and breastfeeding mothers.
  • Certain medicines, including some antidepressants, can switch CYP2D6 off temporarily, so a person with normal genes can behave like a poor metabolizer.

If you want the wider picture of what codeine is prescribed for and how it feels, start with our overview of codeine uses and our summary of codeine side effects and risks. This article zooms in on one question: why the same dose behaves so differently from person to person.

Codeine Is Not Really the Painkiller. Morphine Is.

It surprises many people to learn that codeine itself binds only weakly to the opioid receptors that block pain. The pain relief people associate with codeine comes largely from morphine, the stronger opioid that the liver produces from it. Only a modest fraction of each dose takes this route. The remainder is handled by other enzymes and flushed out as inactive or lightly active by-products.

Think of codeine as a package that must be opened before it can be used. CYP2D6 is the worker who opens the package. If the worker is absent, the package stays sealed and nothing happens. If the worker is unusually fast, packages are torn open far quicker than the body expects, and the contents arrive all at once.

This is the reason a standard codeine prescription cannot be assumed to be “mild.” A dose that is perfectly reasonable for the average adult delivers a very different amount of morphine to people at either end of the genetic range. The CPIC pharmacogenetics guideline on opioids puts it plainly: the safety and effectiveness of codeine are governed by CYP2D6 activity.

Other pathways that run in the background

CYP2D6 is not the only enzyme involved. Most of a codeine dose is converted to codeine-6-glucuronide by a different enzyme system (UGT2B7), and a further share becomes norcodeine through an enzyme called CYP3A4. These routes matter for two reasons. First, they explain why drug interactions that involve CYP3A4 can change the outcome even when your CYP2D6 gene is normal. Second, they show why genetics is only one layer of the story, a point we return to later.

Meet the Four Metabolizer Types

Everyone inherits two copies of the CYP2D6 gene, one from each parent. Each copy, called an allele, may work normally, work weakly, not work at all, or exist in duplicate. Laboratories assign each allele an activity value and add the two together to produce an activity score. That score is then translated into one of four phenotypes, which is the term for how the gene behaves in real life.

Metabolizer typeWhat your genes doWhat happens with codeineWhat CPIC-based guidance says
UltrarapidMore than the usual two working copies, often from gene duplicationFast, extensive conversion to morphine; risk of morphine toxicity and slowed breathingAvoid codeine; if an opioid is needed, choose one that does not depend on CYP2D6 for activation
Normal (extensive)Two functioning copiesExpected conversion and expected pain reliefUse standard label dosing with usual precautions
IntermediateReduced function in one or both copiesLess morphine formed; pain relief may be weakerUse label dosing; if relief is poor, consider a different non-tramadol opioid
PoorNo working copiesVery little morphine formed; codeine acts as a weak, mostly ineffective drugAvoid codeine because of likely lack of benefit

Because genetics shows up as a spectrum, you may also see terms such as “normal-to-ultrarapid” in some reports. The categories are tidy summaries of what is really a continuum.

The Danger Side: Ultrarapid Metabolizers

For ultrarapid metabolizers, the issue is not that codeine fails. It is that codeine works too well, in a way that standard dosing never anticipated. More morphine is produced, and it appears faster. In adults this can mean heavy sedation, confusion, vomiting, and slowed or shallow breathing. In children and breastfed babies, the margin for error is smaller, and cases of serious harm and death prompted the regulatory action described in our articles on why codeine is not recommended for children and codeine and breastfeeding.

The U.S. Food and Drug Administration has said that ultrarapid metabolizers should not use codeine. The FDA’s own question-and-answer material notes that most people do not know whether they belong to this group, which is exactly why the agency chose broad restrictions instead of relying on individual screening.

How common is it?

Frequency differs widely by ancestry. The CPIC guideline reports that the share of ultrarapid metabolizers ranges from nearly zero to as high as 29% depending on the population, and the share of poor metabolizers ranges from 0 to about 10%. FDA material has cited roughly 1 to 7 in every 100 people overall, with higher proportions reported in some North African and Ethiopian populations, and around 6% in several European and African American groups. Public health agencies in the United Kingdom have described the rate there as about 1 to 2%.

The takeaway is not a precise number. It is that this is not a vanishingly rare variant, and that your ancestry alone cannot reliably predict your type. People from the same family or community can still land in different groups.

The Disappointment Side: Poor Metabolizers

At the other end, a poor metabolizer inherits no working CYP2D6 copies. Codeine passes through the liver largely unchanged, and little morphine is made. The practical result is that codeine feels like a weak medicine, or like nothing at all. This is mostly an effectiveness problem rather than a safety emergency, but it carries its own risks: undertreated pain, the temptation to take extra tablets, and extra side effects from the parent drug (sleepiness, nausea, constipation) without much benefit.

CPIC recommends avoiding codeine in poor metabolizers and choosing a different pain medicine. The guideline also notes that there is not enough evidence to recommend simply raising the codeine dose, in part because some adverse effects occur at similar rates in poor and normal metabolizers. If your codeine has “never worked,” it is worth mentioning, because a prescriber may then consider alternatives instead of escalating.

A word about intermediate metabolizers

Intermediate metabolizers sit in the middle. They produce less morphine than normal but more than poor metabolizers. Many get acceptable relief with standard dosing, and the guideline advises using the label dose and watching the response. If pain relief is inadequate, the next step is to switch to a different opioid, not to push the codeine dose higher.

When Medicines Rewrite Your Genes: Phenoconversion

Here is a point that catches both patients and clinicians off guard. Your DNA does not change, but the way your enzyme behaves can. Some medicines inhibit CYP2D6 so strongly that a person with perfectly normal genes starts to behave as a poor metabolizer for as long as the medicine is on board. Researchers call this phenoconversion.

Medicines known to inhibit CYP2D6 strongly include certain antidepressants such as fluoxetine and paroxetine, the antidepressant and smoking-cessation drug bupropion, the heart rhythm drug quinidine, and the antifungal terbinafine. Others, such as duloxetine, inhibit it to a moderate degree. The effect is codeine that works poorly, which sometimes tempts people to take more.

Interaction typeExample medicinesLikely effect on codeine
Strong CYP2D6 inhibitorsFluoxetine, paroxetine, bupropion, quinidine, terbinafineLess morphine formed, poorer pain relief, possible extra side effects from the parent drug
CYP3A4 inhibitorsClarithromycin, erythromycin, ketoconazole, itraconazole, ritonavirMore codeine is shifted down the CYP2D6 pathway and sedation risk can rise; the codeine label carries a warning about this
CYP3A4 inducersRifampin, carbamazepine, phenytoinLower codeine exposure; stopping them can cause levels to rise suddenly
Other sedating medicinesBenzodiazepines, gabapentinoids, sleep medicines, alcoholAdditive drowsiness and breathing depression regardless of genetics

Two of our existing guides help you spot the most common culprits. If you are prescribed a macrolide antibiotic while using codeine, read clarithromycin drug interactions. If you take an antidepressant, serotonin syndrome on Celexa explains a separate opioid-antidepressant risk, and our guide to codeine and alcohol covers the most common sedating combination of all. For benzodiazepines, see Ativan and opioids.

Always give your prescriber and pharmacist a complete list of medicines, supplements and over-the-counter products. This is the simplest, cheapest “genetic safety net” you have.

Should You Get Tested?

CYP2D6 testing is available through clinical laboratories and some consumer services. The test usually uses a cheek swab or a blood sample. It looks for known variants and, importantly in the case of this gene, for duplications and deletions, which simple tests can miss. Laboratories that offer a clinical pharmacogenomic panel generally report a predicted phenotype in plain language.

Who might reasonably consider testing

  • People who have had severe sleepiness, slowed breathing or intense reactions to a normal dose of codeine in the past
  • People for whom codeine has “never worked” despite adequate doses
  • Anyone with a family member who had a serious reaction to codeine or a related medicine
  • People who take several medicines that affect liver enzymes and want a clearer baseline
  • Patients whose clinicians already use pharmacogenomic testing as part of routine care

What testing cannot do

A test result is one piece of information, and it has limits.

  • It does not replace the broad restrictions on codeine in children, adolescents with breathing risks, or breastfeeding mothers. The FDA applied the tonsillectomy restriction to all children because identifying the at-risk ones in advance is not practical.
  • It does not account for interacting medicines, kidney disease, age, or other factors.
  • Results do not change over a lifetime, but interpretation guidelines are updated, so ask a clinician to reread an old report if it is several years old.
  • No test makes it safe to combine codeine with alcohol, benzodiazepines or other sedatives.

How to read a result without panic

  1. Find the phenotype line. It will say something like “CYP2D6 ultrarapid metabolizer” or “CYP2D6 normal metabolizer.”
  2. Look for the activity score. It is a number that explains the phenotype. A higher number means more enzyme activity.
  3. Note the date and lab. Different labs use slightly different cut-offs.
  4. Share it with every prescriber. Ask them to add it to your medical record and your pharmacy profile.
  5. Do not self-adjust. Use the information to start a conversation, not to decide a dose yourself.

For reference, the clinical guideline authors publish their recommendations openly. You can read the full CPIC guideline for CYP2D6, OPRM1 and COMT genotypes and select opioid therapy, and gene-drug summaries are also maintained at PharmGKB.

What the Official Guidelines Say

FDA

The FDA has put several codeine safety measures into labeling over the past decade. It added a boxed warning in 2013 about ultrarapid metabolism after tonsil and adenoid surgery in children, and it expanded restrictions in 2017 so that codeine is contraindicated in children younger than 12 and carries warnings for adolescents and for breastfeeding mothers. The agency’s codeine labeling also states that ultrarapid metabolizers should not use codeine products. The details for parents are in our children’s safety guide, and the original notice is archived on the FDA website.

CPIC

CPIC’s recommendations, first published in 2012 and updated in 2014 and 2021, are the most widely cited framework for linking a CYP2D6 result to a codeine decision. The 2021 update also covers tramadol and discusses why genetic evidence for hydrocodone, oxycodone and methadone is limited or weak. In everyday language, the guidance is: avoid codeine and tramadol in ultrarapid and poor metabolizers, and in the other groups use label dosing with an eye on response.

Dutch Pharmacogenetics Working Group

The Dutch group publishes its own genotype-based recommendations, which also advise an alternative to codeine for ultrarapid metabolizers, with oxycodone as one example of an alternative, while taking into account factors such as kidney function and CYP3A4 inhibitors. Where guidelines differ in detail, they agree on the main direction.

Tramadol Has the Same Problem

If you are thinking of switching from codeine to tramadol to “avoid the genetic issue,” the answer is not that simple. Tramadol also depends on CYP2D6, converting to an active compound called M1. CPIC’s guidance for tramadol closely mirrors its guidance for codeine, and the FDA’s children and breastfeeding warnings cover both drugs. Our comparison of codeine vs tramadol sets out other differences, and methadone vs tramadol shows how methadone behaves differently.

By contrast, hydrocodone and oxycodone rely on CYP2D6 for a smaller share of their activity, and the CPIC authors describe the evidence for genotype-guided dosing of these drugs as limited. That does not make them safer overall, since each carries its own risks, but it explains why prescribers sometimes switch to them when codeine fails. See codeine vs hydrocodone for that comparison.

Beyond Genetics: Other Reasons Codeine Behaves Unpredictably

Genes are a powerful influence, but they are one of several. Pay attention to the following factors as well.

  • Age. Newborns, infants and older adults handle drugs differently. Infant enzyme systems are still maturing, and older adults often have reduced kidney and liver function.
  • Kidney function. Codeine’s breakdown products leave the body through the kidneys. When kidney function is low, active compounds can build up.
  • Liver disease. Reduces the capacity of every liver pathway involved.
  • Combination tablets. Products that mix codeine with acetaminophen add their own liver-safety limits. See Tylenol with codeine.
  • Sleep apnea and breathing disease. These conditions reduce your margin of safety whatever your genes say.
  • Alcohol and sedatives. Always additive.
  • Pregnancy and breastfeeding. Both change what a safe dose looks like for the mother and baby.

Practical Checklist for Patients

  1. Tell every prescriber if codeine, tramadol, or any opioid has ever made you unusually sleepy, short of breath, or confused, or has not worked at all.
  2. Ask whether a different pain medicine would suit your situation before starting codeine.
  3. Bring a full medicine list to the pharmacy and ask for an interaction check.
  4. If you are on an antidepressant, antifungal, antibiotic or heart rhythm drug, ask specifically whether it affects codeine.
  5. Avoid alcohol and sedatives while taking codeine.
  6. Use the lowest dose that works for the shortest time.
  7. Know the warning signs of too much opioid (below), and keep naloxone at home if you or anyone in the household uses opioids.
  8. If a baby, toddler or breastfeeding mother is involved, do not use codeine without direct medical advice.
  9. If you have had genetic testing, give the result to your pharmacist so it can be filed with your profile.

Warning signs of too much opioid effect

  • Extreme drowsiness or being hard to wake
  • Slow, shallow or irregular breathing
  • Confusion or severe dizziness
  • Small pinpoint pupils
  • Blue or gray lips or fingertips
  • Persistent vomiting

Call emergency services immediately if you see these signs. Naloxone is available in the United States without a prescription, and the FDA explains how it works in its consumer update on naloxone.

Myths and Facts About Codeine and Genetics

MythWhat is actually true
“Codeine is the mild opioid, so genetics can’t matter much.”Codeine’s mildness depends on how much morphine your body makes. For ultrarapid metabolizers, it is not mild.
“If codeine doesn’t work, I just need a bigger dose.”For poor metabolizers, a bigger dose adds side effects with little benefit. Switching medicines is the usual answer.
“I tolerated codeine once, so I am a normal metabolizer.”Drug interactions and dose differences can hide your type. A previous trouble-free dose is reassuring but not conclusive.
“A genetic test makes codeine safe for my child.”Regulators have restricted codeine in children regardless of testing, because the risk is not limited to genetics.
“Tramadol avoids the problem.”Tramadol also depends on CYP2D6.
“Only certain ethnic groups need to worry.”Variants occur in every population, at different frequencies.

Frequently Asked Questions

What is CYP2D6 and why does it matter for codeine?

CYP2D6 is a liver enzyme that converts codeine to morphine. How well it works determines how much pain relief you get and how much risk of opioid toxicity you face.

Can I find out if I am an ultrarapid metabolizer?

Yes. A pharmacogenomic test that analyzes CYP2D6, including gene duplications, can give a predicted phenotype. Discuss with your clinician whether it is appropriate for you.

Does being an ultrarapid metabolizer mean I will definitely overdose on codeine?

No, but it raises the risk of toxicity at normal doses, and guidelines advise avoiding codeine in this group.

Is it dangerous to be a poor metabolizer?

Not in itself. The main problem is that codeine may not relieve pain, and taking extra tablets to compensate can cause side effects without benefit.

Can an antidepressant change how codeine works for me?

Yes. Some antidepressants strongly inhibit CYP2D6 and can make codeine less effective. Others add serotonin-related risks. Ask your pharmacist for an interaction check.

Is codeine safe if I am normal for CYP2D6?

Normal genetics lower one risk but do not remove the others. Codeine still carries risks of sedation, breathing depression, constipation, dependence and interactions with alcohol and sedatives.

Does genetics explain why codeine is restricted in children and breastfeeding?

It is a central reason. Ultrarapid conversion has been linked to deaths in children after tonsil and adenoid surgery and to the death of a breastfed newborn whose mother was an ultrarapid metabolizer. See our guides for each situation.

Should I stop codeine if I think I am an ultrarapid metabolizer?

Do not stop suddenly if you have been taking it regularly without medical advice, because withdrawal can occur. Contact your prescriber promptly so they can plan a safe alternative. If you are in danger, call emergency services. Our guide to codeine withdrawal symptoms and timeline explains what stopping can feel like.

Key Takeaways

  • Codeine depends on CYP2D6 to become morphine, so genetics changes its safety and effectiveness.
  • Ultrarapid metabolizers risk morphine toxicity; poor metabolizers get little pain relief. Both groups are advised to avoid codeine.
  • Common medicines can mimic a gene variant through phenoconversion.
  • Testing can help, but it never replaces age-based and breastfeeding restrictions or the need to avoid alcohol and sedatives.
  • Tramadol shares the same genetic issue.
  • Talk to your prescriber and pharmacist before starting, stopping or switching any opioid.

For more information on pain medicines and drug interactions, browse our pain management and drug interactions categories.

This article is for general education and does not replace professional medical advice. Do not start, stop or change a prescription medicine without speaking to a qualified clinician. If you suspect an overdose, call emergency services immediately.

Leave a Reply

Your email address will not be published. Required fields are marked *

Your Cart

Your Cart

Your Cart is Empty

Start Shopping
Continue Shopping
Payment Details
Sub Total $0.00