Codeine is one of the oldest and best-known opioid medicines. It has been used for well over a century to ease pain and quiet coughs, and it is still found in prescription painkillers, some prescription cough syrups and, in a few countries, low-dose over-the-counter products. It also carries serious warnings that many people do not realize apply to them.
This guide is built around two jobs and one safety framework. First, what codeine actually is and how the body turns it into its active form. Then the two main uses, pain and cough, with an honest look at how well it works for each. After that comes the section most people need most: who should not take codeine, what the major risks are and how to use it as safely as possible if it has been prescribed. We close with alternatives and questions to ask your clinician. For related opioid comparisons, see methadone vs tramadol and methadone vs oxycodone.
Quick answer: Codeine is an opioid used to treat mild to moderate pain and, in some regions, to suppress cough. It works mainly after the liver converts it into morphine, which varies a great deal from person to person. Because of risks including slowed breathing, dependence and dangerous interactions with alcohol and sedatives, it should be used only as prescribed. It should not be given to children for cough or pain in most settings, and it is generally avoided during breastfeeding.
In This Article
- What Is Codeine?
- Forms and Names You May See
- Use 1: Pain Relief
- Use 2: Cough Suppression
- Who Should Not Take Codeine? The Safety Framework
- The Major Risks
- Overdose: Recognizing It and Responding
- How to Use Codeine as Safely as Possible
- Three Everyday Scenarios
- Understanding Your Prescription Label
- Myths and Facts
- Legal Status and Prescriptions
- Codeine Compared With Other Pain and Cough Options
- Stopping Codeine
- Questions to Ask Your Clinician
- Frequently Asked Questions
- The Bottom Line
- Sources and Further Reading
What Is Codeine?
Codeine is a natural opioid found in the opium poppy, though most medicine today is made in a lab from other poppy compounds. It is related to morphine, hydrocodone and oxycodone, but is generally considered weaker.
How it works
Codeine is a prodrug, meaning it is only weakly active itself. In the liver, an enzyme called CYP2D6 converts a portion of each dose into morphine, and it is largely the morphine that relieves pain and suppresses cough by acting on opioid receptors in the brain and spinal cord. The same receptors slow breathing, cause drowsiness and produce constipation and euphoria.
Why genetics matters
Genes for CYP2D6 vary widely.
| Type | Share (rough) | What happens |
|---|---|---|
| Poor metabolizers | A small percentage of people | Little conversion to morphine: codeine may give weak or no pain relief |
| Normal metabolizers | Most people | Expected effect |
| Ultrarapid metabolizers | A few percent, more in some ancestries | Rapid, extensive conversion to morphine: higher risk of overdose, even at usual doses |
Ultrarapid metabolism is the reason for some of the strongest warnings about codeine, particularly for children and breastfeeding mothers. Some medicines, including certain antidepressants such as fluoxetine and paroxetine, can block CYP2D6 and reduce codeine’s effect. Tell your pharmacist about everything you take.
Forms and Names You May See
| Form | Examples of contents | Notes |
|---|---|---|
| Codeine sulfate tablets | Codeine alone | Tablets taken as prescribed; a controlled substance in most countries |
| Acetaminophen with codeine | Often called by brand names such as Tylenol with Codeine | The most common form for pain |
| Codeine with other analgesics | Combinations with aspirin, caffeine or butalbital in some products | Varies by country |
| Codeine cough syrup or liquid | Often codeine with an expectorant or antihistamine | Prescription in many places; regulations vary |
| Low-dose over-the-counter products | Available in some countries, with restrictions | Not sold as OTC in many places, including most U.S. states for standard products |
Always check whether a combination product also contains acetaminophen, so you do not exceed the safe daily limit across all products. The maximum is stated on the label, and it is easy to overshoot when taking several cold, flu and pain products at the same time.
Use 1: Pain Relief
What kinds of pain?
Codeine is used for mild to moderate pain when non-opioid options are not enough or are not suitable. Examples include:
- Short-term pain after dental work, minor surgery or injury
- Some cases of acute musculoskeletal pain
- Pain after childbirth, with special cautions (see breastfeeding below)
- Occasionally, headache or other pain, though opioids are not preferred for headache or chronic migraine
How well does it work?
Codeine is a relatively weak opioid. Studies comparing it with common non-opioid medicines have found that ibuprofen or naproxen, or acetaminophen alone, often work as well as, or better than, codeine-containing products for many kinds of short-term pain, with fewer side effects. A large share of the benefit of acetaminophen-codeine products comes from the acetaminophen. This is one reason many dental and surgical guidelines now emphasize non-opioid options first.
The uncertainty of codeine’s effect adds another problem. Because conversion to morphine varies with genetics and interacting drugs, some people get little relief while others get too much effect.
Chronic pain
For long-term pain, guidelines generally discourage relying on opioids, including codeine, because benefits are modest and risks of dependence and other harms rise with time. Non-drug approaches, physical therapy, other medicines and specialist care are usually preferred. Opioids for chronic pain, when used at all, call for careful monitoring, clear goals and regular review.
Safer pain plans clinicians often try first
- Acetaminophen at the labeled dose, if suitable.
- NSAIDs such as ibuprofen or naproxen, if suitable. They are not for everyone, including some people with kidney disease, stomach ulcers, heart disease or in late pregnancy.
- A combination of the two, taken together or alternated as a clinician directs.
- Ice, heat, elevation, rest and gentle movement depending on the problem.
- Local treatments such as a dental procedure to treat the source of tooth pain.
- An opioid only if needed, at the lowest effective dose for the shortest time.
Use 2: Cough Suppression
How it works for cough
Codeine acts on the brain’s cough center to reduce the urge to cough. For decades, it was considered the standard cough suppressant.
How well does it work?
Evidence for codeine as a cough suppressant is weaker than many people expect. Several controlled trials and reviews have found that codeine performs no better than placebo for cough caused by common colds or acute upper respiratory infections, and professional guidelines generally do not recommend it for that purpose. It also has well-known side effects such as drowsiness and constipation.
Age restrictions
Because of the risk of serious breathing problems, the U.S. FDA has limited the use of codeine-containing cough and cold products. They are not approved for use in children under 18 in the United States, and many other countries have similar or stricter rules. Similar concerns led health authorities in Europe, Canada and elsewhere to restrict codeine for cough and cold in children.
What can help a cough instead?
- Honey, for adults and children over one year (never for infants), has some evidence for soothing cough.
- Warm fluids and humidified air.
- Lozenges and throat soothers for adults and older children.
- Treating the cause, such as reflux, postnasal drip, asthma or medicine-related cough. Some blood pressure medicines can cause a persistent dry cough, so ask whether a medicine might be responsible.
- Dextromethorphan or other cough products, if suitable, though the evidence is also limited.
- Medical evaluation if the cough lasts more than a few weeks, produces blood, comes with weight loss, shortness of breath or fever.
Who Should Not Take Codeine? The Safety Framework
Treat the following list as the heart of this article.
Children and adolescents
- Children under 12: The FDA states that codeine should not be used to treat pain or cough in children younger than 12.
- Adolescents 12 to 18: The FDA recommends avoiding codeine in those with risk factors such as obesity, obstructive sleep apnea or other breathing problems, and after tonsil or adenoid removal. Many pediatric experts avoid it altogether.
- Deaths and serious breathing problems have been reported in children, especially those who are ultrarapid metabolizers or who have had tonsil surgery for sleep apnea.
Pregnancy
Opioid use in pregnancy can cause neonatal opioid withdrawal syndrome in the baby after birth, and use near delivery can cause breathing problems in newborns. Opioids in pregnancy are used only if the benefit outweighs the risk, with clinician guidance. Do not stop long-term opioid medicine abruptly while pregnant without medical advice.
Breastfeeding
Codeine and its active metabolite pass into breast milk. In mothers who are ultrarapid metabolizers, morphine levels in milk can be high enough to cause serious, even fatal, breathing depression in nursing infants. Many health authorities recommend avoiding codeine while breastfeeding. Ask your clinician about alternatives. If an infant becomes unusually sleepy, has difficulty feeding or breathing or goes limp, seek emergency care.
People with breathing problems
Those with severe asthma, chronic obstructive pulmonary disease, sleep apnea or other breathing conditions face higher risk of dangerous breathing depression.
Other people who need extra caution
- Older adults, who are more sensitive to sedation, confusion, falls and constipation
- People with a history of substance use disorder or mental health conditions
- People with head injury or raised pressure inside the skull
- People with severe kidney or liver disease
- People with a blocked or slow bowel
- People with adrenal problems
- People using alcohol regularly
The Major Risks
1. Slowed or stopped breathing (respiratory depression)
This is the most dangerous opioid effect. It is most likely when starting treatment, after a dose increase and when combined with other sedating substances.
2. Dangerous interactions
The FDA boxed warning for opioids includes a specific caution about using them with benzodiazepines and other central nervous system depressants. Combining these can cause profound sedation, slowed breathing, coma and death. Substances to be careful with include:
- Benzodiazepines such as alprazolam, lorazepam and diazepam. See Ativan and opioids for a deeper look at that combination
- Alcohol. See Ativan and alcohol and Valium and alcohol for how alcohol interacts with sedatives
- Sleep medicines such as zolpidem. See Ambien and alcohol
- Other opioids
- Gabapentinoids. See can you take gabapentin with hydrocodone for a related example
- Muscle relaxants, certain antihistamines, some antidepressants and antipsychotics
- Illicit drugs
Also be aware of CYP2D6 inhibitors that can alter codeine’s effect, and MAO inhibitors, which are dangerous with opioids.
3. Dependence, misuse and addiction
Opioids carry a risk of physical dependence (withdrawal when stopped), tolerance (needing more for the same effect) and opioid use disorder. Codeine is classified as a controlled substance because of these risks. Longer use and higher doses raise the risk. Risk is higher with a personal or family history of substance use, but anyone can be affected. Never share or sell your prescription.
4. Constipation, nausea and other common effects
- Constipation, which often does not improve with time
- Nausea and vomiting
- Drowsiness, dizziness and confusion
- Itching
- Dry mouth
- Sweating
- Low blood pressure, especially on standing
5. Acetaminophen overdose risk in combination products
Taking more than the labeled limit of acetaminophen can cause serious liver damage. Check every product label.
6. Rare but serious effects
- Severe allergic reaction
- Seizures
- Adrenal insufficiency with long-term use
- Serotonin syndrome when combined with certain medicines
- Increased pain sensitivity from long-term opioid use
Overdose: Recognizing It and Responding
Signs of overdose:
- Extreme sleepiness or inability to wake
- Slow, shallow or stopped breathing, or gurgling or snoring sounds
- Pinpoint pupils
- Blue or gray lips or fingertips
- Limp body, cold clammy skin
What to do:
- Call emergency services immediately.
- Give naloxone (Narcan) if available. It is a nasal spray or injection that can reverse opioid overdose, and in many places it is available without a prescription at pharmacies. Several doses may be needed, and emergency care is still necessary.
- Try to keep the person awake and breathing, and lay them on their side if they are not breathing normally and rescue breathing is not being given.
- Stay until help arrives.
If you or someone in your household takes opioids regularly, ask your pharmacist about keeping naloxone at home and learning how to use it.
How to Use Codeine as Safely as Possible
If your clinician has prescribed codeine, these practices reduce risk.
- Take it exactly as prescribed. Do not increase the dose or take it more often.
- Use the lowest effective dose for the shortest time.
- Do not drink alcohol or use other sedatives unless your clinician has specifically approved it.
- Do not drive or operate machinery until you know how it affects you.
- Tell your clinician and pharmacist about all medicines, including supplements and over-the-counter products.
- Check the acetaminophen content of everything you take.
- Prevent constipation: drink fluids, eat fiber and ask about a stool softener or laxative.
- Store it securely, locked and out of reach of children, visitors and pets.
- Dispose of leftovers properly, through a drug take-back program or the disposal instructions on the label. Do not keep leftover opioids.
- Never share it.
- Do not stop suddenly after long-term use. Ask about a safe taper.
- Keep follow-up appointments, and report side effects.
Three Everyday Scenarios
These composites illustrate how the safety framework plays out. They are not medical advice.
After a wisdom tooth extraction. A 22-year-old is offered acetaminophen with codeine. Her dentist reminds her that ibuprofen plus acetaminophen often controls dental pain as well as an opioid. She starts with the non-opioid combination, keeps the opioid prescription as a backup only if pain is not controlled and asks about locked storage. If she does not need it, she takes the leftover tablets to a pharmacy take-back program.
A cough that will not go away. A 45-year-old has had a dry cough for six weeks after a cold. A friend offers an old bottle of codeine cough syrup. That is a bad idea: it is not his prescription, the evidence for codeine in cough is weak and a cough lasting this long needs a diagnosis, since reflux, asthma, postnasal drip or a blood pressure medicine could be the cause. He sees his clinician instead.
A new mother with pain. A woman who is breastfeeding has perineal pain after delivery. Her team avoids codeine because of the infant risk and chooses acetaminophen, ibuprofen if appropriate, cold packs and comfort measures. If an opioid is needed, they discuss the options, doses and monitoring of the baby.
Understanding Your Prescription Label
Opioid labels carry a lot of information. Look for:
- The drug name and strength, including the acetaminophen amount in combination products
- The directions, often “as needed for pain” with a minimum interval between doses and a maximum number of doses per day
- The quantity, which for short-term pain is often small
- Warnings, including drowsiness, alcohol, and sedatives
- The Medication Guide, a handout required for opioids, which lists the boxed warnings in plain language
- The expiry date and disposal instructions
If anything is unclear, ask the pharmacist, who can also check interactions and discuss naloxone.
Myths and Facts
Myth: Codeine is a mild drug, so it is safe for anyone. It is an opioid with serious risks, especially for children, nursing mothers and anyone combining it with sedatives.
Myth: A cough syrup with codeine is the best treatment for a cold cough. Evidence for benefit is weak.
Myth: If a doctor prescribed it, there is no risk of dependence. Dependence can occur with prescribed use, especially over longer periods.
Myth: It is fine to take an extra dose if pain is bad. Call your clinician instead. Extra doses increase overdose risk.
Myth: Opioids are always stronger painkillers than ibuprofen or acetaminophen. For many short-term pains, non-opioids work as well.
Myth: Leftover pills are fine to keep for next time. Dispose of them. Leftovers are a source of accidental poisoning and misuse.
Legal Status and Prescriptions
Codeine is a controlled substance, with rules that depend on the country and the product. In the United States, single-ingredient codeine is a Schedule II drug, products that combine a limited amount with acetaminophen are Schedule III and some codeine cough preparations are Schedule V, with additional state-level rules. These classifications affect how prescriptions are written, refilled and dispensed, and they can change. In other countries, codeine may be available in lower doses without a prescription, or be restricted, so check local rules. Carry the prescription when traveling with codeine, since some countries prohibit it.
Codeine Compared With Other Pain and Cough Options
| Option | Type | Notes |
|---|---|---|
| Acetaminophen | Non-opioid pain and fever reducer | Often a first choice; avoid exceeding daily limits |
| Ibuprofen or naproxen | NSAID | Often effective for dental and musculoskeletal pain; not for everyone |
| Tramadol | Opioid-like | Different mechanism and risks. See methadone vs tramadol |
| Hydrocodone or oxycodone | Stronger opioids | More potent, with higher overdose risk. See methadone vs oxycodone |
| Dextromethorphan | Cough suppressant | Limited evidence; avoid misuse |
| Honey | Home remedy | Not for infants under one year |
| Benzonatate | Non-opioid cough medicine | Prescription; avoid chewing capsules |
Stopping Codeine
Short-term use for a few days rarely needs a taper. After weeks or more of regular use, stopping suddenly can cause withdrawal: restlessness, sweating, runny nose, muscle aches, abdominal cramps, diarrhea, anxiety and trouble sleeping. These symptoms are typically uncomfortable rather than life-threatening, but they can be distressing. Ask your clinician about a gradual taper. If you feel you cannot stop, or are using more than prescribed, help is available. In the United States, the SAMHSA National Helpline at 1-800-662-4357 is free, confidential and open all day, every day. You can also ask a doctor or pharmacist for treatment options, including medications for opioid use disorder.
Questions to Ask Your Clinician
- Why do you recommend codeine instead of a non-opioid option?
- How long should I take it, and what is the lowest dose that will work?
- Does it interact with my other medicines or alcohol use?
- Do I have any risks, such as breathing problems or a family history of substance use, that matter here?
- Should I ask about genetic testing for CYP2D6 in certain cases?
- Is naloxone appropriate for my household?
- How should I store and dispose of leftovers?
- What is the plan if my pain is not controlled?
Frequently Asked Questions
What is codeine used for?
Mainly mild to moderate pain, and in some places cough. It is often combined with acetaminophen.
Is codeine a strong painkiller?
It is a relatively weak opioid compared with morphine, oxycodone and hydrocodone. Its effect varies from person to person.
Does codeine work for cough?
Evidence is limited, and several reviews have found little advantage over placebo for common cough.
Is codeine safe for children?
No for most uses. The FDA says it should not be used in children under 12, and it is generally avoided in teenagers with risk factors.
Can I take codeine while breastfeeding?
It is generally advised to avoid it because of risk to the infant. Ask your clinician about alternatives.
Can I drink alcohol with codeine?
No. Alcohol increases the risk of dangerous sedation and slowed breathing.
Is codeine addictive?
It can cause physical dependence and, in some people, opioid use disorder, especially with longer use.
What is the difference between codeine and morphine?
Codeine is converted into morphine in the body, which is largely responsible for its effect. Morphine itself is stronger and more predictable.
How long does codeine stay in your system?
Its effects typically last a few hours, but detection in tests can last longer depending on the test type. Ask your clinician about specific questions.
The Bottom Line
Codeine can ease mild to moderate pain when non-opioid options are not enough, but it is a modest painkiller and a weak cough suppressant with real risks, including slowed breathing, dependence, dangerous interactions with alcohol and sedatives, and special dangers for children and nursing mothers. Use it only as prescribed, for the shortest time possible, and ask whether safer alternatives could work as well.
For more medication guides, see our health tips library or contact us.
Sources and Further Reading
- MedlinePlus: Codeine
- FDA: Safety information on codeine use in children and breastfeeding mothers
- CDC: Clinical practice guideline for prescribing opioids for pain
- SAMHSA National Helpline
- CPIC: Codeine and CYP2D6 guideline
Medical disclaimer: This article is for general education and does not replace advice from a doctor, pharmacist or other qualified health professional. Never start, stop or change an opioid medicine without medical guidance. In an emergency, such as slowed breathing or inability to wake someone, call emergency services right away.
