Symptom guide
Insomnia and difficulty sleeping: causes, red flags and when to seek help
Insomnia means regularly having trouble getting to sleep, staying asleep or waking too early, with tiredness and poor concentration the next day. A bad night or two is normal; a pattern lasting weeks calls for a look at habits, mood, medicines and other conditions. Changing sleep habits works for many people, and structured therapy works for many of the rest.
Last checked: 2026-10-03
Key facts
At a glance.
-
Definition
The NHS says insomnia means you regularly have problems sleeping, and usually gets better by changing your sleeping habits.
-
Short or long term
The NHS calls insomnia lasting less than 3 months short-term and 3 months or longer long-term.
-
Sleep needs
On average, the NHS says adults need 7 to 9 hours, children 9 to 13 hours, and toddlers and babies 12 to 17 hours.
-
Sleeping pills
The NHS says GPs now rarely prescribe sleeping pills for insomnia, which are only given for a few days or weeks at most.
-
Behavioural therapy
A GP may offer cognitive behavioural therapy, face to face or through an online self-help programme.
What counts as insomnia
The NHS says you have insomnia if you regularly find it hard to go to sleep, wake up several times during the night, lie awake at night, wake up early and cannot go back to sleep, still feel tired after waking, find it hard to nap in the day even though you are tired, feel tired and irritable, or find it difficult to concentrate. It notes that everyone needs different amounts of sleep and that you probably do not get enough if you are constantly tired during the day.
The pattern matters. Trouble getting off to sleep is often tied to worry or an overactive mind. Waking in the small hours and being unable to return to sleep is classically linked to low mood. Waking repeatedly with unrefreshing sleep points towards a physical disruptor, such as snoring and sleep apnoea, pain or night sweats.
Causes, from the everyday to the medical
The NHS lists the most common causes as stress, anxiety or depression, noise, a room that is too hot or cold, an uncomfortable bed, alcohol, caffeine or nicotine, illegal drugs like cocaine or ecstasy, jet lag and shift work. It also names mental health conditions such as schizophrenia or bipolar disorder, Alzheimer disease, Parkinson disease, restless legs syndrome, an overactive thyroid and menopause as conditions that can cause insomnia, and says many medicines can too.
| What you notice | Possible contributor |
|---|---|
| Racing thoughts at bedtime, worry about not sleeping | Anxiety and conditioned insomnia |
| Early waking, flat mood, loss of interest | Depression |
| Snoring, pauses in breathing, morning headache, daytime sleepiness | Sleep apnoea |
| Creeping or aching leg sensations at night, relieved by moving | Restless legs syndrome |
| Hot flushes and sweats | Perimenopause or menopause |
| Weight loss, palpitations, sweating, tremor | Overactive thyroid |
| Long-term pain that flares at night | Pain-related sleep disruption |
| Late caffeine, alcohol or screens | Sleep hygiene factors |
Sleep habits that help
The NHS says insomnia usually gets better by changing your sleeping habits. It advises going to bed only when sleepy, waking and getting up at the same time every day, relaxing for at least 1 hour before bed, making the bedroom dark and quiet, exercising regularly during the day and having a comfortable mattress, pillows and covers.
It advises not smoking or drinking alcohol, tea or coffee for at least 6 hours before bed, not eating a big meal late, not exercising within 4 hours of bedtime, avoiding screens right before bed because of blue light, not napping during the day, not driving when sleepy and not sleeping in after a bad night. That last point is counter-intuitive but important: a fixed wake time builds the sleep pressure that makes sleep come easily the next night.
Warning signs behind the sleeplessness
Insomnia on its own is not an emergency, but some features suggest another condition needs attention. Loud snoring with witnessed pauses in breathing, choking at night and heavy sleepiness in the day suggest sleep apnoea, which the NHS lists as a cause of poor sleep and which can be investigated at a sleep clinic. Falling asleep suddenly anywhere suggests narcolepsy.
Persistent low mood, loss of interest, hopelessness or thoughts of self-harm alongside poor sleep need prompt help from a GP or, in a crisis, NHS 111 or 999. The NHS says insomnia affecting your daily life in a way that makes it hard to cope warrants a GP appointment. Drowsy driving is dangerous, and the NHS says not to drive when you feel sleepy.
Acting out dreams, violent movements in sleep, or new sleep disturbance with memory or movement changes are worth reporting to a doctor.
What a GP will do
The NHS says a GP will try to find out what is causing your insomnia so you get the right treatment. Expect questions on your bedtime routine, time to fall asleep, awakenings, daytime function, caffeine and alcohol, medicines, mood and anxiety, snoring and pain. A sleep diary kept for two weeks, noting bed and wake times, naps and alcohol or caffeine, is very informative.
Examination is usually brief, focusing on weight, neck size, blood pressure and signs of thyroid disease. Blood tests may check thyroid function and iron, and a sleep study is arranged if apnoea or limb movements are suspected.
Treatment when habits are not enough
The NHS says sometimes you will be offered cognitive behavioural therapy (CBT), face-to-face with a therapist or through an online self-help programme, to help change the thoughts and behaviours that keep you from sleeping, and you may be referred to a sleep clinic if you have symptoms of another sleep disorder such as sleep apnoea.
It says GPs now rarely prescribe sleeping pills because they can have serious side effects and you can become dependent on them; they are prescribed only for a few days, or weeks at the most, if insomnia is very bad and other treatments have not worked. It also says pharmacy sleep aids containing ingredients such as valerian, lavender or an antihistamine cannot cure insomnia but may help for 1 to 2 weeks and should not be taken for longer, and may cause drowsiness. Check with a doctor before taking anything.
Frequently asked
Questions people ask.
Quick, plain-English answers to the questions we hear most.
-
How many hours of sleep do I need?
The NHS says adults need 7 to 9 hours on average, children 9 to 13 hours, and toddlers and babies 12 to 17 hours. Individual needs vary.
-
When does insomnia become long-term?
The NHS says insomnia that lasts less than 3 months is short-term, and 3 months or longer is long-term.
-
Should I sleep in after a bad night?
The NHS advises against it and recommends sticking to your regular sleeping hours instead.
-
Does CBT work for insomnia?
The NHS says CBT can help change the thoughts and behaviours that keep you from sleeping, and may be offered face-to-face or online.
-
Can I get sleeping tablets?
Rarely. The NHS says GPs now rarely prescribe them, because of serious side effects and dependence, and only for a few days or weeks if insomnia is very bad and other treatments have failed.
-
Do herbal sleep aids work?
The NHS says pharmacy products, some with valerian or lavender, cannot cure insomnia but may help for 1 to 2 weeks and should not be taken longer. Check with a doctor first.
-
Could my snoring be part of it?
Possibly. The NHS lists snoring or interrupted breathing during sleep (sleep apnoea) as something that can keep you from a good night, and a GP may refer you to a sleep clinic.
-
How long before bed should I stop caffeine and alcohol?
The NHS advises at least 6 hours before bed for smoking, alcohol, tea and coffee.
-
When should I see a GP?
The NHS says if changing your habits has not helped, you have had trouble sleeping for months, or it is making it hard to cope in daily life.
Where this comes from
Sources and checking.
This guide is for information, not medical advice.
Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.
Published 2026-10-03, next review 2027-10-03.
-
NHS: Insomnia. https://www.nhs.uk/conditions/insomnia/ (retrieved October 2026)
-
NHS: Symptoms of menopause and perimenopause. https://www.nhs.uk/conditions/menopause/symptoms/ (retrieved October 2026)
Related guides