VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

How Sleep Works | Melatonin, Supplements and Your Body Clock

Singapore city skyline illuminated at night.

Did you know? Your brain produces a hormone that helps it keep track of biological night. It is called melatonin. It does not simply operate like a button that switches sleep on at precisely ten o’clock. Its timing and interaction with light are part of a much larger system that helps your body know when day and night are happening.

That is why two people can both feel exhausted yet have different difficulties falling asleep. One might be under strong sleep pressure after a long day. Another might have a body clock that is still signalling wakefulness. Melatonin is especially relevant to the timing problem, but it is not a universal treatment for every form of insomnia.

Here is a useful guide to how melatonin works, how the hormone differs from an over-the-counter supplement, what scientific evidence says about jet lag and delayed sleep timing, and why supplements for children should never be treated as casual bedtime sweets.

What is melatonin?

Melatonin is a hormone produced mainly by the pineal gland in the brain. In the normal circadian cycle, its secretion is generally associated with biological night, and light exposure can suppress or shift the signal.

The US National Center for Complementary and Integrative Health (NCCIH) explains that darkness helps the brain produce melatonin and that the hormone contributes to the timing of circadian rhythms and sleep.

Melatonin is therefore better understood as a timing signal rather than a guaranteed sedative. Its effects depend in part on biological timing, exposure to light and why a person is having trouble sleeping.

Where does the body clock fit in?

Your circadian system coordinates roughly daily patterns of alertness, sleep propensity, body temperature and several hormones. It is influenced by cues from the environment, especially light.

Melatonin is one output of that timing system. The fact that melatonin tends to rise during biological night does not mean the hormone alone controls every aspect of sleep or that any person can force it higher to solve every problem.

For the broader model, read Sleep Pressure, Adenosine and Your Body Clock.

Does your body make melatonin only at midnight?

No. The timing of melatonin secretion depends on the individual’s circadian phase and light environment, not a universal midnight deadline. A teenager with later biological timing and an adult who rises very early may have different patterns.

The relevant concept is biological night. A device displaying the local clock cannot tell you exactly when your melatonin secretion started without an appropriate physiological measurement.

This matters during travel and shift work, where the clock on the wall may not match the person’s internal timing.

How does bright light affect it?

Light entering the eyes influences the brain’s clock and can suppress melatonin secretion at biologically sensitive times. Bright light during the evening and night may contribute to later sleep timing in some circumstances.

A screen can supply both light and stimulating content, but the strength of its impact depends on brightness, duration, timing and the individual. A phone is not a universally identical dose of light.

Our Morning Sunlight, Evening Screens and Your Body Clock article explains how light and circadian timing interact.

Is melatonin the same as adenosine?

No. Adenosine-related processes contribute to sleep pressure accumulating during waking, while melatonin is closely tied to signalling circadian timing. Both can influence the sleep experience, but they have different roles.

You can therefore be physically tired with substantial sleep pressure and still not feel ready to fall asleep at your chosen bedtime. This can occur when the body clock’s timing is misaligned with the desired schedule.

Calling melatonin “the sleep-pressure chemical” confuses those mechanisms and makes popular explanations less accurate.

What does a melatonin supplement do?

Supplemental melatonin supplies the hormone from an external source. In appropriately selected situations, timing the dose may influence sleep timing or help some people fall asleep sooner.

But supplement use is not identical to the brain’s own regulated nightly pattern. Products vary by formulation, quality and legal status in different countries, and the effects depend on when and why the product is taken.

NCCIH reviews evidence for some specific indications while emphasising uncertainty about long-term safety and important differences between supplements and regulated medicines.

Why timing matters more than ‘take it at bedtime’

In circadian science, a light or melatonin exposure can have different timing effects depending on the person’s internal phase. A dose given at the wrong time may not serve the intended purpose.

That is why copying a friend’s melatonin timing is not necessarily sensible. Their schedule, sleep disorder and medical history may differ from yours.

Do not use this article to select a supplement dose or administration time. A healthcare professional can determine whether melatonin is appropriate and how it should be used in a specific condition.

Melatonin and jet lag

Jet lag occurs when rapid travel across time zones leaves the body’s circadian timing temporarily out of step with the destination. Supplemental melatonin may help with some aspects of jet lag in selected circumstances, according to NCCIH and other travel-health guidance.

The critical detail is timing relative to the traveller’s biological clock and destination, not simply the length of the flight. Light exposure and sleep scheduling also matter.

See Jet Lag, Time Zones and Resetting Your Body Clock. People with relevant medical conditions or medicines should obtain appropriate clinical advice before considering a supplement.

What about delayed sleep-wake phase disorder?

A person with a delayed sleep-wake phase pattern may not become sleepy until much later than their social obligations allow. They may be able to sleep reasonably well when permitted to follow their natural later schedule.

NCCIH summarises evidence that appropriately timed melatonin can help some people with delayed sleep-wake phase disorder, while noting that benefits and possible harms need consideration.

A diagnosis requires more than the statement “I like going to bed late.” Lifestyle, age, light exposure, work or school schedules, and other causes must be considered.

Why teenagers are a special case

During adolescence, the circadian system often shifts later. Early school alarms can clash with that biological tendency, leaving the teenager unable to obtain enough rest even when they are genuinely trying.

This is not proof that the student has a melatonin deficiency or needs to take the hormone. Schedule design, morning light, evening activities, stress and sleep habits are important considerations.

Read Why Teenagers Feel Awake Late at Night for the broader explanation.

Can melatonin treat chronic insomnia?

Chronic insomnia may involve difficulty falling asleep, staying asleep or waking too early, with daytime effects. It can have several causes and may persist even when the person’s circadian timing is appropriate.

NCCIH states that clinical practice guidelines have not recommended melatonin supplements as a general treatment for chronic insomnia because evidence of effectiveness and safety is insufficient for that purpose.

For long-term adult insomnia, the US National Heart, Lung, and Blood Institute describes cognitive behavioural therapy for insomnia, CBT-I, as a leading first-line treatment. A clinician can decide what fits the individual’s situation.

Is melatonin safe for children?

This question needs greater care than a simple yes or no. Some short-term studies suggest benefit for selected paediatric sleep difficulties, but long-term effects and the right use in different children remain incompletely understood.

The American Academy of Pediatrics advises parents to make decisions about melatonin together with a child’s paediatrician, cautiously and carefully, rather than treating it as an ordinary bedtime food.

A 2025 international paediatric sleep expert consensus also addresses indications, timing and safety concerns because data remain sparse or inconclusive in several areas.

Why gummies can be a particular risk

Products presented as sweet-flavoured gummies can be attractive to young children. Accidental consumption of multiple pieces creates a safety concern, particularly when the child has no understanding that the product contains a hormone.

NCCIH cites a 2024 US report estimating thousands of emergency department visits over 2019–2022 associated with unsupervised melatonin ingestion in children aged five and younger.

Keep medicines and supplements secured and out of children’s reach and sight. Packaging that resembles sweets is not a reason to treat the contents as harmless.

Are labels always accurate?

Not necessarily. NCCIH describes investigations in which some US melatonin products, particularly gummies, contained amounts different from those claimed on their labels.

That does not mean every product in every country is inaccurate. It does show why online recommendations based on package claims can be unreliable and why product quality and regulation matter.

Different jurisdictions regulate melatonin differently, so advice from an overseas shopping site may not reflect local legal or clinical requirements. A healthcare professional or pharmacist can clarify the situation where you live.

Can it cause side effects?

Reported short-term side effects of supplemental melatonin can include headache, dizziness, nausea and daytime sleepiness. It can also interact with medicines, and long-term safety information is limited.

NCCIH highlights the need for medical supervision among people taking certain medicines, including anticoagulants, and for those with epilepsy. Pregnant or breastfeeding people should discuss use with a healthcare professional because safety evidence is limited.

A substance being sold without a prescription somewhere does not prove it is suitable for every person.

Why an adult’s dose is not a child’s dose

The need for melatonin, the relevant timing and any appropriate regimen can differ markedly between adults and children. A child’s age, developmental stage, underlying diagnosis and other medicines matter.

This is why providing a simple universal dose chart in a quick-read article would be irresponsible. A parent should not copy an adult’s supplement label or a social-media bedtime routine for a child.

The appropriate starting point is a paediatric assessment when sleep difficulties are persistent or significant, not a trial-and-error supplement experiment.

Example: a teen awake at midnight

Imagine a Secondary student who must get up at six each morning but rarely feels sleepy before midnight. A parent reads that melatonin is a “sleep hormone” and assumes a gummy will immediately solve the problem.

Several questions remain unanswered. Is the problem a delayed circadian pattern, late bright light, an overloaded study timetable, caffeine, anxiety or something else? Is adequate sleep opportunity available? Are there other symptoms?

Without that context, a supplement could distract from the real problem. A paediatric or sleep professional can assess the pattern if it persists.

Changed example: waking repeatedly from loud snoring

Another adult falls asleep readily but wakes unrefreshed, snores loudly and has observed pauses in breathing. Melatonin is not a treatment for obstructive sleep apnoea.

This person needs appropriate evaluation of nighttime breathing rather than a stronger hormone signal. See Snoring, Sleep Apnoea and Nighttime Breathing.

The two examples show why identifying the type of sleep difficulty matters more than choosing a supplement from a generic list.

Example: jet lag after flying east

A traveller flies east across several time zones and has trouble sleeping at the destination’s local bedtime. That is a circadian timing problem, not necessarily the same condition as lifelong insomnia.

Research suggests melatonin may have a role in selected jet-lag circumstances, but correct timing can be complicated. A traveller should follow suitable professional or authoritative travel-health guidance rather than guessing based on the destination clock.

Light exposure, safe travel routines and sufficient sleep opportunity remain important even if a clinician considers a supplement.

What happens if you turn off the lights?

Reducing unnecessary bright light near bedtime can make the environment more consistent with biological night. This does not guarantee immediate sleep, because stress, sleep pressure and circadian timing still matter.

Avoid treating complete darkness as a test that the body must pass. People have different housing, family responsibilities and light needs; a comfortable safe environment is the practical goal.

For children, predictable age-appropriate bedtime routines can be a good starting point. See Bedtime Routines for Children and Families.

What does sunrise do?

Daylight is an important signal to the circadian system. Morning light at an appropriate biological time can support the alignment of waking and sleeping patterns.

It is an oversimplification to say morning sunlight “destroys all melatonin” or automatically cures every sleep problem. The effect of light depends on timing, intensity and the person’s circadian phase.

The broader lesson is that light and darkness are part of the system that regulates sleep timing. A supplement is not a substitute for understanding that system.

Melatonin versus sleeping pills

Melatonin’s circadian role differs from the mechanisms of many prescription sedatives or hypnotic medicines. Grouping every sleep-related product under the label “sleeping pill” conceals important differences in effects, risks and indications.

Neither supplements nor prescription medicines should be mixed, started or stopped casually. Interactions and next-day impairment can be important for driving and other activities.

A clinician can explain whether behavioural treatment, circadian management, a prescribed medicine or another approach is appropriate.

What about older adults?

Ageing can change circadian timing, medical conditions, medication use and the continuity of sleep. Some older adults may also experience more persistent effects from a supplement.

NCCIH notes particular safety considerations for older adults, including the possibility of prolonged daytime drowsiness and cautions in certain clinical groups such as people with dementia.

Rather than assuming everyone over sixty needs melatonin because they wake earlier, consider the actual sleep pattern and health context. See Why Older Adults Wake Earlier.

Why a tracker cannot measure melatonin

A consumer watch may estimate sleep duration and stages indirectly from movement or heart-rate signals. It is not directly measuring blood or saliva melatonin concentrations.

A chart showing that your sleep began late does not establish a melatonin deficiency. Likewise, a high sleep score cannot confirm a normal hormone profile.

The Sleep Tracker Accuracy guide explains why proxy measurements must be interpreted cautiously.

A practical sequence before buying a sleep supplement

First, identify the main complaint: difficulty falling asleep, waking repeatedly, waking too early, or feeling tired despite sleep. Second, review how much sleep opportunity exists and whether the schedule is consistent with school or work.

Third, consider light, caffeine, stress and other obvious disruptions. Fourth, seek healthcare advice when difficulties are persistent, significant or accompanied by medical symptoms.

These steps are not a requirement to delay necessary care. They simply prevent the assumption that all sleep problems stem from a lack of melatonin.

When professional help matters

Seek appropriate assessment for persistent insomnia, significant daytime sleepiness, suspected apnoea, unusual parasomnias or concerns about a child’s sleeping pattern.

If a child may have accidentally ingested an excessive amount of melatonin or another medicine, contact appropriate urgent medical or poison-control services. Do not wait for symptoms based on the assumption that gummies are harmless.

A pregnancy, complex medical history or possible drug interaction is another reason to discuss use with a qualified professional before taking a supplement.

Frequently asked questions

Is melatonin a sleeping hormone?

It is a hormone involved in signalling circadian night and helping time sleep. It is not a guaranteed universal switch for falling asleep.

Does everyone need melatonin supplements?

No. The body normally produces melatonin, and most people do not automatically need supplements because they occasionally sleep poorly.

Does melatonin help jet lag?

It may help in selected cases when appropriately timed, but timing and personal medical factors are important.

Is melatonin recommended for chronic insomnia?

Major guidelines have not generally recommended it as a routine treatment for chronic insomnia because the evidence is insufficient. CBT-I is a leading evidence-based option for adults.

Can I give melatonin gummies to my child?

Discuss any use with the child’s paediatrician first. Long-term safety and appropriate use require care, and products must be stored securely.

Does melatonin help someone who snores?

It is not a treatment for sleep-related airway obstruction. Snoring with suspected pauses, gasping or severe daytime sleepiness warrants medical assessment.

Can you take melatonin every night indefinitely?

Long-term safety evidence is limited. Any regular ongoing use should be discussed with an appropriate healthcare professional.

Can melatonin interact with medication?

Yes. Certain medicines and medical conditions require particular caution. Disclose all supplements to your clinician or pharmacist.

Is melatonin legal and regulated the same way everywhere?

No. Product regulation and supply differ by country. Do not assume information about US dietary supplements describes Singapore or every other jurisdiction.

The important distinction: telling time versus forcing sleep

Did you know your brain’s own melatonin is part of a timing conversation with the outside world? Darkness, light, biological phase and behaviour all participate. That is more scientifically useful than imagining a fixed dose that guarantees sleep.

Good sleep decisions begin by identifying the problem. For families, especially, that means protecting age-appropriate sleep opportunity and seeking paediatric guidance rather than using supplements as routine shortcuts.

Explore the sleep series

Read Morning Light and Evening Screens, Teenagers and Late Bedtimes, Jet Lag and Circadian Resetting, Stress and Insomnia, Sleep, Growth Hormone and Children, and How Much Sleep Do You Need at Every Age?.

Authoritative reading

NCCIH: Melatonin—What You Need to Know; NCCIH: Sleep Disorders and Complementary Approaches; American Academy of Pediatrics: Melatonin for Children; 2025 International Paediatric Sleep Consensus; NHLBI: Insomnia Treatment.