Transparency Disclosure — We may receive a referral fee for products purchased through the links on our site…Read More.

What Are the Side Effects of Melatonin?

Melatonin is a hormone that we all naturally produce. Its production increases when it is dark1, signaling to our bodies that it is time to get sleepy, and it decreases when it becomes light, signaling to our bodies it is time to wake up. 

Melatonin supplements, on the other hand, are often created synthetically, and you can take them in the form of capsules, tablets, liquids, gummies, or even patches2. These are used to help people sleep3 by helping to regulate their circadian rhythm, the body’s natural sleep-wake cycle. 

Melatonin is generally considered safe to take on a temporary basis, especially if people find it beneficial.1 However, that doesn’t mean it can’t have side effects. 

Read Our Guide: Melatonin: Everything You Should Know

Side Effects of Melatonin 

Experts consider occasional or short-term melatonin use to be safe for most people, and the risk of side effects is low.2, 3 

That said, there are possible side effects4 that can happen when taking melatonin. 

  • Daytime fatigue – The most common side effect of melatonin is fatigue in the morning after taking it.4 If this happens to you, try lowering your dose and making sure you’re taking it two hours before bed.
  • Headache – Melatonin may cause a headache in some people. To combat this, England’s National Health Service (NHS) recommends drinking plenty of water if you’re taking melatonin. They also advise avoiding alcohol because it can make you dehydrated and impact the way melatonin works.4 
  • Stomach issues – Some people report stomach aches or nausea when using melatonin.4 That said, some research has shown that melatonin may help with IBS due to its slight pain-relieving effects.2 Additionally, its ability to regulate the circadian rhythms of our gut bacteria5 could be helpful as well.
  • Dizziness – The NHS recommends avoiding driving, cycling, or using any tools or machinery if melatonin has made you dizzy. Additionally, alcohol can worsen your dizziness, so avoid mixing melatonin and alcohol.4 
  • Irritability – Some people report irritability or restlessness when taking melatonin.4 If this happens to you, it may very well be because you’re taking too high a dose.2 Try lowering your dose, and if this doesn’t work, stop taking melatonin. 
  • More vivid or strange dreams – According to the NHS, taking melatonin may lead to more strange dreams.4 Supplemental melatonin can increase the amount of time spent in REM sleep6, which is the portion of our sleep cycle when vivid dreams are more likely to occur. This means you could be more likely to dream since you’re in REM sleep longer, however, experts say it’s not clear whether melatonin directly causes more vivid dreaming.6

Melatonin may also interact with other medications and/or supplements, so we encourage anyone considering melatonin to contact their healthcare provider first.

Side Effects of Melatonin in Children 

Supplemental melatonin is generally considered safe for kids7 as long as the dose is appropriate and any behavioral or environmental issues impacting sleep are also addressed. However, melatonin may affect children differently than adults. 

For example, experts say that melatonin production declines at the onset of puberty8

Since this drop in melatonin is a natural process before puberty, some experts hypothesize that giving your prepubescent child melatonin could delay puberty, though more research is needed to confirm this.8

Children may also be more susceptible to nightmares and vivid dreams with melatonin supplements. Kids naturally spend more time in REM sleep9, and as mentioned, taking supplemental melatonin seems to increase the time spent in REM sleep, which is when vivid dreams and nightmares often occur.6 

Other side effects for children taking melatonin are similar to those of adults: headaches, dizziness, mood changes, and morning grogginess.7 These side effects should disappear with discontinuation. 

It’s also important to note that most of the research done on children and melatonin is in kids with ADHD rather than kids without attention disorders. Therefore, more research is needed. 

Learn more: A Guide to Melatonin for Kids 

Melatonin Safety

Before taking any new supplements or altering your current dose, we strongly encourage you to consult your healthcare provider. 

When taking melatonin it is important to remember that more is not always better. Some experts advise taking 1 to 3 milligrams two hours before bed.3 That said, this dosage is a general recommendation, and you should discuss dosage with your healthcare provider to ensure you take the proper amount for you. 

Melatonin timing is important because two hours before bedtime is about when your body naturally starts producing melatonin in the absence of artificial light.1 So to help maximize its effectiveness, you’ll also want to dim the lights and stop looking at screens at about this time.3 

If lowering the dose and taking it earlier does not mitigate your side effects, you can stop taking melatonin at any time without worrying about weaning off of it10. Unlike other sleep medications where you need to take more of it over time or experience a “hangover” effect in the morning, melatonin is considered to be non-addictive or habit-forming from a physiological standpoint11

However, it’s important to note that because melatonin is sold as a dietary supplement in the United States, it is not as strictly regulated by the Food and Drug Administration (FDA) as prescription medications. This means that when you buy your melatonin supplement, you’ll have no real way of knowing how much melatonin (or other ingredients) are actually in the supplement unless the brand does third-party testing, which is not industry standard at the moment unfortunately.

This is why it is important to buy a melatonin supplement from a high-quality, reputable brand. For example, look for supplements approved by the U.S. Pharmacopeia12, a third-party organization that helps provide product transparency for consumers. You can look for the words “USP verified” on the label. 

Who Should Avoid Melatonin?

Although this supplement is generally considered safe, certain populations should avoid taking melatonin13

  • Those who have a melatonin allergy – If you’ve ever had an allergic reaction to a supplement containing melatonin or any other medication, you should not take melatonin.13 
  • Those with liver or kidney problems – The National Health Service advises against taking melatonin for those with liver or kidney problems.13 However, there has been research looking at melatonin’s role in potentially healing the liver14 and kidneys15, so more information is needed. 
  • Those taking medications that could interact – Melatonin may interact with certain medications, potentially impacting their efficacy.  According to the Mayo Clinic16, these include drugs for blood clots, seizures, blood pressure, the central nervous system, diabetes, and contraception — among others. 
  • People with autoimmune disorders – If you have lupus, multiple sclerosis, rheumatoid arthritis, or any other autoimmune condition, you should avoid supplemental melatonin as it may stimulate inflammation.13 

Can You Overdose on Melatonin? 

Let’s quickly clarify the difference between an overdose and a lethal dose. An overdose17 means you’ve taken too much of something (a “toxic” amount) and are experiencing side effects as a result. A lethal dose means you have taken so much of something that it kills you. 

You can overdose on melatonin, meaning you can take too much of it and experience side effects. The most common side effects of a melatonin overdose18 are drowsiness, dizziness, headache, fatigue, confusion, bad dreams, hypothermia, tachycardia, and hypotension.

Learn more: Can You Overdose on Melatonin?

When Should You Seek Medical Help? 

More serious melatonin side effects are rare, affecting less than 1 in 1,000 people. That said, if after taking melatonin you experience changes in your eyesight, feel faint or pass out, start feeling confused, experience vertigo, or have unexplained bruising or bleeding that does not stop, you should discontinue use and call your healthcare provider or 911.4 

In very rare cases, it is possible to have a serious allergic reaction to melatonin, which includes symptoms such as4:

  • Sudden swelling of the lips, tongue, mouth, or throat
  • Struggling to breathe
  • Inability to swallow
  • The skin, tongue, or lips suddenly turn blue, gray, or pale
  • A skin rash that is swollen, itchy, blistered, or peeling
  • Sudden confusion, dizziness, or drowsiness
  • Fainting and not waking up
  • A child going limp, floppy, or not responding as they normally do

If any of these symptoms of an allergic reaction occur after taking melatonin, you should discontinue use and seek emergency medical care. 

Additional Sleep Tips 

If you either can’t or would prefer not to take melatonin, there are other ways to get better sleep through daily sleep hygiene habits. Many of these can also complement the effects of melatonin supplementation. 

  • Increase your melatonin naturally – You can help your body’s natural melatonin production by dimming the lights at night and cutting off screen devices like smartphones and laptops at least one hour before bed.1 You can also eat more melatonin-boosting foods19 like eggs, fish, nuts, seeds, legumes, mushrooms, and certain cereals. 
  • Establish a regular sleep schedule – Going to bed and waking up at the same time each day can help regulate your circadian rhythm and get your sleep schedule back on track. 
  • Practice a nightly routine – Introducing a regular, relaxing nighttime routine can help you wind down before bed and tell your body it’s time to rest. Some great examples of nighttime rituals are baths, reading a book, journaling, meditation, or gentle stretching.
  • Create an ideal sleep environmentYour bedroom should be dark to promote melatonin production. However, keeping it cool and quiet can also foster better sleep. Additionally, sleeping on a quality mattress and comfortable bedding can help you feel even more ready for sleep.
  • Avoid alcohol at night – Research shows that alcohol negatively impacts sleep20. Therefore, avoid consuming alcohol at night if you’re having sleep issues. 
  • Stop drinking caffeine in the afternoon – You should have your last cup of coffee at least six hours21 before you plan to go to bed since caffeine can stay in your system for up to six hours. 
  • Avoid large meals at night – Eating a big meal late at night could negatively impact your sleep, possibly causing discomfort or indigestion. Research shows that eating three hours22 or more before bed is ideal.
  • Add in regular exercise – Regular exercise has been proven23 to help you fall asleep more quickly and improve overall sleep quality. 
  • Limit afternoon naps – Afternoon naps can impact your ability to fall asleep at night. If you do need to take a nap, limit it to 10 to 20 minutes24 so it won’t negatively impact your sleep that night.
  • Try magnesium instead – Certain types of magnesium supplements may help with sleep. Just like with melatonin, speak with your healthcare provider before introducing any to your daily routine.

Learn more: Magnesium vs. Melatonin

Frequently Asked Questions

What are the negative side effects of melatonin?

Melatonin is generally considered to be safe with a low risk of side effects.2, 3 However, if you do experience melatonin side effects, they are most likely to be morning fatigue, headache, grogginess, vivid dreams, upset stomach, or irritability.4 If you experience any of these melatonin side effects, you can try lowering the dose or you can stop taking the supplements completely. Side effects should disappear with discontinuation.

Is 10 milligrams of melatonin too much?

In general, it’s advised that people start with smaller doses, such as 1-3 milligrams two hours before bedtime.3 While 10 milligrams hasn’t been associated with negative side effects, researchers recommend25 doctor supervision at a dose this high.

Is it harmful to take melatonin every night?

Traditionally, healthcare providers have recommended taking melatonin supplements only occasionally or short-term (one to two months).3 However, research is being conducted about melatonin’s potential benefits and risks when taken long-term26, especially in certain populations.

Natalie Grigson

Natalie Grigson


About Author

Natalie is a content writer for Sleep Advisor with a deep passion for all things health and a fascination with the mysterious activity that is sleep. Outside of writing about sleep, she is a bestselling author, improviser, and creative writing teacher based out of Austin.

Side Sleeper


  1. Arendt PhD, Josephine., Aulinas MD PhD, Anna. “Physiology of the Pineal Gland and Melatonin”. Endotext. Last modified October 30, 2022. 
  2. Savage, Rosemary A., et al. “Melatonin”. StatPearls. Last modified August 8, 2022. 
  3. “Melatonin for Sleep: Does It Work?”. Johns Hopkins Medicine. Webpage accessed December 31, 2023. 
  4. “Side effects of melatonin”. National Health Service. Last modified February 13, 2023. 
  5. Fowler, Sophie., et al. “Circadian Rhythms and Melatonin Metabolism in Patients With Disorders of Gut-Brain Interactions”. Frontiers in Neuroscience. 2022. 
  6. “Can Melatonin Cause Bad Dreams? What Experts Say”. Cleveland Clinic. 2021. 
  7. Fliesler, Nancy. “Melatonin for kids: Is it effective? Is it safe?”. Boston Children’s Hospital. 2022. 
  8. Boafo, Addo., et al. “Could long-term administration of melatonin to prepubertal children affect timing of puberty? A clinician’s perspective”. Nature and Science of Sleep. 2019. 
  9. Gavin MD, Mary L. “Kids and Sleep”. NEMOURS KidsHealth. Last modified January 2021.
  10. “The Truth About Melatonin Addiction”. Cleveland Clinic. 2022.
  11. Bauer MD, Brent A. “Is melatonin a helpful sleep aid — and what should I know about melatonin side effects?”. Mayo Clinic. 2022. 
  12. “United States Pharmacopeial Convention”. National Library of Medicine. 1988.
  13. “Who can and cannot take melatonin”. National Health Service. Last modified February 13, 2023. 
  14. Zhang, Jiao-Jiao., et al. “Effects of Melatonin on Liver Injuries and Diseases”. International Journal of Molecular Sciences. 2017.
  15. Markowska, Magdalena., Niemczyk, Stanisław., Romejko, Katarzyna. “Melatonin Treatment in Kidney Diseases”. Cells. 2023. 
  16. “Melatonin”. Mayo Clinic. Last modified August 10, 2023.
  17. “Drug overdose”. BetterHealth Channel. Webpage accessed January 1, 2024. 
  18. Higueras, T. Gutierrez, et al. “Attempted suicide by Melatonin overdose: Case report and literature review”. European Psychiatry. 2022. 
  19. Meng, Xiao., et al. “Dietary Sources and Bioactivities of Melatonin”. Nutrients. 2017. 
  20. He, Sean., Hasler, Brant P., Chakravorty, Subhajit. “Alcohol and sleep-related problems”. National Library of Medicine. 2019. 
  21. McCallum, Katie. “Caffeine & Sleep: How Long Does Caffeine Keep You Awake?”. Houston Methodist Hospital. 2023. 
  22. Chung, Nikola., et al. “Does the Proximity of Meals to Bedtime Influence the Sleep of Young Adults? A Cross-Sectional Survey of University Students”. International Journal of Environmental Research and Public Health. 2020. 
  23. “Exercising for Better Sleep”. Johns Hopkins Medicine. Webpage accessed January 1, 2024. 
  24. “Napping: Do’s and don’ts for healthy adults”. Mayo Clinic. Last modified November 9, 2022. 
  25. Sack, R.L., et al. “Entrainment of free-running circadian rhythms by melatonin in blind people”. National Library of Medicine. 2000. 
  26. Givler, Donald., et al. “Chronic Administration of Melatonin: Physiological and Clinical Considerations”. National Library of Medicine. 2023.