CIRCADIANSTACK·v1.2
methodology →
CLUSTER · Edge Cases

What causes insomnia: the difference between what starts it and what keeps it going

Insomnia is rarely caused by one thing. The most useful model separates the traits that make you vulnerable, the event that triggers a bad stretch, and the coping habits that turn a few rough nights into a lasting problem. What the research says about stress, caffeine, an irregular schedule, medical and psychiatric causes, and why the behaviors that feel helpful at 3am are often what keep insomnia alive.

By The CircadianStack Editorial Team
Editorial · Chronobiology desk
Reviewed by Dr. Iris Chen, MD, Sleep MedicineCredential verification pending
PUBLISHED 2026-08-06REVIEWED 2026-08-069 MIN
What causes insomnia: the difference between what starts it and what keeps it going

Insomnia is rarely caused by one thing. The most useful model separates the traits that make you vulnerable, the event that triggers a bad stretch, and the coping habits that turn a few rough nights into a lasting problem. What the research says about stress, caffeine, an irregular schedule, medical and psychiatric causes, and why the behaviors that feel helpful at 3am are often what keep insomnia alive.

01 ·

The model that actually explains insomnia

The single most useful framework for what causes insomnia is the behavioral model Arthur Spielman and colleagues set out in 1987, often called the 3P model. It separates three kinds of cause. Predisposing factors are the stable traits that make a person vulnerable: a tendency toward anxiety, a hyper-reactive stress system, an older age, or a family history. Precipitating factors are the events that trigger a bad stretch: a job loss, grief, pain, a new baby, a stressful deadline. Perpetuating factors are the behaviors and beliefs a person adopts to cope, which paradoxically keep insomnia going after the original trigger has faded. The power of the model is that it explains why almost everyone has a few bad nights but only some people develop lasting insomnia: the difference is usually not the trigger but what happens next.

02 ·

The precipitating causes: stress, change, illness

Acute insomnia almost always has a precipitating cause, and stress is the most common one. Psychological stress raises arousal and pushes cortisol and heart rate up at exactly the wrong time, making the transition into sleep harder. Life changes that disrupt the schedule (a new shift, travel across time zones, a newborn) are common triggers, as are physical causes: pain, illness, a fever, breathing problems, restless legs, and hormonal shifts such as those around menopause. Medications and substances matter too; stimulants, some antidepressants, corticosteroids like prednisone, and decongestants can all provoke it. For acute insomnia the practical read is reassuring: identify the trigger, expect the sleep disruption to ease as it resolves, and avoid the coping habits that would otherwise make it stick.

03 ·

The perpetuating causes: why it does not go away

The reason a few bad nights become a chronic problem is almost always the perpetuating layer, and this is the most important and least intuitive part. After a run of poor sleep, people do sensible-seeming things to catch up: they go to bed earlier, lie in later, nap in the afternoon, and spend long stretches lying awake in bed trying to force sleep. Every one of these backfires. Spending more time in bed than you can actually sleep dilutes sleep pressure and trains the brain to associate the bed with being awake and frustrated, which is the exact opposite of what you want. Anxiety about sleep then builds on itself, so the fear of not sleeping becomes its own cause. This is why chronic insomnia can persist long after the original stressor is gone, and why the treatment targets these habits rather than the trigger.

04 ·

Caffeine, alcohol, and the inputs you control

Some causes of insomnia are simply inputs that are set wrong, and they are the easiest to fix. Caffeine is the clearest: Christopher Drake and colleagues showed in 2013 in the Journal of Clinical Sleep Medicine that 400 mg of caffeine taken even 6 hours before bed measurably worsened sleep, which is why the safe habit is to stop caffeine in the early afternoon. Alcohol is the great false friend; it speeds sleep onset but fragments the second half of the night and suppresses REM, so a nightcap trades faster sleep for worse sleep later. An irregular schedule is a quieter cause: a wake time that drifts by hours across the week leaves the circadian clock unanchored, so tiredness arrives unpredictably. Bright evening light and screens delay the clock further. None of these are the deep cause of insomnia, but they load the dice against sleep and are worth clearing before anything else.

05 ·

When insomnia is a symptom of something else

Insomnia frequently rides along with another condition, and treating the sleep in isolation then fails. Depression and anxiety disorders are the most common companions; the relationship runs both ways, so insomnia can be both a symptom and a driver of low mood. Chronic pain, an overactive thyroid, heart and lung disease, acid reflux, and hormonal changes all disturb sleep directly. Two sleep disorders in particular masquerade as insomnia: obstructive sleep apnea, where repeated breathing pauses fragment the night and leave a person feeling unrefreshed, and restless legs syndrome, where an urge to move the legs blocks sleep onset in the evening. The practical point is that insomnia which does not respond to the usual behavioral steps, or which comes with loud snoring, gasping, an unshakable low mood, or unexplained physical symptoms, deserves a medical assessment rather than another sleep aid.

06 ·

What to do once you know the cause

Matching the fix to the layer is the whole game. For acute insomnia with a clear trigger, protect the basics and wait it out: hold a fixed wake time, get morning light, keep caffeine early, and resist the urge to catch up with naps and lie-ins, because that restraint is what stops it becoming chronic. For chronic insomnia, defined as trouble sleeping most nights for three months or more, the evidence-based first-line treatment is cognitive behavioral therapy for insomnia (CBT-I), which directly dismantles the perpetuating habits through stimulus control (the bed is for sleep only, get up if you cannot sleep) and sleep restriction (spend only as long in bed as you actually sleep, then expand). Charles Morin and colleagues showed in trials published in JAMA that CBT-I outperforms sleeping pills over the long run because it fixes the cause rather than masking it. Medication has a role for short bursts under a clinician, but it does not treat what keeps insomnia alive.

QUESTIONS

Questions logged on this protocol

Q01

What is the main cause of insomnia?

There is rarely a single cause. The most useful model, from Arthur Spielman in 1987, separates three layers: predisposing traits that make you vulnerable (such as a reactive stress system), a precipitating trigger that starts a bad stretch (stress, pain, a schedule change), and perpetuating habits that keep it going after the trigger fades (lying in, napping, spending too long awake in bed). Almost everyone hits the first two at some point; what turns a rough patch into chronic insomnia is usually the third layer, which is also why treatment targets those habits.

Q02

Can insomnia be cured?

Acute insomnia tied to a clear stressor usually resolves on its own within days to a few weeks once the trigger passes, provided you do not lock it in with catch-up habits. Chronic insomnia, meaning trouble sleeping most nights for three months or longer, responds well to cognitive behavioral therapy for insomnia (CBT-I), which Charles Morin and colleagues showed in JAMA produces lasting improvement that outperforms sleeping pills over time. So it is highly treatable; the key is using the approach that fixes the perpetuating habits rather than one that only masks symptoms.

Q03

Why do I suddenly have insomnia?

A sudden onset almost always points to a precipitating cause: a new stressor, pain or illness, a schedule or shift change, travel across time zones, a new medication (stimulants, some antidepressants, corticosteroids like prednisone, and decongestants are common culprits), or a hormonal shift. This is acute insomnia, and it usually eases as the trigger resolves. The thing to avoid is reacting with long lie-ins, early bedtimes, and naps, because those coping habits are what convert a short-term problem into a chronic one.

Q04

Does caffeine really cause insomnia?

Caffeine does not cause insomnia by itself, but it is a strong contributor and one of the easiest to fix. Christopher Drake and colleagues showed in 2013 that 400 mg of caffeine taken even 6 hours before bed measurably reduced sleep quality and quantity, often without the person noticing, because caffeine blocks the adenosine that builds sleep pressure across the day. The practical rule is to stop caffeine in the early afternoon, roughly 8 hours before your target bedtime, adjusted to your own sensitivity, which is greater in slow caffeine metabolizers and in older adults.

Q05

When should I see a doctor about insomnia?

See a clinician if sleeplessness persists most nights for three months or more, if it is severe enough to impair your days, or if it comes with red flags that point to another condition: loud snoring with gasping or witnessed breathing pauses (possible sleep apnea), an urge to move the legs at night (restless legs), a low mood that will not lift, or unexplained physical symptoms. Insomnia is often a symptom of something treatable, and the first-line treatment for chronic insomnia is CBT-I, not a long-term sleeping pill. This article is educational and not medical advice.

  1. [01]
  2. [02]
  3. [03]
  4. [04]
RELATED STACKS

Other stacks in this hub