Our admissions team is available now, 24/7
Complete guide · Hormones

MelatoninThe darkness hormone that tells your body bedtime is near

Reviewed by: Dr. Mahmoud El-Sawy Last updated: September 28, 2026 12 min read
The short answer

Melatonin is a hormone released by the pineal gland in the brain when darkness falls, and light suppresses it, so it rises in the evening, peaks at night and almost disappears by day. Its basic job is to tell the body that night has come and to set the timing of the body clock, not to force sleep the way sleeping pills do. That is why people nickname it the “sleep hormone,” but more precisely it is the “darkness hormone.”

  • Bright light in the evening, staying up late and night shifts delay its release.
  • Supplements exist, but they are not for children or pregnant women without a doctor, and we do not state any amounts.
  • There is no routine test for it, and a sleep disorder is assessed through symptoms and history.

What is melatonin?

Melatonin is a small hormone the body makes from the amino acid tryptophan, via serotonin, in a pea-sized gland deep in the brain called the pineal gland. It is the chemical messenger that translates “darkness” outside into a signal inside the body.

When melatonin rises in the blood in the evening, body temperature drops slightly, alertness falls and the body prepares for sleep. But it does not make a person lose consciousness or act like a sedative; someone resisting sleep can stay up even with it raised, and exposure to bright light at night suppresses its release. This is why scientists describe it as a timing regulator more than a sleeping pill.

Melatonin is also found in other tissues such as the gut, and its role as an antioxidant and in immunity is being studied, but these roles are still under research. The confirmed role is in the body clock and sleep.

How does the body clock control melatonin release?

  1. The eyes
    Receiving light

    Special cells in the retina, separate from the cells used for vision, are sensitive to light, especially blue light, and send a signal to the brain.

  2. Hypothalamus
    The master body clock

    A small nucleus above the crossing of the optic nerves that sets the body’s rhythm to a cycle of about 24 hours.

  3. Pineal gland
    Release in darkness

    When light fades, the clock lifts the brakes off the pineal gland and it begins releasing melatonin.

  4. The whole body
    The night message

    Melatonin binds to its receptors in the brain and other organs, setting the timing of sleep, temperature and other hormones.

Infographic: How does the body clock control melatonin release? Receiving light, then the master body clock, then release in darkness, then the night message
How does the body clock control melatonin release?

Melatonin usually begins to rise about two hours before your usual bedtime, peaks around the middle of the night, then falls toward morning, which is when cortisol begins to climb to prepare for waking. These two hormones work like the two ends of a daily seesaw.

What does melatonin do in the body?

Announcing night

Tells the organs it is night, so sleep, temperature, digestion and hormone release fall into step.

Setting the clock

Helps shift the body clock earlier or later, which is why it is used medically in some timing disorders.

Adapting to the seasons

The length of its release changes with the length of the night, which matters more in animals than in humans.

Roles under research

Antioxidant and immune effects studied in the lab, with no proven applications yet for the general public.

Why do light and screens stop melatonin release?

Light is the strongest signal that sets the body clock, and bright light in the evening suppresses melatonin and delays when it is released. In a Harvard study published in 2015, reading on a light-emitting tablet in the evening for several nights suppressed melatonin and delayed the timing of the body clock, with greater drowsiness the next morning, compared with reading a printed book.

It is not only screens; strong white lighting at home and in shops at night also has an effect. And exciting screen content, such as games, messages and social media, keeps the brain alert regardless of light. This ties in with many of the complaints in our phone addiction guide.

Is melatonin really the “sleep hormone”?

The nickname is common and understandable, but it is not accurate. Nocturnal animals, which are active in the dark, also release melatonin at night, so it means “night,” not “sleep.” In humans, melatonin opens the “gate to sleep,” but sleep itself also needs “sleep pressure,” which builds up over the hours of wakefulness, and a calm mind.

So someone with insomnia caused by anxiety, depression, pain or withdrawal from substances will often not solve the problem by raising melatonin alone; what keeps them awake is hyperarousal, not a missing “night signal.” The insomnia guide explains the causes and treatment in detail.

What is the link between melatonin and sleep during addiction recovery?

Disturbed sleep is among the most common complaints in the first weeks after stopping alcohol or drugs, and in some people in recovery it can last for months. The cause is not melatonin alone: the stress system is on high alert, the brain is resetting its transmitters, and daily habits have been turned upside down by years of staying up late and sleeping by day.

Alcohol in particular weakens melatonin release and spoils the structure of sleep, so a person who drinks thinks they fall asleep faster but wakes exhausted. After stopping, the daily rhythm needs time to return. Restoring routine helps here: morning light, fixed times, daytime activity, and fewer screens at night. A person in recovery is advised not to use any sleeping pills or supplements on their own, because some sleeping pills can themselves cause dependence, may interfere with treatment medicines, or may add dangerous drowsiness if a relapse happens and alcohol is drunk. It is best for the sleep plan to be part of the treatment program under medical supervision. The page on cortisol and addiction explains why stress rises at this stage.

Are melatonin supplements safe?

Melatonin is available as a supplement or a medicine in various forms, and its regulation differs between countries: in the United States it is sold as a dietary supplement, and in the United Kingdom it is a prescription medicine. According to the US National Institutes of Health, it is considered relatively safe in the short term for most adults, but long-term safety has not been well studied.

  • The contents may not match the label: In a 2023 study of melatonin gummies on the US market, the actual amount in most products differed from what was written, ranging from far less than stated to more than three times as much.
  • Drug interactions: It may interact with blood thinners, epilepsy medicines, sedatives, blood pressure and diabetes medicines, immunosuppressants and some antidepressants.
  • Side effects: Headache, dizziness, nausea and next-day drowsiness, so do not drive if you feel sleepy.
  • Children and pregnant women: It is not given to children and is not used during pregnancy and breastfeeding except under medical supervision.

Can melatonin be measured with a test?

It can be measured in saliva or blood, or by measuring its breakdown products in urine, but this is done in sleep centers and research under special conditions, chiefly repeated evening samples under dim light to pin down when its release begins. A random sample in an ordinary lab during the day is meaningless, because melatonin is almost absent in the daytime anyway.

So doctors diagnose sleep disorders from the medical history and a sleep diary kept for two weeks or more, sometimes a wrist-worn device that records activity and rest, or a sleep study in a lab when sleep apnea is suspected.

Melatonin myths and facts

Correcting common misconceptions about melatonin
The mythThe truth
Melatonin is a strong sleeping pillIt is a timing signal, and its effect on chronic insomnia is modest in most adults
It’s natural, so it’s safe for everyoneBeing a natural hormone does not mean the supplements are safe for children and pregnant women or with medicines
The more you take, the deeper you sleepA larger amount does not mean better sleep, and it may increase side effects
Putting your phone on night mode solves the problemIt may reduce blue light slightly, but brightness, stimulating content and the time of use matter more
Bananas and cherries replace insomnia treatmentSome foods contain tiny amounts and do not treat real insomnia
Infographic: Melatonin myths and facts: Melatonin is a strong sleeping pill; it’s natural, so it’s safe for everyone; the more you take, the deeper you sleep; putting your phone on night mode solves the problem; bananas and cherries replace insomnia treatment
The most common myths about melatonin, and the scientific facts

Melatonin guide: everything you need to know

We have gathered everything about melatonin into 2 pages, each answering one question in detail. Choose what you are looking for:

A child swallowed sleep supplements, or extreme drowsiness after mixing them with sedatives? Call an ambulance (123)

  • A child swallowed a quantity of melatonin pills or “sleep gummies,” even if they seem normal now
  • Extreme drowsiness or difficulty waking the person
  • Slow or difficult breathing, or bluish lips
  • Taking sleep supplements with alcohol, sedatives or opioid painkillers, followed by confusion or unsteadiness
  • Long-standing insomnia with severe despair or thoughts of death or self-harm

Call an ambulance (123) or go to the nearest emergency department immediately, bring the product packaging so the contents are known, and do not try to induce vomiting. If the person is asleep and breathing, place them on their side and stay beside them until help arrives. If there are thoughts of death or self-harm, do not leave them alone and call the mental health support line 16328 (24 hours).

Ambulance 123 Mental health support line 16328
Frequently asked questions

Frequently asked questions about melatonin

Didn’t find your answer?

Ask an advisor directly. The reply is confidential and carries no commitment.

Ask on WhatsApp
What is the difference between melatonin and sleeping pills?

Sleeping pills suppress the nervous system to bring on sleep, while melatonin is a timing signal that tells the body night has come. That is why its effect is gentler and more useful in timing disorders.

At what time does the body start releasing melatonin?

It usually starts about two hours before your usual bedtime if the lighting is dim, peaks around the middle of the night, then falls toward morning.

Does the body release melatonin during the day?

Its blood level almost disappears in the daytime, because light suppresses its release, so there is no point in measuring it in a random daytime sample.

Does melatonin decrease with age?

Studies indicate that its nighttime release declines in many older adults, which is one reason their sleep changes, but sleep in older age is also affected by many other causes.

Does melatonin cause addiction?

It is not considered an addictive substance and, according to the available information, does not cause dependence the way known sleeping pills do. But psychological reliance on any sleeping pill is possible, and it is better to treat the cause of the insomnia.

Is melatonin safe for children?

It is given to children only under a doctor’s supervision. The American Academy of Sleep Medicine has warned against using it without consultation, and US data has recorded a large increase in cases of children swallowing it.

Can melatonin be taken during pregnancy?

There is not enough data on its safety in pregnancy and breastfeeding, so it is used then only if the doctor decides the benefit outweighs the risk.

Does the body make melatonin from serotonin?

The body makes melatonin from serotonin inside the pineal gland, but that does not mean raising one automatically raises the other in a useful way.

Need help with melatonin?

Your information is confidential and is not shared with anyone

Call WhatsApp Consultation