Candy-coated pills could prevent pharmaceutical fraud

Candy-coated pills could prevent pharmaceutical fraud
Diagram showing how a photograph of candy nonpareils are converted into a string of code suitable for storage in a database. Credit: Grover, 2022.

While most of us were baking sourdough bread and watching "Tiger King" to stay sane during the pandemic shutdown, UC Riverside bioengineering professor William Grover kept busy counting the colorful candy sprinkles perched on top of chocolate drops. In the process, he discovered a simple way to prevent pharmaceutical fraud.

The technique, which he calls CandyCode and uses tiny multicolored nonpareils or "hundreds and thousands" as a uniquely identifiable coating for pharmaceutical capsules and pills, is published in Scientific Reports.

Counterfeit or substandard medicines harm millions of people and cost an estimated $200 billion annually. In the , the World Health Organization estimates that one in 10 is fake.

Grover's lab has previously worked on simple, low-cost ways to ensure the authenticity of pharmaceuticals. Other researchers have been interested in putting unique codes on pills that can be used to verify their authenticity, but all of those schemes have practical limitations.

"The inspiration for this came from the little colorful chocolate candies. Each candy has an average of 92 nonpareils attached randomly, and the nonpareils have eight different colors. I started wondering how many different patterns of colored nonpareils were possible on these candies," said Grover. "It turns out that the odds of a randomly generated candy pattern ever repeating itself are basically zero, so each of these candies is unique and will never be duplicated by chance."

This gave Grover the idea that the nonpareils could be applied as a coating to each , giving it a unique pattern that could be stored by the manufacturer in a database. Consumers could upload a smartphone photograph of a pill and if its CandyCode matches one in the database, the consumer could be confident that the pill is genuine. If not, it is potentially fraudulent.

Candy-coated pills could prevent pharmaceutical fraud
A CandyCoded lid for a perfume bottle. Credit: Grover, 2022

To test this idea, Grover used edible cake decorating glue to coat Tylenol capsules with nonpareils and developed an algorithm that converts a photo of a CandyCoded pill into a set of text strings suitable for storing in a computer database and querying by consumers. He used this algorithm to analyze a set of CandyCode photos and found they function as universally unique identifiers, even after subjecting the CandyCoded pills to that simulates the wear-and-tear of shipping.

"Using a computer simulation of even larger CandyCode libraries, I found that a company could produce 1017 CandyCoded pills—enough for 41 million for each person on earth—and still be able to uniquely identify each CandyCoded pill," Grover said.

Even more unique CandyCodes could be created with the introduction of more colors or combining different sizes or shapes of candy nonpareils. CandyCodes could also be used to ensure the authenticity of other products that are often counterfeited. Bottle caps, for example, could be coated with adhesive and dipped in nonpareils to ensure the integrity of perfume or wine and garment or handbag hang tags could be coated with glitter.

CandyCoded capsules or tablets have an unexpected benefit for the consumer as well.

"Anecdotally, I found that CandyCoded caplets were more pleasant to swallow than plain caplets, confirming Mary Poppins' classic observation about the relationship between sugar and medicine," said Grover.

The open access paper is titled "CandyCodes: simple universally unique edible identifiers for confirming the authenticity of pharmaceuticals."

More information: William H. Grover, CandyCodes: simple universally unique edible identifiers for confirming the authenticity of pharmaceuticals, Scientific Reports (2022). DOI: 10.1038/s41598-022-11234-4

Journal information: Scientific Reports

Citation: Candy-coated pills could prevent pharmaceutical fraud (2022, May 6) retrieved 1 October 2023 from
This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no part may be reproduced without the written permission. The content is provided for information purposes only.

Explore further

Edible, fluorescent silk tags can suss out fake medications


Feedback to editors