How Long Does Codeine Stay In Your System?

Medically Reviewed by Johnelle Smith, M.D.

Updated on June 9, 2026

Codeine is a natural opiate that can be detected in the urine, hair follicles, blood, and oral fluids. Personal factors, such as drug dependence and some health conditions, can affect the amount of time it takes for codeine to leave your system.

Looking for Addiction or Mental Health Treatment?

AddictionResource.net is an advertising-supported site. Ads on this site are from companies that compensate us and are always clearly identified. This compensation does not influence our facility rankings, resource guides, or other editorially-independent information published on this site.

Learn More About Our Advertisers

At Recovery Guide, our mission is to connect as many individuals struggling with mental health and substance abuse disorders to reputable treatment facilities.

To achieve this goal, we set strict guidelines for our editorial team to follow when writing about facilities and utilize behavioral healthcare experts to review medical content for accuracy.

While we receive compensation in the form of paid advertisements, these advertisements have absolutely no impact on our content due to our editorial independence policy.

Codeine is a naturally occurring opioid used to treat mild to moderate pain and suppress coughing, commonly found in prescription tablets, capsules, and cough syrups. While it is considered less potent than other opioids such as morphine or oxycodone, codeine is still habit-forming and carries a real risk of dependence, addiction, and overdose when misused, particularly when combined with alcohol or benzodiazepines.

Codeine remains detectable in the body after its effects have worn off, and the detection window for opioids varies depending on the testing method used. Urine testing can identify codeine use for up to three days, blood testing for up to 24 hours, saliva testing for up to 48 hours, and hair follicle testing for up to 90 days.

What Is Codeine?

Codeine is a naturally occurring substance similar to the drug morphine, another prescription pain reliever. It acts in the body by binding to opioid receptors in the central nervous system.

Codeine can come in the form of:

  • cough syrup
  • tablets
  • capsules

Codeine is found in some cold and cough medicines that contain ingredients such as acetaminophen (Tylenol with Codeine), promethazine, aspirin, and carisoprodol.

What Does Codeine Do?

When taken, codeine can provide pain relief and reduce coughing. It can also have other side effects, such as euphoria, drowsiness, dry mouth, and constipation.

Codeine can be habit-forming. When misused, codeine can become addictive. Taking codeine in any way other than prescribed carries a risk for drug dependence, addiction, and life-threatening overdose.

How Long Codeine Stays In Urine

Urine screenings are the preferred method for detecting illicit or prescription drug use. Codeine can be detected in urine samples for one to three days, on average.

How Long Codeine Stays In Blood

Codeine can be detected in blood samples for up to 24 hours after last use. This is the shortest detection window of all drug testing methods.

How Long Codeine Stays In Saliva

Oral fluids, such as saliva, can detect codeine use for up to 48 hours, or two days, after use.

How Long Codeine Stays In Hair

Hair tests screen for drug use by testing hair follicles. Traces of codeine can remain in hair for up to three months, or 90 days, after your last dose.

What Factors Can Affect Codeine Detection Times?

Average detection times don’t apply to everyone. A variety of factors can affect the amount of time drugs like codeine stay in the body.

These factors include:

  • Frequency of Use: Taking codeine regularly can lead to increased tolerance and dependence, both of which can extend the window for codeine detection.
  • Dose Taken: The body will take longer to metabolize higher doses of codeine compared to smaller doses.
  • Polydrug Use: Taking multiple drugs at one time, including alcohol, can affect the amount of time it takes for codeine to leave your system.
  • Metabolic Rate: Slow metabolism, as a result of older age or certain health conditions, can result in a longer detection window.
  • Body Composition: Personal factors such as weight and body fat can affect drug metabolism.
  • Kidney and Liver Function: Impaired liver and kidney function can cause slower drug metabolism.

To an extent, factors such as hydration and activity level can also affect detection times. Although it’s possible to get a false positive for codeine use, this is not common.

How To Get Codeine Out Of Your System

Getting codeine out of your system takes time. If you’re unable to stop taking codeine long enough to get a negative test result, this may be a sign of drug dependence. Drug dependence can cause the body to go through withdrawal if you attempt to stop taking it. Withdrawal symptoms can be mild to severe in nature.

If you or a loved one is dependent on codeine, you may need to taper your dosage or seek medical support through a medical detox program to help you stop taking it.

Codeine Withdrawal And Detox Programs

Trying to quit codeine on your own can be dangerous. This is especially true for people who are addicted to codeine and those who misuse it with other drugs.

Detox programs for codeine can offer:

  • 24-hour support
  • medical supervision
  • quiet environment
  • medicine for withdrawal

Codeine addiction may require treatment. Treatment for codeine addiction is offered by some outpatient providers and inpatient rehab centers. Browse our directory or reach out to the Substance Abuse and Mental Health Services Administration (SAMHSA) for more information about addiction recovery.

This page does not provide medical advice. See more

Addiction Resource aims to provide only the most current, accurate information in regards to addiction and addiction treatment, which means we only reference the most credible sources available.

These include peer-reviewed journals, government entities and academic institutions, and leaders in addiction healthcare and advocacy. Learn more about how we safeguard our content by viewing our editorial policy.

  • Was this Helpful?
  • YesNo