Emergency?Call 911 or go to the nearest emergency department.

Parent resources · Medicines & test results

Melatonin for Children: When It Helps—and What to Try First

What to try when bedtime is difficult, where melatonin may fit, and the safety questions worth asking.

About 7 min read
On this page

When bedtime becomes a nightly struggle, it is understandable to look for something that might help.

Melatonin can be useful for some children, but it is not the answer to every sleep problem. The first step is understanding what is making sleep difficult and building a plan that fits your child and family.

Sleep difficulties do not mean you are doing something wrong. Some families need more support than a list of bedtime tips, and asking for help is reasonable.

What is melatonin?

Melatonin is a hormone the brain makes as it gets dark. It helps signal that nighttime is approaching and helps set the body's internal sleep clock.

In the United States, melatonin is sold as a dietary supplement, including gummies, tablets, and liquids. It is not an FDA-approved treatment for childhood insomnia, and supplements are not reviewed for safety and effectiveness before sale in the same way as prescription medicines.

Being available without a prescription does not make it the right choice for every child.

Start with sleep habits

Consistent routines and age-appropriate behavioral strategies are the first treatment for most bedtime and insomnia problems. These changes take practice; improvement is not always immediate.

  • Keep a fairly consistent wake time and bedtime, including weekends. Allow enough time for your child's age-appropriate sleep needs.
  • Use a short, predictable wind-down routine: for example, washing up, pajamas, a story, and a goodnight.
  • Keep the bedroom comfortable, quiet, and dark.
  • Put screens away at least 1 hour before bed. Keep phones and tablets out of the sleeping space overnight when possible.
  • Make time for daylight and physical activity, especially outdoor light in the morning.
  • Avoid caffeine, including energy drinks. Large late meals and late naps can also make falling asleep harder for some children.

Naps still matter for babies and many younger children. Adjust them to your child's age and needs rather than removing them automatically.

Our screen-time guide has more practical ways to protect sleep and family routines.

What if a routine is not enough?

Your pediatrician can help work out whether bedtime is too early, anxiety or discomfort is keeping your child awake, or a different sleep problem needs attention.

For younger children, a plan may involve gradually reducing the help needed to fall asleep, using consistent responses at bedtime, or temporarily adjusting bedtime to when the child is naturally sleepy and then moving it earlier.

There is no single sleep-training method every family must use. Choose an age-appropriate approach you can carry out consistently with your clinician's guidance.

Older children and teenagers may benefit from a structured treatment called cognitive behavioral therapy for insomnia, or CBT-I. It helps change habits and worries that keep sleep problems going.

When can melatonin help?

Melatonin is most often considered for difficulty falling asleep or a body clock that is running later than the school-day schedule allows.

For example, some teenagers are not sleepy until very late but need to wake early for school. Carefully timed melatonin may be part of a broader plan that also addresses morning light and sleep schedules.

Some children with autism or ADHD also benefit from clinician-supervised melatonin when sleep difficulties persist despite other measures. A diagnosis alone is not a reason to start it.

The benefit is often modest: a child may fall asleep somewhat sooner, rather than suddenly sleep perfectly all night. Melatonin does not reliably fix every type of night waking. Some longer-acting preparations are used for selected children, but that is a treatment decision to make with their clinician.

Melatonin does not treat breathing problems during sleep, pain, or every cause of bedtime anxiety. Those problems need their own evaluation and treatment.

What about the dose and timing?

If melatonin is recommended, agree on:

  • The specific sleep problem you are treating
  • The product and lowest effective dose
  • When to give it
  • How you will judge whether it is helping
  • When to review the plan and try reducing or stopping it

Timing matters. Helping a child fall asleep and shifting a delayed body clock are not exactly the same goal. Follow the agreed plan rather than guessing from another family's experience or increasing the dose yourself.

Keep the bedtime routine in place. Melatonin should support that work, not replace it.

How long should a child take it?

Many children who use melatonin should have a short trial with a planned follow-up, rather than automatically continuing it every night.

The appropriate duration depends on the reason it is being used and the child's response. Some children with particular sleep or developmental conditions use it longer under medical supervision.

Review whether it is still helping, whether side effects have appeared, and whether it is time to reduce or stop it. If your child is already taking melatonin regularly, tell the pediatrician the exact product, dose, timing, and how long it has been used.

What do we know about safety?

Short-term studies are generally reassuring, but melatonin can cause side effects. These include:

  • Morning grogginess or daytime sleepiness
  • Headache
  • Dizziness
  • Nausea or stomach discomfort
  • More bedwetting or nighttime urination
  • Changes in mood or behavior

Melatonin can interact with other medicines. Make sure your child's clinician knows about all prescriptions, over-the-counter medicines, and supplements your child takes.

Long-term safety is not fully established. Some children have been followed for several years, but the studies are too limited to settle questions about prolonged use, including possible effects on growth and puberty. These uncertainties do not prove that melatonin causes harm, but they are a reason for thoughtful use and follow-up.

The product—and where you store it—matter

The amount of melatonin in a supplement may differ from what its label says. Products with the same stated dose are not necessarily interchangeable.

If melatonin is recommended, ask the pediatrician or pharmacist to help select a product. Independent verification, such as the USP Verified mark, can offer an additional quality check; it does not prove that a product is effective or appropriate for your child.

  • Keep melatonin locked away, out of children's reach and sight.
  • Leave it in its original, child-resistant container.
  • Do not describe gummies as candy or leave them on a bedside table.
  • Make sure every caregiver knows what has been given so doses are not accidentally repeated.

What if my child takes too much?

If your child may have taken extra melatonin or you are unsure how much was swallowed, call Poison Control at 1-800-222-1222 in the United States. Have the container available. Do not wait for symptoms or try to make your child vomit.

When should sleep problems be checked?

Contact your child's pediatrician if you notice:

  • Frequent loud snoring, gasping, or pauses in breathing during sleep
  • Persistent difficulty falling or staying asleep despite a consistent routine
  • Unusual daytime sleepiness or sleep problems affecting school, behavior, or family life
  • Leg discomfort or an urge to move the legs that keeps your child awake
  • Pain, itching, breathing symptoms, or significant anxiety interfering with sleep
  • Side effects, a need for increasing doses, or uncertainty about ongoing melatonin use

A brief sleep diary—bedtime, estimated time asleep, awakenings, wake time, naps, and any medicine—can help make that conversation more useful.

Severe breathing difficulty, an abnormal blue or gray color, or inability to wake your child needs emergency care, not a routine sleep appointment.

The bottom line

Melatonin can help some children, but it is not a shortcut around understanding why sleep is difficult.

Start with a consistent routine and an age-appropriate sleep plan. If that is not enough, ask for help. When melatonin is appropriate, use it with a clear purpose, clinician-guided dose and timing, secure storage, and a plan to reassess.

Medical references

Browse all parent resources