What Is Insomnia? Symptoms, Causes and Treatments That Work
The short answer
Insomnia is trouble falling asleep, staying asleep, or getting good-quality sleep even when you have the time and a decent place to sleep, leaving you tired or foggy the next day. Short bouts are common and often pass. When it happens 3 or more nights a week for over 3 months, doctors call it chronic insomnia [1].
What is insomnia, in plain words?
Almost everyone has the occasional rough night: a big presentation tomorrow, a sick kid, a hot bedroom. Insomnia is when sleep keeps letting you down. You may have trouble falling asleep, staying asleep, or getting sleep that actually feels restful, even though you have the time and a reasonable place to sleep [1]. That last detail matters. If you only get 5 hours because you work late or the neighbors are loud, the problem is a lack of opportunity to sleep, not insomnia.
The common signs are [2]:
- lying awake a long time before you drift off (more common in younger adults);
- waking up often during the night, or being awake for most of it (the most common symptom, especially in older adults);
- waking up too early and not getting back to sleep;
- waking up unrested and feeling sleepy during the day;
- trouble focusing, or feeling anxious, low or easily annoyed.
It's far from rare. A 2023 review of clinical guidelines estimates that chronic insomnia affects 5% to 10% of people in the US [11], and short bouts of acute insomnia are common too [7].
Is my insomnia short-term or chronic?
The main difference is time. Short-term insomnia usually follows stress or a change in your schedule or surroundings and lasts a few days or weeks [1]. The NHLBI calls insomnia chronic when it happens 3 or more nights a week for more than 3 months and can't be fully explained by another health problem [1]. You may see a different number elsewhere: MedlinePlus describes chronic insomnia as lasting a month or longer [7]. The 3-month rule is the one used in the formal sleep disorder criteria [11].
| Feature | Short-term (acute) insomnia | Chronic insomnia |
|---|---|---|
| How long it lasts | Days or weeks [1] | More than 3 months [1] |
| How often | Can be just a few nights | 3 or more nights a week [1] |
| Typical triggers | Work stress, family pressures, a traumatic event, schedule changes [1][7] | Often a mix: medical conditions, medicines, other sleep disorders, caffeine, alcohol, long-lasting stress [7] |
| What usually helps | Better sleep habits often relieve it [7] | See your doctor; the first treatment recommended is cognitive behavioral therapy for insomnia [8] |
One thing worth knowing: a rough patch can outlast its cause. Worrying about whether you'll sleep and watching the clock can raise your risk of insomnia or make it worse [3]. That's why the most effective treatment works on habits and thoughts, not just on the original trigger. For more on the long-term form, see what chronic insomnia is.
What causes insomnia?
There's rarely a single cause. These are the usual suspects [3][4][7]:
- Stress and worry about work, school, money, relationships or the death of a loved one.
- Your schedule: shift or night work, travel across time zones, a sleep schedule that keeps changing, long daytime naps.
- Substances: caffeine, nicotine, alcohol and recreational drugs. Alcohol can help you nod off, but it makes sleep lighter, so you're more likely to wake up during the night [4]. More on that in whether a nightcap helps you sleep.
- Screens and your bedroom: TV and devices close to bedtime, plus noise, light, or a room that's too hot or cold.
- Health conditions and medicines: many chronic cases are a symptom or side effect of another problem, including some medicines and other sleep disorders [7]. Some cold and allergy medicines can disrupt sleep [4]. Don't stop a prescription on your own; ask your doctor whether it could be involved.
- Other sleep disorders: if you snore loudly or wake up gasping, mention it, because your doctor will want to rule out sleep apnea [5].
- Things you can't change: insomnia gets more likely as you age, can run in families, and is more common in women [3].
How is insomnia treated?
Here's the good news: the treatment doctors recommend first isn't a sleeping pill. The American College of Physicians recommends that all adults with chronic insomnia get cognitive behavioral therapy for insomnia (CBT-I) as the initial treatment, and that adding medication be discussed if CBT-I alone hasn't worked [8]. CBT-I is usually a 6- to 8-week plan, delivered by a doctor, nurse or therapist in person, by phone or online [4]. Our guide to the benefits of CBT for insomnia goes deeper.
A large 2024 analysis of 241 trials looked at which parts of CBT-I do the heavy lifting [10]. The ones that stood out:
- Stimulus control: wake up at the same time every morning, skip daytime naps, go to bed only when sleepy, get up if you can't sleep, and use the bed only for sleep and sex [10].
- Sleep restriction: limit your time in bed, starting at your average sleep time plus 30 minutes, then adjust up or down based on how much of that time you actually spend asleep [10].
- Cognitive restructuring: spot and change beliefs that wind you up, such as "if I don't get 8 hours, tomorrow is ruined" [10].
- Mindfulness and acceptance-based techniques, which help you relate to sleepless thoughts with less tension [10].
A worked example with a sleep diary
Say Dana goes to bed at 11 p.m. and gets up at 7 a.m.: 8 hours in bed. Two weeks of a sleep diary show she sleeps about 6 hours a night and spends the rest tossing and turning. Her sleep efficiency is 6 ÷ 8 = 75%.
Using the rule above, her starting time in bed would be 6 hours + 30 minutes = 6.5 hours [10]. Keeping the 7 a.m. alarm, she'd head to bed around 12:30 a.m. If she then sleeps about 6 of those 6.5 hours, her efficiency rises to 6 ÷ 6.5, or about 92%, and her window can be widened gradually [10]. It can feel hard at first, so do this with a clinician or a structured program, and don't drive if you feel unusually sleepy, since drowsy driving can cause crashes [7].
Habits that support any treatment
The NHLBI suggests a cool, quiet, dark bedroom; the same bedtime and wake time every day, weekends included; no caffeine, nicotine or alcohol close to bedtime; exercise at least 5 to 6 hours before bed; avoiding naps, especially in the afternoon; and a wind-down routine such as reading or a hot bath [4]. If naps are your weak spot, read whether napping leads to insomnia. One caveat: in the 2024 analysis, sleep hygiene education by itself didn't add measurable benefit inside a CBT-I program [10]. Good habits help, but for chronic insomnia they're usually not enough on their own.
What about sleeping pills?
Medication has a place, mostly when CBT-I isn't enough, and your doctor should weigh the benefits, harms and costs of short-term use with you [8]. The main prescription options in the US include [4][9]:
- "Z-drugs" such as zolpidem (Ambien), eszopiclone (Lunesta) and zaleplon (Sonata) [12].
- Orexin receptor antagonists such as suvorexant.
- Melatonin receptor agonists such as ramelteon.
- Low-dose doxepin, a sedating medicine used in small doses for trouble staying asleep [9].
- Benzodiazepines, which can be habit-forming and should be taken for only a few weeks [4].
Since 2019, the FDA has required Z-drug labels to warn about complex sleep behaviors such as sleepwalking and sleep driving, which have led to serious injuries and deaths [12]. All insomnia medicines can also impair your driving the next morning, and they shouldn't be mixed with alcohol or other sleep aids [12]. And trazodone, though often prescribed off-label, is one the American Academy of Sleep Medicine suggests not using for insomnia [9]. For the over-the-counter side, see using melatonin for insomnia.
Myth check: what's true about insomnia?
| You might hear | What the evidence says |
|---|---|
| "Everyone needs exactly 8 hours." | The recommendation for adults is a range, 7 to 9 hours [13]. See does everyone need eight hours of sleep. |
| "If I can't sleep, I should stay in bed and rest." | Stimulus control says the opposite: get up when you can't sleep and return when sleepy [4][10]. |
| "A nightcap helps." | Alcohol may help you fall asleep but makes sleep lighter and night waking more likely [4]. |
| "Sleep in after a bad night to catch up." | A steady wake time, even on weekends, is one of the core habits [4][10]. |
| "A pill is the real fix." | US guidelines put CBT-I first and medication second [8]. |
When should you see a doctor?
If poor sleep is affecting your daily life, talk to your doctor [5]. It helps to keep a sleep diary for 1 to 2 weeks before the visit: when you go to bed, wake up and nap, how sleepy you feel during the day, and when you have caffeine, alcohol or exercise [5]. Expect questions about your health, medicines, snoring, and whether you're pregnant or going through menopause [5]. Our article on when to see a doctor for insomnia lists more signs worth acting on.
For the curious: how insomnia is diagnosed
Diagnosis starts with a conversation. Your provider asks how often you have trouble sleeping and for how long, how long it takes you to fall asleep, how often you wake, and how you feel during the day, then does a physical exam to rule out other problems [5]. Your provider may also suggest tests. A sleep study looks for other conditions such as sleep apnea, circadian rhythm disorders or narcolepsy; actigraphy uses a small wrist sensor worn for 3 to 14 days to track rest and activity; and blood tests can check for thyroid problems [5].
Even after sleep improves, keeping a regular schedule and the habits you learned in CBT-I helps stop insomnia from coming back [6].
Frequently asked questions
How much sleep do adults need?
Experts recommend 7 to 9 hours a night for adults, and adults who regularly get less than 7 hours may have more health problems [13]. Teens 13 to 18 need more, about 8 to 10 hours [13]. Hours aren't the whole story with insomnia, though: how rested you feel during the day matters too.
Does melatonin help insomnia?
The evidence is weak. The NHLBI says research hasn't proven melatonin is an effective treatment for insomnia, and side effects can include daytime sleepiness, headaches and upset stomach [4]. The American Academy of Sleep Medicine suggests doctors not use it to treat chronic insomnia [9]. Ask your doctor before relying on it.
Are over-the-counter sleep aids safe to use for insomnia?
Most OTC sleep aids contain an antihistamine. They can make you drowsy, but the NHLBI says to talk with your doctor before using them for insomnia because antihistamines can be unsafe for some people [4]. The American Academy of Sleep Medicine suggests not using diphenhydramine to treat chronic insomnia [9].
Can insomnia be dangerous?
It can be. Insomnia raises your risk of falls, road accidents and missed work [6], and drowsy driving is a real hazard [7]. Over time, chronic insomnia is linked to a higher risk of high blood pressure, coronary heart disease, diabetes and depression [1][6]. If you ever have thoughts of harming yourself, or in any emergency, call 911.
Who is most likely to get insomnia?
Insomnia is more common in women than in men, partly because of hormone changes during pregnancy and menopause [3]. Your chances also rise with age, and it can run in families [3]. Shift work, frequent travel across time zones, stress and an inactive lifestyle add to the risk [3][7].
This article is for information only and is not a substitute for advice from a doctor or health professional.
Sources
- Insomnia: What Is Insomnia?. National Heart, Lung, and Blood Institute (NHLBI), NIH
- Insomnia: Symptoms. National Heart, Lung, and Blood Institute (NHLBI), NIH
- Insomnia: Causes and Risk Factors. National Heart, Lung, and Blood Institute (NHLBI), NIH
- Insomnia: Treatment. National Heart, Lung, and Blood Institute (NHLBI), NIH
- Insomnia: Diagnosis. National Heart, Lung, and Blood Institute (NHLBI), NIH
- Insomnia: Living With Insomnia. National Heart, Lung, and Blood Institute (NHLBI), NIH
- Insomnia. MedlinePlus, National Library of Medicine
- Management of Chronic Insomnia Disorder in Adults: A Clinical Practice Guideline From the American College of Physicians (Qaseem A. et al., Annals of Internal Medicine, 2016). American College of Physicians, Annals of Internal Medicine
- Clinical Practice Guideline for the Pharmacologic Treatment of Chronic Insomnia in Adults (Sateia M.J. et al., Journal of Clinical Sleep Medicine, 2017). American Academy of Sleep Medicine, Journal of Clinical Sleep Medicine
- Components and Delivery Formats of Cognitive Behavioral Therapy for Chronic Insomnia in Adults: A Systematic Review and Component Network Meta-Analysis (Furukawa Y. et al., JAMA Psychiatry, 2024). JAMA Psychiatry, American Medical Association
- Efficacy and safety of pharmacotherapy in chronic insomnia: A review of clinical guidelines and case reports (The Mental Health Clinician, 2023). The Mental Health Clinician, American Association of Psychiatric Pharmacists (AAPP)
- Taking Z-drugs for Insomnia? Know the Risks. U.S. Food and Drug Administration
- How Sleep Works: How Much Sleep Is Enough?. National Heart, Lung, and Blood Institute (NHLBI), NIH