How Melatonin Is Manufactured
Melatonin (CAS 73-31-4) is a small indole molecule, and although it occurs naturally in plants, animals and micro-organisms, virtually all commercial melatonin is made by chemical synthesis. The manufacturing process is a good illustration of how a straightforward reaction sequence can still demand careful control to deliver the purity and colour that supplement and pharmaceutical customers expect.
This article follows melatonin from its starting materials to the finished powder, compares the main synthetic routes, and looks at how bio-based production fits in. For the full product background, see our main article on melatonin (CAS 73-31-4).
The Target Molecule
Melatonin is N-acetyl-5-methoxytryptamine. Its structure tells the synthetic chemist exactly what has to be achieved: an indole core, a methoxy group at the 5-position and a 2-acetamidoethyl side chain at the 3-position. Most commercial routes therefore work backwards from a 5-substituted indole that already carries the correct side chain — usually 5-methoxytryptamine.
The Standard Synthetic Route
The most common commercial approach acetylates the primary amine of 5-methoxytryptamine to form the acetamide. In outline:
| Step | Chemistry | Purpose |
|---|---|---|
| 1. Feedstock and precursor | Sourcing or preparation of 5-methoxytryptamine (or a 5-methoxyindole precursor) | Provide the correctly substituted indole and side chain |
| 2. N-Acetylation | Reaction with acetic anhydride or acetyl chloride, typically in the presence of a base such as pyridine or triethylamine | Convert the primary amine to the acetamide |
| 3. Work-up | Quench, neutralise and extract or precipitate | Isolate crude melatonin and remove reagents |
| 4. Purification | Crystallisation (and, if required, chromatography) | Remove related substances and colour bodies |
| 5. Drying and milling | Controlled drying; milling and screening | Meet moisture and particle-size specifications |
Acylation is a fast, well-understood reaction, but the quality of the finished product depends heavily on the purity of the intermediate and on the purification step. Colour is a particular concern: trace coloured impurities are far more visible in a white crystalline powder than their concentration would suggest, and they must be removed for supplement and cosmetic use.
Alternative Synthetic Routes
Not every producer starts from 5-methoxytryptamine. Alternative routes build the indole skeleton directly, most commonly by adapting classical indole chemistry.
| Route | Key idea | Where it fits |
|---|---|---|
| 5-Methoxytryptamine acetylation | Direct N-acetylation of a ready-made intermediate | Dominant commercial route; shortest and highest-yielding |
| 5-Methoxyindole elaboration | Build the 2-acetamidoethyl side chain onto 5-methoxyindole | Attractive when the intermediate is costly; adds steps |
| Fischer indole synthesis | Condense a substituted phenylhydrazine with a carbonyl compound bearing the amide side chain | Direct ring construction; regiochemistry and purification are the challenge |
| Tryptophan-derived chemistry | Start from the amino acid and functionalise selectively | Suits integrated, biomass-adjacent process designs |
Common Problems and How They Are Managed
- Colour. Coloured impurities and oxidation products are removed by recrystallisation and by controlling exposure to light, heat and air.
- Related substances. Over-acetylation, unreacted starting amine and by-products are controlled by the purification step and monitored by HPLC.
- Residual solvents. The choice of solvent and the drying regime determine the residual-solvent profile, which must meet the applicable limits.
- Light sensitivity. Melatonin degrades under light, so processing and drying are carried out with appropriate protection and the product is packed in light-resistant packaging.
- Particle size and flow. Milling and screening deliver the particle size needed for uniform blending and filling.
Bio-based and Fermentation Routes
Nature makes melatonin from tryptophan in a short enzymatic sequence: tryptophan is converted to serotonin, acetylated by arylalkylamine N-acetyltransferase (AANAT) to N-acetylserotonin, and then O-methylated by acetylserotonin O-methyltransferase (ASMT/HIOMT) to melatonin. Bio-based production seeks to reproduce this pathway in engineered micro-organisms such as E. coli or yeast, converting a simple feedstock or tryptophan into melatonin in a bioreactor.
The route offers a potentially lower environmental footprint and renewable feedstocks, but today it is a developing technology rather than the commercial mainstream, because titre, yield and the cost of recovering a pure product from fermentation broth are demanding. For the great majority of buyers, chemically synthesised melatonin remains the practical choice.
Scale, Quality and What Buyers Should Check
Melatonin is produced at commercial scale by a number of manufacturers, mainly in China and India. Whatever the route, the delivered quality is judged on a small set of parameters, so a buyer can compare suppliers on a like-for-like basis:
- Assay (HPLC, dried basis) and the related-substances profile.
- Appearance and colour of the powder.
- Moisture (loss on drying) and residue on ignition.
- Heavy metals and residual solvents.
- Particle size, if blending or tabletting demands it.
- The documentation package: COA, SDS and, where required, GMP and regulatory statements.
When comparing quotations, it is worth confirming that the process used can consistently deliver the colour and related-substances profile your product needs, since these are the attributes that most often cause a supplement or API batch to be rejected.
Frequently Asked Questions
How is melatonin made industrially?
Mainly by chemical synthesis, most commonly by acetylating 5-methoxytryptamine with acetic anhydride or acetyl chloride, followed by crystallisation, drying and milling.
Is there a natural or bio-based source of melatonin?
Melatonin occurs naturally, and bio-based production using engineered micro-organisms is under development, but commercial melatonin is overwhelmingly made by chemical synthesis.
Why is colour so important for melatonin?
Melatonin is a white crystalline powder, so even trace coloured impurities are visible. Purification and protection from light and oxidation are essential to meet supplement and cosmetic expectations.
What is the key intermediate in melatonin synthesis?
5-Methoxytryptamine, which already provides the correctly substituted indole ring and the aminoethyl side chain that only needs acetylation.
Does the production route affect the specification?
The route can affect the impurity and residual-solvent profile, so buyers should judge suppliers on the actual specification and certificate of analysis rather than the route name alone.