Melatonin

NHS information about the medicine melatonin, including what it's used for, who can take it, how to take it and side effects.

What melatonin is for

Melatonin is a medicine used to treat sleep problems, such as difficulty getting to sleep or staying asleep (insomnia).

It's also used to treat sleep problems in people with learning disabilities and children who have ADHD.

It can be prescribed if other methods have not worked.

It's sometimes used to help with symptoms of jet lag, which include tiredness and difficulty sleeping after travelling across different time zones.

Melatonin is a hormone made by your body which regulates your sleep and wake cycle.

How to take melatonin

Melatonin usually comes as tablets, capsules or liquid (oral solution) that you swallow.

How much you take and how long for will depend on why you're taking it and your symptoms.

When taking melatonin tablets or capsules:

When taking melatonin oral solution:

Check the leaflet that came with your medicine for advice on whether you can take it with food.

Always check the packet or leaflet that comes with your medicine. Ask a pharmacist or doctor for advice if you're not sure how to take it or have any problems taking it.

Side effects of melatonin

Like all medicines, melatonin can cause side effects, although not everyone gets them.

Side effects of melatonin include:

Do not drive, ride a bike or use machinery after you take melatonin because it can make you sleepy. If you feel sleepy, wait until you no longer have these symptoms.

More about side effects

These are not all the side effects of melatonin.

For a full list, see the leaflet that comes with your medicine or search for your medicine leaflet on the electronic medicines compendium website.

You can report any side effects you get on the Yellow Card website

Who can and cannot take melatonin

Most adults can take melatonin. It's sometimes also prescribed for children.

But melatonin is not suitable for everyone. For example, it may not be suitable if:

Before taking melatonin, tell your doctor if you have any medical conditions, or if you smoke.

Breastfeeding and melatonin

Tell your doctor if you're breastfeeding. They may prescribe a different medicine to help with your sleep problems.

Melatonin is not usually used while breastfeeding because there's a risk it could cause your baby to have side effects.

Do not sleep in the same bed (co-sleep) with your baby if you've taken melatonin or any other medicine that makes you sleepy or drowsy, as it can increase the risk of sudden infant death syndrome (SIDS).

Pregnancy and melatonin

Melatonin is not usually used during pregnancy. Tell your doctor if you're pregnant or trying to get pregnant.

They may give you advice to help you sleep or prescribe a different medicine.

Taking melatonin with other medicines, food and drink

There are some medicines, remedies and supplements that may not mix well with melatonin.

This includes:

Before taking melatonin, tell your doctor if you're taking any other medicines, herbal remedies, vitamins or supplements.

Food, drink and alcohol with melatonin

You can eat and drink as normal while taking melatonin, but check the leaflet that came with your medicine for advice on whether you can take it with food.

Try to avoid alcohol while taking melatonin because it can stop your medicine working properly, and increase your chance of having side effects.

Find out more about your medicine

To find out more about your medicine, you can: