Opening GPAtlas…

🌊 The Ocean Library · GP clinical topic

Insomnia

Reviewed and updated by practising UK GPs. Last updated 16 Dec 2025.

🧭 When to suspect

Insomnia is dissatisfaction with sleep quantity or quality despite adequate opportunity to sleep, with one or more of:

β€’ Difficulty getting to sleep

β€’ Difficulty staying asleep

β€’ Early-morning waking

β€’ Sleep that is non-restorative

The diagnosis requires associated daytime impairment – fatigue, poor concentration or memory, low or irritable mood, or reduced performance – and is made clinically; no investigation is needed to make it.

Suspect a clinically significant disorder when symptoms occur on β‰₯ 3 nights per week and cause significant distress or impair daytime functioning.

The most useful distinction is duration:

β€’ Short-term (acute) insomnia lasts < 3 months and usually follows an identifiable trigger.

β€’ Chronic insomnia lasts β‰₯ 3 months and is sustained by learned, perpetuating factors.

In practice:

β€’ Separate short-term from chronic

β€’ Actively exclude a secondary cause (depression or anxiety, obstructive sleep apnoea, restless legs syndrome, pain, nocturia, medicines or substances)

β€’ Prioritise cognitive behavioural therapy for insomnia (CBT-I) over hypnotics, in line with National Institute for Health and Care Excellence (NICE) guidance

Feature Short-term (acute) insomnia Chronic insomnia
Duration < 3 months β‰₯ 3 months, on β‰₯ 3 nights/week
Typical context Identifiable precipitant – stress, bereavement, acute illness, shift change Perpetuating factors – excess time in bed, napping, clock-watching, anxiety about sleep
First-line approach

β€’ Sleep hygiene and address the trigger

β€’ Brief hypnotic only if daytime impairment is severe

β€’ CBT-I (digital or face-to-face)

β€’ Avoid long-term hypnotics

🧠 Clinical pearl

β€’ Think in terms of the three Ps: predisposing traits, a precipitating trigger, and the perpetuating behaviours that keep insomnia going long after the original stressor has passed.

β€’ Acute insomnia becomes chronic when the perpetuators – longer time in bed, daytime naps, and worry about sleeplessness – take over.

β€’ CBT-I works precisely because it dismantles those perpetuating factors, which is why it outlasts any hypnotic.

Source: NICE


🩺 History

Ask about symptoms

β€’ Characterise the problem: difficulty getting to sleep, staying asleep, early waking, or unrefreshing sleep?

β€’ Quantify a typical night – bedtime, time to fall asleep, number and length of awakenings, final waking, time out of bed, estimated total sleep time?

β€’ Establish duration (< 3 months vs β‰₯ 3 months) and frequency (nights per week)?

β€’ Ask about daytime consequences – fatigue, impaired concentration, low or irritable mood, reduced performance?

β€’ Partner report of loud snoring, witnessed apnoeas, choking or gasping, or abnormal movements/behaviours in sleep (parasomnia)?

β€’ Any urge to move the legs at rest or at night, relieved by movement (restless legs syndrome)?

β€’ Any daytime napping?

Ask about risk factors and modifiers

β€’ Screen mental health: depression, anxiety, post-traumatic stress disorder (PTSD), or attention deficit hyperactivity disorder (ADHD)?

β€’ Identify comorbidities – chronic pain, chronic obstructive pulmonary disease (COPD), heart failure, hyperthyroidism, gastro-oesophageal reflux disease (GORD), nocturia, or menopause?

β€’ Review medicines – corticosteroids, antidepressants (selective serotonin reuptake inhibitors, SSRIs), beta-blockers, stimulants, bronchodilators, or evening diuretics?

β€’ Quantify caffeine, nicotine, alcohol and recreational drug use, and their timing?

β€’ Assess the sleep environment (noise, light, temperature) and schedule (shift work, jet lag, irregular routine)?

β€’ Explore recent stressors or life changes, and the patient's own beliefs about the cause?

🧩 Patient Perspective

➀ "How is your sleep affecting your daily life – your work, your driving, your relationships and your mood?"

➀ "What do you think is causing your poor sleep, and what are you hoping treatment will achieve – including your views on sleeping tablets versus a talking therapy?"

Source: NICE


⚠️ Red Flags

Escalation criteria

➀ Excessive daytime sleepiness with sudden sleep attacks, with or without cataplexy β†’ suspected narcolepsy β†’ refer to sleep/neurology service

➀ Suspected obstructive sleep apnoea:

β€’ Loud snoring

β€’ Witnessed apnoeas

β€’ Daytime sleepiness

β†’ refer to sleep/respiratory service

➀ Violent, injurious or complex behaviour during sleep β†’ significant parasomnia β†’ specialist sleep referral

➀ Excessive sleepiness in a professional or safety-critical driver (lorry, bus or pilot) β†’ advise not to drive β†’ arrange urgent assessment

➀ Worsening depression or anxiety, or suicidal ideation β†’ assess risk β†’ urgent mental health input

➀ Insomnia with elevated or expansive mood and markedly reduced need for sleep β†’ possible mania or hypomania β†’ urgent mental health assessment

Source: NICE Β· DVLA


πŸ”Ž Examination

Examination findings and signs

β€’ Examination is often normal and is not routinely required – reserve it for when a secondary cause is suspected.

β€’ If obstructive sleep apnoea is suspected: body mass index, collar (neck) circumference and blood pressure.

β€’ Oropharyngeal examination – a crowded oropharynx, enlarged tonsils or retrognathia point towards obstructive sleep apnoea.

β€’ Mental state examination, with the Patient Health Questionnaire (PHQ-9) and Generalised Anxiety Disorder (GAD-7) scales to screen for depression and anxiety.

β€’ Look for signs of relevant comorbidity – for example tremor or goitre in hyperthyroidism, or signs of heart failure.

Source: NICE


πŸ’¬ Patient Explanation

Insomnia means trouble falling or staying asleep that leaves you tired and affects your day.
The most effective long-term treatment is a structured talking therapy that retrains your sleep, rather than sleeping tablets.
Tablets can help for a few nights but tend to stop working and can become habit-forming, so we use them only briefly.


πŸ§ͺ Investigations

Test Indication
Sleep diary

β€’ First-line

β€’ Kept for 1–2 weeks to reveal sleep pattern, latency, awakenings, total sleep time and behaviours

Insomnia Severity Index or Sleep Condition Indicator Grades severity at baseline and monitors response to treatment.
STOP-Bang questionnaire or Epworth Sleepiness Scale Screens for obstructive sleep apnoea and quantifies daytime sleepiness.
Bloods – thyroid function tests (TFTs), ferritin, FBC If hyperthyroidism or restless legs syndrome (ferritin) is suspected.
Polysomnography – specialist-initiated To diagnose obstructive sleep apnoea, narcolepsy or parasomnia where the diagnosis is unclear.

Source: NICE


πŸ’Š Management

All patients

1. Confirm the diagnosis clinically and identify and treat any underlying cause, including medicines or substances.

2. Provide sleep hygiene and stimulus-control advice as the foundation for everyone.

3. Offer cognitive behavioural therapy for insomnia (CBT-I) first-line for chronic insomnia; avoid long-term hypnotics.

4. Address the trigger in short-term insomnia; consider a brief hypnotic only if daytime impairment is severe, with a clear stop date.

5. Do not recommend over-the-counter sedating antihistamines for insomnia.

6. Review at 2–4 weeks; if there is no improvement, reassess the diagnosis and consider referral.

πŸ”‘ Key principle – CBT-I is the treatment, not the tablet

β€’ For chronic insomnia, cognitive behavioural therapy for insomnia is the definitive first-line treatment.

β€’ CBT-I outperforms hypnotics in the long term, because it targets the behaviours and thoughts that perpetuate poor sleep.

β€’ Hypnotics relieve the symptom briefly but do nothing for those perpetuating factors and carry real risks – tolerance, dependence and next-day impairment.

β€’ Reserve hypnotics for short, time-limited use.

Sleep complaint on β‰₯ 3 nightsper week with daytimeimpairmentSleep attacks, snoring withapnoeas, injurious parasomnia,mania, or suicidal?Refer per the red flagβ€’narcolepsy/parasomnia: sleep orneurologyβ€’OSA: sleep/respiratoryβ€’safety-critical driver with sleepiness:advise not to drive, urgentβ€’mania or suicidal ideation: urgentmental healthFind and treat a secondarycauseβ€’depression, anxiety, OSA, restless legs,pain, nocturia, medicinesβ€’sleep diary 1-2 weeksβ€’TFTs, ferritin, FBC only if suspectedDuration < 3 months or β‰₯ 3months?Short-term: sleep hygiene andaddress the triggerSevere daytime impairment?Brief Z-drug with a stop dateβ€’zopiclone (Zimovane) 3.75-7.5 mg orzolpidem (Stilnoct) 5-10 mgβ€’ideally 3-7 days, no more than 2 weeksβ€’do not switch Z-drugβ€’avoid in older adults, pregnancy andbreastfeedingβ€’no OTC antihistaminesChronic: CBT-I first-lineβ€’digital or face-to-faceβ€’sleep restriction, stimulus controlβ€’avoid long-term hypnoticsCBT-I failed, unsuitable orunavailable?Licensed chronic optionsβ€’melatonin (Circadin) 2 mg at night, aged55+, max 13 weeksβ€’daridorexant (Quviviq) 50 mg nightlyβ€’stop if no response by 3 monthsβ€’Z-drug ≀ 1 week only for a flare orwhile awaiting CBT-IReview at 2-4 weeksNo improvement: reassess thediagnosis, sleep serviceYESNO< 3 monthsβ‰₯ 3 monthsYESYESno improvementNOShort-term or chronic decides the treatmentOcean 🌊GPAtlas Ocean 🌊

Source: NICE


🧾 Non-pharmacological Treatment

Intervention Details
CBT-I

β€’ First-line for chronic insomnia

β€’ Combines sleep restriction, stimulus control, cognitive restructuring and relaxation

β€’ Delivered digitally or face-to-face

Sleep hygiene

β€’ Fixed wake time every day

β€’ Cool, dark, quiet bedroom

β€’ Avoid caffeine after midday

β€’ Avoid alcohol and heavy meals within 2–3 hours of bed

β€’ Reduce evening screen use

β€’ No daytime napping

Stimulus control

β€’ Use the bed only for sleep and intimacy

β€’ Go to bed only when sleepy

β€’ If not asleep within about 20 minutes, get up and return only when sleepy

β€’ Avoid clock-watching

Sleep restriction

β€’ Limit time in bed to actual sleep time to consolidate sleep, then extend gradually

β€’ A powerful CBT-I component

β€’ Use caution in bipolar disorder, epilepsy, untreated obstructive sleep apnoea and occupational drivers

Physical activity

β€’ Regular daytime exercise improves sleep

β€’ Avoid vigorous exercise within about 1 hour of bedtime

Shift work or jet lag

β€’ Strategic napping, timed bright-light exposure, blackout blinds, and a gradual pre-travel shift of sleep times

β€’ Seek daylight on arrival

Source: NICE


βš•οΈ Pharmacological Treatment

Treatment Options and Escalation

➀ Before prescribing any hypnotic

β†’ Hypnotics treat the symptom, not the cause. Reserve them for severe, disabling distress, agree a stop date at the outset, and warn about dependence and next-day impairment before starting.

➀ Short-term insomnia (< 3 months) – Z-drugs (formulary first-line)

β†’ Zopiclone (Zimovane) 3.75–7.5 mg at night, or zolpidem (Stilnoct) 5–10 mg at night.

β†’ Use the lowest effective dose (the lower dose in older adults) for the shortest time, ideally 3–7 days and no more than 2 weeks.

β†’ Take as a single dose immediately before bed.

β†’ Do not re-dose during the same night.

β†’ Allow a full night (7–8 hours) before driving or operating machinery.

β†’ If one Z-drug is ineffective, do not switch to another; switch only for a drug-specific adverse effect.

β†’ Avoid in older adults where possible (ataxia, confusion, falls and fractures), and avoid in pregnancy and breastfeeding.

β†’ Eszopiclone (Lunivia) is a newer UK-licensed Z-drug but is not part of standard NHS primary-care prescribing; zopiclone and zolpidem remain first-line.

➀ Chronic insomnia (β‰₯ 3 months)

β†’ CBT-I is the definitive first-line treatment; avoid long-term hypnotics.

β†’ Prolonged-release melatonin (Circadin) 2 mg at night – an option in adults aged 55 and over; review at 3 weeks and continue only if responding, to a maximum of 13 weeks.

β†’ Daridorexant (Quviviq) 50 mg once nightly within 30 minutes of bedtime (25 mg with moderate hepatic impairment or a CYP3A4 inhibitor) – a dual orexin-receptor antagonist.

β€’ Per NICE only when symptoms occur β‰₯ 3 nights/week for β‰₯ 3 months with considerable daytime impairment and CBT-I has failed or is unsuitable/unavailable.

β€’ Assess within 3 months and stop if no adequate response.

β€’ Avoid taking after a large meal and avoid evening grapefruit.

β†’ A short course (≀ 1 week) of a Z-drug only for an acute flare or while awaiting CBT-I.

➀ Medicines and Healthcare products Regulatory Agency (MHRA) safety warnings

β†’ Dependence, tolerance and withdrawal – the 2026 MHRA and Commission on Human Medicines review strengthened warnings for Z-drugs, benzodiazepines and gabapentinoids; counsel patients and keep courses short.

β†’ With opioids – Z-drugs and benzodiazepines add to the risk of profound sedation and potentially fatal respiratory depression; co-prescribe only if there is no alternative, at the lowest dose, with monitoring.

β†’ Zolpidem – higher doses or fewer than 7–8 hours of sleep increase next-morning impairment, the risk of road-traffic collisions, and complex sleep behaviours such as sleep-driving; stop if these occur.

β†’ Over-the-counter sedating antihistamines (diphenhydramine, promethazine) for insomnia.

β†’ For primary insomnia, off-label sedating antidepressants (amitriptyline, mirtazapine, trazodone) are not recommended, though one may be appropriate where depression coexists.

⚠️ Common pitfall

β€’ The repeat-prescription trap: a "short course" of zopiclone started for acute insomnia quietly becomes years of dependence when no stop date is set and repeats are issued without review.

β€’ Set the stop date at the first prescription, code it as acute rather than repeat, and book a review – far easier than deprescribing a long-term user later.

Source: NICE Β· MHRA


πŸ“Œ Special Notes & DVLA

πŸ“Œ DVLA (Driver and Vehicle Licensing Agency) – fitness to drive (excessive sleepiness)

β€’ General duty: no one should drive while sleepy – this is the driver's responsibility – and hypnotics can cause next-morning impairment.

β€’ Excessive sleepiness from a medical condition (including mild obstructive sleep apnoea syndrome, apnoea-hypopnoea index (AHI) below 15) or from medication, Group 1 and Group 2: must not drive

β†’ Driving may resume only after satisfactory symptom control

β†’ If symptom control cannot be achieved in 3 months the DVLA must be notified

β€’ Moderate or severe obstructive sleep apnoea syndrome (AHI 15–29 is moderate, 30 or more is severe): must not drive and must notify the DVLA.

β†’ Relicensing requires control of the condition, improved sleepiness and treatment adherence.

β†’ Review at least 3-yearly for Group 1 and at least annually for Group 2.

β€’ Narcolepsy or other primary/central hypersomnia: must not drive and must notify the DVLA; a licence may be issued only after satisfactory symptom control for at least 3 months.

β€’ The diagnosis is clinical – no investigation is required routinely; reserve bloods and polysomnography for a suspected secondary cause.

β€’ Comorbid (secondary) insomnia is common – treating the underlying depression, anxiety, obstructive sleep apnoea, restless legs, pain or nocturia often resolves the sleep complaint.

β€’ Deprescribing – long-term hypnotic users should be supported to taper gradually rather than stop abruptly, to avoid rebound insomnia and withdrawal.

β€’ Digital CBT-I (Sleepio) is NICE-recommended and freely available across Scotland, but NHS access in England remains patchy – check local commissioning before signposting.

β€’ Pregnancy and breastfeeding – manage with non-drug measures and seek specialist advice before any hypnotic.

Source: DVLA Β· NICE


➑️ Referral Pathways

Urgent/safety-critical

β€’ Suspected narcolepsy or parasomnia with injury risk β†’ sleep/neurology service

β€’ Professional or safety-critical driver with excessive daytime sleepiness β†’ advise not to drive; urgent assessment

β€’ Suicidal ideation or rapidly worsening psychiatric illness β†’ urgent mental health assessment

Routine (specialist sleep)

β€’ Suspected obstructive sleep apnoea without urgent features β†’ sleep/respiratory service

β€’ Failure of primary-care management (sleep hygiene + CBT-I + appropriate short-term pharmacotherapy) β†’ sleep service

β€’ Diagnostic uncertainty or complex presentation β†’ specialist sleep service

β€’ Pregnancy or breastfeeding needing medication advice β†’ specialist

Source: NICE


🏠 Take Home Messages

β€’ Diagnose clinically – dissatisfaction with sleep quality or quantity plus daytime impairment, on β‰₯ 3 nights/week; distinguish short-term (< 3 months) from chronic (β‰₯ 3 months).

β€’ Exclude secondary causes first – actively screen for depression and anxiety, obstructive sleep apnoea (snoring, witnessed apnoeas), restless legs, pain, nocturia, and medicines or substances before treating insomnia in its own right.

β€’ CBT-I, not a tablet, treats chronic insomnia – avoid long-term hypnotics.

β€’ Prescribe hypnotics sparingly – zopiclone or zolpidem only for severe short-term insomnia, lowest dose, ideally 3–7 days (maximum 2 weeks), avoiding older adults, pregnancy and breastfeeding; daridorexant (after CBT-I) and prolonged-release melatonin (aged 55 and over) are the longer-term options.

β€’ Address driving – advise patients with excessive daytime sleepiness not to drive, warn about next-day impairment from hypnotics, and notify the DVLA where the standards require.

Source: NICE Β· MHRA Β· DVLA


🧭 AKT – high-yield facts

β€’ Insomnia is a clinical diagnosis: symptoms on β‰₯ 3 nights/week; β‰₯ 3 months defines chronic, < 3 months short-term.

β€’ CBT-I is first-line for chronic insomnia; Sleepio is the NICE-recommended digital CBT-I.

β€’ Z-drugs (zopiclone, zolpidem) are short-term only – lowest dose, ideally 3–7 days, maximum 2 weeks; if one fails, do not switch to another (switch only for a specific adverse effect).

β€’ Prolonged-release melatonin (Circadin) 2 mg: option for adults aged 55 and over; review at 3 weeks, maximum 13 weeks.

β€’ Daridorexant (Quviviq) 50 mg (NICE TA922): only if symptoms β‰₯ 3 nights/week for β‰₯ 3 months with daytime impairment and CBT-I tried, unavailable or unsuitable; assess within 3 months.

β€’ Avoid hypnotics in older adults (falls), pregnancy and breastfeeding; do not use over-the-counter antihistamines for insomnia.

β€’ DVLA: must not drive with excessive sleepiness

β†’ Notify if not controlled within 3 months

β†’ Obstructive sleep apnoea syndrome and narcolepsy have specific notification rules

🎯 SCA

A 48-year-old who first received zopiclone after a bereavement now requests yet another repeat prescription, having taken it nightly for two years.

He says it is "the only thing that works", is anxious about facing a night without it, and is reluctant to stop.

The dilemma is real: a clear duty to deprescribe a long-term hypnotic safely set against his genuine distress, his autonomy, and the need to keep the therapeutic relationship intact.

A strong consultation:

β€’ Explores his ideas, concerns and expectations – what he believes the tablet does, his fear of sleeplessness, and his readiness to change.

β€’ Acknowledges the dependence without blame.

β€’ Explains honestly why CBT-I works better long-term and why hypnotics lose effect and carry risks (falls, dependence, next-day impairment).

β€’ Agrees a shared, gradual tapering plan alongside CBT-I – never an abrupt stop.

β€’ Provides clear safety-netting and review.

β€’ Respects his autonomy throughout.


πŸ“ŽReference: NICE Clinical Knowledge Summaries. Insomnia. Available from: https://cks.nice.org.uk/topics/insomnia/

πŸ“ŽReference: NICE TA922. Daridorexant for treating long-term insomnia. Available from: https://www.nice.org.uk/guidance/ta922

πŸ“ŽReference: NICE MTG70. Sleepio to treat insomnia and insomnia symptoms. Available from: https://www.nice.org.uk/guidance/mtg70

πŸ“ŽReference: DVLA. Excessive sleepiness, including obstructive sleep apnoea syndrome: assessing fitness to drive. Available from: https://www.gov.uk/guidance/miscellaneous-conditions-assessing-fitness-to-drive

πŸ“ŽReference: DVLA. Primary/central hypersomnias including narcolepsy: assessing fitness to drive. Available from: https://www.gov.uk/guidance/neurological-disorders-assessing-fitness-to-drive

πŸ“ŽReference: MHRA Drug Safety Update. Benzodiazepines and opioids: reminder of risk of potentially fatal respiratory depression. Available from: https://www.gov.uk/drug-safety-update/benzodiazepines-and-opioids-reminder-of-risk-of-potentially-fatal-respiratory-depression

Three whole topics are free to read. Every topic opens with a free account.

Your CPD is counted as you read, and kept from the day you join.

Join us, it’s free

Part of The Ocean Library, structured clinical topics mapped to the primary care curriculum. Companion audio in Echo Β· one-page summary in The Scope.

We use cookies to keep the site working. With your OK, we also use them to count visits, so we can see which pages help most, and to remember your choices. Privacy policy