What Is Melatonin?
Melatonin is often called the "sleep hormone," but that description does not quite capture the full picture. Melatonin is a naturally occurring hormone produced by the pineal gland in your brain, and its primary role is to signal to your body that it is time to prepare for sleep. It does not make you sleep directly, but rather sets the stage by telling your body's systems that darkness has arrived and rest is approaching.
Understanding how melatonin works, what affects its production, and how to support it naturally can give you valuable insight into your own sleep patterns and help you create the conditions for better rest.
How Your Body Produces Melatonin
Melatonin production is governed by light. When your eyes detect fading light in the evening, a signal is sent to the pineal gland to begin producing melatonin. Levels gradually rise over the course of the evening, peaking in the middle of the night, and then declining toward morning as light levels increase.
This cycle is closely tied to your circadian rhythm, your body's internal 24-hour clock. When your circadian rhythm is well-aligned with your sleep schedule, melatonin production flows smoothly and you naturally feel sleepy at the right time.
The Serotonin-Melatonin Connection
Melatonin is actually synthesised from serotonin, the neurotransmitter associated with mood and wellbeing. During the day, your body produces serotonin in response to light exposure and activity. As evening approaches and light diminishes, an enzyme converts serotonin into melatonin.
This means that your daytime habits directly influence your night-time melatonin levels. Getting enough sunlight during the day, eating foods rich in tryptophan (the amino acid precursor to serotonin), and maintaining a healthy mood all support the serotonin-to-melatonin conversion process.
What Disrupts Melatonin Production?
Several common aspects of modern life can interfere with your body's natural melatonin production.
Artificial Light at Night
This is the biggest disruptor. Bright lights and screens in the evening suppress melatonin production by sending a "daytime" signal to your brain. Blue light from phones, tablets, and computers is particularly potent at suppressing melatonin, but any bright light can have an effect.
Irregular Sleep Schedules
When your sleep and wake times vary significantly from day to day, your circadian rhythm struggles to maintain a consistent pattern of melatonin release. This can lead to melatonin being produced at the wrong times, or not enough being produced when you need it.
Shift Work and Jet Lag
Working nights or travelling across time zones puts your melatonin cycle out of sync with your desired sleep time. Your body may be producing melatonin when you need to be awake and suppressing it when you are trying to sleep.
Age
Melatonin production naturally declines with age, which is one reason why older adults often experience more difficulty with sleep onset and maintenance. This decline typically begins around middle age and continues gradually.
Caffeine and Alcohol
Both caffeine and alcohol can interfere with melatonin production and the quality of the sleep it supports. Caffeine blocks adenosine receptors and can indirectly affect melatonin timing, while alcohol disrupts the normal progression of sleep stages.
Natural Ways to Support Melatonin Production
Before reaching for a supplement, there is a lot you can do to support your body's own melatonin production through lifestyle and environmental changes.
Get Bright Light During the Day
Exposure to natural sunlight, especially in the morning, supports healthy serotonin production during the day, which in turn provides the raw material for melatonin production in the evening. Aim for at least 15 to 20 minutes of outdoor light in the morning.
Dim the Lights in the Evening
Start reducing your light exposure one to two hours before bed. Switch from bright overhead lights to dimmer, warmer alternatives like table lamps or salt lamps. Put screens away or use blue light filters, and consider wearing an eye mask if your bedroom is not completely dark.
Establish a Consistent Sleep Schedule
Going to bed and waking up at the same time every day reinforces your circadian rhythm and helps melatonin production settle into a reliable pattern. Consistency is one of the most powerful tools you have for supporting natural melatonin release.
Create a Calming Bedtime Routine
A consistent wind-down routine in the evening, such as dimming lights, reading, gentle stretching, or listening to calming audio through sleep headphones, signals to your body that sleep is approaching and supports the natural rise of melatonin.
Eat Melatonin-Supporting Foods
Some foods naturally contain melatonin or its precursors. Tart cherries, walnuts, almonds, kiwi fruit, and warm milk are all associated with supporting melatonin levels. Incorporating these into your evening routine, perhaps as a small snack or a warm drink, can complement your other sleep-supportive habits.
Melatonin Supplements: What You Should Know
Melatonin supplements are available over the counter in some countries and by prescription in others. In Australia, melatonin is a prescription-only medication for adults, though it is more readily available in other countries. If you are considering melatonin supplementation, it is important to speak with your GP first.
When Supplements May Be Helpful
Melatonin supplements can be useful in specific situations, such as managing jet lag when travelling across multiple time zones, helping with the transition for shift workers changing schedules, supporting older adults whose natural melatonin production has declined, and as a short-term aid for people with delayed sleep phase disorder.
Important Considerations
Melatonin supplements are not sleeping pills. They work best when used to support the timing of sleep rather than to force sleep. Taking melatonin at the wrong time can actually shift your circadian rhythm in unhelpful directions. The dose matters too, as many over-the-counter products in countries where they are available contain far more melatonin than most people need.
Long-term use without medical guidance is generally not recommended, as the effects on natural melatonin production over time are not fully understood. Always consult your GP before starting melatonin, especially if you are taking other medications or have underlying health conditions.
"Once I understood how melatonin works, I stopped trying to force sleep and started creating the right conditions for it instead. Dimming the lights, putting my phone away, and wearing an eye mask to bed made such a difference. My body started producing melatonin properly once I stopped fighting against it with bright lights all evening."
- Laura C., Melbourne
Supporting Your Body's Natural Rhythm
Melatonin is a beautifully designed system that works remarkably well when we give it the right conditions. The challenge of modern life is that so many of our habits, from late-night screen use to irregular schedules to bright evening lighting, work against this natural process.
The good news is that supporting melatonin production does not require dramatic changes. Small, consistent adjustments to your light exposure, routine, and environment can have a meaningful impact on how your body produces melatonin and, in turn, how well you sleep. A strong bedtime routine that works with your biology rather than against it is one of the best investments you can make in your sleep.
"My GP prescribed melatonin to help me reset my sleep after a period of terrible insomnia. It helped, but what made the lasting difference was changing my evening habits. The melatonin got me back on track, and the routine keeps me there. I am sleeping better now than I have in years."
- Craig H., Gold Coast