Codeine is an opioid medication that reduces pain and suppresses coughing. It works by binding to opioid receptors in the brain and spinal cord, dulling pain signals and quieting the part of the brainstem that triggers the cough reflex. But codeine is unusual among opioids: on its own, it’s relatively weak. Most of its painkilling effect comes from a small portion that your liver converts into morphine.
How Codeine Works in Your Body
After you swallow codeine, your liver processes it through several pathways. Only about 5 to 10 percent of the dose gets converted into morphine, which is the compound actually responsible for the bulk of codeine’s pain relief. The remaining 80 percent or so is converted into inactive byproducts that your body simply excretes.
That conversion step depends on a specific liver enzyme called CYP2D6, and this is where codeine gets complicated. Not everyone produces the same amount of this enzyme. Your genetics determine whether you’re a normal metabolizer, a poor metabolizer who converts very little codeine to morphine, or an ultra-rapid metabolizer who converts far more than average. Poor metabolizers may get almost no pain relief from codeine. Ultra-rapid metabolizers can end up with dangerously high morphine levels from a standard dose.
Roughly 6 percent of people with European ancestry are poor metabolizers, meaning codeine is essentially ineffective for them. Ultra-rapid metabolism is most common in certain Middle Eastern and North African populations, reaching frequencies of 10 to 20 percent in some groups, while it’s closer to 1 percent in East Asian populations. Most people, around 60 to 80 percent globally, fall into the normal range.
What Codeine Is Used For
Codeine is prescribed for two main purposes: mild to moderate pain relief and cough suppression. For pain, it’s often combined with acetaminophen or ibuprofen in a single tablet, since the combination works better than either drug alone. For cough, it’s found in prescription cough syrups, typically alongside other ingredients like promethazine or guaifenesin.
It sits on the lower end of the opioid potency scale, well below medications like oxycodone or morphine itself. That positioning makes it a common choice when over-the-counter painkillers aren’t enough but stronger opioids aren’t warranted. In some countries, low-dose codeine products are available without a prescription, though regulations vary widely.
Common Side Effects
Constipation is the most frequent side effect, and unlike many of codeine’s other effects, it doesn’t fade with continued use. Opioids slow the muscles of the digestive tract, and this persists for as long as you take the drug. Many people need a stool softener or laxative if they’re on codeine for more than a few days.
Nausea and vomiting are also common, especially when you first start taking it. These symptoms typically diminish within days to a couple of weeks as your body adjusts. Drowsiness and mental cloudiness are common early on as well, and they also tend to ease over time. Less common side effects include itching, difficulty urinating, blurred vision, and abdominal cramps.
How Codeine Feels
At prescribed doses, codeine produces mild pain relief along with a sense of relaxation and drowsiness. Some people describe a warm, slightly euphoric feeling, though this is much milder than what stronger opioids produce. The sedation can be pronounced enough to impair driving and reaction time, particularly during the first few days of use.
Pain doesn’t disappear entirely. What changes is your perception of it. The discomfort feels more distant and less distressing, which is how opioid receptors modulate pain signals in the brain. For cough suppression, you’ll notice a reduced urge to cough within 30 to 60 minutes of taking the medication.
Risk of Dependence and Withdrawal
Codeine carries a real risk of physical dependence, even at prescribed doses. Your body adapts to the presence of the drug over time, meaning you may need higher doses to get the same effect (tolerance) and will experience withdrawal symptoms if you stop suddenly. This can develop within a few weeks of daily use.
Withdrawal from codeine is not life-threatening, but it’s deeply unpleasant. Symptoms include muscle aches, restlessness, anxiety, sweating, runny nose, insomnia, nausea, and diarrhea. They typically peak two to three days after the last dose and gradually subside over a week or so. Tapering the dose gradually, rather than stopping abruptly, reduces the severity of these symptoms.
Beyond physical dependence, codeine can also lead to opioid use disorder, a pattern of compulsive use despite negative consequences. The risk is higher for people with a personal or family history of substance use problems, and for those who use codeine longer than prescribed or at higher doses. Because codeine is perceived as a “mild” opioid, some people underestimate this risk.
Who Should Not Take Codeine
The FDA restricts codeine use in children under 18 for cough and cold treatment, and recommends against its use in children under 12 for pain. These restrictions followed reports of serious breathing problems and deaths in children, particularly those who turned out to be ultra-rapid metabolizers. Their bodies converted codeine to morphine too quickly, resulting in dangerously high levels.
Breastfeeding women are also advised against using codeine, because morphine produced in the mother’s body can pass into breast milk and affect the infant. Women who are ultra-rapid metabolizers pose an especially high risk to nursing babies.
Dangerous Combinations
Mixing codeine with benzodiazepines (medications like diazepam or alprazolam, commonly prescribed for anxiety or sleep) is one of the most dangerous drug interactions. Both drug classes carry FDA boxed warnings highlighting the risk of combining them. When taken together, they can suppress breathing to a fatal degree.
Alcohol amplifies the same risk. Drinking while taking codeine increases sedation and respiratory depression, and even moderate amounts of alcohol can push the combination into dangerous territory. Other central nervous system depressants, including sleep aids and certain antihistamines, compound these effects as well.
Why Genetics Matter More Than You’d Expect
Because codeine is essentially a prodrug, a medication that only becomes fully active after your body processes it, your genetic makeup plays an outsized role in how it affects you. If you’ve taken codeine and felt no pain relief whatsoever, you may be a poor metabolizer. If a standard dose made you extremely drowsy, nauseous, or short of breath, ultra-rapid metabolism could be the reason.
Pharmacogenomic testing, a simple cheek swab or blood test, can identify your CYP2D6 status. This information is useful not just for codeine but for dozens of other medications processed by the same enzyme. If you know you’re a poor metabolizer, your doctor can choose an alternative painkiller that doesn’t rely on that conversion step. If you’re an ultra-rapid metabolizer, avoiding codeine entirely is the safest approach.