Skip navigation

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

URL of this page: https://medlineplus.gov/lab-tests/drug-testing/

Drug Testing

What is a drug test?

Drugs are chemical substances that can change how your body and mind work. A drug test looks for signs of one or more illegal drugs or certain prescription medicines that can be misused. The test is usually done with a sample of your urine (pee). Less commonly, drug testing uses a sample of your blood, saliva (spit), hair, sweat, fingernails, or breath. The purpose of a drug test is to look for drug use and misuse, which includes:

  • Using any illegal drugs, such as cocaine or club drugs.
  • Misusing prescription medicines, which means taking prescription medicines in a different way than you are supposed to. This can include crushing or snorting tablets, taking more than the prescribed dose, or taking it more often than prescribed. It also includes taking the medicines for a nonmedical purpose, such as to get high. Examples of drug misuse include using a prescription pain reliever to relax or taking someone else's prescription.

A drug test can check for a single drug or for a group of drugs in your body. Drug tests commonly test for:

Drug tests can find signs of drugs that you took hours to several days or more before the test. How long a drug lasts in your body depends on:

  • The type of drug
  • How much you used
  • How long you were using it before the test
  • How your body reacts to the drug

Other names: drug screen, drug test, drugs of abuse testing, substance abuse testing, toxicology screen, tox screen, sports doping tests

What is it used for?

Drug testing is used to find out whether you have been using or misusing one or more drugs but can't diagnose a drug use disorder (addiction).

A drug test may be used for different purposes, including:

  • Employment. Employers may require that you pass a drug test before they will hire you. The testing may be part of a drug-free workplace program. After you're hired, they may test you to check for on-the-job drug use. If you have a work accident, you may be tested to see whether drugs or alcohol were involved.
  • Sports. Professional and other athletes are often tested for drugs that are used to improve performance, such as anabolic steroids that help build muscle.
  • Substance use disorder treatment. Drug testing may be used to monitor treatment in programs for drug or alcohol use disorder (AUD).
  • Legal evidence. Testing may be part of a criminal or motor vehicle accident investigation. Drug screening may also be ordered as part of a court case.
  • To prevent prescription drug misuse. If you take a prescription medicine that can be addictive, such as opioids for chronic (long-term) pain, your provider may order a drug test to make sure you're taking the medicine correctly.

Drug testing may be scheduled ahead of time or done randomly without notice.

Why do I need a drug test?

You may be asked to take a drug test for a job, to participate in certain organized sports, or as part of a police investigation or court case. In a hospital emergency room, a health care provider may order a drug test if you have signs of a possible drug overdose. Newborns can also be tested for possible prenatal exposure to illegal drugs.

What happens during a drug test?

Drug testing may be done in many different locations, including labs, hospitals, drug treatment centers, and workplaces.

Urine is the most commonly used sample for drug testing. You will be given instructions for how to collect your sample. In certain cases, a health care professional or other person may need to be present while you provide your sample. This is to make sure the urine is yours and isn't contaminated with anything that might affect the test results.

If a blood sample is used to test for drugs, a health care professional will take a blood sample from a vein in your arm, using a small needle. After the needle is inserted, a small amount of blood will be collected into a test tube or vial. You may feel a little sting when the needle goes in or out. This usually takes less than five minutes.

Will I need to do anything to prepare for the test?

Be sure to tell the testing professional if you are taking any prescription drugs, over-the-counter medicines, or supplements, because these substances may affect your test results. Also, you should avoid foods with poppy seeds, which can show up as opiates in a drug test.

Are there any risks to the test?

There are no known physical risks to having a drug test. But if drugs show up in your results, it may affect your job, your eligibility to play sports, the outcome of a legal matter, or other parts of your life.

Before you take a drug test, make sure you know:

  • What you are being tested for
  • Why you are being tested
  • How the results will be used

If you have questions or concerns about a drug test, talk with your provider or the person or organization that is asking for the test.

What do the results mean?

If a drug test result is positive, it means that one or more drugs were found in amounts that suggest drug use or misuse. If you have a positive test result, you'll usually have a follow-up test to make sure the first test was correct. That's because the type of urine testing that's often done first can have false positive results.

A false positive means that the test showed you had a drug in your sample when it really wasn't there. False positives can happen if the test reacts with other chemicals in your body from certain over-the-counter medicines, prescriptions, and foods.

The follow-up drug test after a false positive result is called a confirmatory test. It is a more sensitive test that provides more accurate results.

If a drug test result is negative, it means that either:

  • The drugs that were tested were not found in your sample.
  • A very small amount of drugs was found, but not enough to count as a positive test result for drugs.

Learn more about laboratory tests, reference ranges, and understanding results.

Is there anything else I need to know about a drug test?

If you test positive for a legal drug prescribed by your provider, your employer can't punish you, unless the drug is affecting your ability to perform your job.

If you test positive for marijuana and live in a state where it is legal, employers may still be able to punish you in some states. Employers may do this because they want a drug-free workplace. Also, marijuana is still illegal under federal law.

You can buy home tests for many illegal and prescription drugs. There are two types of tests:

  • At-home tests let you do the entire test at home and get rapid results. But if the test result is positive for drugs, you'll need to have a follow-up lab test to check the accuracy of the result. Before you buy an at-home test, check to see if it includes a kit for collecting a sample, often urine or saliva, to send to a lab in case the home test is positive.
  • A self-collection test has a kit for gathering urine, saliva, or another type of sample to send to a lab for testing. The price of some self-collection tests includes the cost of a follow-up lab test to check the accuracy of the test if it has positive results.

When using home tests, be careful to follow all the instructions. It's best to talk with your provider about using home drug testing so you can decide if it's right for your situation.

References

  1. Cleveland Clinic: Health Library: Diagnostics & Testing [Internet]. Cleveland (OH): Cleveland Clinic; c2024. Blood Tests; [reviewed 2022 Dec 06; cited 2024 Nov 11]; [about 16 screens]. Available from: https://my.clevelandclinic.org/health/diagnostics/24508-blood-tests
  2. FDA: US Food and Drug Administration [Internet]. Silver Spring (MD): U.S. Department of Health and Human Services; Drugs of Abuse Home Use Test; [current as of 2018 Sep 27; cited 2024 Nov 13]; [about 4 screens]. Available from: https://www.fda.gov/medical-devices/drugs-abuse-tests/drugs-abuse-home-use-test
  3. Drugs.com [Internet]. Drugs.com; c2000-2024. Drug Testing FAQs [updated 2024 Jun 10; cited 2024 Nov 13]; [about 11 screens]. Available from: https://www.drugs.com/article/drug-testing.html
  4. Merck Manual Professional Version [Internet]. Kenilworth (NJ): Merck & Co., Inc.; c2024. Drug Testing [reviewed 2022 Dec; cited 2024 Nov 13]; [about 2 screens]. Available from: https://www.merckmanuals.com/professional/special-subjects/illicit-drugs-and-intoxicants/drug-testing
  5. National Institute on Drug Abuse [Internet]. Gaithersburg [MD]: U.S. Department of Health and Human Services; Drug Testing; 2023 Nov [cited: 2024 Nov 13]; [about 12 screens]. Available from: https://nida.nih.gov/research-topics/drug-testing#drug-testing
  6. Nemours KidsHealth [Internet]. Jacksonville (FL): The Nemours Foundation; c1995-2024. Getting a Blood Test; [reviewed 2021 Sep; cited 2024 Nov 11]; [about 4 screens]. Available from: https://kidshealth.org/en/parents/blood-tests.html
  7. Substance Abuse and Mental Health Services Administration [Internet]. Rockville (MD): U.S. Department of Health and Human Services; Drug Testing Resources [updated 2024 Jul 19; cited 2024 Nov 13]; [about 8 screens]. Available from: https://www.samhsa.gov/workplace/resources/drug-testing
  8. Testing.com [Internet]. Seattle (WA): OneCare Media; c2024. 10-Panel Drug Test; [modified 2022 Sep 26; cited 2024 Nov 13]; [about 11 screens]. Available from: https://www.testing.com/tests/10-panel-drug-testing/
  9. Testing.com [Internet]. Seattle (WA): OneCare Media; c2024. The Best At-Home Drug Tests of 2023; [modified 2023 Aug 14; cited 2024 Nov 13]; [about 29 screens]. Available from: https://www.testing.com/tests/at-home-drug-test/
  10. Testing.com [Internet]. Seattle (WA): OneCare Media; c2024. Drug Testing; [modified 2022 Aug 4; cited 2024 Nov 13]; [about 9 screens]. Available from: https://www.testing.com/drug-testing/
  11. Testing.com [Internet]. Seattle (WA): OneCare Media; c2024. Urine Drug Tests; [modified 2023 Feb 2; cited 2024 Nov 13]; [about 16 screens]. Available from: https://www.testing.com/tests/urine-drug-test/
  12. Workplace Fairness [Internet]. Silver Spring (MD): Workplace Fairness; c2024. Drug Testing; [cited 2024 Nov 13]; [about 5 screens]. Available from: https://www.workplacefairness.org/drug-testing-workplace

The information on this site should not be used as a substitute for professional medical care or advice. Contact a health care provider if you have questions about your health.