Discontinue Melatonin Immediately
If sleepwalking begins after starting melatonin, stop the melatonin immediately and evaluate for underlying sleep disorders that may have been unmasked or exacerbated by the medication. While melatonin is not among the most strongly implicated medications for inducing sleepwalking, any new-onset parasomnia following medication initiation warrants immediate cessation.
Management Algorithm
Step 1: Immediate Discontinuation
- Stop melatonin therapy immediately upon recognition of sleepwalking episodes
- Document the temporal relationship between melatonin initiation and sleepwalking onset
- Ensure the sleep environment is secured while evaluating next steps (remove sharp objects, lock windows/doors, consider ground-floor sleeping)
Step 2: Evaluate for Underlying Sleep Disorders
The most critical action is screening for sleep-disordered breathing (SDB), as this is frequently associated with chronic sleepwalking and treating the underlying condition often eliminates the parasomnia entirely 1. Look specifically for:
- Obstructive sleep apnea symptoms: snoring, witnessed apneas, gasping, morning headaches, daytime sleepiness
- Upper airway resistance syndrome: similar symptoms but may be subtler
- Restless legs syndrome/periodic limb movements: uncomfortable leg sensations, urge to move legs at rest
- Other sleep fragmenting conditions 2
Polysomnography should be performed if any of these conditions are suspected 1. In one prospective study of 50 chronic sleepwalkers, those with SDB who were successfully treated with CPAP or surgery had complete resolution of sleepwalking, while those treated only with benzodiazepines had persistent episodes 1.
Step 3: Reassess Sleep Hygiene and Non-Pharmacologic Approaches
Before considering alternative pharmacotherapy, optimize:
- Sleep schedule consistency
- Adequate sleep duration (sleep deprivation can trigger sleepwalking)
- Elimination of alcohol
- Stress reduction techniques
- Review all other medications that could fragment sleep 3
Step 4: Consider Alternative Insomnia Management
If insomnia persists after melatonin discontinuation:
- First-line: Cognitive Behavioral Therapy for Insomnia (CBT-I) - This is the standard of care per AASM guidelines 4
- If pharmacotherapy needed: The AASM guideline recommends benzodiazepine receptor agonists (BzRAs) or ramelteon as first-line agents, though note that BzRAs themselves can trigger sleepwalking 4, 5
Critical Caveats
Medication-induced sleepwalking risk profile: A systematic review identified 29 drugs that may trigger sleepwalking, with the strongest evidence for zolpidem and sodium oxybate 5. While melatonin was not prominently featured in this analysis, the temporal relationship in your patient suggests causality. The review emphasizes that drugs enhancing GABA activity, serotonergic activity, or blocking noradrenaline at β-receptors carry the highest risk 5.
Paradoxical effect consideration: Melatonin may have fragmented sleep in this patient rather than consolidated it, potentially unmasking a predisposition to sleepwalking during arousals from slow-wave sleep 3.
Do not substitute with benzodiazepines reflexively: While clonazepam is commonly used for sleepwalking treatment 3, 2, benzodiazepines themselves can induce sleepwalking 5. Only consider this if sleepwalking persists after melatonin discontinuation AND underlying sleep disorders have been ruled out or treated.
Evidence Quality Note
The evidence for melatonin-induced sleepwalking is limited to case reports and systematic reviews of medication-induced parasomnias 5. However, the robust evidence that treating underlying sleep disorders (particularly SDB) eliminates sleepwalking 1 makes this the priority diagnostic consideration. The AASM guideline notes insufficient evidence for melatonin efficacy in chronic insomnia 4, supporting discontinuation without significant concern for losing therapeutic benefit.