Skip to content

Can melatonin cause headaches?

Updated October 27, 2026By the Medication Interaction Checker editorial teamHow we check

Quick answer

Yes, melatonin can cause headaches in some people. The NIH lists headache among the side effects reported in studies, along with dizziness, nausea and sleepiness, and these are usually mild. Follow the dose on your product’s label, and talk to a pharmacist if headaches keep happening.

Person in bed at night wondering can melatonin cause headaches
Photo: RDNE Stock project / Pexels

So, can melatonin cause headaches? Yes, but it is usually a mild and short-lived problem. The National Center for Complementary and Integrative Health (NCCIH), part of the NIH, lists headache as a reported side effect in both adults and children. This guide covers the most common side effects, how to lower your chances of a headache, and when to stop and get advice.

What Are the Most Common Side Effects of Melatonin?

The most common side effects of melatonin are headache, dizziness, nausea and sleepiness. NCCIH says short-term studies in adults found mostly mild side effects, while the possible long-term side effects are unclear.

Melatonin tablets on a nightstand, a supplement with headache as a possible side effect
Photo: Taryn Elliott / Pexels

Children can have a slightly different pattern. NCCIH notes that side effects reported in children were usually mild and included drowsiness, bedwetting or more urination in the evening, headache, dizziness and agitation.

Side effect Adults Children
Headache Reported Reported
Dizziness Reported Reported
Sleepiness or drowsiness Reported Reported
Nausea Reported Not listed by NCCIH
Bedwetting or evening urination, agitation Not listed by NCCIH Reported

Because melatonin can make you drowsy, product labels warn against driving. The Rising Pharma melatonin 3 mg and 5 mg tablet label (Warnings section) says not to drive or operate machinery while taking the product. If you feel groggy or headachy the next morning, wait until you feel fully alert before you drive.

How Can You Lower the Chance of a Melatonin Headache?

Take only the amount and timing your product’s label gives, and do not double up on products. These steps do not guarantee you will avoid a headache, but they keep you within what the label supports.

Stick to the label dose and timing

The Rising Pharma 3 mg and 5 mg tablet label (Directions) says to take one tablet daily, 30 minutes before bedtime, or as directed by your healthcare practitioner. Taking more than the label says will not necessarily help you sleep better. Read more in our guide on taking too much melatonin for sleep and our look at whether 10 mg of melatonin is safe.

Example: One tablet before a 10:30 pm bedtime

  1. 10:00 pmTake one melatonin tablet, as the label directs
  2. 10:30 pmLights out
  3. Next morningCheck how you feel before driving

Avoid stacking melatonin with other sleep products

Some sleep aids, gummies and “PM” products contain melatonin or other ingredients that cause drowsiness. The MAX Sleep Junior children’s melatonin 1 mg drops label (Warnings) is direct: “Do not take or combine with other products containing melatonin or products that cause sedation or drowsiness.” You can read how we check interactions using official label data.

Choose products carefully

In the US, melatonin is sold as a dietary supplement. NCCIH explains that supplements are regulated less strictly by the FDA than prescription or over-the-counter drugs. It also reports that a 2023 study found 22 of 25 melatonin gummy products were mislabeled, so the real amount may differ from what the bottle says.

Can Melatonin Cause Headaches in Children?

Yes. NCCIH lists headache among the mild side effects reported in children who take melatonin. It says normal doses appear safe for most children for short-term use, but studies are limited and long-term effects are poorly documented.

Do not work out a child’s dose yourself. Follow the age directions on the product, and talk to your pediatrician or pharmacist before giving melatonin to a child. The MAX Sleep Junior label (Warnings) also says to consult a doctor if your child has long-term sleep difficulties.

When Should You Stop Taking Melatonin Due to Side Effects?

Stop using a store-bought melatonin product and talk to your doctor or pharmacist if headaches, dizziness or nausea keep coming back or get worse. If a doctor recommended melatonin for you, ask them before you stop or change how you take it.

You should also stop and get advice if:

  • you feel too drowsy the next day to drive or work safely
  • you notice mood changes, agitation or confusion
  • you started a new medicine and side effects began afterward
  • you become pregnant or start breastfeeding

NCCIH says people with epilepsy and people taking blood thinners, such as warfarin (Coumadin), need medical supervision when using melatonin. The Rising Pharma label (Warnings) adds that people using prescription drugs should consult their physician first, and that people with an autoimmune disorder should not take it. To see what else may matter, view our melatonin interactions page.

When to Get Help

Most melatonin headaches are mild. Some symptoms need prompt care, especially when a child may have taken more than intended.

Call your doctor or pharmacist if

  • Headaches happen most nights you take melatonin
  • You feel dizzy, sick to your stomach or groggy the next day
  • You take a prescription medicine, a blood thinner or seizure medicine
  • You have an autoimmune condition, or you are pregnant or breastfeeding
  • Your child has side effects or ongoing sleep problems

Call 911 or Poison Control (1-800-222-1222) right away if

  • A child swallows melatonin gummies or tablets that were not given to them
  • Someone is very hard to wake up or is breathing slowly
  • You have a sudden, severe headache, or a headache with confusion, weakness or trouble speaking
  • You have signs of an allergic reaction, such as swelling of the face or trouble breathing

Frequently asked questions

Is melatonin approved by the FDA?

No. In the US, melatonin is sold as a dietary supplement, not an FDA-approved drug. NCCIH notes that supplements are regulated less strictly than prescription or over-the-counter medicines. Some other countries require a prescription for melatonin.

Is it safe to take melatonin every night?

Short-term use appears to cause mostly mild side effects in adults. However, NCCIH says information on the long-term safety of melatonin is lacking. If you need a sleep aid most nights, talk to your doctor about what is causing your sleep problems.

Can you take melatonin while pregnant or breastfeeding?

There has been a lack of research on melatonin safety in pregnancy and breastfeeding, according to NCCIH. The Rising Pharma label (Warnings) says pregnant or breastfeeding women should consult their physician before use.

Why does my melatonin dose seem stronger than expected?

The amount in some products may not match the label. NCCIH reports that most gummy products tested in a 2023 study were mislabeled. If one brand seems to cause more side effects than another, show both bottles to your pharmacist.

How many poison control calls involve melatonin?

NCCIH reports that poison control calls about melatonin in people 19 and younger rose from 8,337 in 2012 to 52,563 in 2021. About 94 percent of those calls involved children aged 5 and younger. Store melatonin, especially gummies, up high and out of children’s reach.

Check your combination

Taking melatonin with other medicines or supplements? Check everything you take with our free interaction checker.

Open the checker

This information is for education and is not medical advice. Do not start, stop or change a medicine without talking to your doctor or pharmacist.