How Long do Substances Stay in Your System?

Edmund Murphy
Dr. Samantha Miller
Written by Edmund Murphy on 26 August 2021
Medically reviewed by Dr. Samantha Miller on 15 August 2024

There are a number of factors that affect the detection rate of substances in urine and blood. These include the type of test used, the dose taken, the user’s tolerance level, the potency of the substance, the metabolism of the user, and the existence of any underlying medical conditions.

Key takeaways:
  • Methamphetamine and Benzodiazepine can be detected in urine up to 6 days after ingesting
  • LSD has a short half-life, meaning it stops being detectable in blood in as little as three hours
  • Hair testing works by segmenting the hair into different sections for analysis. one month of hair growth usually equates to 1cm and this is how the analysis is broken down
Purple gloves holding urinalysis test strip over urine sample cup.

Why do people need drug tests?

There are multiple reasons why toxicology tests, commonly referred to as drug tests, are required. The most predominant use of drug tests occurs in legal settings, such as for probation meetings, court cases, custody hearings, divorce proceedings, and other scenarios whereby an individual will need to prove their sobriety.

Other instances where drug tests may be needed include the workplace; especially in careers where being intoxicated on the job can be dangerous. Also, many athletes and sporting professionals will need to complete drug tests in order to prove they are not doping to get ahead of the competition. Occasionally, schools and other educational institutes will require students and faculty to perform drug tests, though there is some ethical debate around testing children.

Different types of drug tests

There are four primary methods of drug testing, some of which are faster but less accurate, and others that require more rigorous lab analysis. Breath testing is occasionally used for alcohol detection, especially in instances of drunk driving, but doesn’t have the same accuracy as other methods. The four types of drug tests are:

Urine testing

Urine testing is the common form of substance detection test as it is affordable, easy, and offers quick results. It can detect if substances have been in the system up to a few days after use and is the only approved method for federally mandated testing.

Blood testing

Blood testing takes longer to process than urine but is more effective and accurate at detecting concentrations of substances. Substances leave the bloodstream a lot faster than they do from other parts of the body, meaning testing is usually only accurate if substances have been used within 72 hours of testing.

Saliva testing

Saliva is one of the weakest methods of toxicology testing, as chemicals and hormones used to detect drugs and alcohol only stay in saliva for a few hours to a couple of days.

Hair testing

Hair testing is used to assess drug history for up to a period of one year and is extremely accurate. Hair testing works by segmenting the hair into different sections for analysis. one month of hair growth usually equates to 1cm and this is how the analysis is broken down. For example, 6cm of hair equals 6 months of consumption data. This data is so accurate that it can determine whether someone has been around marijuana smoke or smoked the drug directly. 

Hair strand drug testing works by looking for the metabolites (chemical signatures) of the substances that are absorbed into the blood and deposited into the hair as a result of drug consumption. This is a much more accurate test of consumption than follicle analysis as it highlights usage directly in a specific timeframe as opposed to contamination.

What determines how long drugs stay in your system for?

There are many factors that influence how long drugs and alcohol stay in the system, most of which are unique to the individual, and some to a particular substance being detected. These include:

  • Metabolism
  • Height
  • Weight
  • Gender
  • Ethnicity
  • BMI
  • The type of drug used
  • Quantity of drugs used
  • How frequently they were used
  • The drug's half-life
  • Dehydration levels
  • Medical history
  • Polydrug use

How long do substances stay in your system?

Below is the average detection time for substances, broken down by urine, blood, saliva, and hair. Note; these times are an average and are not universally accurate for every person.

How long does alcohol stay in your system?

Test typeTime period
UrineUp to 48 hours
BloodUp to 12 hours
HairUp to 90 days
SalivaUp to 3 days

To find out more, read our guide to how long alcohol stays in your system.

How long does marijuana stay in your system?

Test typeTime period
UrineUp to 30 days
BloodUp to 4 hours
HairUp to 90 days
SalivaUp to 72 hours

Related blog: How Long Does Cannabis (THC) Stay in Your System?

Related blog: How Long Does CBD Stay in Your System?

How long does synthetic marijuana stay in your system?

Test typeTime period
UrineUp to 72 hours
BloodUp to 48 hours
HairUp to 90 days
SalivaUp to 48 hours

Related: How long do edibles stay in your system?

How long do Benzodiazepines stay in your system?

Benzodiazepines such as Xanax, Valium, and Ativan are sedatives that are typically prescribed for anxiety, insomnia, and some muscle disorders. Benzodiazepines stay in the system typically no longer than a week but can remain longer if abused in high amounts or for long periods of time.

How long does Librium stay in your system?

Test typeTime period
UrineUp to 6 weeks
BloodUp to 48 hours
HairUp to 90 days
SalivaUp to 10 days

How long does Valium stay in your system?

Test typeTime period
UrineUp to 6 weeks
BloodUp to 48 hours
HairUp to 90 days
SalivaUp to 10 days

How long does Xanax stay in your system?

Test typeTime period
UrineUp to 4 days
BloodUp to 24 hours
HairUp to 90 days
SalivaUp to 2 days

Read our guide to learn more about how long Xanax stays in your system.

How long does Ativan stay in your system?

Test typeTime period
UrineUp to 6 days
BloodUp to 3 days
HairUp to 30 days
SalivaUp to 8 hours

How long does Restoril stay in your system?

Test typeTime period
UrineUp to 6 weeks
BloodUp to 24 hours
HairUp to 90 days
SalivaUp to 24 hours

How long do hallucinogens stay in your system?

Hallucinogens are either man-made chemicals like Ketamine and others are naturally occurring such as psilocybin which is found in magic mushrooms. Hallucinogens are also split into two categories; dissociative drugs like PCP and classic hallucinogens like LSD. Most leave the system within a few days but like most substances can still be detected in hair follicles up to three months later.

How long does LSD (Acid) stay in your system?

Test typeTime period
UrineUp to 4 days
BloodUp to 12 hours
HairUp to 90 days
SalivaN/A

Related: How long does LSD stay in your system?

How long do magic mushrooms (Psilocybin) stay in your system?

Test typeTime period
UrineUp to 24 hours
BloodUp to 24 hours
HairUp to 90 days
SalivaN/A

Read here to find out more about how long magic mushrooms stay in your system.

How long does Ketamine stay in your system?

Test typeTime period
UrineUp to 11 days
BloodUp to 4 days
HairUp to 90 days
SalivaN/A

Related: How long does ketamine stay in your system?

How long does PCP stay in your system?

Test typeTime period
UrineUp to 4 weeks
BloodUp to 24 hours
HairUp to 90 days
SalivaUp to 10 days

How long does Mescaline stay in your system?

Test typeTime period
UrineUp to 3 days
BloodUp to 24 hours
HairUp to 90 days
SalivaUp to 10 days

Related: How long does Peyote last?

How long do opioids stay in your system?

The opioid drug class encompasses a wide range of chemical makeups and functions. Therefore, each type of opioid or opiate drug stays in the system for a different amount of time. Commonly abused prescription opioids include Tramadol, Oxycodone, Codeine, and Hydrocodone. The rise in synthetic opioids like Fentanyl has a direct link to the rising number of opioid-related overdoses in the United States due to its wide availability and high potency.

How long does Tramadol stay in your system?

Test typeTime period
UrineUp to 72 hours
BloodUp to 48 hours
HairUp to 6 months
SalivaUp to 48 hours

Find out more here: How long does Tramadol stay in your system?

How long does Oxycodone stay in your system?

Test typeTime period
UrineUp to 4 days
BloodUp to 24 hours
HairUp to 90 days
SalivaUp to 4 days

How long does Heroin stay in your system?

Test typeTime period
UrineUp to 3 days
BloodUp to 6 hours
HairUp to 90 days
SalivaUp to 1 hour

Related: How long does heroin stay in your system?

How long does Fentanyl stay in your system?

Test typeTime period
UrineUp to 3 days
BloodUp to 2 days
HairUp to 90 days
SalivaN/A

How long does Hydrocodone stay in your system?

Test typeTime period
UrineUp to 4 days
BloodUp to 24 hours
HairUp to 90 days
SalivaUp to 36 hours

How long does Codeine stay in your system?

Test typeTime period
UrineUp to 3 days
BloodUp to 24 hours
HairUp to 90 days
SalivaUp to 4 days

Find out more here about how long codeine stays in your system.

How long does Morphine stay in your system?

Test typeTime period
UrineUp to 3 days
BloodUp to 3 days
HairUp to 90 days
SalivaUp to 3 days

Related: Morphine versus other opioids

How long does Methadone stay in your system?

Test typeTime period
UrineUp to 12 days
BloodUp to 24 hours
HairUp to 90 days
SalivaUp to 10 days

How long does Vicodin stay in your system?

Test typeTime period
UrineUp to 4 days
BloodN/A
HairUp to 90 days
SalivaUp to 36 hours

How long do stimulants stay in your system?

Stimulant abuse occurs when people misuse prescription medications such as Ritalin and Adderall as well as illicit substances like meth and cocaine. MDMA (ecstasy and molly) is technically a stimulant but also produces hallucinogenic effects.

How long does Adderall stay in your system?

Test typeTime period
UrineUp to 72 hours
BloodUp to 46 hours
HairUp to 90 days
SalivaUp to 50 hours

Read here to find out more about how long Adderall stays in your system.

How long does meth stay in your system?

Test typeTime period
UrineUp to 1 week
BloodUp to 3 days
HairUp to 90 days
SalivaUp to 4 days

Related: How long does meth stay in your system?

How long does cocaine stay in your system?

Test typeTime period
UrineUp to 3 days
BloodUp to 24 hours
HairUp to 90 days
SalivaUp to 2 days

Related: How long does cocaine stay in your system?

How long does MDMA stay in your system?

Test typeTime period
UrineUp to 4 days
BloodUp to 2 days
HairUp to 90 days
SalivaUp to 2 days

Related: How long does ecstasy, molly, and MDMA stay in your system?

How long does Ritalin (Methylphenidate) stay in your system?

Test typeTime period
UrineUp to 2 days
BloodUp to 12 hours
HairUp to 90 days
SalivaUp to 2 days

How long do inhalants stay in your system?

Compared with other drugs, inhalants such as aerosols, industrial cleaners, and whippet canisters have incredibly short half-lives. Most of these substances will have left the system in a matter of minutes, making them very hard to detect with standard drug tests.

Inhalants are predominantly abused by teens and young people which can increase the half-life of inhalants like nitrates due to their fast metabolism. Abusing inhalants like whippets also affects the brain and puts young people at risk as their brains have yet to develop fully.

Other substances

There are many drugs that fall outside of the standard list of substances that are tested for. Some of these other drugs may not be tested for legal reasons, such as if your doctor or a medical professional needs to see how long a particular medication has been in the system so they can give accurate diagnoses and prescriptions. Some common other drugs tested include:

How long do Barbiturates stay in your system?

Test typeTime period
UrineUp to 6 weeks
BloodUp to 72 hours
HairUp to 90 days
SalivaUp to 72 hours

How long does Gabapentin stay in your system?

Test typeTime period
UrineUp to 3 days
BloodUp to 7 hours
HairUp to 90 days
SalivaN/A

How long does Flexeril stay in your system?

Test typeTime period
UrineUp to 13 days
BloodUp to 3 days
HairUp to 90 days
SalivaUp to 36 hours

Related: How long does Flexeril stay in your system?

Was this page helpful?

Your feedback allows us to continually improve our information

Resources:

  1. Horno, P., Gonález-Padrón, A., Moreno, I.M. (2016).  Workplace Drug Testing: An Overview of the Current Situation. J Toxins, 3(1), 3-7.
  2. Schwartz, R.H. (1988). Urine Testing in the Detection of Drugs of Abuse. Arch Intern Med, 8(11), 2407-2412.
  3. American Society of Addiction Medicine. (2013). Drug Testing: A White Paper of the American Society of Addiction Medicine.
  4. National Institute on Drug Abuse. (2016). Cocaine. Retrieved December 18, 2019 at
  5. Governing. (2019). State Marijuana Laws in 2019 Map. US Drug Test Centers. Hair Testing. Retrieved November 19th at
  6. National Institute on Drug Abuse. (2019). Marijuana. Retrieved November 19th at
  7. Medical News Today. (2019). How Long Can You Detect Marijuana in the Body? Retrieved November 19th at
  8. National Institute on Drug Abuse. (2018). Synthetic Cannabinoids (K2/Spice). Retrieved November 19th at
  9. Medical News Today. (2019). How long does it take for hydrocodone to leave the body? Retrieved November 19th 2021 at
  10. National Institute on Drug Abuse. (2018). Benzodiazepines and Opioids. Retrieved November 19th 2021 at
  11. University of Michigan. (2018). Study Finds increasing use and misuse of benzodiazepines. Retrieved November 19th 2021 at
  12. Very Well Mind. (2019). How Long Does Ativan Stay in your System? Retrieved November 19th 2021 at
  13. Practical Pain Management. (2014). Demystifying Benzodiazepine Urine Dug Screen Results. Retrieved November 19th 2021 at
  14. National Center for Biotechnology Information. (2010). Disposition of ketamine and norketamine in hair after a single dose. Retrieved November 19th 2021 at
  15. National Center for Biotechnology Information. (2006). Drug Testing in Oral Fluid. Retrieved November 19th 2021 at
  16. Very Well Mind. (2019). How Long Do Barbiturates Stay in your System? Retrieved November 19th 2021 at
  17. National Institutes of Health. (2019). Opioid Addiction. Retrieved November 19th 2021 at
  18. Health Advocate. Clinical Corner: The Opioid Crisis in the Workplace. Retrieved November 19th 2021 at
  19. National Institute on Drug Abuse. (2019). Hallucinogens. Retrieved November 19th 2021 at
  20. The Washington Times. (2018). 16 million U.S. adults on prescription stimulants, study shows. Retrieved November 19th 2021 at
  21. National Institute on Drug Abuse. (2018). MDMA (Ecstasy/Molly). Retrieved November 19th 2021 at
  22. National Institute on Alcohol Abuse and Alcoholism. (2019). Alcohol Facts and Statistics. Retrieved December 18, 2019 at

Activity History - Last updated: 15 August 2024, Published date:


Reviewer

Dr. Samantha Miller is a practicing NHS doctor based in Glasgow, UK, who regularly contributes as a medical reviewer for mental health and addiction.

Activity History - Medically Reviewed on 08 July 2021 and last checked on 15 August 2024

More like this

Drug Tests

10 minutes read