What Is Melatonin?

Medically Reviewed by Jennifer Robinson, MD on November 16, 2022
2 min read

Melatonin is a hormone made by the pineal gland. That's a pea-sized gland found just above the middle of your brain. It helps your body know when it's time to sleep and wake up.

Normally, your body makes more melatonin at night. Levels usually start to go up in the evening once the sun sets. They drop in the morning when the sun goes up. The amount of light you get each day -- plus your own body clock -- set how much your body makes.

You can also buy melatonin supplements. They come in pills, liquids, and chewables. You might find them in natural or synthetic forms. The natural forms are made from the pineal gland in animals.

People use melatonin when they have occasional insomnia -- trouble falling asleep and staying asleep. They also take it for some other sleep problems. This could include something called delayed sleep phase disorder. If you have that, falling asleep before 2 a.m. is tough. So is getting up in the morning.

However, melatonin can't take the place of a doctor's care for serious sleep disorders like obstructive sleep apnea, narcolepsy, or long-term insomnia. 

Folks may try melatonin if they have jobs that disrupt typical sleep schedules, a condition called sleep work disorder.

It's used to treat or prevent jet lag, too. That's the tired, run-down feeling some get when they're traveling across time zones.

Doctors are also studying to see if melatonin can help with:

While melatonin generally brings fewer side effects than other sleep medicines, you could still have:

Melatonin supplements might cause problems if you take them with some medicines, including:

Tell your doctor if you're thinking about taking any supplement, especially if you take any medicine or have a health condition.

The natural form of melatonin might have a virus or other issues. If you take melatonin, pick a synthetic type.

Everybody reacts differently to medicines and supplements, so melatonin may or may not work for you.

Some studies say it could help with jet lag and some sleep issues like delayed sleep phase disorder, shift work disorder, and some sleep disorders with children.

Other research shows it may let people with insomnia fall asleep slightly faster. It may also help you sleep better through the night, but not necessarily longer.

Still more studies have shown that melatonin doesn't help sleep problems at all. There's also not enough research to say it helps with any issues not related to sleep.