Codeine is a natural substance. It occurs naturally in the seed pods of the opium poppy plant (Papaver somniferum), and the National Institute on Drug Abuse classifies it alongside morphine, opium, and thebaine as a natural opioid, also called an opiate. That said, the codeine in your prescription bottle almost certainly wasn’t extracted directly from the plant. Most commercial codeine is manufactured from morphine in a lab because the poppy itself doesn’t produce enough codeine to meet global demand.
How Codeine Exists in the Poppy Plant
The opium poppy produces several active compounds called alkaloids. Morphine is the most abundant, making up 8 to 17 percent of raw opium. Codeine is present in much smaller quantities, typically 0.7 to 5 percent. That low concentration is the core reason the pharmaceutical industry doesn’t rely on direct extraction. A French chemist named Pierre-Jean Robiquet first isolated codeine from opium in 1832, but even then, the small natural yield posed a practical problem.
How Most Codeine Is Actually Made
Because raw opium contains so little codeine, manufacturers take the more plentiful morphine and chemically convert it into codeine through a process called methylation. This involves attaching a small chemical group to one specific spot on the morphine molecule. The end product is chemically identical to the codeine found in the poppy plant, so it isn’t considered synthetic or semi-synthetic in the way that oxycodone or fentanyl are. It’s the same natural molecule, just produced more efficiently.
This distinction matters for classification. Drugs like fentanyl are fully synthetic, meaning they’re built from scratch in a lab with no plant-derived starting material. Oxycodone and hydrocodone are semi-synthetic, created by significantly modifying a natural opiate. Codeine produced from morphine is simply a purified, scaled-up version of what the poppy already makes.
What Codeine Does in Your Body
Codeine is sometimes called a prodrug because it doesn’t do much on its own. Once you take it, a liver enzyme converts a portion of it back into morphine, and that morphine is what actually relieves pain. Only about 5 to 10 percent of a codeine dose follows this pathway. Roughly 80 percent gets converted into inactive byproducts and cleared from your body without producing any painkilling effect. The morphine that is produced gets further broken down into another compound that also has pain-relieving properties.
Codeine also acts directly on the cough center in the brain, which is why it appears in prescription cough preparations. For pain, it’s considered effective for mild to moderate discomfort, with doses above a certain ceiling providing diminishing returns and more side effects rather than better relief.
Why Genetics Change the Experience
The liver enzyme responsible for converting codeine to morphine varies significantly from person to person based on genetics. Some people carry extra copies of the gene that produces this enzyme, making them “ultra-rapid metabolizers.” Their bodies convert codeine into morphine faster and in larger amounts than expected, which can cause an unintended overdose-like response: excessive sedation, dangerously slowed breathing, or severe nausea from a standard dose.
On the other end of the spectrum, “poor metabolizers” barely convert any codeine into morphine at all. For these individuals, codeine provides little to no pain relief. This genetic variability is one reason codeine is no longer recommended for children in many countries and why some doctors now favor other options for pain management.
How Codeine Is Regulated
In the United States, codeine’s legal status depends on how it’s formulated. Pure codeine is a Schedule II controlled substance, the same category as morphine, reflecting its potential for misuse. When combined with other medications like acetaminophen (as in Tylenol with Codeine), products containing no more than 90 milligrams per dose drop to Schedule III. Cough syrups with very small amounts of codeine, no more than 200 milligrams per 100 milliliters, fall under Schedule V, the least restrictive category.
The fact that codeine is natural doesn’t make it safe by default. It carries the same core risks as other opioids: dependence with regular use, respiratory depression at higher doses, and dangerous interactions with alcohol or sedatives. “Natural” in pharmacology simply describes where a molecule originates, not how risky it is. Morphine is also natural, and it’s one of the most potent painkillers in clinical medicine.

