Does melatonin cause nightmares in children, and what actually stops them?

A parent tells me their child is waking up terrified several nights a week, and somewhere in the story comes the sentence I hear constantly now: we have been giving melatonin. After two decades of practicing medicine, here is the answer that surprises almost everyone: nightmares are a recognized side effect of melatonin in children, and melatonin has never been shown to treat nightmares at all. Which means the gummy on the nightstand may be part of the problem rather than the solution.

What melatonin does and does not do

Melatonin has one studied job in children: helping a child fall asleep faster. That is sleep-onset trouble, not bad dreams, and even that evidence comes almost entirely from children with autism or ADHD. A 2026 systematic review of melatonin in children under six found no trial that examined whether it works in typically developing children at all. Meanwhile the published side-effect list includes nightmares, headaches, morning grogginess, and fatigue.

Two more things parents deserve to know. First, melatonin is a hormone, and its long-term effects on a growing child have not been established. Second, it is a supplement, not a regulated medication, so the amount in the bottle often does not match the label, and melatonin is now the leading substance in accidental medication ingestions among young children in American emergency departments, with a fivefold rise over roughly a decade. Store it like medicine, because it is one.

If your child is on melatonin and having nightmares, the most useful next step is a conversation with your physician about pausing it and watching what happens to the dreams. That is a decision to make with a professional, not from a website, and never abruptly on your own if a child has an underlying condition or is on other medications.

What is actually happening during a nightmare

Nightmares happen in REM sleep, which is why they cluster in the second half of the night and why your child wakes fully alert and can describe every detail. That is what separates a nightmare from a night terror, where a child screams, appears awake, and remembers nothing in the morning. Recurring nightmares affect roughly twenty to thirty percent of children, and most children outgrow them. When they persist, the driver is usually the combination researchers describe as too much arousal and too little of the brain’s normal overnight fear processing: a stressed, wound-up nervous system that cannot file the scary material away. That is also why irregular bedtimes, short sleep, and screens close to bed reliably make nightmares worse; they fragment exactly the sleep that does the filing.

The mastery approach, step by step

Every treatment with real evidence behind childhood nightmares works through the same mechanism: giving the child a sense of control over the dream. Not avoidance, not reassurance alone. Mastery. Here is the sequence I walk parents through, and it can start tonight.

  1. Fix the foundation first. Same bedtime and wake time every day including weekends, a predictable wind-down of bath, book, lights down, screens off at least thirty minutes before bed, no caffeine in the evening, and a cool, dark, comforting room. Morning daylight helps anchor the whole rhythm. This step alone resolves a surprising number of cases.
  2. Move the worry earlier in the day. Give the fear a scheduled home: a worry jar and a short worry time in the late afternoon where your child says or draws what is bothering them and puts it in the jar. Worries that get aired at four o’clock are far less likely to show up at bedtime.
  3. Teach the body to settle. Slow belly breathing and simple progressive muscle relaxation, taught as a game, with a story or music. Practice it when everyone is calm, not in the middle of a 2 AM crisis, so the skill is already there when it is needed.
  4. Give them a tool they control. This is the heart of it. In a randomized trial of children ages three to ten, simply handing the child a light they could switch on themselves after a bad dream significantly reduced both nightmare frequency and nighttime anxiety, with the benefit holding months later. A flashlight by the pillow, a lamp they operate, a brave stuffed animal they are in charge of; the object matters less than who is in charge of it.
  5. Rewrite the dream. This is imagery rehearsal, the best-supported nightmare treatment there is, done in a child’s language. In daylight, with you beside them, have your child tell or draw the scary dream, then change it any way they want: the monster shrinks, the child flies, the dog becomes a friend. Then rehearse the new ending, a few minutes a day, so the brain practices the version where your child wins. Young children do this better with crayons than with words.
  6. Hold the line kindly at night. Consistent limits about staying in bed, paired with calm reassurance rather than escalating attention, and a small predictable ritual instead of a long negotiation. Warmth and consistency together, not one or the other.

If you want an app, choose it on these terms

Parents ask me for an app constantly, and I want to be honest before I answer: no app has been validated for nightmares in a child this young. When researchers screened more than two thousand children’s sleep apps, only a handful qualified as evidence-informed at all, and most amount to sleep stories and white noise with a calming voice. Those are pleasant. They are not treatment.

So if you use one, use it as a helper for the six steps above, and pick it on the substance rather than the artwork. Prefer an app that includes genuine cognitive behavioral components: relaxation training, stimulus control, a worry-time feature, and real parent behavioral guidance. Prefer one that is parent-mediated at this age, meaning you use it with your child rather than handing over a phone at bedtime, which is its own problem. Skip anything that is only sleep stories or white noise if your goal is fewer nightmares, and skip anything that requires the child to hold a bright screen in a dark room.

And here is the part I want to say plainly: an app is an assistant, not a clinician. If nightmares are frequent, worsening, or costing your child sleep, school, or joy, work with a professional alongside whatever app you use. A physician evaluation and, when indicated, a therapist trained in this work will get you further in a month than a year of downloads.

Where testing and natural support fit

I am an integrative physician, so parents reasonably ask what natural support belongs here. My honest answer: nutrition and targeted testing come first, and anything beyond that is individualized rather than picked off a shelf. Start with the food, because a child’s brain builds its chemistry from what the family eats: real meals on a regular schedule, protein at breakfast, vegetables and fruit, seafood in the rotation, and far less of the sugar and ultra-processed snacking that carries a child through the evening on spikes and crashes. The family food guide lays that out in a way that works on any budget.

Then testing, when the picture calls for it. Restless, kicking, fragmented sleep alongside the nightmares is worth a look at iron status, because low iron is a well-documented driver of restless sleep in children and it is correctable. Other markers get checked based on your child’s history and exam rather than as a routine panel, and that is the point of an evaluation: we test what the story points to, not everything with a lab code. Where results show a genuine gap, support is individualized and provided through our office, in a form and amount appropriate for a child’s size and age, which is precisely what a store shelf cannot do. Please do not start supplements in a child on your own; unregulated products, unpredictable amounts, and a small body are a poor combination, and the same quality problem that plagues melatonin runs right across that aisle.

If you want the broader picture on vitamins and supplements, my supplement basics page covers what the research supports and who genuinely benefits. Note that it is written for adults; for a child, supplements belong only under the direction of your physician.

When to bring in help sooner rather than later

Some nightmares are a symptom rather than a standalone problem. Bring your child in if the dreams are frequent or getting worse despite the steps above, if the same terrifying dream repeats, if there is anxiety showing up during the day, if something frightening or traumatic has happened in your child’s life, if your child is restless and kicking through the night or snoring heavily, or if a medication or supplement started around the same time the nightmares did. A proper evaluation looks at sleep, mood, anxiety, medications, breathing, and the family picture, and sorts out which of those is doing the driving. Nightmares that trace back to trauma or anxiety need that treated directly, and there are well-validated approaches for children this young.

The next step

If your child is having nightmares and melatonin is in the picture, do not just add another product to the nightstand. Let us look at the whole situation together, decide what to keep and what to stop, and build the mastery plan around your child. Parents leave that visit with something better than a gummy: a method.

Text us at 480-219-2624 to schedule, or call. Quick response, real scheduling, no phone tree.

To Health and Wellness, Dr. Ty Tallman

Ty Tallman, NMD — Naturopathic Medical Doctor, licensed to practice medicine in Arizona. Medical Director, Integrative Medical Partners, Mesa, AZ.


References

  • Pediatrics in Review, 2026 — pediatric insomnia, including melatonin side effects and behavioral first-line care.
  • JAMA Network Open, 2026 — melatonin use in young children: systematic review of efficacy and safety.
  • Sleep, 2022 — the Dream Changer randomized controlled trial of a parent-based intervention for childhood nightmares.
  • BMC Psychiatry, 2023 — psychosocial treatments for nightmares in adults and children, systematic review.
  • Journal of Clinical Sleep Medicine, 2018 — American Academy of Sleep Medicine position paper on nightmare disorder treatment.
  • Sleep Medicine, 2026 — standardized evaluation of mobile health apps for insomnia in children and adolescents.
  • Pediatrics in Review, 2023 — sleep disorders in childhood: nightmares, parasomnias, and behavioral management.
  • Journal of Sleep Research, 2019 — aetiology and treatment of nightmare disorder: state of the art.

Already a patient? A short review helps the next person find the care you found.

Review us on Google
Scroll to Top