What the comparison shows
- Short term: broadly comparable. Both reduce the time to fall asleep and improve sleep quality over the first weeks.
- Long term: CBT-I is clearly better. Effects persist 6 to 12 months after treatment ends; medication effects stop when you stop taking it.
- Side effects: medication carries next-day impairment, falls risk — particularly in older adults — tolerance, dependence and withdrawal. CBT-I's main side effect is temporary daytime sleepiness during sleep restriction.
- Dropout: medication is easier to persist with in the first fortnight; CBT-I has higher early dropout because sleep restriction is uncomfortable.
What medication is good for
- Short-term use during an acute crisis — bereavement, a brief intense stressor.
- Bridging while waiting for behavioural treatment to take effect.
- People for whom CBT-I is inaccessible or has failed, in discussion with a doctor.
- Occasional rather than nightly use, which preserves effectiveness and reduces dependence.
What CBT-I is good for
- Chronic insomnia, where the goal is durable change rather than tonight's result.
- People who want to stop relying on medication.
- People with coexisting conditions — CBT-I remains effective with pain, cancer, cardiovascular disease and depression.
- Older adults, where medication risk is highest.
Combining them
They are not mutually exclusive. Many people use medication short-term while starting CBT-I and then taper. If you are already taking a hypnotic regularly, do not stop abruptly — discuss a taper with your doctor, and expect a few nights of rebound insomnia, which is normal and temporary.
Important cautions
- Never combine sleeping pills with alcohol.
- Do not add a dose in the middle of the night unless a doctor has specifically told you to — next-morning impairment is a real risk.
- Be aware of driving and operating machinery while affected.
- Over-the-counter antihistamines sedate but are not a good long-term solution, and they carry anticholinergic burden, particularly in older adults.
What this site is not
Nothing here is medical advice, and nothing here prescribes. If insomnia has lasted more than three months, or if it comes with snoring and observed pauses in breathing, leg discomfort, or low mood, see a doctor — several of these have specific treatments that no behavioural technique substitutes for.