?Sleep CalculatorFind your ideal bedtime ??Nap CalculatorOptimal nap durations ??Sleep by AgeRecommendations by age ??Sleep DebtTrack your sleep deficit ??Fall Asleep Fast12 proven methods ??Sleep Schedule7-day personalized plan ??Chronotype QuizFind your sleep animal ??Insomnia GuideCauses & CBT-I treatment ??How Much SleepYour personal number ??Sleep DeprivationEffects & recovery
??AboutOur mission & sources ??ContactGet in touch
Affects 1 in 3 adults

Insomnia — what it is,
what causes it, how to fix it

Most people who struggle to sleep are told to "try melatonin" or "avoid screens." But the most effective insomnia treatment isn't a pill — it's a structured programme that rewires how your brain relates to sleep.

Quick insomnia self-assessment

Answer 5 questions to see whether your sleep difficulty looks like occasional insomnia or chronic insomnia.

Rarely
1–2 nights/week
3–4 nights/week
Almost every night
Under 1 month
1–3 months
Over 3 months
Barely
Somewhat
Significantly
I can barely function
Never
Sometimes
Often
Always
Never
Occasionally
Regularly
Your sleep difficulty score:

What is insomnia?

Insomnia is defined clinically as difficulty falling asleep, staying asleep, or waking too early — occurring at least 3 nights per week, for at least 3 months, despite adequate opportunity for sleep, and causing daytime impairment. It affects an estimated 10–15% of adults chronically, and up to 30% experience short-term symptoms at any given time.

Insomnia is not simply "not sleeping enough." People with insomnia often lie in bed for long periods but cannot sleep — the problem is not with the amount of time allocated to sleep, but with the brain's ability to transition into and maintain sleep.

Types of insomnia

Short-term

Acute insomnia

Lasts days to weeks, triggered by a specific stressor — a life event, illness, travel, shift change, or new medication. Often resolves on its own when the stressor resolves.

Chronic

Chronic insomnia

Persists for 3+ months, occurring 3+ nights per week. Often self-perpetuating — the fear of not sleeping becomes its own cause. Requires targeted treatment.

Subtype

Sleep onset insomnia

Difficulty falling asleep. Takes 30+ minutes after getting into bed. Often linked to anxiety, rumination, or an irregular sleep schedule.

Subtype

Sleep maintenance insomnia

Falls asleep but wakes frequently during the night or very early in the morning and can't return to sleep. More common in older adults and those with depression.

What causes insomnia?

😟

Stress and anxiety

The most common cause. Cortisol and adrenaline — the stress hormones — are biologically incompatible with sleep onset. The brain interprets stress as danger, keeping it in a state of alert. Sleep anxiety (worrying about not sleeping) is particularly self-reinforcing.

🧠

Conditioned arousal (learned insomnia)

Over time, the bed becomes associated with wakefulness and frustration rather than sleep. The brain learns to become alert when you get into bed — the opposite of what should happen. This is the core mechanism behind chronic insomnia.

💊

Medications

Many common medications disrupt sleep: antidepressants (SSRIs, SNRIs), blood pressure medications (beta blockers), corticosteroids, decongestants, and some asthma medications. If sleep problems coincide with a new prescription, discuss alternatives with your doctor.

😴

Sleep disorders

Undiagnosed sleep apnea causes repeated micro-awakenings that fragment sleep without full waking. Restless leg syndrome causes uncomfortable sensations that prevent sleep onset. Both are significantly underdiagnosed.

Lifestyle factors

Irregular sleep schedules, late caffeine, alcohol (suppresses REM), excessive screen use before bed, and irregular light exposure all disrupt the circadian system and sleep pressure in ways that can cause or worsen insomnia.

🏥

Medical and mental health conditions

Depression, chronic pain, heart conditions, GERD, hyperthyroidism, and many other conditions are associated with insomnia. In these cases, treating the underlying condition often improves sleep.

The most effective treatment: CBT-I

Cognitive Behavioural Therapy for Insomnia (CBT-I) is the first-line recommended treatment for chronic insomnia from the American College of Physicians, the British Sleep Society, and the European Sleep Research Society — all recommending it above sleeping pills.

A 2015 meta-analysis of 20 trials found CBT-I produced larger and more durable improvements than pharmacological treatment, with no side effects or dependency risk. Effects persist long after treatment ends; sleeping pills lose effectiveness and create dependency.

1

Sleep restriction therapy

Temporarily limit time in bed to your actual sleep time (e.g. 5.5 hours). This builds sleep pressure, consolidating fragmented sleep. Counterintuitive and temporarily uncomfortable — but highly effective within 1–2 weeks.

2

Stimulus control therapy

Use bed only for sleep and sex. If unable to sleep after 20 minutes, get up and return only when sleepy. Breaks the conditioned arousal association between bed and wakefulness.

3

Sleep hygiene education

Consistent schedule, light management, temperature optimisation, caffeine cutoff, exercise timing. Necessary but insufficient alone — most insomnia requires all CBT-I components.

4

Cognitive restructuring

Challenging unhelpful beliefs about sleep ("I must get 8 hours or tomorrow is ruined", "I've lost the ability to sleep"). These beliefs increase arousal and perpetuate insomnia. CBT challenges them directly.

5

Relaxation techniques

Progressive muscle relaxation, breathing exercises, and mindfulness reduce the physiological arousal that prevents sleep onset. Work best in combination with the other components.

⚕️ When to see a doctor: If your insomnia persists for more than 3 months, significantly affects daily functioning, or is accompanied by loud snoring, gasping, or extreme daytime sleepiness — see a doctor. A sleep study may be warranted to rule out sleep apnea or other disorders.

Start with cycle-aligned sleep

One simple change for better sleep: align your alarm with cycle boundaries. Waking mid-cycle worsens sleep anxiety and daytime fatigue.

Calculate my ideal sleep time →

Explore More Tools

Discover all the sleep tools GoodSleep has to offer