Article
Pain makes it hard to sleep, and poor sleep makes pain harder to bear. With a headache that never stops, that loop can feel permanent. Sleep is one of the few things you can work on yourself, and in chronic migraine, changing sleep habits has reduced headaches in trials.
In a Norwegian study that followed more than 15,000 headache-free adults for 11 years, those with insomnia at the start were 40% more likely to have developed headaches by the end. The link was strongest for chronic headache.51
There is little sleep research in NDPH specifically, but what exists points the same way. In 527 children and teenagers seen at a headache clinic, those with NDPH had more sleep disturbance than those with migraine. Across all the groups, worse sleep went with more disability, anxiety and low mood.52
The trials were done in chronic migraine, not NDPH, so take them as a reasonable bet rather than proof.
These are the instructions given in the 2007 trial:53
Give it a few weeks. A bad night will still happen; the goal is to stop one bad night from turning into a bad pattern.
A headache that is there when you wake up, with loud snoring, pauses in breathing that someone else has noticed, or heavy daytime sleepiness, can come from obstructive sleep apnoea. In the international classification, this headache is present on waking and usually goes within four hours.1 It is worth mentioning to your doctor, because a sleep study can diagnose it and treatment can help.
Melatonin has only been studied in migraine. One randomised trial found 3 mg at night worked better than placebo and about as well as amitriptyline, with fewer side effects;22 another found it no better than placebo.23 It is generally well tolerated, but ask your doctor or pharmacist first, especially if you take other medicines.
Some headache preventives cause drowsiness, others can keep you awake, and painkillers taken late at night can affect sleep too. If a medicine seems to be changing your sleep, tell your doctor — often the time you take it can be changed. Don’t stop it on your own.
Numbers in the text link to these sources. Where the evidence comes from migraine rather than NDPH, the text says so.