Walk into any pharmacy or grocery store and you'll find melatonin shelved alongside vitamins and herbal supplements. The packaging promises better sleep. The doses range from 5mg to 10mg, sometimes higher. It's the third most popular supplement in the US.
But what most people don’t know is that melatonin isn't a supplement but a hormone. And most people who use it are taking too much of it at the wrong times.
Let's fix that.
Key Takeaways
-
Melatonin is a hormone produced by your pineal gland, not a supplement in the traditional sense, and not something your body treats as optional.
-
Most over-the-counter melatonin doses (5–10mg) are far higher than what research suggests is effective. Physiologic doses are closer to 0.3–1mg.
-
Melatonin taken at the wrong time can shift your circadian rhythm in the wrong direction.
-
Beyond sleep, melatonin plays roles in immune function, antioxidant activity, and reproductive health that most users don't know about.
-
Compounded melatonin allows for precise dosing and controlled-release formulations for staying asleep, not just falling asleep.
What Melatonin Actually Is.
Melatonin is produced by the pineal gland in response to darkness. As light fades in the evening, your brain ramps up melatonin production, signaling to your body that it's time to wind down, lower core temperature, and prepare for sleep. In the morning, light suppresses melatonin, helping you wake up.
It's a precise, time-sensitive hormonal signal. It’s not a sedative. It’s not a knockout pill. Melatonin doesn't make you sleep. It just tells your body when to sleep.
That distinction should change how you think about using it.
The Dosing Problem
The standard over-the-counter dose of melatonin is 5–10mg. Some products go even higher. But research on melatonin's physiologic effects suggests the optimal dose is much lower— often in the range of 0.3-1mg. Your body's own nightly melatonin output is typically in that range.
Taking 10mg of melatonin doesn't make it work ten times better. It floods receptors, blunts the signal, and can leave you feeling groggy the next morning. Over time, it can even affect your body's natural melatonin production.
The reason over-the-counter products are dosed so high has less to do with clinical evidence and more to do with the fact that higher numbers feel more meaningful on a label. It’s better marketing. But this is a case in which more is genuinely not better.
The Timing Problem
Melatonin taken at the right time works with your circadian rhythm. Taken at the wrong time, it can shift it in a direction you don't want.
In general, melatonin is most effective when taken 30–60 minutes before your desired sleep time, in low doses, in low light. Taking it earlier in the day, even a few hours early, can advance your sleep phase. Taking it too late, or at inconsistent times, can disrupt rather than support your rhythm.
For shift workers, frequent travelers, or people with delayed sleep phase disorder, the timing strategy changes. This is where clinical guidance matters.
Beyond Sleep: What Else Melatonin Does
Melatonin is produced in other tissues besides the pineal gland, and its role in the body goes well beyond sleep signaling.
Antioxidant function: Melatonin is one of the most potent endogenous antioxidants we know of. It scavenges free radicals and supports mitochondrial function. This is part of why melatonin research has expanded into aging, neurodegeneration, and cellular health.
Immune modulation: Melatonin has direct effects on immune function, which is part of why immune activity ramps up during sleep. This relationship is one reason chronic sleep disruption is associated with increased susceptibility to illness.
Reproductive health: Melatonin plays a role in reproductive hormone regulation, making it relevant for women’s cycle health and fertility concerns.
None of this means you should start taking high-dose melatonin for everything. It means melatonin is a more complex molecule than the sleep aisle suggests.
The Advantages of Compounded Melatonin
Compounding is the art and science of crafting medication to suit a patient’s specific needs. That means that compounded melatonin can be prepared at any dose—including the sub-milligram doses that research supports—and in different release profiles.
Immediate-release melatonin helps you fall asleep. Extended-release melatonin helps you stay asleep. For patients who wake frequently in the second half of the night (a common pattern as melatonin's natural peak shifts with age), a combination formulation can address both problems in a single dose.
Ready to use melatonin more precisely? Our compounding pharmacists can work with you and your provider to determine what formulation actually fits your sleep pattern.
Schedule a consultation to talk through your sleep and hormone health.