In this article
After some time, it is understandable to seek a quick solution, which often appears to be a tablet. However, research over recent decades has shown that the most effective and lasting treatment for chronic insomnia is not a medicine but a structured psychological intervention: cognitive behavioural therapy for insomnia (CBT-I).
This does not mean medication has no place. It does, in specific situations and under clear rules. This article explains both approaches, how they work, what the evidence says about each and how they may be combined. It is for information only: treatment is always chosen during an appointment, after considering each person's causes and circumstances.
The aims of treatment
Treating chronic insomnia is not simply about getting more hours of sleep. Goals include falling asleep more quickly, waking less during the night, having more stable sleep and, above all, feeling better during the day, with more energy, a better mood and less worry about sleep.
Another often overlooked goal is to restore confidence in the natural ability to sleep. In chronic insomnia, sleep becomes a source of anxiety and effort, and that effort pushes sleep further away. Good treatment helps break this cycle.
Cognitive behavioural therapy for insomnia
This therapy combines several techniques over a number of weeks, targeting the behaviours and thoughts that perpetuate insomnia. The 2023 European guideline recommends it as first-line treatment for chronic insomnia in adults of any age, including people with other physical or mental health conditions, with the highest recommendation grade.
| Component | What it is | Aim |
|---|---|---|
| Sleep education | Explain how sleep works and what perpetuates insomnia | Correct misconceptions, reduce anxiety |
| Time in bed restriction | Match time in bed to time actually spent asleep | Consolidate sleep and increase sleep pressure |
| Stimulus control | Use the bed only for sleep; get up if unable to fall asleep | Reassociate the bed with sleep |
| Cognitive restructuring | Review beliefs and worries about sleep | Reduce mental alertness at night |
| Relaxation techniques | Breathing, muscle relaxation | Reduce physical and mental tension |
| Sleep hygiene | Supportive habits and environment | An addition, not enough on its own |
Treatment usually uses a sleep diary in which the person records bedtime, how long it takes to fall asleep, awakenings and getting-up time. This diary provides the basis for adjusting techniques each week.
Sleep restriction and stimulus control
The two core behavioural techniques may initially seem contradictory. Someone who sleeps little is asked to spend less time in bed, not more. The reasoning is simple: lying awake for many hours makes sleep shallow and fragmented and reinforces the association between bed and frustration. Temporarily reducing time in bed to close to the time actually slept makes sleep deeper and more continuous. As it improves, time in bed is gradually extended.
Stimulus control complements this approach: go to bed only when sleepy, do not use the bed for activities other than sleep and intimacy, get up if unable to sleep after a while and return only when sleepiness returns, and keep the same getting-up time every day.
During the first few weeks, these techniques may increase daytime sleepiness. They should therefore be supervised by a professional, and people with certain conditions, such as epilepsy or bipolar disorder, or occupations where sleepiness is dangerous, need adaptations. Particular care is needed when driving during this phase.
Formats and what the evidence says
Therapy may be delivered individually, in a group or through structured digital programmes. The European guideline considers both face-to-face and digital formats effective. Digital treatment improves access, but does not suit everyone, and some people benefit more from direct contact with a therapist.
An important advantage is that its effects tend to last after treatment ends, unlike medication, whose effects often disappear when it is stopped. Its limitations should also be acknowledged: not everyone responds, treatment requires commitment for several weeks and many places still have few specifically trained professionals.
| Format | Advantages | Limitations |
|---|---|---|
| Individual face-to-face treatment | Tailored to the person, close support | Requires travel and availability |
| Group treatment | Shared experiences | Less personalised |
| Structured digital treatment | Wider access, flexible schedule | Requires independence; less support |
Complementary therapies
Other interventions may help alongside the core cognitive behavioural therapy. The European guideline considers light therapy and physical exercise potentially useful additions, with an intermediate recommendation grade. Exposure to natural light in the morning, for example, helps stabilise the body clock.
Other approaches, such as mindfulness meditation, yoga and acupuncture, have been studied with variable results and generally weaker evidence. They may be pleasant and helpful for some people, but do not replace first-line treatment.
When medication is considered
The European guideline states that medication may be offered when cognitive behavioural therapy is not sufficiently effective. The 2017 American Academy of Sleep Medicine guideline on drug treatment takes a similar position: for people unable to undertake therapy, those with persistent symptoms despite it, or as temporary support in selected cases. That guideline rated all recommendations for specific medicines as weak, reflecting the limited quality of much of the available evidence. Sleeping medicines are prescription-only and should be used only after an assessment considers age, other conditions and medicines, alcohol consumption, driving and occupation.
Classes of medicines used
Several classes of medicines are used to treat insomnia. The European guideline states that they may be used for short-term treatment, generally up to four weeks, and that longer treatment may be started in some cases after weighing the benefits and risks.
| Class | How they work in general terms | Main precautions |
|---|---|---|
| Benzodiazepines | Reduce nervous system activity | Short-term use; risk of dependence, falls and next-day drowsiness |
| Benzodiazepine receptor agonists | Similar mechanism, more specifically targeted at sleep | Similar risks; complex sleep behaviours are possible |
| Orexin receptor antagonists | Block a wakefulness signal in the brain | Newer; medical assessment essential |
| Low-dose sedating antidepressants | The sedating effect of some antidepressants | More limited evidence; their own side effects |
Choosing the class and specific medicine is a medical decision tailored to each case. No one should take medicine prescribed to someone else.
What is not recommended
Several products are widely used for sleep but lack evidence to support recommending them for chronic insomnia. The European guideline does not recommend antihistamines, antipsychotics, immediate-release melatonin or herbal medicines for this purpose. The American guideline specifically advised against valerian.
| Product | Guideline position |
|---|---|
| Sedating antihistamines | Not recommended |
| Antipsychotics | Not recommended for insomnia alone |
| Immediate-release melatonin | Not recommended for chronic insomnia in adults |
| Herbal products | Insufficient evidence; not recommended |
| Alcohol | Fragments sleep; not a treatment |
Being sold without a prescription or described as “natural” does not guarantee that a product is effective or risk-free, particularly when combined with other medicines.
Combining, adjusting and stopping treatment
Therapy and medication are not incompatible. For some people, it makes sense to use medication briefly while starting cognitive behavioural therapy, then reduce it in a planned way. For others, therapy makes it possible to stop medication that has been used for a long time.
Starting, adjusting or stopping medication is always a doctor's decision. Stopping suddenly, particularly after prolonged use, may cause rebound insomnia, anxiety and, with benzodiazepines, withdrawal symptoms. Reduction should be gradual and supervised, and cognitive behavioural therapy can make the process easier.
Insomnia alongside other health problems
Many people with chronic insomnia also have anxiety, depression, chronic pain or other conditions. The European guideline is clear: cognitive behavioural therapy for insomnia should also be offered to these people, because insomnia does not necessarily disappear when the other problem is treated. In some cases, treating insomnia also improves mood and anxiety.
When other sleep disorders such as sleep apnoea or restless legs syndrome are suspected, they should be assessed because they require different treatments. If insomnia occurs alongside severe emotional distress, hopelessness or thoughts of death, seek help immediately.
At Clínica Alegre in Setúbal and Seixal, the appointment begins with listening and understanding what is affecting sleep, so the options can be explained and the most appropriate support decided together.
Frequently asked questions
Is cognitive behavioural therapy just “talking about sleep”?
No. It is a structured treatment with practical techniques, such as adjusting time in bed and changing habits and thoughts that perpetuate insomnia.
How long does it take to work?
Improvements usually emerge over several weeks. The first few may be more difficult because of temporarily increased sleepiness.
Are sleeping tablets dangerous?
They may be useful for short periods, but carry risks such as dependence, falls and next-day drowsiness. They must be prescribed and monitored.
Does melatonin resolve chronic insomnia?
The European guideline does not recommend immediate-release melatonin for chronic insomnia in adults.
Can I have therapy if I already take sleeping medication?
Yes. Therapy may even help reduce medication in a planned way, always with your doctor.
Do digital programmes work?
The European guideline considers them effective, although some people prefer and benefit more from face-to-face support.
Did you enjoy this article?
Scientific references2
- Riemann D, Espie CA, Altena E, Arnardottir ES, Baglioni C, Bassetti CLA, et al. The European Insomnia Guideline: an update on the diagnosis and treatment of insomnia 2023. Journal of Sleep Research. 2023;32(6):e14035.
- Sateia MJ, Buysse DJ, Krystal AD, Neubauer DN, Heald JL. Clinical practice guideline for the pharmacologic treatment of chronic insomnia in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine. 2017;13(2):307-349.





