How to Make a Purity Test Kit

by Emanuel Sferios
May 14, 2025

purity test kits

Introduction

Making a quantitative test kit for a particular substance takes a lot of time and persistence. We spent six months in the lab and performed more than 2,000 tests to develop the three kits we currently offer. It was meticulous work with a lot of setbacks, and to be honest there were times we felt like giving up. But our belief in harm reduction and our vision of bringing affordable purity test kits to the consumer market kept us going.

At the same time and despite the challenges, the concept of creating a quantitative test kit is simple. There’s really nothing miraculous about it, and it doesn’t take a wizard to figure it out. In this article I’ll explain the entire process. I’ll even tell you the ingredients we use in our kits. The only thing I won’t tell you is our specific formulas (the ratio of ingredients). That would make it too easy for people who don’t know what they’re doing to attempt to replicate our work (and probably get themselves into trouble). But if you have laboratory experience and the ability to understand the process, as well as the motivation and commitment to spend a ton of time figuring out your own formulas, then you just might succeed.

Unlike other test kit manufacturers, we want more qualified people to enter the field. Maybe you’ll come up with something better. Or maybe you’ll invent kits for other drugs that don’t currently have them. And that will only benefit everyone.

We’ve come a long way since I first began using Marquis reagent to test ecstasy tablets at raves in the San Francisco Bay Area in 1998. There are now eleven standard reagents for identifying various drugs, sold by more than a dozen online vendors. Fentanyl test strips are now widely available and “drug checking” (as it has come to be called) is funded by state and federal grants. But there’s still a long way to go. Prohibition is still with us and most of the recreational drugs people choose to consume are still unregulated, which means quality control—as usual—remains up to us. So if you want to develop new purity test kits, and if your goal is to better the world by helping people who use drugs, we wish you luck. I hope this article helps you along the way.

Disclaimer: if you don’t know what you’re doing, please don’t try. The kits contain highly corrosive and toxic chemicals. We’re not responsible for what you might do just because we’re explaining the basics in this article.

Understanding the Process

As mentioned in the FAQ, creating a purity test kit is all about balancing the ingredients and volumes of both the extraction fluid and the reagent, so that they work together to produce a linear, discernible color spectrum that corresponds to the amount of substance tested.

Read that sentence twice, because it’s the gist of everything. Quantitative colorimetric tests are based on a 19th century chemistry principle known as Beer’s Law, which states that the amount of light absorbed by a substance is directly proportional to the substance’s concentration in a solution.

You begin with a substance. Let’s say MDMA. Then you research and find a reagent that changes color in the presence of that substance. In this case, Marquis reagent. You’re off to a good start, but you soon discover after preparing some vials of Marquis that any amount of MDMA you add turns the liquid the same dark purple color with no discernible variation.

You try reducing the amount of MDMA you add by diluting it in water first and then adding only a small amount of the water to the vial of Marquis. The liquid doesn’t turn quite as dark, but there’s still no color variation. No discernible spectrum at all.

That’s when you realize you’re going to have to change the formula of the Marquis reagent to reduce the intensity of the reaction. But how do you do that? Do you dilute it with water? That might work. Reagent grade sulfuric acid has a concentration of around 97%, meaning there’s about 3% water in it already. Diluting it with a little more should make the color reaction weaker, right? (Note: When diluting sulfuric acid, never add water to the acid. Always add the acid to water.)  You can also try varying the amount of formaldehyde, which is the only other ingredient in Marquis reagent.

If you have enough time and patience to experiment with different ratios of these three ingredients, it is inevitable that eventually you will discover a formula that works. Here are the results of our formula.

MDMA reactions

The process described above for creating a quantitative MDMA test kit is pretty much the same as for any other quantitative test kit you want to make. You need a way to extract and add a specific amount of a substance to a specific amount of the right reagent to get a discernible color spectrum reflecting the amount of active ingredient in the substance. There are some differences depending on the substance, of course. But the idea is the same.

Some Important Details

It should be obvious, but you need to carefully control the volume of liquid inside the vials of both the extraction fluid (water in the case of MDMA) and the reagent or reaction fluid (Marquis in this case). There is lab equipment you can buy that will dispense precise amounts of liquids, including corrosive chemicals safely. You need that equipment.

It should also be obvious that you can’t just use any old batch of a drug you have lying around as your standard. If you’re trying to make an MDMA purity test kit, for example, you need to use 100% pure MDMA, either an analytic standard produced by a pharmaceutical company like Cayman Chemical, or else MDMA that has been GCMS verified. You need a DEA license to legally buy controlled substances from Cayman. And just in case you’re not all with it (in which case you shouldn’t be reading this article and probably haven’t even gotten this far anyway), it’s illegal to possess a controlled substance outside of a DEA licensed lab. So to add another disclaimer: We’re not suggesting you break any laws! Get a license or find a licensed lab to work with.

Lastly, while we’re on the topic of an MDMA kit, we’ll tell you that Marquis reagent is extremely sensitive. Small adjustments in the formula make for big differences in the color.

What About the LSD and Psilocybin Kits?

Our LSD and psilocybin kits both use modified versions of Hofmann reagent, also known as Van Urk reagent or or p-DMAB-TS. Standard Hofmann contains sulfuric acid, water, ferric chloride, and p-Dimethylaminobenzaldehyde (DMAB). Hofmann is the only known reagent highly specific to LSD (it turns blue), though there may be others that also work for psilocybin.

You can find a few standard formulas for Hofmann reagent online, but we can tell you right now that they won’t work for quantitative testing without some modification. So once again you’ll need to adjust the formulas and perform a lot of experiments until you find formulas that produce a discernible color spectrum. (Note: It’s still Hofmann reagent even if you vary the ratio of ingredients. You’re just changing the strength. You’re not inventing a new reagent.)

None of this is rocket science. The basic principles of the colorimetric quantification of indole alkaloids have been publicly available for more than half a century, along with the reagents used. Search PubMed and Google Scholar. See our list of reference articles below. Vain efforts to obfuscate the process (as if it’s magic), or to patent what cannot be patented (as if it’s somehow unique or special) are motivated solely by money and do not have the best interest of the community in mind. As already mentioned, there are many ways to make a purity test kit for LSD, psilocybin or other substances, using modified versions of well known standard reagents. You just need to experiment.

What About the Extraction Fluids?

This ain’t rocket science either. MDMA can simply be dissolved in water. The only challenge we faced was how to remove the dyes from ecstasy tablets, which would interfere with the color reaction. But having grown up working in my parents’ dry cleaners in Florida, I knew that petroleum based solvents trap oil based particles. And since many dyes are oil based, the simple addition of a light solvent like heptane to the water just made sense. And it worked.

Using methanol to extract LSD from blotter was also an easy decision. It’s been done for decades and is mentioned in dozens of research papers. Ethanol might also work. Give it a try if you want. But whatever you use, just make sure it doesn’t react with the Hofmann reagent.

The extraction fluid we use in our psilocybin kit is a simple mixture of distilled water, citric acid and ascorbic acid. We actually chose this as our starting point because of “lemon tek” (duh). Lemon tek is the name given to a popular method of consuming psilocybin mushrooms by first chopping them up and soaking them in lemon juice for about fifteen minutes or so before drinking the liquid. Consuming mushrooms in this way makes them kick in faster and makes the experience stronger.

Obviously this wouldn’t be such a popular method if the lemon juice did not somehow act to release psilocybin from fungal cells as well as protect the alkaloids from degradation. If soaking your shrooms in lemon juice reduced the experience, nobody would do it. So it just made sense to us to start there.

A brief review of online sources also reveals why lemon tek works. Some have speculated that the acidity converts the psilocybin into psilocin (the active ingredient), so that it doesn’t need to be converted in the body, making it hit faster. This isn’t accurate. Acids don’t dephosphorylate psilocybin. Enzymes in your stomach do. What’s really happening here is that the citric acid is helping to break down the fungal cell walls, allowing the psilocybin to be released. That way your digestive system doesn’t need to do it. And the ascorbic acid, being a strong antioxidant, protects the alkaloids (especially the very vulnerable psilocin) from degrading.

Lemon juice, it seems, is the perfect extraction fluid for a psilocybin/psilocin quantitative test kit.

Of course, the amount of citric and ascorbic acid in lemon juice can vary, so you can’t make a consistent purity test kit using lemons as the extraction fluid. (Not to mention it would take a lot of time squeezing that many lemons.) So we decided to use “synthetic” lemon juice, so to speak, by adding citric and ascorbic acid to water. The only challenge, as usual, was figuring out a proper ratio that worked together with our modified Hofmann reagent to produce a wide enough color spectrum.

Conclusion

I hope this article helps you in developing your own purity test kits. Again, please don’t attempt to do it if you don’t have laboratory experience. There’s a ton of very important information we did not include here because that information is already well known to anyone who has worked in a lab with toxic and corrosive chemicals. You don’t just need respirators, a fume hood, and a whole host of other equipment. You need the knowledge that can only come with experience.

At the same time, I have tried to make this article accessible to everyone. We are committed to transparency in all our actions, and we want people to know how we make our kits. Advancing public health knowledge only benefits everyone. Hoarding that kind of knowledge may earn you money in the short term, but it generally increases harm, and it certainly doesn’t create the kind of world I want to live in.

We are currently working on kits for other drugs, and we will similarly explain how we made them once we succeed. I’m certain we will use the same process outlined in this article.

Thank you,

Emanuel Sferios

References

  1. Choodum, A., & NicDaeid, N. (2016). Quantitative colorimetric assays for methamphetamine. In V. R. Preedy (Ed.), Neuropathology of Drug Addictions and Substance Misuse (pp. 349–359). Academic Press. https://doi.org/10.1016/B978-0-12-800212-4.00034-0
  2. Choodum, A., et al. (2014). Real-time quantitative colourimetric test for methamphetamine detection using digital and mobile phone technology. Forensic Science International, 235, 8–13. https://doi.org/10.1016/j.forsciint.2013.11.018
  3. Marcelo, M. C. A., Mariotti, K. C., Ortiz, R. S., Ferrão, M. F., & Anzanello, M. J. (2016). Scott test evaluation by multivariate image analysis in cocaine samples. Microchemical Journal, 127, 87–93. https://doi.org/10.1016/j.microc.2016.02.012
  4. Gartz, J. (1994). Extraction and analysis of indole derivatives from fungal biomass. Journal of Basic Microbiology, 34(1), 17–22. https://doi.org/10.1002/jobm.3620340104
  5. Travnikoff, B. (1983). Semiquantitative screening test for cocaine. Analytical Chemistry, 55(4), 795–796. https://doi.org/10.1021/ac00255a048
  6. Agurell, S., Blomkvist, S., & Catalfomo, P. (1966). Biosynthesis of psilocybin in submerged culture of Psilocybe cubensis. 1. Incorporation of labelled tryptophan and tryptamine. Acta Pharmaceutica Suecica, 3(1), 37–44. https://pubmed.ncbi.nlm.nih.gov/5948634/
  7. Central Intelligence Agency. (1956, October 30). Lysergic acid as a base in the colorimetric determination of ergot alkaloids. CIA FOIA Electronic Reading Room. https://www.cia.gov/readingroom/document/cia-rdp81-00280r001300180006-4
  8. Smith, M. I. (1930). A quantitative colorimetric reaction for the ergot alkaloids and its application in the chemical standardization of ergot preparations. Public Health Reports, 45(26), 1466–1481. https://doi.org/10.2307/4579701
  9. Michelon, L. E., & Kelleher, W. J. (1963). The spectrophotometric determination of ergot alkaloids: A modified procedure employing paradimethylaminobenzaldehyde. Lloydia, 26(3), 192–201. https://bibliography.maps.org/bibliography/default/resource/14504
  10. Stebelska, K. (2016). Assays for detection of fungal hallucinogens such as psilocybin and psilocin. In V. R. Preedy (Ed.), Neuropathology of Drug Addictions and Substance Misuse (Vol. 3, pp. 909–926). Academic Press. https://doi.org/10.1016/B978-0-12-800212-4.00084-4
  11. Alexander, T. G., & Banes, D. (1961). Analysis of the alkaloid content of ergot. Journal of Pharmaceutical Sciences, 50(3), 201–204. https://doi.org/10.1002/jps.2600500305
  12. Chen, Y. M., & Lu, S. I. (1986). A new and simplified method for the determination of ergot alkaloids. MIRCEN Journal, 2, 493–498. https://doi.org/10.1007/BF00933373
  13. Cody, J. T. (2008). Hallucinogens. In M. J. Bogusz (Ed.), Handbook of Analytical Separations (Vol. 6, pp. 175–201). Elsevier. https://doi.org/10.1016/S1567-7192(06)06004-9
  14. Beug, M. W., & Bigwood, J. (1981). Quantitative analysis of psilocybin and psilocin in Psilocybe baeocystis by HPLC and TLC. Journal of Chromatography, 207(3), 379–385. https://doi.org/10.1016/s0021-9673(00)88741-5
  15. Ehmann, A. (1977). The van Urk–Salkowski reagent—a sensitive and specific chromogenic reagent for TLC detection and identification of indole derivatives. Journal of Chromatography, 132(2), 267–276. https://doi.org/10.1016/s0021-9673(00)89300-0
  16. Kysilka, R., & Wurst, M. (1990). A novel extraction procedure for psilocybin and psilocin determination in mushroom samples. Planta Medica, 56(3), 327–328. https://doi.org/10.1055/s-2006-960970
  17. Shahid, M. G., Baig, S., Saleem, M., Arif, R., Ghafoor, G. Z., & Liaqat, A. (2018). Qualitative and quantitative analysis of ergot alkaloids produced by Aspergillus niger through surface culture fermentation process. Pakistan Journal of Botany, 50(6), 2423–2428. https://www.researchgate.net/publication/326010812
  18. DMT-Nexus Wiki. (n.d.). Colorimetric reagent results: Psilocybin. Accessed May 14, 2025. https://wiki.dmt-nexus.me/Colorimetric_reagent_results#Psilocybin
  19. U.S. Drug Enforcement Administration. (2022, December 7). DEA 503 – Quantitation of methamphetamine hydrochloride by UV/Vis spectroscopy. In DEA Office of Forensic Sciences Validated Quantitative Methods (p. 23). https://www.dea.gov/sites/default/files/2022-12/DEA%20SF%20Validated%20Quantitative%20Methods%20Summary.pdf
  20. Abels, K., et al. (2021). Quantitative point-of-care colorimetric assay modeling using a handheld colorimeter. ACS Omega, 6(34), 22439–22446. https://doi.org/10.1021/acsomega.1c03460