DokportTehty Suomessa

Melatonin: Dosage, Side Effects and When It Helps With Insomnia

15 min read30.10.2026

Key points

  • Melatonin is the body's own darkness hormone, and as a supplement it helps mainly with rhythm-related sleep problems such as jet lag, shift work and delayed sleep phase.
  • The usual adult dose is 1–5 mg in the evening, and timing matters as much as the dose itself.
  • Side effects are generally mild and rare, most commonly tiredness, drowsiness, dizziness and headache, and dependence does not develop according to current knowledge.
  • In children melatonin is used only after a doctor's assessment, and it is not recommended for those under six or during pregnancy and breastfeeding.
  • Insomnia lasting more than a few weeks warrants a doctor's assessment, and insomnia with severe depression or thoughts of self-harm requires urgent help.
Melatonin: Dosage, Side Effects and When It Helps With Insomnia
Doctor available now
Help is near. Ask a doctor in the chat.
Remote appointment
Ask a doctor

Melatonin is the body's own darkness hormone, the signal that tells you evening is approaching and it is time to prepare for sleep. The same substance is also sold as tablets, sprays and liquid solutions, and many people try it when falling asleep becomes difficult, when their daily rhythm is out of sync or when a long flight across time zones lies ahead. This article explains how melatonin works, which doses are typical, what side effects can occur and when it makes sense to talk to a doctor about sleep problems. The aim is to give you a clear picture of what the supplement can and cannot be expected to do.

The darkness hormone and your internal clock

A small gland deep in the centre of the brain, the pineal gland, produces melatonin from serotonin. Most of the hormone is made in darkness, which means in the evening, at night and during winter, and less is produced when it is light. As blood levels rise in the evening, readiness for sleep increases, and when morning light reaches the eyes, secretion fades and alertness returns. In this way the hormone acts as a kind of pacemaker that keeps the internal clock aligned with the 24-hour day.

This also explains why melatonin works differently from traditional sleeping pills. It does not force anyone to sleep; instead, it signals to the body that it is night. For this reason it tends to help most when the problem is specifically about rhythm, such as jet lag, shift work or a bedtime that has gradually drifted later and later. If sleep is broken by worry, pain or anxiety, the hormonal signal alone may not be enough.

The body's own production usually declines with age. This is one reason why sleep in older adults becomes lighter and more fragmented, and why a prolonged-release product can benefit them. Bright light in the evening, especially the blue light from screens, can also delay the rise of melatonin and thereby delay falling asleep.

Melatonin for sleep: who can benefit

For many people, melatonin is considered a workable option for milder and temporary insomnia. Its advantage is that, according to current knowledge, its use does not carry a risk of developing dependence, unlike several traditional sleeping pills. Nor does it impair memory, which often makes it a practical choice, particularly for older people. For these reasons, hormone preparations have in many places replaced older sleeping pills in the treatment of milder insomnia.

Typical situations in which melatonin may help include jet lag after a long flight, rhythm disturbance related to shift work, delayed sleep phase, in which falling asleep only becomes possible well after midnight, and the light, fragmented sleep of older adults. In delayed sleep phase, the dose is often taken as early as the early evening, which can gradually move the time of falling asleep earlier. Timing here matters just as much as the dose itself.

Melatonin is not a solution to every sleep difficulty, however. If insomnia is driven by strong anxiety, fears, depression or long-standing stress, the benefit often remains modest. In such cases the essential step is to treat the underlying cause, and a doctor can assess which combination of measures would help most. In the treatment of insomnia, medication is generally not recommended as the first step before everyday sleep habits have been reviewed.

Melatonin dosage and the right timing

The melatonin dose commonly used by adults is 1–5 mg in the evening. In some situations a doctor may consider a higher dose, but a larger amount does not automatically mean better sleep. Many people get a sufficient effect from a small dose, so it is usually best to start with the lowest amount that works.

For jet lag, a common practice is to take a 3 mg tablet at the usual local bedtime on the first day of travel and to continue for no more than a few days. If the effect remains weak, the dose can be increased to 5 mg, which is a common daily upper limit for self-care. A short course is usually enough for the body to adapt to the new time zone.

Timing matters in everyday life too. A fast-acting product is usually taken about 30 to 60 minutes before the desired time of falling asleep, whereas a dose aimed at shifting the rhythm may be taken several hours earlier. It is best taken a couple of hours before or after a meal, and alcohol should be avoided at the same time because it weakens the effect. If you are unsure which timing would suit your situation, a doctor or pharmacist can advise you.

It is worth assessing the effect calmly over a few evenings before changing the dose. If you like, keep a short sleep diary in which you note the time you took it, when you fell asleep and how alert you felt the next morning. This shows you whether melatonin genuinely helps or whether the difference is mostly wishful thinking. The diary is also useful if you later discuss your sleep difficulties with a doctor, because it gives the assessment a concrete basis.

Prolonged-release and fast-acting products

There are two main types of melatonin product. Immediate-release melatonin raises the level in the blood quickly and mainly helps you fall asleep. It is therefore suited to jet lag, for example, and to situations where the problem lies specifically in falling asleep in the evening.

Prolonged-release melatonin is released into the body slowly over several hours and mimics the natural nightly secretion. It is used particularly to treat insomnia in people over 55 when sleep is light and interrupted during the night. This form is often a prescription medicine, and its use is best agreed with a doctor so that the dose and duration of treatment suit you.

The form makes a practical difference. If the problem is waking at three in the morning, a fast-absorbing tablet may not help, because its effect has already worn off. If, on the other hand, falling asleep stretches far into the night, a prolonged-release product may feel too slow. The right choice therefore depends on which part of the night is causing difficulty.

Jet lag, shift work and delayed sleep phase

With jet lag, the internal clock still shows the time of the departure country even though the body is already in another time zone. Symptoms can include difficulty falling asleep, waking at night, daytime tiredness, poor concentration and stomach upsets. Melatonin helps the clock shift to the new rhythm more quickly, and the effect is supported by spending time outdoors in daylight and eating according to the local schedule as soon as you arrive.

In shift work, the problem is that sleep has to happen at a time when the body is biologically awake. Melatonin may help support daytime sleep after a night shift, but it is equally important to darken the bedroom properly, wear sunglasses on the morning journey home and keep the rhythm between shifts as regular as possible. If shift work causes persistent exhaustion, it is worth discussing with a doctor.

In delayed sleep phase, falling asleep only succeeds late at night, but sleep itself is normal when it can be completed. This is especially common in young adults. A small dose taken early in the evening, several hours before the desired bedtime, combined with bright light in the morning, can gradually shift the rhythm earlier. The change usually takes weeks rather than days, so patience pays off.

Choosing a product and checking its quality

Melatonin products are sold in very different ways in different countries. In some countries low doses are dietary supplements and higher doses are medicines, while in others all strengths are prescription medicines. The quality and content of a product approved as a medicine are regulated, whereas in dietary supplements the actual amount may vary more than the packaging suggests.

For this reason it is advisable to favour products obtained from a pharmacy and to read the package leaflet carefully. Gummies, sprays and tablets do not in principle differ in effect if the dose and speed of absorption are the same. Gummy products resemble sweets, however, so it is especially important to keep them out of children's reach.

Remote doctor's appointment
Help is near. Ask a doctor in the chat.
A doctor assesses your symptoms and health in the chat, gives personal advice and, if needed, a prescription.
Start online consultation

Melatonin side effects and safety

Melatonin is generally considered well tolerated, and side effects are rare. The most common melatonin side effects are tiredness, drowsiness, dizziness and headache. Some users experience slight heaviness or grogginess in the morning, especially if the dose has been large or taken too late. For this reason, it is best to avoid driving and operating machinery if you feel drowsy the next day.

According to current knowledge, dependence on melatonin does not develop, and stopping it usually does not cause withdrawal symptoms in the way many traditional sleeping pills do. The safety of long-term use, however, has not been studied as thoroughly as that of short-term use. It is therefore wise to discuss continuous use lasting months with a doctor, so that it is clear what the treatment aims to achieve and whether it is still needed.

Weight gain is not among the usual side effects of melatonin. If your weight has started to rise, the cause is more often found elsewhere, for example in lack of sleep itself, changes in eating or other medicines you are taking. Likewise, changes in liver values are not a typical finding, but if you have liver disease, it is best to agree on use with a doctor, because the liver takes part in clearing the hormone from the body.

Interactions with other medicines

Some medicines change how the body processes melatonin. For example, the antidepressant fluvoxamine raises its level in the body significantly, and the two should not be used together. Preparations containing oestrogen, such as some contraceptive pills and hormone replacement therapy, can also raise the level, in which case it is advisable to start with a lower dose than usual.

Safety has not been studied in people with autoimmune diseases, which is why they are not advised to use melatonin without a doctor's assessment. Use is not recommended during pregnancy or breastfeeding. If you regularly take another medicine, such as a blood thinner, an anti-epileptic drug or another medicine acting on the central nervous system, always check combined use with a pharmacist or doctor before starting.

Alcohol and sleep do not go well together in any case. Although alcohol in the evening may initially make it easier to fall asleep, it worsens sleep quality in the later part of the night. Combined with melatonin, it also weakens the product's effect and can intensify the symptoms of jet lag, for example.

Melatonin for kids: what parents should know

Sleep difficulties in children are common in families, and many parents wonder whether melatonin could help. In children, however, it is used only on the basis of a doctor's assessment, and it is not recommended for those under six because its effects in this age group have not been studied sufficiently. It is not recommended at all for self-treatment of jet lag in anyone under 18.

For some children and adolescents, for example in certain neurological or developmental conditions, a doctor may prescribe it to support the sleep rhythm. The effects of long-term use in children and adolescents have not been studied extensively, so treatment is monitored regularly. Possible adverse effects in children include daytime tiredness and mood swings.

Before turning to tablets for a child's sleep, it is worth looking at evening routines, screen time and the daily rhythm. A regular bedtime, a calm evening and a dark bedroom often help more than any product. Always store hormone preparations out of children's reach, just like other medicines.

Home remedies for insomnia before medication

Good sleep is built during the day, not only once you are in bed. A regular wake-up time, including at weekends, daylight in the morning, exercise during the day and avoiding caffeine from the afternoon onwards all support the internal clock in the same way melatonin does. In the evening, dimming the lights and switching off screens an hour before bed gives the body the chance to secrete its own darkness hormone naturally.

The bedroom should be cool, dark and quiet, and the bed is best kept mainly as a place for sleeping. If sleep does not come within about 15 minutes, it may be better to get up for a while, do something calm in dim light and return to bed only when you feel sleepy. Long naps in the afternoon can push back the time you fall asleep in the evening.

Worries and a racing mind in the evening are a common reason why sleep will not come. Some people find it helps to write their worries down on paper early in the evening, while others benefit from a relaxation exercise or calm breathing. If sleep difficulty continues for weeks despite changes in daily habits, it is better to explore the causes together with a doctor than to increase the dose on your own.

When to see a doctor about sleep problems

An occasional bad night is part of life and does not require treatment. You can monitor the situation at home if the sleep difficulty is linked to a clear cause, such as travel, a stressful week or illness, and eases within a few days. A short trial of melatonin for jet lag or a temporary rhythm disturbance is also often suitable as self-care for an adult with no contraindications.

It is worth seeing a doctor if insomnia continues for more than a few weeks, if daytime alertness and functioning are clearly affected, or if you need help falling asleep almost every night. Likewise, get in touch if you snore heavily and wake up tired, if someone close to you has noticed pauses in your breathing during sleep, or if you take other medicines and want to make sure combined use is safe. Insomnia in children should always be assessed by a doctor before any product is started.

Urgent help is needed if insomnia is accompanied by severe depression, hopelessness or thoughts of self-harm, or if lack of sleep has led to a feeling that your grip on reality is slipping. In these cases, do not wait: it is important to go to an emergency department immediately or call the emergency number. Similarly, if you have accidentally taken a large amount of several different medicines, call a poison information service or the emergency number.

Doctor's assessment and treatment options for insomnia

At an appointment, the doctor usually asks how long the sleep difficulty has lasted, what it is like and what might lie behind it. The key is to establish whether the problem is falling asleep, waking during the night or waking too early, and how your days are going. Mood, stress, pain, alcohol use and other medicines are also reviewed, as they affect sleep significantly.

The foundation of treatment is almost always changing sleep habits and treating underlying causes. There are effective non-drug treatments for insomnia that work through the thoughts and habits that keep sleeplessness going. Medication can be considered alongside this, and melatonin is often among the first options, particularly for milder or rhythm-related insomnia and in older adults.

If insomnia is linked to depression, anxiety or pain, for example, the doctor may suggest treatment that also addresses the underlying problem. Sometimes further tests are needed, for instance when sleep apnoea or restless legs are suspected. Treatment is reassessed once its effect has been followed for a few weeks.

How can Dokport help with insomnia and sleep aids

If your sleep has been poor for a long time or you are wondering whether melatonin would suit you, Dokport gives you quick access to a remote doctor. The doctor can assess your situation via chat, go through the nature of your sleep difficulty and any other medicines you use, and give individual guidance on which dose, form or timing might suit you. A remote consultation works well, for example, when you want to confirm that combined use is safe or consider whether a prolonged-release product would benefit you.

The doctor may prescribe medication or sick leave if, based on their assessment, it is appropriate for your situation. If your symptoms point to sleep apnoea, depression or another condition that requires closer investigation, the doctor will direct you to further tests or to an in-person appointment. The aim is for you to get a doctor's support for sleep problems quickly, easily and safely, without a long wait.

Summary

Melatonin is the body's own rhythm hormone, and as a supplement it helps particularly with jet lag, shift work, delayed sleep phase and the light sleep of older adults. The usual adult dose is 1–5 mg in the evening, and side effects are generally mild, such as tiredness, dizziness or headache. According to current knowledge it does not cause dependence, but long-term use, use in children and combined use with other medicines are best agreed with a doctor.

The best results come when the supplement is used as part of a wider approach. That approach includes a regular rhythm, daylight, exercise and a calm evening. If sleep difficulty persists or is accompanied by low mood, a doctor's assessment helps find the cause and the right treatment.

Written by Dokport's medical director and chief physician Anna Sipilä

Need a doctor?

Describe your symptoms in a remote appointment — a doctor assesses your situation 24/7.

Start online consultation
FAQ

Frequently asked questions

What does melatonin do in the body?
Melatonin is a hormone secreted by the pineal gland that signals to the body that evening and night are approaching. It increases readiness for sleep and helps keep the daily rhythm steady.
How quickly does melatonin start to work?
A fast-absorbing product usually starts to work within about 30 to 60 minutes. For this reason it is best taken shortly before the time you want to fall asleep.
What is a typical melatonin dose for adults?
Adults usually take 1–5 mg in the evening. It is best to start with the lowest dose that works, because a higher dose does not automatically improve sleep.
Can I take melatonin every night?
Short-term use is generally safe, but the safety of long-term use has not been studied as thoroughly. Continuous use is worth discussing with a doctor.
Is melatonin addictive?
According to current knowledge, dependence does not develop. Stopping usually does not cause withdrawal symptoms in the way many traditional sleeping pills do.
What are the most common melatonin side effects?
The most common are tiredness, drowsiness, dizziness and headache. Side effects are generally mild and rare.
Does melatonin cause weight gain?
Weight gain is not among the usual side effects of melatonin. If your weight rises, the cause is usually found elsewhere, for example in lack of sleep or other medicines.
What is the difference between prolonged-release and regular melatonin?
A regular product is absorbed quickly and mainly helps you fall asleep. A prolonged-release product is released slowly and can help if sleep is interrupted during the night, especially in people over 55.
Can melatonin be given to a child?
In children, melatonin is used only on the basis of a doctor's assessment, and it is not recommended for those under six. Before trying a product, it is worth looking at the child's evening routines and daily rhythm.
Does melatonin help with jet lag?
Yes, jet lag is one of the situations in which melatonin is useful. The dose is usually taken at local bedtime for a few days.
Can I drink alcohol with melatonin?
Alcohol is best avoided, because it weakens the effect of melatonin and worsens sleep quality. Together they can also increase drowsiness.
Can melatonin be used during pregnancy?
Use is not recommended during pregnancy or breastfeeding. If sleep difficulties are troubling you during pregnancy, it is worth discussing them with a doctor.
Can melatonin be taken with contraceptive pills?
Preparations containing oestrogen can raise melatonin levels. Use is possible, but it is best to start with a lower dose.
Why is melatonin not working for me?
If insomnia is driven by stress, anxiety, pain or depression, a rhythm hormone alone may not be enough. The wrong timing or product form can also weaken the effect.
Can I drive after taking melatonin?
The product can cause drowsiness and impair driving ability. It is best to avoid driving if you feel drowsy.
When should I see a doctor about insomnia?
A doctor's assessment is appropriate if insomnia lasts more than a few weeks or clearly affects your daytime functioning. Urgent help is needed if sleep difficulty is accompanied by severe depression or thoughts of self-harm.
Can a remote doctor help with insomnia?
A remote doctor can assess the nature of your sleep difficulty, review your medicines and give individual guidance. If needed, the doctor will refer you for further tests or to an in-person appointment.