How to Test a Substance for Fentanyl and Other Drugs

Testing an unknown substance typically involves using chemical reagent kits or immunoassay test strips that react with specific compounds and produce a visible result. The most accessible options are fentanyl test strips and color-change reagent kits, both of which can be used at home with minimal equipment. More advanced methods like mass spectrometry exist at drug checking services and provide far more detailed results.

Fentanyl Test Strips

Fentanyl test strips are the most widely used tool for checking whether a substance contains fentanyl or its analogues. They work like a pregnancy test: dip the strip into a prepared solution and read the result in two to five minutes. One line means fentanyl is detected. Two lines means it was not detected at the strip’s sensitivity threshold.

The CDC recommends this preparation method: set aside at least 10 mg of your substance in a clean, dry container and add half a teaspoon of water. Mix thoroughly, then dip the strip. If you’re testing methamphetamine, MDMA, or ecstasy, use a full teaspoon of water per 10 mg of crystal or powder. This extra dilution matters because high concentrations of stimulants and cutting agents like diphenhydramine cause false positives at concentrations at or above 1 mg per milliliter. Using more water brings the concentration below that threshold.

After dipping, lay the strip flat on a clean surface and wait for the result window to develop. A faint second line still counts as negative. No result at all means the strip is invalid, and you should use a new one.

Reagent Testing Kits

Reagent kits use liquid chemicals that change color when they contact specific compounds. Each reagent detects a different family of substances, so using multiple reagents together gives you a more complete picture. The three most common are Marquis, Mandelin, and Ehrlich.

  • Marquis reagent is the broadest screening tool. It turns purple or black with MDMA and related compounds, and produces a yellow color with methylenedioxy-substituted cathinones (bath salts). It’s often the first reagent people reach for.
  • Mandelin reagent shifts from yellow to orange with cathinone analogues and produces distinct color changes with ketamine, PMA, and several other substances. It catches things Marquis can miss.
  • Ehrlich reagent turns purple in the presence of indole-based compounds like LSD and psilocybin. It does not react with cathinones or most stimulants, making it specific but narrow.

To use a reagent kit, place a tiny scraping of the substance (roughly the size of a grain of sand) on a white ceramic plate or the testing surface included in the kit. Add one or two drops of reagent and observe the color change over 30 to 90 seconds. Compare the result to the color chart provided with the kit. Always test in a well-ventilated area, because the reagent liquids are corrosive acids that can burn skin and damage surfaces.

Reagent tests tell you what a substance likely contains, but they cannot tell you how much of it is there. They also can’t reliably detect trace adulterants. If a sample is 95% one substance and 5% another, the dominant compound’s color reaction may mask the smaller one entirely.

Xylazine Test Strips

Xylazine, a veterinary sedative increasingly found in the illicit drug supply, now has its own dedicated test strips. These work similarly to fentanyl strips but target xylazine specifically. Their real-world performance, however, is considerably less reliable.

A 2025 study evaluating 715 street drug samples in Los Angeles, the largest assessment to date, found that xylazine test strips correctly identified positive samples only 54% of the time. Specificity was better at 87%, meaning they were fairly good at confirming when xylazine was absent. The core problem is concentration: most street samples contained less than 1% xylazine by weight, and the strips’ detection cutoff corresponds to roughly 0.1% by mass. That sounds low, but 78% of the positive samples in the study fell below 1%, putting many of them near or below the strip’s reliable detection range.

A negative xylazine strip result is reasonably trustworthy (89% negative predictive value), but a positive result is essentially a coin flip (49% positive predictive value). These strips are worth using as one layer of information, but they’re not definitive on their own.

Drug Checking Services

Community drug checking programs use laboratory-grade instruments that far exceed what’s possible with at-home kits. The two most common technologies are FTIR (infrared spectroscopy) and GC-MS (gas chromatography-mass spectrometry).

FTIR works by bouncing infrared light off a sample and matching the resulting spectrum to a library of known substances. It’s fast, often producing results in under a minute, and it can identify the primary components of a mixture. It does not require dissolving or destroying the sample. However, it struggles with trace contaminants and complex mixtures where multiple substances overlap.

GC-MS separates a sample into its individual components and then identifies each one by molecular weight. In a head-to-head evaluation of 145 street drug samples, GC-MS detected the greatest number of compounds, with 96% sensitivity compared to the combined results of all analytical methods tested. It catches low-concentration adulterants that FTIR and reagent kits miss. The tradeoff is time: results take longer, and the equipment requires trained operators.

These services are available in a growing number of cities, often run by harm reduction organizations. Some operate at fixed locations, others at events or through mail-in programs. If you’re near one, it’s the most reliable option available outside a forensic lab.

Safety While Handling Unknown Substances

Potent synthetic opioids can be absorbed through skin contact or inhaled as dust, so basic precautions matter when handling anything unidentified. Wear nitrile gloves (powder-free, since powder can absorb and retain drug residue). If you’re working with a powdered substance, do it in a ventilated space and avoid creating airborne particles. Don’t touch your face, and wash your hands thoroughly after removing gloves.

You don’t need a full laboratory setup for home testing, but a clean, flat surface and good lighting make a difference. Keep reagent chemicals capped when not in use, store them in a cool dark place, and replace them when they expire or change color in the bottle, because degraded reagents produce unreliable results.

Legal Considerations

Drug checking equipment, particularly fentanyl test strips, has historically been classified as illegal drug paraphernalia in many U.S. states. That landscape is shifting. Massachusetts passed legislation explicitly exempting fentanyl test strips and related testing equipment from its paraphernalia laws, and expanded civil and criminal liability protections to anyone who provides, administers, or uses them in good faith. Dozens of other states have enacted similar exemptions in recent years.

The legal status of testing supplies varies significantly by state and country. Before purchasing or carrying reagent kits or test strips, check your local laws. In jurisdictions where they remain classified as paraphernalia, possession could carry legal consequences even if your intent is purely safety-related.

Limitations of All Testing Methods

No single test gives a complete picture. Reagent kits identify substance classes but miss trace contaminants. Fentanyl strips detect fentanyl and many analogues but can produce false positives with stimulants if the dilution ratio is wrong. Xylazine strips miss nearly half of positive samples at real-world concentrations. Even GC-MS, the gold standard, only detects compounds that exist in its reference library.

The most reliable approach is layering multiple methods. Use a fentanyl strip to screen for the most immediately lethal adulterant, then run one or two reagent tests to confirm the substance class. If a drug checking service is accessible, use that too. Each layer reduces risk, but none eliminates it entirely. A negative test result means a substance wasn’t detected at that method’s sensitivity threshold. It does not guarantee the substance is safe or pure.