On this page
The short answer Insomnia is trouble falling asleep, staying asleep or waking too early, despite enough time in bed, plus daytime effects. Short-term insomnia lasts under three months and usually follows stress or a change. Chronic insomnia happens at least three nights a week for three months. The first-line treatment for chronic insomnia is cognitive behavioral therapy for insomnia (CBT-I), not pills.
A rough night after a stressful day isn’t insomnia. The American Academy of Sleep Medicine describes insomnia as trouble falling or staying asleep even though you had the opportunity to get a full night, along with daytime symptoms like fatigue, poor concentration or irritability. It’s common: as many as 35% of adults report insomnia symptoms, and about 10% of people have the chronic kind.
Insomnia at a glance
| Short-term (acute) insomnia | Chronic insomnia | |
|---|---|---|
| How long | Up to 3 months | At least 3 nights a week for at least 3 months |
| How common | 15 to 20% of people at any given time | About 10% of people |
| Typical triggers | Stress, illness, travel, a new baby, grief, a job change | Often starts with a trigger, then keeps going because of habits and worry about sleep |
| What helps first | Steady wake time, sleep habits, time | CBT-I, ideally with a sleep specialist or trained therapist |
| When to see a doctor | If it doesn’t ease within 3 months, or it’s severe | Now |
Source for the definitions and figures: AASM’s Sleep Education site.
Types of insomnia by symptom
Doctors classify insomnia by how long it lasts, but it’s also useful to describe what your nights look like. You can have more than one pattern.
Sleep onset insomnia
You lie in bed for a long time before falling asleep. A useful benchmark from the AASM: does it take you more than 30 minutes to fall asleep? Difficulty falling asleep is especially common with anxiety, and with a body clock that runs late. If your mind races at lights out, see how to fall asleep with racing thoughts.
Sleep maintenance insomnia
You fall asleep fine but wake during the night and struggle to get back to sleep. Pain, alcohol, a snoring partner, hot flashes and other sleep disorders such as sleep apnea can all play a part. Our guide to how to stay asleep covers these.
Early morning awakening
You wake well before your alarm and can’t get back to sleep. Mention it to your doctor if it comes with low mood, since depression is a frequent cause of insomnia. If it’s always the same hour, read why you wake up at 3 am.
What causes insomnia?
The AASM notes that insomnia is most often associated with another problem that drives it. The main categories:
- Stress. Work, money, relationships, a death or divorce. The AASM calls stress a common cause of a night of poor sleep.
- Mental health conditions. Depression is a frequent cause, and difficulty falling asleep is common with anxiety disorders. Often the mental health condition is found after someone sees a doctor about sleep.
- Medical conditions. Pain, limited mobility, breathing problems, reflux. Insomnia tied to medical problems is most common in older adults.
- Other sleep disorders. Restless legs syndrome can make it hard to fall asleep; sleep apnea can fragment sleep.
- Medicines and substances. Cold and allergy medicines with pseudoephedrine, some antidepressants, ADHD drugs, some blood pressure and Parkinson’s medicines, caffeine, alcohol and withdrawal from some drugs can all cause insomnia.
- Environment. Noise, light, heat, a partner who snores.
- Schedule. Shift work, a bedtime that swings widely, or being a night owl forced onto an early schedule.
Caffeine is easy to underestimate because it lasts for hours. Our caffeine calculator estimates how much is still in your system at bedtime.
Insomnia in women and men
The National Heart, Lung, and Blood Institute says insomnia is more common in women than in men, and that hormonal changes during pregnancy and menopause can cause sleep problems. The AASM singles out the third trimester of pregnancy and menopause. Night sweats are a big part of menopausal insomnia; our hot sleeper guide covers what helps.
The causes in men are mostly the same list: stress, mood, pain, alcohol and medicines. Sleep apnea can also look like insomnia, so loud snoring or gasping deserves a proper evaluation rather than a sleep aid. Your chances of insomnia also rise as you get older, whatever your sex.
Why short-term insomnia turns chronic
Many people’s chronic insomnia started with a real trigger: a stressful month, a hospital stay, a newborn. The trigger passes, but the insomnia doesn’t. Habits that make sense in the moment keep it going. Going to bed earlier to “catch up,” lying awake for hours, sleeping in, napping, and starting to dread bedtime all teach your brain that the bed is a place for being awake.
That’s why the treatments with the most evidence go after those habits instead of the original trigger. And it’s why sleep hygiene alone isn’t enough: the AASM’s 2021 guideline suggests clinicians not use sleep hygiene as a stand-alone treatment for chronic insomnia.
Treatments that work
Cognitive behavioral therapy for insomnia (CBT-I)
Both the AASM and the American College of Physicians put CBT-I first. The AASM strongly recommends multicomponent CBT-I for chronic insomnia in adults. The ACP recommends that all adult patients receive CBT-I as the initial treatment.
CBT-I usually runs over several weeks with a trained clinician, in person, by video or through a structured program. Its main parts:
- Stimulus control. Go to bed only when sleepy, get up if you can’t sleep, use the bed only for sleep and sex, and keep a fixed wake time. The AASM also suggests this as a stand-alone treatment.
- Sleep restriction. Temporarily limit your time in bed to roughly the time you actually sleep, then widen it as sleep becomes more solid. It makes you sleepier at first, so it works best with a clinician’s guidance, and anyone with a medical or mental health condition should check before trying it.
- Cognitive therapy. Work on the worries and beliefs that keep you awake, like “if I don’t sleep eight hours, tomorrow is ruined.”
- Relaxation training. Muscle relaxation, breathing or imagery. The AASM gives it a conditional recommendation on its own.
- Sleep education. Caffeine, alcohol, light and schedule, as a supporting piece rather than the whole plan.
Medication
Medication has a place, mostly as a second step. The ACP recommends shared decision-making about short-term medication for adults when CBT-I alone hasn’t worked. The AASM’s 2017 guideline gives weak recommendations for several prescription drugs, and suggests against diphenhydramine (the antihistamine in many over-the-counter sleep aids), melatonin, valerian, tryptophan and trazodone for chronic insomnia.
Prescription sleep drugs carry real risks. In 2019 the FDA added a boxed warning to eszopiclone, zaleplon and zolpidem after reports of sleepwalking, sleep driving and other activities while not fully awake, some of which caused serious injuries or death. Never combine sleep medicines with alcohol, and talk to your doctor before stopping one you’ve taken for a while.
Curious about supplements? Our review of sleep supplements and the evidence grades each one.
Treating the cause
If insomnia comes from depression, pain, reflux, menopause symptoms, sleep apnea or a medicine, treating that problem often helps sleep too. CBT-I still works alongside many of these conditions, so you don’t have to wait for one to resolve before starting the other.
What you can do this week
If your insomnia is new, start with the basics while you wait to see if it settles:
- Pick a fixed wake time and keep it every day. Our sleep calculator works back to a bedtime.
- Go to bed only when sleepy. If you’re awake after about 20 minutes, the AASM advises you to get out of bed and do something quiet in low light.
- Stop caffeine by early afternoon and skip alcohol close to bed.
- Keep a sleep diary for two weeks. The AASM suggests one because it gives your doctor clues about the cause.
More practical steps are in our insomnia tips.
When to see a doctor
- Trouble sleeping at least three nights a week for three months or more. Ask about CBT-I or a referral to an accredited sleep center.
- Short-term insomnia that isn’t easing, or that’s severe enough to affect work, driving or safety.
- Loud snoring, gasping, pauses in breathing, or heavy daytime sleepiness. These can point to sleep apnea.
- Low mood, loss of interest, or thoughts of self-harm. If you’re in crisis in the US, call or text 988.
- You think a medicine is keeping you awake. Don’t stop it on your own; ask your doctor or pharmacist.
- You’re drowsy behind the wheel. Pull over, and see a doctor soon.
For more on sleep disorders and how they’re treated, browse Sleep Problems.
Common questions
What is the main cause of insomnia?
There's rarely a single cause. Stress is a common trigger, and insomnia is often tied to mental health conditions such as depression or anxiety, medical problems, medicines, caffeine, alcohol or an irregular schedule.
What's the difference between short-term and chronic insomnia?
Short-term insomnia lasts up to three months. Chronic insomnia happens at least three nights a week for at least three months and usually needs targeted treatment.
What is sleep onset insomnia?
It means trouble falling asleep at the start of the night. Taking more than about 30 minutes to fall asleep on a regular basis is one sign the AASM suggests looking for.
What is the best treatment for chronic insomnia?
Cognitive behavioral therapy for insomnia (CBT-I). The American Academy of Sleep Medicine strongly recommends it, and the American College of Physicians recommends it as the initial treatment for all adults.
Written and checked by the Sleep Brief editors. We base every article on published research and guidance from medical bodies, and link the sources inline. How we research.
This article is for general education and isn't medical advice. If poor sleep lasts more than a few weeks, or you snore loudly, stop breathing in your sleep or feel sleepy while driving, talk to a doctor.



