DisclosureWe earn commission on partner links; ranking is set by our evidence-based methodology — not advertisers. Read policy
Reviewed by the HealthVetted Editorial
Insomnia is persistent difficulty falling asleep, staying asleep, or waking too early — despite having enough time and a suitable environment for sleep — that leaves you tired or impaired during the day. It is the most common sleep disorder, and for most people it is highly treatable without lifelong medication.
Almost everyone has a few bad nights. The clinical question is not whether you occasionally sleep poorly but whether the problem is frequent, lasting, and disruptive enough to affect how you function — and, crucially, whether it persists even when you give yourself adequate opportunity to sleep. When those conditions are met, insomnia is recognized as a distinct disorder with its own diagnostic criteria and evidence-based treatments.
Insomnia is a 24-hour disorder, not just a nighttime one: it is defined by both a nighttime sleep complaint and a resulting daytime consequence such as fatigue, low mood, irritability, or trouble concentrating. The nighttime complaint can take three forms, and many people have more than one:
Clinicians classify insomnia mainly by duration:
Insomnia symptoms are extremely common. Roughly one in three adults reports insomnia symptoms at some point in a given year, and an estimated 10% of adults meet criteria for a chronic insomnia disorder (StatPearls; AASM). It is one of the leading reasons people see a clinician about their health.
There is rarely one cause. A widely used framework — the "3P model" — describes insomnia as the product of predisposing traits (a tendency toward arousal or worry), precipitating events (a stressor that triggers the first bad nights), and perpetuating factors (habits and beliefs that keep poor sleep going long after the original trigger is gone). That last category is why insomnia so often outlives the event that started it.
Common contributors include:
Insomnia becomes more common with age. Women are affected more often than men, with risk rising around pregnancy, the postpartum period, and the menopausal transition. Older adults, shift workers, people with chronic medical or psychiatric conditions, and those facing socioeconomic hardship all have higher rates (StatPearls; CDC).
Insomnia spans the whole day. Nighttime features include:
Daytime features — the part that makes insomnia a disorder rather than a habit — include:
A notable feature of insomnia is the gap between effort and result: people with insomnia often spend ample time in bed yet still feel they cannot sleep, and they may feel "tired but wired" — exhausted but unable to switch off.
Insomnia is a clinical diagnosis, based on your history rather than a single test. A clinician asks about your sleep pattern, daytime function, medical and psychiatric history, medications, and substance use. Under the criteria shared by the DSM-5 and the International Classification of Sleep Disorders (ICSD-3), chronic insomnia disorder requires all of the following:
Helpful tools and tests:
Blood tests (for example, thyroid function or iron studies for restless legs) may be ordered when the history points toward a contributing medical cause.
Treatment follows a stepped approach: behavioral therapy first, medication second and usually short-term or adjunctive.
CBT-I is the recommended first-line treatment for chronic insomnia in adults, endorsed by the American Academy of Sleep Medicine (AASM) and the American College of Physicians (ACP). It is a structured, time-limited program — typically four to eight sessions, delivered in person, by telehealth, or through digital apps — and its benefits tend to last longer than medication because it addresses the habits and thoughts that perpetuate insomnia. Core components include:
Whether or not formal CBT-I is used, the same foundations help: keep a consistent sleep and wake time (including weekends), get morning daylight, exercise regularly but not right before bed, limit caffeine after midday, avoid alcohol as a sleep aid, and reserve the bed for sleep rather than work or screens.
OTC products have a limited, mostly short-term role. Antihistamines such as diphenhydramine and doxylamine cause drowsiness but often produce next-day grogginess and are generally discouraged for older adults because of anticholinergic side effects. Melatonin, a hormone that signals the body's sleep timing, may modestly help with circadian-related problems (such as jet lag or delayed sleep timing) but is not a strong treatment for primary insomnia; quality varies because supplements are not tightly regulated. These products are best discussed with a clinician or pharmacist.
When medication is needed — usually for those who cannot access or fully respond to CBT-I, or for short-term relief — clinicians choose from several real drug classes, ideally at the lowest effective dose for the shortest necessary time. The 2017 AASM clinical practice guideline issued conditional (weak) recommendations for several specific agents; some newer drugs below were FDA-approved after that guideline and so are not covered by it:
All sedative-hypnotics carry potential downsides — daytime drowsiness, dependence, rebound insomnia, and (especially in older adults) falls and confusion. The American Geriatrics Society Beers Criteria advise against routine use of benzodiazepines and Z-drugs in older adults. Choice depends on whether the problem is falling asleep, staying asleep, or both, plus age, other conditions, and medication interactions — a decision to make with a prescriber.
Many cases can be prevented from becoming chronic by treating acute insomnia early and protecting good sleep habits. Practical long-term strategies include:
Consider seeing a clinician if sleep problems occur most nights for several weeks, if they impair your daytime functioning, or if self-help and good sleep habits are not enough. Seek prompt or urgent evaluation if you notice any of these red flags:
The outlook for insomnia is generally good. Short-term insomnia often resolves once the trigger passes or with brief behavioral measures. For chronic insomnia, CBT-I produces meaningful, durable improvement in most people who complete it, and medications can provide effective relief when used appropriately. Insomnia can run a relapsing course — symptoms may return during stressful periods — but the skills learned in treatment usually shorten and soften those relapses. Because untreated chronic insomnia is associated with higher risks of depression, reduced quality of life, and accidents, treating it is worthwhile beyond the comfort of better nights.
How many hours of sleep do I actually need? Most adults need about seven or more hours per night (CDC), but needs vary. Insomnia is defined by difficulty sleeping plus daytime impairment, not by a specific number — if you feel rested and function well, you are likely getting enough.
Is it bad to take sleeping pills every night? Most prescription sleep medications are intended for short-term or intermittent use because of risks like tolerance, dependence, next-day grogginess, and (in older adults) falls. Some newer agents may be used longer under supervision, but long-term nightly use should always be guided by a clinician, and CBT-I is preferred as the durable solution.
Does melatonin work for insomnia? Melatonin is most useful for problems of sleep *timing* — jet lag or a delayed body clock — rather than classic insomnia. Evidence for chronic insomnia is modest. Because supplements are not tightly regulated, product strength and purity can vary; discuss dosing with a pharmacist or clinician.
Why do I wake at 3 a.m. and can't fall back asleep? Frequent middle-of-the-night waking (sleep-maintenance insomnia) can stem from stress, alcohol, untreated sleep apnea, reflux, pain, depression, or simply spending more time in bed than your body needs. If it happens regularly, a sleep diary and a clinical evaluation can identify the cause.
Can insomnia be cured without medication? Yes — for many people, CBT-I alone resolves chronic insomnia, and its effects tend to outlast those of medication. Behavioral and lifestyle changes are the foundation of long-term improvement, with drugs reserved as a short-term or supplementary tool.
---
*This page is for general education and is not medical advice. Sleep problems can have many causes, including conditions that need specific treatment. Talk with a qualified healthcare professional about diagnosis and any treatment or medication decisions.*
The recommended first-line treatment for chronic insomnia is cognitive behavioral therapy for insomnia (CBT-I), which the American Academy of Sleep Medicine (AASM) gives a strong recommendation. When medication is appropriate, FDA-approved options span several classes: dual orexin receptor antagonists (suvorexant/Belsomra, lemborexant/Dayvigo, daridorexant/Quviviq); benzodiazepine receptor agonist "Z-drugs" (zolpidem/Ambien, eszopiclone/Lunesta, zaleplon/Sonata); the melatonin receptor agonist ramelteon for sleep-onset insomnia; and low-dose doxepin for sleep-maintenance insomnia. In the 2017 AASM pharmacologic guideline these medications carry weak (conditional) recommendations, and all sleep medications carry side-effect and dependence considerations. Medication choice should be individualized and supervised by a clinician; this is informational and not medical advice.
In many cases insomnia can be reversed, and acute (short-term) insomnia often resolves on its own once the trigger such as stress, illness, or a schedule change passes. Chronic insomnia is highly treatable rather than guaranteed to be permanently 'cured,' and outcomes are best when an underlying cause is identified and addressed. Cognitive behavioral therapy for insomnia (CBT-I) produces lasting improvement for most people, though some need ongoing management to keep symptoms from returning. A clinician can help determine the cause and the most appropriate treatment plan for you.
Insomnia usually results from a mix of factors rather than a single cause, and experts don't fully understand every mechanism. Common contributors include stress, anxiety, depression, and other mental health conditions; medical problems and chronic pain; hormonal changes such as pregnancy or menopause; and stimulants like caffeine, nicotine, or alcohol. Certain medications (including some for asthma, blood pressure, and depression), irregular sleep schedules, and a family history of sleep problems can also play a role. Because causes vary widely, a clinician's evaluation helps pinpoint what's driving your symptoms.
The core symptoms are difficulty falling asleep, trouble staying asleep with frequent or prolonged awakenings, or waking up too early and being unable to fall back asleep. These nighttime problems lead to daytime effects such as fatigue, irritability or mood changes, trouble concentrating, memory problems, and reduced performance at work or school. Insomnia is defined partly by this daytime impairment, not just by poor sleep alone. If these symptoms are affecting your daily life, it's worth discussing with a healthcare provider.
Insomnia is generally considered chronic when sleep difficulty occurs at least three nights per week for at least three months and causes meaningful daytime distress or impairment, despite having adequate opportunity to sleep. Shorter episodes are usually classified as acute or short-term insomnia. There is no single test to diagnose insomnia; a clinician makes the diagnosis based on your sleep history, symptoms, and often a sleep diary, and may order a sleep study only to rule out other disorders like sleep apnea. A proper diagnosis should come from a qualified healthcare provider.
Cognitive behavioral therapy for insomnia (CBT-I) is widely recommended as the first-line treatment for chronic insomnia, addressing the thoughts and behaviors that perpetuate poor sleep. It is generally preferred over sleep medications for long-term results because its benefits tend to last after treatment ends. Medications such as certain sedative-hypnotics, melatonin-receptor agonists, or other prescription options may be used short-term or alongside therapy in some cases. A clinician can recommend the safest, most effective approach for your situation.
Insomnia is very common: roughly one in three adults experience insomnia symptoms at some point, and about 10% of adults have chronic insomnia that persists for three months or longer. It can affect people of any age but becomes more frequent with age and is more often reported by women. Because it is so widespread and often treatable, persistent sleep problems are worth raising with a healthcare provider rather than simply tolerating.
Yes, healthy sleep habits (sleep hygiene) can meaningfully improve sleep and are often a first step, including keeping a consistent sleep and wake schedule, limiting caffeine and alcohol before bed, and keeping the bedroom dark, quiet, and cool. However, sleep hygiene alone is usually not enough to resolve chronic insomnia, which typically responds better to structured treatment like CBT-I. If good habits aren't fixing persistent insomnia, a clinician can guide you toward more targeted care.
Insomnia itself is usually not immediately dangerous, but ongoing poor sleep is linked to higher risks for problems like daytime accidents, depression and anxiety, and worsening of conditions such as high blood pressure and heart disease over time. Insomnia can also be a symptom of another underlying issue, including sleep apnea, thyroid problems, chronic pain, or a mental health condition. Because of these connections, persistent insomnia should be evaluated by a healthcare provider rather than ignored.
Independent, evidence-based reviews — not paid placements. See our full analysis:
This page is for general information and is not medical advice. Always consult a qualified clinician about diagnosis and treatment. Individual results vary.