Melatonin gummies are made by blending a cooked sugar-and-starch (or pectin/gelatin) base with a separately prepared melatonin mixture, depositing the combined mass into molds, and then curing the gummies for up to 60 hours until they reach the right texture. The process borrows heavily from candy manufacturing but adds pharmaceutical-style steps to incorporate the active ingredient without destroying it.
The Base: Sugar, Starch, and a Gelling Agent
Every gummy starts as a slurry. In a typical commercial batch, preheated water is combined with potato starch and then layered with corn syrups of different sweetness levels and granulated sugar. The mixing speeds increase gradually as each ingredient is added to keep the slurry smooth. This base determines the gummy’s chewiness, sweetness, and shelf stability.
Once mixed, the slurry is pumped through a jet cooker at roughly 300°F under pressure. Direct steam injection and high-shear mixing force the starch granules to swell and burst open, a process called gelatinization that transforms the raw slurry into a thick, gel-capable mass. The cooked mass then moves to a holding tank where it cools to around 190–210°F and loses excess water through evaporation.
Manufacturers choose between three main gelling agents, each with trade-offs. Gelatin (animal-derived) melts at about 95°F, which means gelatin gummies can soften or stick together in warm shipping containers. Pectin, a plant-based alternative, holds its shape up to nearly 300°F, giving it far better heat stability but requiring higher depositing temperatures. Some brands use starch as the primary gelling agent, which lands somewhere in between. The choice of gelling agent also affects how long the gummies need to cure and how chewy the final texture feels.
Where the Melatonin Comes In
The melatonin itself is almost always made through chemical synthesis rather than extracted from a natural source. The process starts with the amino acid L-tryptophan, which undergoes a four-step chemical reaction to produce synthetic melatonin powder. This powder is what supplement manufacturers purchase in bulk.
Melatonin is heat-sensitive. Lab studies show that after six hours at 140°F, about 85% of the melatonin remains intact. Raise that to 160°F and only 64% survives. At 195°F, more than half is gone. This is why manufacturers never dump melatonin directly into the hot cooked base. Instead, they prepare a separate cool mixture: cold water, a small amount of corn syrup, citric acid solution, and then the melatonin powder, stirred gently at moderate speed. Other active ingredients like L-theanine get folded in at this stage too.
The cooled sugar base and the melatonin mixture are then combined in a blending system along with flavoring, a bitter masker (melatonin tastes unpleasant on its own), and food coloring. This final blend happens at the lowest practical temperature to protect the melatonin from degradation.
Molding With the Starch Mogul System
Most commercial gummies are shaped using a starch mogul, a machine that uses trays filled with dry cornstarch as disposable molds. Metal or plastic stamps press down into the starch to create rows of cavities shaped like bears, stars, moons, or whatever the brand uses. The warm gummy mass is pumped into depositor hoppers that dose precise amounts into each cavity, typically around 3.75 grams per gummy.
The starch serves double duty. It holds the shape of the liquid gummy as it cools and simultaneously absorbs excess moisture from the candy. After the gummies set, the trays are flipped, the starch is sifted away, and the loose powder is dried and recycled back into the machine for the next batch.
Curing, Coating, and Packaging
Fresh-from-the-mold gummies are too soft and too wet. They go into a curing room for 20 to 60 hours at 125–145°F with very low humidity (8–20% relative humidity). During this time, moisture evaporates and the gummy firms up. A gummy that weighed 3.75 grams wet typically dries down to about 3.45 grams.
Once cured, gummies are demolded and tumbled in a coating drum. The coating serves a practical purpose: without it, gummies would stick together in the bottle. Common glazing agents include beeswax (white or yellow), carnauba wax, or proprietary blends. Carnauba wax melts at about 180°F and is typically dissolved into a flavorless oil at roughly 5% concentration, then misted or drizzled onto the gummies as they tumble. The result is a thin, glossy shell that prevents sticking, slows moisture loss, and gives the gummies their polished look.
Citric acid also plays a role in the final product’s texture and flavor. Most finished melatonin gummies land at a pH between 3.0 and 5.0. That acidity brightens the fruit flavor, but it also influences gel strength. Lower pH values make gelatin gummies chewier, so formulators have to balance taste against texture.
Why Label Accuracy Is a Known Problem
The manufacturing process introduces several points where melatonin content can drift from the target dose. Heat exposure during blending, uneven distribution in the batch, and degradation during curing all contribute. A 2023 study published in JAMA tested 25 melatonin gummy products sold in the U.S. and found that 88% were inaccurately labeled. The actual melatonin content ranged from 74% to 347% of what the label claimed. Only 3 out of 25 products fell within 10% of the stated dose.
Part of the issue is regulatory. In the U.S., melatonin is classified as a dietary supplement, not a drug. Manufacturers are responsible for ensuring their own products are safe and correctly labeled, but the FDA does not approve supplements before they reach shelves. There is no required pre-market testing for potency accuracy.
Third-party certification programs fill some of that gap. The USP Verified Mark, for example, indicates that a product has been independently tested to confirm it contains the ingredients listed on the label in the declared amounts, is free of harmful contaminant levels, and will break down properly in the body. Products carrying NSF or USP verification have undergone lab testing against established quality standards, which makes them a more reliable choice if dose consistency matters to you.

