Insomnia means regular trouble falling asleep, staying asleep or waking too early, even with time to sleep, and it affects your day. It counts as chronic at 3 nights a week for 3 months. Guidelines recommend CBT for insomnia (CBT-I) first, and meditation may help a little alongside it.
What is insomnia?
Insomnia is trouble falling asleep, staying asleep or getting good-quality sleep, even when you have enough time and a chance to sleep [1]. What makes it insomnia, rather than one bad night, is that it affects your day. You may feel tired, low or unable to focus, and the poor sleep itself starts to worry you [2].
It is very common. A review of more than 50 population surveys found that about 1 in 3 adults has at least one insomnia symptom [3]. About 6% meet the full criteria for an insomnia diagnosis, and rates are higher in women [3].
This guide covers the types of insomnia, what causes it and the treatment guidelines recommend first. It also explains what sleep habits and meditation can and can't do, and when to see a doctor. For how sleep itself works, see how sleep works.
If lying awake has become part of your nights, a calm seated pause in the evening may help your mind slow down. Miracle of Mind is a free 7-minute guided meditation of breath and attention, designed by Sadhguru, that can send a daily reminder. It comes in 15 languages, has no ads or subscription, and is not a treatment for insomnia or any sleep disorder.
Can't sleep tonight? A 5-minute seated wind-down
Do this sitting up, about 30 minutes before you plan to sleep. A chair, a sofa or the edge of your bed all work. Read the steps once, then put your phone away.
- Sit comfortably. Sit on a chair or sofa with your feet flat, or sit cross-legged with your back against a cushion. Keep your back upright but relaxed and rest your hands in your lap.
- Gently close your eyes. Dim the lights first. If closing your eyes feels uneasy, lower your gaze to the floor.
- Notice your breath as it is. Feel the air at your nose or your belly rising and falling for a few breaths. Don't try to change it yet.
- Make the breath out longer. Breathe in through your nose for a count of about four, and out for about six. Keep it soft and easy, never forced.
- Let thoughts pass. Plans and worries will come up. Notice each one, tell yourself you can deal with it tomorrow, and return to the count.
- Finish slowly. After about 5 minutes, let your breathing return to normal and open your eyes. Go to bed when you feel sleepy, not before.
This is not a way to force sleep. It gives a busy mind something calm to do, and a worried, alert mind is one of the main things that keeps insomnia going [4].
What are the types of insomnia?
Doctors mainly sort insomnia by how long it lasts. Short-term insomnia usually follows stress or a change in your schedule or surroundings, and can last days or weeks [1]. Chronic insomnia happens at least 3 nights a week and lasts more than 3 months [1].
Insomnia can also be the main problem or sit alongside another condition. It more often comes with conditions such as pain or depression than on its own [2]. Even then, it is now seen as a disorder in its own right that deserves its own treatment [2].
| Short-term insomnia | Chronic insomnia | |
|---|---|---|
| How long | Days or weeks, under 3 months [6] | 3 or more nights a week, for more than 3 months [1] |
| Typical triggers | Stress, jet lag, shift work, a new bedroom [6] | Often starts with a trigger, then worry about sleep keeps it going [4] |
| What usually helps first | Steady sleep habits and time [6] | CBT for insomnia (CBT-I) [7] |
| When to see a doctor | If changing your habits hasn't helped [6] | Now, if you have not already [6] |
You may also hear about trouble falling asleep, trouble staying asleep and waking too early as separate types. Many people have a mix of these, so a doctor will look at your whole sleep pattern, often with a sleep diary [5].
What causes insomnia?
Insomnia usually has more than one cause. The NHS lists these as common ones [6]:
- Stress, anxiety or depression. People with insomnia are more likely to have depression, and in long-term studies insomnia that persists is linked with new episodes of depression [3].
- Your surroundings. Noise, a room that is too hot or cold, or an uncomfortable bed [6].
- Caffeine, alcohol and nicotine, especially later in the day [6].
- A changing schedule. Jet lag and shift work upset your body clock [6].
- Health conditions. Long-term pain, an overactive thyroid, menopause, sleep apnoea and some mental health conditions can all disrupt sleep [6].
- Some medicines. If you think a medicine is affecting your sleep, ask your doctor. Don't stop or change it on your own.
Why does insomnia often outlast its first cause? A widely cited 2002 model of insomnia suggests that worry about sleep becomes a cause in itself [4]. You lie awake watching the clock, the worry makes you more alert, and habits meant to help, like long lie-ins, backfire [4].
Experts still don't fully understand what goes on in the brain in insomnia [2]. That is one reason treatment focuses on the thoughts and habits around sleep, which can be changed. If ringing ears keep you up, read coping with tinnitus at night.
How to get rid of insomnia: CBT-I comes first
The American College of Physicians recommends that all adults with chronic insomnia get cognitive behavioural therapy for insomnia (CBT-I) as their first treatment [8]. The American Academy of Sleep Medicine (AASM) gives CBT-I a strong recommendation [7]. The European Sleep Research Society calls it first-line for adults of any age [5].
CBT-I is a short, structured course, usually over several weeks. It combines a few parts:
- Stimulus control: using the bed only for sleep, and getting up to do something calm in dim light when you can't sleep [7].
- Sleep restriction: keeping your time in bed close to the time you actually sleep, then slowly extending it [7]. This is best planned with a clinician or a structured programme.
- Cognitive therapy: working on worries about sleep, such as fear of how you will cope tomorrow [9].
- Relaxation and sleep habits, such as a steady wake-up time [9].
A 2015 meta-analysis of 20 trials with 1,162 adults found that CBT-I helped people fall asleep about 19 minutes faster [9]. They spent about 26 minutes less awake during the night, and no harms were reported [9]. The gains seemed to last after treatment ended [9].
A 2025 review of 29 trials with 9,475 people looked at fully automated online CBT-I [10]. It had moderate to large effects on insomnia severity, though smaller than CBT-I with a therapist [10]. In the UK, NICE recommends a digital CBT-I programme for people who would otherwise be offered sleep hygiene advice or sleeping pills [11].
Why sleep hygiene alone is often not enough
Sleep hygiene means good sleep habits: a regular schedule, a dark and quiet bedroom, less caffeine and fewer screens before bed [12]. These habits are sensible for everyone. For chronic insomnia, though, the AASM advises against using sleep hygiene as the only treatment [7].
A 2025 meta-analysis of 42 trials with 4,245 adults found that sleep hygiene education did improve insomnia scores [13]. But it worked less well than CBT-I, partial CBT-I or exercise [13]. Most of the trials also had a high risk of bias [13].
So if you have tidied up your habits and still sleep badly most nights, it is not your fault. It is a sign that you may need the more structured help of CBT-I.
Free toolBreathe along with a guided wind-downFree, in your browser, with a calm voice and a slow breathing pace for the eveningOpenCan meditation help insomnia?
Meditation may help some people with insomnia, mainly by easing the busy, alert mind at bedtime. The evidence is promising but small, and it supports meditation alongside CBT-I rather than in place of it. For waking at 3am, see how to fall back asleep.
- Sleep quality: a 2020 meta-analysis of 5 trials with 520 people with insomnia found mindfulness programmes improved sleep quality more than control groups [14]. With only 5 trials, this is early evidence.
- Time awake at night: in a 2014 trial of 54 adults with chronic insomnia, 8-week mindfulness courses cut night-time waking by about 44 minutes [15]. A self-monitoring group improved by about 1 minute [15].
- Not every measure moved: a 2016 meta-analysis of 6 trials with 330 people found better sleep quality and less time awake [16]. It found no clear change in how fast people fell asleep or how long they slept in total [16].
- Compared with CBT-I: a 2019 review of 18 trials found mindfulness improved sleep quality more than sleep education [17]. Low-strength evidence found no clear difference from treatments such as CBT-I, so we don't know yet how they truly compare [17].
These trials tested structured courses run over several weeks, not a single short session. For how to fit meditation into your evening, read our guide to meditation for sleep. If worry loops are what keep you awake, see meditation for overthinking.
How the options compare
Here is a quick view of the main options for chronic insomnia and what the research found for each.
| Option | What the research found | Where it fits |
|---|---|---|
| CBT-I with a therapist | About 19 minutes faster to fall asleep and 26 minutes less awake, across 20 trials [9] | First treatment for chronic insomnia [8] |
| Digital CBT-I | Moderate to large effects across 29 trials, less than with a therapist [10] | When face-to-face CBT-I is hard to get [11] |
| Sleep hygiene alone | Some improvement, but less than CBT-I across 42 trials [13] | Good habits for everyone; not enough on its own [7] |
| Mindfulness programmes | Better sleep quality in 5 small trials [14] | Alongside CBT-I, especially for a busy mind at night |
| Sleeping pills | Some are effective in the short term, 4 weeks or less [5] | Only through a doctor, if CBT-I is not enough or not available [5] |
The NHS says sleeping pills are rarely prescribed for insomnia, and then usually only for a few days or weeks [6]. The European guideline does not recommend antihistamines or melatonin for insomnia [5]. Talk to your doctor before taking anything to help you sleep.
When it feels hard: common problems and what to do
Living with insomnia is tiring, and the fixes can feel slow. These are the problems people raise most, with a simple step for each.
- 'The more I try to sleep, the more awake I feel.' Trying hard makes the mind more alert [4]. Get up, sit somewhere calm in dim light, and go back to bed only when you feel sleepy [6].
- 'I want to sleep in after a bad night.' Get up at your usual time instead. The NHS advises a steady wake-up time and no sleeping in [6].
- 'My mind races as soon as the light goes off.' Do a seated wind-down earlier in the evening. Write tomorrow's worries on paper before bed.
- 'Meditation makes me think about not sleeping.' Stop aiming for sleep. Use the practice to rest your attention on the breath, and let sleep come later.
- 'I can't get CBT-I where I live.' Ask your doctor about an online CBT-I programme. In trials these helped, though less than working with a therapist [10].
When to see a doctor about insomnia
See a doctor if better sleep habits haven't helped, if poor sleep has lasted months, or if daily life feels hard [6]. A doctor will ask about your sleep habits and your health, and may ask you to keep a sleep diary [5].
Chronic insomnia is linked with a higher risk of high blood pressure, heart disease and diabetes [1]. A link doesn't prove insomnia causes these, but it is a good reason not to put off getting help.
- See a doctor soon if you snore loudly, stop breathing or gasp in your sleep, or feel very sleepy during the day. These can be signs of sleep apnoea or another sleep disorder [6].
- Don't drive or use machinery when you feel very sleepy [6].
- Don't stop or change any medicine on your own, including sleeping pills. Talk to your doctor first.
- If your mood is very low or you feel hopeless, tell your doctor or someone you trust.
- If you are in crisis or thinking about harming yourself, contact your local emergency services now. You can find a free helpline in your country at findahelpline.com.
Meditation and breathing are not a replacement for medical care. They can sit alongside it.
What to try next
Start with one change this week: a fixed wake-up time, plus a short seated practice in the evening. To learn the basics, read our guide on how to meditate. If stress is behind your sleepless nights, meditation for stress and anxiety covers what helps.
If you prefer to sit in silence, set a gentle bell with our meditation timer. For a check on how worried you have been lately, our free anxiety check takes about 2 minutes and is not a diagnosis.
Free toolTry a 3-minute guided breathing sessionFree, in your browser, with a calm voice to followOpenWhat the evidence can't tell us yet
- The mindfulness trials for insomnia are few and small: 5 trials with 520 people in one review, 6 trials with 330 in another [14] [16].
- Evidence comparing mindfulness directly with CBT-I is low in strength, so we don't know yet how they compare [17].
- The main CBT-I meta-analysis left out people with other medical, sleep or mental health conditions, who are many of those with insomnia [9].
- Our best prevalence figures come from a 2002 review of older surveys, and rates depend on how insomnia is defined [3].
Why this matters for a 7-minute practice
Worry and an alert mind at bedtime help keep insomnia going [4]; in a trial of 54 adults, mindfulness courses eased that alertness before sleep [15]. A short seated practice each evening, such as 7 minutes of breath and attention, is an easy way to start winding down. The trials tested courses run over several weeks, so similar effects can't be assumed, and it works best alongside CBT-I.
Frequently asked questions
What is insomnia in simple words?
Insomnia is regular trouble falling asleep, staying asleep or getting good sleep, even when you have time to sleep [1]. It also affects how you feel and cope during the day [2].
What is the main cause of insomnia?
There is rarely one cause. Stress, anxiety, caffeine, shift work, pain and some health conditions are common triggers [6]. Worry about sleep itself often keeps insomnia going after the first cause has passed [4].
How long does insomnia last?
Short-term insomnia lasts days or weeks, often after stress or a schedule change [1]. It counts as chronic when it happens 3 or more nights a week for more than 3 months [1].
How do you get rid of insomnia?
For chronic insomnia, guidelines recommend CBT for insomnia (CBT-I) as the first treatment [8]. In 20 trials it helped people fall asleep about 19 minutes faster [9]. Steady sleep habits help, but on their own they are usually not enough [7].
Can meditation help insomnia?
It may: in 5 trials with 520 people with insomnia, mindfulness programmes improved sleep quality [14]. The evidence is small, so use meditation alongside CBT-I, not instead of it. Meditate sitting up, before you go to bed.
Is sleep hygiene enough to fix insomnia?
Usually not on its own. Across 42 trials, sleep hygiene education helped less than CBT-I [13], and the AASM doesn't recommend it as the only treatment [7].
Are sleeping pills a good idea for insomnia?
Some work in the short term, but guidelines suggest them only if CBT-I is not enough or not available [5]. The NHS says they are usually prescribed only for a few days or weeks [6]. Always decide with your doctor.
When should I see a doctor about insomnia?
See a doctor if better habits haven't helped, if poor sleep has lasted months, or if it makes daily life hard [6]. Get checked quickly for loud snoring, gasping at night or strong daytime sleepiness. In a crisis, contact local emergency services or findahelpline.com.
Research and references
17 studies
- National Heart, Lung, and Blood Institute (NIH)Government page
What Is Insomnia?. NHLBI, National Institutes of Health.
- Morin et al., 2015Review
Insomnia disorder. Nature Reviews Disease Primers.
- Ohayon, 2002Systematic review
About 1 in 3 adults has an insomnia symptom; about 6% meet the criteria for an insomnia diagnosis.
Epidemiology of insomnia: what we know and what we still need to learn. Sleep Medicine Reviews.
- Harvey AG, 2002Review
A cognitive model of insomnia. Behaviour Research and Therapy.
European guideline for the diagnosis and treatment of insomnia. Journal of Sleep Research.
- NHS, 2024Government page
Insomnia. National Health Service (UK).
- Edinger JD et al. (AASM), 2021Guideline
Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine / American Academy of Sleep Medicine.
- Qaseem et al. (ACP), 2016Guideline
Recommends CBT-I as the first treatment for all adults with chronic insomnia.
Management of Chronic Insomnia Disorder in Adults: A Clinical Practice Guideline From the American College of Physicians. Annals of Internal Medicine.
- Trauer et al., 2015Meta-analysis
Across 20 trials with 1,162 adults, CBT-I cut time to fall asleep by about 19 minutes and time awake at night by about 26 minutes.
Cognitive Behavioral Therapy for Chronic Insomnia: A Systematic Review and Meta-analysis. Annals of Internal Medicine.
- Hwang et al., 2025Meta-analysis
Systematic review and meta-analysis on fully automated digital cognitive behavioral therapy for insomnia. npj Digital Medicine.
- NICE, 2022Guideline
Sleepio to treat insomnia and insomnia symptoms (HealthTech guidance HTG624, formerly MTG70). National Institute for Health and Care Excellence.
- National Heart, Lung, and Blood Institute (NIH), n.d.Government page
Sleep Deprivation and Deficiency - Healthy Sleep Habits. NHLBI, National Institutes of Health.
- Ruan et al., 2025Meta-analysis
Across 42 trials with 4,245 adults, sleep hygiene education helped less than CBT-I; most trials had a high risk of bias.
Effects of sleep hygiene education for insomnia: A systematic review and meta-analysis. Sleep Medicine Reviews.
- Wang et al., 2020Meta-analysis
In 5 trials with 520 people with insomnia, mindfulness programmes improved sleep quality more than controls.
Mindfulness-Based Interventions for Insomnia: A Meta-Analysis of Randomized Controlled Trials. Behavioral Sleep Medicine.
In 54 adults with chronic insomnia, 8-week mindfulness programmes cut time awake by about 44 minutes a night.
A Randomized Controlled Trial of Mindfulness Meditation for Chronic Insomnia. Sleep.
- Gong H et al., 2016Meta-analysis
Mindfulness meditation for insomnia: A meta-analysis of randomized controlled trials. Journal of Psychosomatic Research.
- Rusch et al., 2019Meta-analysis
The effect of mindfulness meditation on sleep quality: a systematic review and meta-analysis of randomized controlled trials. Annals of the New York Academy of Sciences.
This article is for general information and is not medical advice. If you are struggling, talk to a doctor or a qualified mental health professional. In a crisis, contact your local emergency number.