How Long Does Codeine Stay in Your System?

Codeine in Your Blood, Urine, Hair, and Saliva

Codeine, a prescription opiate medication used for relief of mild to moderate pain or coughing, has a half-life of two and a half to three hours. This means that it takes about three hours for half a dose of codeine to be eliminated from your system.

Codeine is detected in screening tests for drugs of misuse for up to three days. If you have been taking a prescription medication that contains codeine, it's important to let your employer or a relevant person know if you're subject to an employment or forensic drug screen.

Codeine detection times

Verywell / Cindy Chung 

Uses and Regulations

Codeine is found in Tylenol #3, Tylenol with codeine, Robitussin A-C, Fiorinal with codeine, Triacin-C, Tuaistra XR, Codate, Codophos syrup, promethazine with codeine cough syrup, and other formulations. Street names include Captain Cody, sizzurp, and purple drank.

As a controlled substance, codeine's use is regulated by the Controlled Substances Act. Depending on its formulation and use, it's classified as a Schedule II, III, IV, and V drug because of its high potential for misuse and physical dependence.

How Long Does It Take to Feel Effects?

After ingestion, it usually takes about an hour to begin feeling the effects of codeine. Codeine changes the way your nervous system and brain detect pain and slows down the activity in your brain that creates the cough reaction, which is why it's used for both pain relief and as a cough suppressant.

Codeine is easily absorbed from the gastrointestinal tract and is distributed to different tissues throughout your body.

It's often provided in combination products with Tylenol (acetaminophen), aspirin, Soma (carisoprodol), and promethazine, as well as many cough and cold medications. These combinations may affect the dosing, timing and ways your doctor will recommend its use, so be sure to follow your doctor or pharmacist's directions exactly.

Side effects of codeine include:

  • Constipation
  • Difficulty urinating
  • Drowsiness
  • Headache
  • Lightheadedness
  • Mood changes
  • Stomach pain

How Long Does Codeine Last?

Codeine is metabolized primarily by the liver. The breakdown of the drug produces metabolites including codeine-6-glucuronide, norcodeine, and morphine. Although the half-life of codeine is relatively short, these metabolites stay in your system and can be detected in drug screening tests for up to three days.

The pain-relieving effects of codeine usually last for around three to four hours, depending on the dose taken.


About 90% of the drug is eliminated by your kidneys in urine. Urine screenings are the most commonly used drug tests in many settings because they are relatively easy and cost-effective to administer.

Standard urine screen tests for a range of drugs including opiates such as codeine. A positive result on a urine test usually suggests that an individual has used codeine, morphine, or heroin (which are all opiates) in the past 1 to 3 days.


Blood tests are used less frequently because they are more invasive and costly than urine tests. However, they may be used in situations where a person is unable to provide a urine sample or to confirm an unexpected positive urine test result. The window for detecting codeine on a blood test is only 24 hours.


Saliva testing can also be a convenient option, with codeine detectable in oral fluid for up to 4 days after ingestion. However, a number of factors can impact sample collection, including low levels of oral fluid due to a range of physiological factors, including side effects of the drug itself. 

Research also suggests that chewing gum or eating candy containing citric acid can significantly lower the levels of codeine found in saliva.


Codeine use can be detected by a hair follicle test for up to 3 months. However, use that occurred within the last 2 to 3 weeks prior to the test will not be detectable.

False Positive Testing

Eating foods that contain poppy seeds can trigger a false-positive test result for opiates. Poppy seeds contain trace amounts of morphine and codeine. While not enough to produce the same effects as prescription opiates, research has shown that consuming just one poppy seed muffin or two poppy seed bagels is enough to show up on a standard drug screen.

Additional analysis using methods such as mass spectroscopy can sometimes help differentiate between true opiate use and poppy seed consumption. Certain medications can also trigger a false-positive test result on drug screening tests.

Verapamil (a calcium channel blocker used to treat hypertension), diphenhydramine (an antihistamine commonly found in allergy and cold medications), and doxylamine (an antihistamine often found in allergy medications and sleep aids) are all known to cause false-positives for opiates on enzyme immunoassay (EIA) drug tests. 

Let the testing lab know if you have eaten anything containing poppy seeds or if you are on any medications that might affect your test results.

Factors That Affect Detection Time

How long codeine is detectable in your body after a dose depends on a variety of factors, including which kind of drug test is being used.

Other variables include:

  • The dosage you take
  • How often you use the medication
  • Other health conditions you may have
  • Your age
  • Your hydration level
  • Your level of activity
  • Your metabolism
  • Your weight

Because each individual has different variables, it's almost impossible to determine the exact time codeine will show up on a drug test. Drug testing may be used in a variety of situations and settings including screenings for employment, sports organization participation, monitoring opiate use, and legal and forensic purposes.

How to Get Codeine Out of Your System

There are some things that may slightly increase the speed that codeine is metabolized and excreted from the body. The first step is to stop taking the drug, although this may be difficult if you have become physically dependent.

Always talk to your doctor before you stop taking a prescription containing codeine in order to avoid unpleasant withdrawal symptoms. Your doctor may want to slowly taper you off the medication or switch you to another type of pain reliever.

Once you have safely stopped taking your medication, make sure that you stay well-hydrated, eat healthily, and get regular physical activity. These lifestyle modifications may help speed up the rate at which the drug is cleared from your system.

Symptoms of Overdose

With a half-life of only three hours, half of the dosage taken is metabolized and eliminated from the body within three hours. Codeine medications are usually taken every 4 to 6 hours to maintain a therapeutic level.

It is important to take codeine exactly as prescribed because taking more before your previous dose has metabolized or taking a larger dose than prescribed can increase the risk of an overdose.

Symptoms of a codeine overdose can include:

  • Bluish-colored fingernails and lips
  • Breathing problems
  • Cold, clammy skin
  • Coma
  • Confusion
  • Dizziness
  • Drowsiness
  • Fatigue
  • Lightheadedness
  • Loss of consciousness
  • Low blood pressure
  • Muscle twitches
  • Tiny pupils
  • Spasms of the stomach and intestines
  • Weak pulse
  • Weakness

Some of the above symptoms can occur even when you take codeine exactly as prescribed.

If you suspect someone has overdosed on codeine, call 911 immediately or the national toll-free Poison Help hotline at 1-800-222-1222.

Important Precautions

Codeine should not be taken with alcohol or other drugs that can affect your respiration rate, such as benzodiazepines. Examples of benzodiazepines include Klonopin (clonazepam), Ativan (lorazepam), Valium (diazepam), and Xanax (alprazolam).

Be sure to tell your doctor about all the medications you're taking, whether they're over-the-counter, prescription, vitamins, supplements, or herbal remedies. Due to serious risks of slowed breathing and death in children, codeine medications are now restricted by the U.S. Food and Drug Administration (FDA) for children under the age of 12 years.

Codeine medications are also not recommended for teens between the ages of 12 and 18 years who are obese or who have breathing problems such as sleep apnea or severe lung disease.

The FDA warns against the use of codeine medicines by people who are breastfeeding, citing risks to the infant—like excess sleepiness and breathing problems.

Getting Help

Codeine is an opioid pain reliever, which means it can be habit-forming. Taking more codeine than prescribed or taking it longer than directed can increase the risk of developing a dependence on the drug.

Codeine has a high risk of physical dependence even when you take it exactly as prescribed. Unfortunately, people often do not recognize the signs that they are becoming dependent on the drug.

Some signs that can indicate a problem include:

  • Developing tolerance, meaning you need higher doses of the drug to feel the same effects
  • Experiencing symptoms of withdrawal when you stop taking the drug
  • Feeling compelled to take the drug
  • Feeling preoccupied with getting more of your medication

Some of the common symptoms of codeine withdrawal may include:

  • Chills and sweats
  • Difficulty sleeping
  • Irritability
  • Muscle aches
  • Nausea and vomiting
  • Poor appetite
  • Rapid heartbeat
  • Runny nose

If you or a loved one has an addiction to codeine, it's important to get help to treat it. Talk to your doctor about your treatment options, which may include over-the-counter medications to relieve withdrawal symptoms.

For more severe symptoms, your doctor may suggest other drugs that are designed to treat opiate-withdrawal including methadone, buprenorphine, and naltrexone. Your doctor can also refer you to a mental health professional or addiction treatment facility for longer-term treatment.

If you or a loved one are struggling with substance use or addiction, contact the Substance Abuse and Mental Health Services Administration (SAMHSA) National Helpline at 1-800-662-4357 for information on support and treatment facilities in your area. 

For more mental health resources, see our National Helpline Database.

11 Sources
Verywell Mind uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Wong C, Lau E, Palozzi L, Campbell F. Pain management in children: Part 2 - A transition from codeine to morphine for moderate to severe pain in children. Can Pharm J (Ott). 2012;145(6):276-279.e1. doi:10.3821/145.6.cpj276

  2. Food and Drug Administration. Butalbital, acetaminophen, caffeine, and codeine phosphate capsules for oral use: Highlights of prescribing information.

  3. Nelson AD, Camilleri M. Opioid-induced constipation: Advances and clinical guidance. Ther Adv Chronic Dis. 2016;7(2):121-34. doi:10.1177/2040622315627801

  4. National Center for Biotechnology Information. PubChem Compound Summary for CID 5284371, Codeine

  5. Mallappallil M, Sabu J, Friedman EA, Salifu M. What do we know about opioids and the kidney?. Int J Mol Sci. 2017;18(1). doi:10.3390/ijms18010223

  6. Drummer OH. Drug testing in oral fluid. Clin Biochem Rev. 2006;27(3):147–159.

  7. Kapur BM, Aleksa K. What the lab can and cannot do: clinical interpretation of drug testing results. Crit Rev Clin Lab Sci. 2020;57(8):548-585. doi:10.1080/10408363.2020.1774493

  8. Keary CJ, Wang Y, Moran JR, Zayas LV, Stern TA. Toxicologic testing for opiates: understanding false-positive and false-negative test results. Prim Care Companion CNS Disord. 2012;14(4):PCC.12f01371. doi:10.4088/PCC.12f01371

  9. Gryczynski J, Schwartz RP, Mitchell SG, O'Grady KE, Ondersma SJ. Hair drug testing results and self-reported drug use among primary care patients with moderate-risk illicit drug use. Drug Alcohol Depend. 2014;141:44-50. doi:10.1016/j.drugalcdep.2014.05.001

  10. Food and Drug Administration. FDA warns about serious risks and death when combining opioid pain or cough medicines with benzodiazepines; requires its strongest warning.

  11. Food and Drug Administration. FDA Drug Safety Communication: FDA restricts use of prescription codeine pain and cough medicines and tramadol pain medicines in children; recommends against use in breastfeeding women.

Additional Reading

By Buddy T
Buddy T is an anonymous writer and founding member of the Online Al-Anon Outreach Committee with decades of experience writing about alcoholism.