Insomnia is repeated difficulty falling asleep, staying asleep, or returning to sleep after waking too early, despite having enough opportunity and suitable circumstances for sleep. An insomnia disorder also causes clinically significant distress or impairment in daytime functioning 1.
That definition matters. A bad night after an upsetting day is not automatically an insomnia disorder, and sleeping too little because work or caregiving leaves too little time in bed is not the same problem. People can still need help before they meet the formal criteria for chronic insomnia.
Short-term and chronic insomnia
Clinicians generally describe insomnia symptoms lasting less than three months as short-term. Chronic insomnia disorder involves symptoms at least three times a week for at least three months 1.
The three-month point is a classification threshold, not a self-diagnostic stopwatch. Duration is only one part of the assessment. You do not need to wait three months to speak with a clinician if sleep trouble is severe, worsening, linked to a medicine or health change, or interfering with driving, work, caregiving, mood, or recovery from illness.
Chronic insomnia can involve:
- difficulty falling asleep
- repeated awakenings with difficulty returning to sleep
- waking earlier than intended and being unable to resume sleep
- more than one of these patterns at different times
These patterns describe where the difficulty occurs. They are not separate diseases with one fixed cause. Modern diagnostic systems also avoid the old assumption that insomnia must be either "primary" or merely secondary to another condition. Insomnia can deserve direct treatment even when pain, depression, menopause, or another condition is present 2.
What insomnia can feel like during the day
Daytime effects vary. They can include fatigue, reduced energy or motivation, irritability, concern about sleep, and difficulty with attention, memory, work, school, or social tasks 1.
That does not mean every person with insomnia develops broad cognitive decline. A meta-analysis found small average differences in overall cognitive performance, with variation across attention, working memory, episodic memory, and executive tasks. Almost half of the included studies did not use full diagnostic criteria for insomnia, and the tests varied considerably 3.
Headaches, digestive symptoms, and muscle pain can occur alongside poor sleep, but none is a defining sign of insomnia. They may reflect the same stressor, a medical condition, a medicine, or a separate problem. Insomnia also does not prove that muscles are failing to repair or that the brain is permanently deteriorating.
Insomnia or another sleep problem?
Several conditions can look like insomnia from a distance. The distinction changes what needs to be evaluated and treated 124.
| Pattern | Clues that point beyond insomnia alone | Useful next step |
|---|---|---|
| Too little sleep opportunity | Work, caregiving, social activity, or another demand leaves too little time available for sleep | Protect enough sleep opportunity before concluding that the sleep system cannot sleep |
| Circadian misalignment | Sleep is difficult at the required clock time but easier and more normal on a later, earlier, or unrestricted schedule | Review timing, light exposure, work schedule, travel, and possible circadian rhythm sleep disorder |
| Excessive sleepiness | The main problem is an irresistible urge to sleep or unintended dozing, rather than being unable to sleep | Assess sleep duration, medicines, sleep apnea, narcolepsy, and other causes of sleepiness |
| Obstructive sleep apnea | Loud snoring, witnessed breathing pauses, gasping or choking, morning headaches, or marked sleepiness may accompany awakenings | Ask about an obstructive sleep apnea evaluation |
| Restless legs syndrome | An urge to move the legs appears during rest, is worse in the evening or at night, and eases with movement | Describe the sensations and timing to a clinician rather than treating the problem as anxiety or insomnia alone |
| Parasomnia | Sleepwalking, dream enactment, sleep terrors, eating, or another behavior occurs while the person is not fully awake | Seek a sleep-focused assessment, especially if there is injury risk |
| Mania or hypomania | A reduced need for sleep occurs with unusually high or irritable mood, increased energy or activity, racing thoughts, fast speech, or risky behavior | Arrange prompt mental-health assessment; urgent or emergency care may be needed if behavior is unsafe or psychosis is present |
During mania, a person may feel energized despite very little sleep. That is different from wanting to sleep but being unable to do so and feeling impaired the next day. The National Institute of Mental Health lists reduced need for sleep alongside changes in mood, activity, thought speed, and speech as features of a manic episode 5.
Why insomnia starts and why it can persist
Insomnia rarely has one isolated cause. A useful clinical model separates factors that make someone vulnerable, events that trigger an episode, and responses that keep the pattern going. Researchers call these predisposing, precipitating, and perpetuating factors. The model helps organize care, but it is not proof that every person follows the same path 6.
Triggers and health contributors
Short-term insomnia may begin during stress, grief, conflict, travel, shift changes, illness, pain, surgery, pregnancy, or another major change. Nighttime symptoms can also interrupt sleep, including pain, reflux, coughing, breathing difficulty, hot flashes, itching, or the need to urinate 61.
Neurologic and mental-health conditions can alter sleep, arousal, movement, or mood. Anxiety, depression, post-traumatic stress, bipolar disorder, and substance-use disorders may overlap with insomnia. The relationship can run in both directions, so treating the other condition does not always make established insomnia disappear 1.
Medicines and substances
A complete review includes prescription medicines, nonprescription products, supplements, caffeine, nicotine, alcohol, and cannabis. Timing and dose matter. A stimulant, corticosteroid, decongestant, activating antidepressant, or another medicine may contribute for one person without affecting another in the same way 1.
Alcohol or cannabis may feel sedating at first, but sedation is not the same as treating insomnia. Regular use can change sleep, interact with medicines, impair next-day functioning, and create dependence or withdrawal concerns. Current VA/DoD guidance suggests against cannabis or its derivatives as treatment for chronic insomnia 1.
Do not stop a prescribed medicine abruptly because it might affect sleep. Ask the prescriber or pharmacist to review its purpose, timing, interactions, and safe alternatives.
Perpetuating factors
Understandable attempts to catch up can sometimes maintain insomnia after the original trigger has eased. Examples include spending much longer awake in bed, shifting sleep times from day to day, sleeping late after a difficult night, or becoming highly alert to the clock and every sign of poor sleep. Over time, the bed itself can become associated with effort, worry, and wakefulness 6.
This is not a character flaw and it does not mean insomnia is imagined. It explains why advice to "relax" or simply try harder often fails, and why treatment changes the learned sleep pattern as well as the thoughts around it.
Environment and schedule
Light, noise, temperature, an uncomfortable sleep surface, caregiving interruptions, a bed partner's symptoms, and an unpredictable schedule can all disturb sleep. Correcting an obvious disruption is worthwhile, but a perfect bedroom does not by itself treat chronic insomnia 1.
For more detail, see what causes insomnia.
How insomnia is diagnosed
Chronic insomnia is usually diagnosed through a clinical evaluation, not a single laboratory test. The clinician reviews the sleep pattern, daytime effects, schedule, opportunity to sleep, medicines and substances, medical and mental-health history, and signs of competing sleep disorders 12.
A sleep diary can show bedtimes, estimated sleep onset, awakenings, final wake time, naps, medicines, substances, and how the person functioned the next day. The diary does not need to produce perfect measurements. It helps reveal patterns and gives the clinician a baseline for treatment 2.
A physical examination or laboratory test is selected when the history points to a specific question, such as a movement disorder, breathing problem, thyroid condition, medication effect, or another medical contributor. Questionnaires can help screen and track severity, but they do not make the diagnosis on their own 12.
Is a sleep study needed?
Polysomnography, the overnight study performed in a sleep laboratory, is not a routine confirmation test for insomnia. It is used when the history suggests another disorder such as sleep-related breathing problems or periodic limb movements, when unusual behavior during sleep needs evaluation, or in selected treatment-resistant cases 12.
What about a sleep tracker?
A wearable or phone app can provide observations to discuss with a clinician, but it cannot confirm or rule out insomnia. Consumer devices estimate sleep through proprietary sensors and algorithms, and their output should not replace a clinical evaluation 7.
If a tracker makes you more anxious or prompts you to chase a perfect score, set it aside for a while and describe the pattern in ordinary terms. How you sleep and function matters more than one device's nightly label.
See diagnosing insomnia for a closer look at the appointment and differential diagnosis.
Treating short-term insomnia
Short-term care starts with the likely trigger and any immediate safety issue. That can mean treating pain or reflux, reviewing a new medicine, protecting enough time for sleep, stabilizing a schedule after travel, or addressing acute anxiety or grief.
Keep the response proportionate. One difficult night does not need an expanding stack of sleep aids. If it is safe to leave the bed and you are awake for a long time, choose a quiet activity in dim light and return when sleepy rather than spending hours fighting for sleep. Keep the next wake time reasonably consistent when it is safe to do so 8.
Seek clinical help if the problem is severe, recurring, or becoming self-sustaining. Early care can address both the trigger and the habits or worry that begin to maintain the pattern.
CBT-I is the leading treatment for chronic insomnia
Multicomponent cognitive behavioral therapy for insomnia, or CBT-I, is the recommended first-line treatment for chronic insomnia in adults. This applies across adult age groups and many coexisting medical or mental-health conditions 82.
CBT-I is not generic talk therapy and it is not a list of bedtime tips. A course combines several methods:
- Stimulus control rebuilds the link between bed and sleep by reducing long periods of wakeful activity in bed.
- Sleep restriction or sleep compression temporarily matches time in bed more closely to actual sleep, then expands the window as sleep becomes more consolidated.
- Cognitive work examines catastrophic predictions, clock watching, and the pressure to force sleep.
- Relaxation or counter-arousal skills lower physical and mental activation without making relaxation another performance test.
- Sleep education and schedule work support a stable sleep-wake pattern and remove avoidable obstacles.
The word "restriction" can sound like deliberate sleep deprivation. In CBT-I, it is a structured, monitored adjustment to time in bed, not a demand to function indefinitely on too little sleep. Temporary sleepiness can occur early in treatment. The plan may need adaptation or delay for people with excessive daytime sleepiness, high-risk driving or work, uncontrolled seizures, bipolar disorder, night fall risk, unstable medical or psychiatric symptoms, or pregnancy and postpartum needs 18.
How to access CBT-I
CBT-I may be delivered individually, in a group, by telehealth, or through a vetted evidence-based digital program. Digital care can widen access, while clinician-led care is especially useful when diagnosis is uncertain, symptoms are severe, medicines are changing, or safety adaptations are needed 21.
Ask a primary-care clinician, sleep clinic, psychologist, psychiatrist, or behavioral sleep medicine provider specifically about CBT-I. A brief behavioral treatment for insomnia may be another evidence-based option when a full course is not available.
Sleep hygiene is supportive, but guidelines advise against using it as the only treatment for chronic insomnia. Advice about caffeine, exercise, screens, or room temperature does not address all the conditioned arousal, timing, behavior, and thought patterns that CBT-I targets 81.
Treat insomnia and coexisting conditions together
Pain, depression, anxiety, menopause symptoms, reflux, nocturia, sleep apnea, and other conditions need their own appropriate care. Insomnia may also need direct treatment. Waiting for every other diagnosis to disappear can leave the sleep problem untreated.
The plan should be coordinated. For example, untreated sleep apnea changes the safety discussion around sedating medicines, while severe depression, mania, trauma treatment, pregnancy, or fall risk can change how CBT-I is delivered. The goal is not to decide whether insomnia is "physical" or "psychological." It is to address the contributors that are active for that person 12.
When medicines are considered
No sleep medicine is best for everyone. The decision depends on whether the main problem is sleep onset, sleep maintenance, or early waking; the person's age and reproductive status; other sleep disorders; breathing, cognition, falls, and substance-use risks; and every medicine or supplement already being used 1.
| Medicine group | Where it may fit | Main points to discuss |
|---|---|---|
| Z-drugs, such as zolpidem, eszopiclone, and zaleplon | Depending on the drug and formulation, sleep onset, maintenance, or both | Next-day impairment and rare complex sleep behaviors such as sleepwalking or sleep driving |
| Dual orexin receptor antagonists, such as suvorexant, lemborexant, and daridorexant | Sleep onset, maintenance, or both, depending on the agent | Next-day sleepiness, interactions, breathing or neurologic considerations, and whether longer use is appropriate |
| Low-dose doxepin | Mainly sleep maintenance | The low-dose insomnia use is different from antidepressant dosing; age, interactions, and other health conditions still matter |
| Ramelteon | Mainly sleep onset | Guidelines differ in how strongly they support it, so the individual rationale and expected benefit should be clear |
| Benzodiazepines | Selected situations in some guidelines, rather than a routine first choice | Falls, cognitive and driving impairment, tolerance, misuse, physical dependence, withdrawal, and added respiratory risk with other depressants |
| Other sedating prescriptions or nonprescription products | Sometimes prescribed for another condition that also needs treatment | Sedation does not establish that a drug treats chronic insomnia; off-label use needs its own benefit-risk reason |
Medication guidelines do not create one universal ranking. A 2017 American Academy of Sleep Medicine guideline made drug-specific, mostly weak recommendations based on the sleep symptom targeted, while current European and VA/DoD guidance differ on some agents and durations 921.
This is also why a blanket rule that every medicine must stop after a few days or weeks is too simple. Some guidelines allow longer treatment with selected agents when benefits continue to outweigh harms. Any ongoing prescription should still have a clear target, follow-up, and a plan to reassess benefit, next-day effects, interactions, and the need to continue 2.
The FDA warns that Z-drugs can cause complex sleep behaviors with serious injury, sometimes after the first dose, and that insomnia medicines can impair next-morning driving and other alert tasks. A person who has a complex sleep behavior after a Z-drug should stop it and contact the prescriber promptly 10.
Benzodiazepines can cause physical dependence and potentially serious withdrawal even when taken as prescribed. Do not stop one abruptly. A prescriber should design an individualized taper when discontinuation is appropriate. Combining benzodiazepines with opioids, alcohol, or other central nervous system depressants can cause severe sedation and respiratory depression 11.
Pregnancy, breastfeeding, older age, liver or kidney disease, sleep apnea, chronic lung disease, falls, and a history of substance problems can materially change the medicine decision. Review every nonprescription sleep product and supplement with the clinician or pharmacist as well 1.
For a deeper discussion, see sleep medications and how to use sleep medications safely.
What is not an established general solution
Sedating antihistamines such as diphenhydramine, trazodone, and antipsychotics are not recommended as routine treatments for chronic insomnia in current VA/DoD guidance. Melatonin, valerian, chamomile, kava, cannabis products, magnesium, and other supplements also do not form a reliable general treatment plan. Evidence and recommendations differ by product, formulation, population, and specific sleep problem 112.
This does not mean that every one of these products is forbidden in every circumstance. A clinician may use a medicine for another diagnosed condition, and timed melatonin can have roles in selected circadian problems. It means that "natural," nonprescription, or sedating is not the same as proven effective and safe for chronic insomnia.
Evidence for acupuncture and many other complementary approaches remains limited or inconsistent. They should not replace diagnostic evaluation or CBT-I, and supplement-drug interactions and product quality still need consideration 12.
Does insomnia cause other diseases?
Long-term studies associate insomnia with several mental-health and cardiovascular outcomes. An umbrella review found that much of this evidence came from prospective observational studies and that certainty varied across outcomes 13.
Association is not proof that insomnia alone caused a later disease. Stress, pain, medicines, socioeconomic conditions, sleep apnea, depression, and other shared factors can influence both sleep and health. The practical reason to treat insomnia is that it is distressing and can impair daily life and safety, not that every difficult night is causing irreversible damage.
When to make an appointment
Arrange a clinical assessment when:
- sleep difficulty persists, recurs often, or is getting worse
- daytime fatigue, concentration, mood, work, school, caregiving, or relationships are affected
- snoring, gasping, breathing pauses, restless legs, unusual sleep behavior, or strong daytime sleepiness is present
- symptoms began after a medicine, dose change, substance change, illness, injury, pregnancy, birth, or surgery
- you rely increasingly on alcohol, cannabis, nonprescription sleep aids, or prescription sedatives
- falls, confusion, memory concerns, or next-day impairment are developing
- a health or mental-health condition is not well controlled
Bring the medicine list and, if practical, a sleep diary. Do not delay care solely because the pattern has not lasted three months.
Safety boundaries
Do not drive or operate hazardous equipment when sleepy or impaired by a medicine. Alcohol and sedating medicines can add to driving impairment, and a coffee or energy drink does not reliably make severe sleepiness safe 14.
Get urgent medical help, and use emergency services when there is immediate danger or severe impairment, for:
- thoughts of suicide or self-harm, a suicide plan, or immediate danger; contact local emergency or crisis services immediately 15
- little or no sleep together with escalating energy, racing thoughts, unusually high or irritable mood, reckless behavior, hallucinations, delusions, or inability to stay safe 5
- new severe confusion, disorientation, or inability to recognize familiar people or surroundings 16
- slowed or difficult breathing, blue or gray lips or skin, collapse, severe sedation, or difficulty waking after a medicine, alcohol, or possible overdose 11
These are not routine insomnia symptoms. Do not wait for a sleep appointment or drive yourself to emergency care.
Where to go next
This page is the general overview. Use the focused guides for a deeper answer:





