Insomnia is the persistent difficulty initiating or maintaining sleep, or waking earlier than intended, despite adequate opportunity, resulting in daytime impairment. It is not "being a light sleeper"; it is a clinical, treatable disorder.
Clinically, chronic insomnia is defined by the DSM-5 and ICSD-3 criteria as a sleep disturbance occurring at least three nights per week for at least three months, accompanied by daytime consequences such as fatigue, mood disturbance, cognitive impairment or functional decline. The condition is more common in women, in shift workers, in people over 60 and in anyone with chronic pain, anxiety, depression or trauma history.
Insomnia is often described by which part of the night is disrupted, as in the four patterns below.
Difficulty falling asleep, defined as taking more than 30 minutes to initiate sleep on at least three nights per week. Commonly linked to a delayed circadian phase ("night-owl drift"), anxiety or a racing mind at bedtime.
Waking 1 to 3 hours earlier than intended and unable to fall back asleep, despite adequate prior sleep duration. Strongly associated with depression, and with the earlier sleep timing common in older adults.
A combination pattern, or a sleep duration that looks adequate on paper but does not feel restorative on waking. Often involves fragmented architecture, suppressed deep sleep, or undiagnosed sleep apnea or restless legs syndrome.
Insomnia is rarely a single complaint: trouble falling or staying asleep, or waking too early, comes with tiredness, irritability and poor concentration by day13.
| Symptom | What happens |
|---|---|
| Nighttime Sleep Symptoms | |
| Prolonged Sleep Latency (Difficulty Falling Asleep) | Taking more than 30 minutes to fall asleep on at least three nights per week. Linked to delayed melatonin onset, screen exposure and heightened arousal at bedtime. |
| Frequent Nighttime Awakenings | Waking three or more times per night, often unable to identify a cause. Awakenings can be linked to alcohol, hormonal shifts (perimenopause) or breathing interruptions (sleep apnea), and often have no single cause. |
| Early-Morning Waking (3 to 5 AM) | Waking 1 to 3 hours before the desired wake time, with full alertness and inability to return to sleep. Strongly associated with depression, and with the earlier sleep timing that comes with age. Often accompanied by rumination and anxiety. |
| Night Sweats & Hot Flashes | Sudden waking drenched in sweat, often around 2 to 4 AM. Common in perimenopause and hyperthyroidism; also with alcohol use. |
| Loud Snoring, Gasping or Choking | Loud snoring, breathing that stops and starts, gasping or choking noises in sleep, and headaches on waking are signs of sleep apnea, which needs a doctor's assessment15. |
| Restless Legs & Periodic Limb Movements | An uncomfortable urge to move the legs that emerges at rest in the evening, relieved temporarily by movement. Drives sleep-onset and maintenance insomnia. Linked to low iron stores, with iron treatment usually advised when ferritin is 75 ng/mL or lower59, and to certain medications (SSRIs, antihistamines). |
| Daytime & Systemic Symptoms | |
| Chronic Daytime Fatigue & Brain Fog | Persistent tiredness despite time in bed, with reduced word recall, mental speed and short-term memory. Often misattributed to "just being busy." |
| Anxiety, Irritability & Mood Lability | Insomnia and anxiety or low mood feed each other; across 21 long-term studies, insomnia more than doubled the odds of later depression14. |
| Reduced Immunity & Frequent Illness | In healthy men, one night of partial sleep loss lowered natural killer cell activity by about a quarter; in healthy adults given a cold virus, those sleeping under 6 hours were about four times as likely to catch the cold as those sleeping over 7 hours10. |
Insomnia usually has more than one contributor, and some, such as sleep apnea, restless legs and depression, need treatment in their own right13.
| Cause | How It Contributes to Insomnia | What Helps |
|---|---|---|
| Stress, anxiety and depression | Among the most common causes of insomnia, and insomnia in turn more than doubles the odds of later depression, so each feeds the other1314 | CBT-I, and treatment for the anxiety or depression itself; see the anxiety and depression guides |
| Irregular timing, shift work and jet lag | Shift work and jet lag are common causes, and napping, sleeping in after a bad night and screens right before bed all work against a regular sleep pattern13 | A fixed wake time every day, morning daylight and no screens before bed, as the treatment section sets out |
| Caffeine, alcohol, nicotine and late meals | Alcohol, caffeine and nicotine are among the most common causes, and a big meal late at night gets in the way of sleep13 | The caffeine and alcohol cutoffs and the earlier, lighter dinner in the diet section |
| The bedroom | Noise, a room that is too hot or too cold and an uncomfortable bed are common causes13 | A dark, quiet bedroom, with curtains, an eye mask or earplugs if needed, and a comfortable bed |
| Sleep apnea | Breathing that stops and starts in sleep, with gasping or choking noises and loud snoring, breaks sleep up and leaves people tired by day15 | A doctor's assessment and an overnight breathing test; many people need a CPAP machine, and losing weight, stopping smoking and drinking less alcohol help some15 |
| Restless legs and low iron | Restless legs syndrome causes insomnia; brain iron deficiency is implicated in it, and guidelines recommend iron treatment when iron levels are low139 | A ferritin test first, and iron only if it is low, as the supplement section sets out |
| Health conditions, menopause and medicines | An overactive thyroid, menopause, long-term pain and many medicines can all cause insomnia13 | Treating the condition, and a medication review with your prescriber; never stop a prescribed medicine on your own |
Insomnia is a clinical diagnosis supported by tracking and targeted labs. The goal is not just to confirm the disorder but to identify the underlying drivers (sleep apnea, restless legs, perimenopause, low iron, depression and anxiety) that determine the treatment plan.
| Test | What it shows |
|---|---|
| At-Home Screening | |
| These are not diagnostic on their own, but strong patterns can guide your next steps before investing in formal testing: | |
| Sleep Diary (2 weeks minimum) | Track bedtime, lights-out time, estimated sleep latency, number of awakenings, wake time, total sleep time and daytime function each day for 14 days. This is one of the most useful records a sleep specialist will ask for. Free templates from the American Academy of Sleep Medicine work well. |
| Wearable Tracking | Wearables are imperfect for absolute sleep-stage data but excellent for trend tracking, resting heart rate, HRV, breathing rate and skin temperature shifts. |
| STOP-BANG & Insomnia Severity Index (ISI) | The STOP-BANG questionnaire screens for OSA risk (snoring, tired, observed apnea, BP, BMI, age, neck, sex); a score of 3 or more warrants a sleep study. The Insomnia Severity Index (7 items) scores severity; 15+ indicates moderate to severe insomnia and supports a formal CBT-I referral. Both are free online. |
| Lab & Clinical Tests | |
| Thyroid Panel | TSH, with free T4 if the TSH is abnormal. Hyperthyroidism classically presents with insomnia, palpitations and night sweats. |
| Iron, Ferritin & CBC | Low iron stores are a common, treatable contributor to restless legs syndrome and fragmented sleep, even when hemoglobin is normal5, and iron treatment is usually advised in RLS when ferritin is 75 ng/mL or lower9. Always pair with full iron studies (serum iron, TIBC, transferrin saturation) and B12 to catch deficiencies that perpetuate insomnia. |
| Metabolic / Blood Sugar Panel | Fasting glucose and HbA1c, where diabetes is suspected. |
| Sex Hormone & Reproductive Panel (women) | Perimenopause is a common cause of new sleep-maintenance problems in midlife women, often through night sweats; your clinician can advise whether any hormone testing would help. |
| Home Sleep Apnea Test (HSAT) or Polysomnography | A home sleep test is the right first step for STOP-BANG-positive patients. An in-lab polysomnography is the gold standard for complex cases, periodic limb movement disorder, REM behavior disorder or atypical presentations. |
CBT-I and a regular body clock first, with diet and supplements in a supporting role, alongside medical care
Food does not directly induce sleep, but it powerfully shapes the conditions for sleep: stable blood sugar overnight, neurotransmitter precursors and the absence of stimulants and disruptors.
The circadian-first eating pattern for insomnia
| What to eat or do | Details |
|---|---|
| The 4 Anchors of Every Day: | |
| Protein 25 to 40 g at each meal | Stabilizes blood sugar and supplies tryptophan |
| Half the plate non-starchy vegetables | Fiber and magnesium |
| Healthy fat at each meal | Olive oil, avocado, nuts or wild fatty fish; fat slows the glucose curve |
| Slow carbs from whole foods | Sweet potato, oats or lentils; keep the portion smaller at dinner |
| Timing & Meal Pattern: | |
| Eat within a 10 to 12 hour window | Finish all eating at least 3 hours before bed (the kiwifruit and the small bedtime snack under Foods to Emphasize are the exceptions) |
| 10 to 15 minute walk after dinner | Blunts the post-meal glucose curve before sleep |
| What to eat or do | Details |
|---|---|
| โ Foods to Remove / Minimize | |
| These foods and drinks can disrupt sleep in several ways. The first three rows below matter most. | |
| Caffeine within 6 hours of bed | Coffee, black tea, green tea, energy drinks, dark chocolate. Caffeine lingers for many hours, so stop earlier if you still sleep badly. |
| Alcohol within 6 hours of bed | Helps you fall asleep but fragments the second half of the night5. |
| Refined sugar and refined flour | Soda, candy, pastries, white bread, white pasta. Best kept small, especially in the evening. |
| Large late dinners | Eating within 2 to 3 hours of bed raises core temperature, diverts blood flow to digestion and delays melatonin release. |
| Spicy, acidic or fried foods at dinner | Trigger reflux and core-temperature rise that disrupt sleep onset. |
| Excess fluids after 7 PM | Drives nocturia (waking to urinate), fragmenting sleep architecture even when the awakening feels brief. |
| Energy drinks and "pre-workout" formulas | Often contain 200 to 400 mg caffeine plus stimulants. A commonly underestimated insomnia driver in adolescents and young adults. |
| โ Foods to Emphasize | |
| Foods that supply sleep-supporting nutrients (tryptophan, magnesium, glycine, melatonin precursors) and stabilize overnight blood sugar. | |
| Tryptophan-rich proteins | Turkey, chicken, wild salmon, sardines, pastured eggs, pumpkin seeds, plain Greek yogurt. Precursors to serotonin and melatonin. |
| Magnesium-rich foods | Pumpkin seeds, spinach, Swiss chard, almonds, black beans, avocado. |
| Glycine sources | Bone broth, slow-cooked meats, gelatin. |
| Tart cherries / cherry juice | Contain melatonin; in a review of seven small studies, three found better sleep, and the evidence is limited and mixed18. |
| Kiwifruit | 2 kiwis an hour before bed improved sleep onset and total sleep time in a small uncontrolled study of 24 adults with sleep problems11. |
| Slow carbs at dinner (small portion) | Sweet potato, quinoa, lentils, steel-cut oats. May modestly help tryptophan reach the brain. |
| Calming herbal teas | Passionflower, lemon balm. The evidence for chamomile and valerian in insomnia is weak or inconsistent (see the supplement table). |
| Bedtime snack (if waking hungry) | Almond butter on apple, kiwi with a handful of walnuts, Greek yogurt with cinnamon. A small mix of protein and slow carbohydrate can stop hunger waking you. |
Supplements do not replace CBT-I or medical care, and none approaches CBT-I in the evidence6.
| Supplement | What it is for | Typical range | Timing | Notes & cautions |
|---|---|---|---|---|
| Magnesium Glycinate | Trials in older adults show modest effects on sleep6. | 300 to 400 mg elemental magnesium per day | Evening, 30 to 60 min before bed | Citrate causes loose stools; oxide is poorly absorbed. The top of this range is above the 350 mg/day upper intake level for supplemental magnesium; above that, diarrhea is common. With kidney disease, take it only on your clinician's advice. |
| Glycine | Small trials suggest improved subjective sleep quality6. | 3 g per day | 30 to 60 min before bed | Slightly sweet powder, mixes in water. |
| L-Theanine | Amino acid found in tea. A meta-analysis of randomized trials found small improvements in self-rated sleep, with few studies of pure L-theanine19. | 200 to 400 mg per day | Evening or 30 min before bed | No tolerance or dependence. |
| Melatonin (low-dose) | The body's natural circadian signal. Low doses act as a chronobiotic that shifts the circadian phase; higher doses are generally no more effective and can cause next-day grogginess3. | 0.3 to 0.5 mg per day | 30 to 60 min before bed (sleep-onset) or 5 to 7 hours before bed (phase advance) | Most OTC products are 3 to 10 mg, far too high. Lower doses are generally as effective as higher ones3. It is sold as a supplement in the US but is prescription only in several other countries, and guidelines found too little strong evidence to recommend it for chronic insomnia20. Start at the lowest available dose. Discuss it with your prescriber if you take sedatives, anticoagulants or immunosuppressants. |
| Ashwagandha (root extract) | Some preparations may help insomnia and stress; it may be safe for up to 3 months, and long-term safety is unknown21. | 300 to 600 mg per day | With dinner or before bed | Avoid with any thyroid disorder. Rare cases of liver injury have been linked to it. Avoid in pregnancy, breastfeeding, autoimmune disease and before surgery, and ask your prescriber first if you take thyroid medication, sedatives or medicines for diabetes, blood pressure, seizures or immune suppression21. |
| Apigenin (from Chamomile) | The main flavonoid in chamomile. There is very little evidence for chamomile in insomnia; the one insomnia study in a 2019 review found no benefit22. | Not recommended for insomnia (the only insomnia study found no benefit) | Not applicable | Avoid if allergic to ragweed/daisy family. Interactions with a blood thinner and with some medicines broken down by the liver have been reported; check with your prescriber if you take either22. |
| Iron Bisglycinate (if ferritin 75 ng/mL or lower) | Restoring iron stores improves restless legs syndrome when ferritin is low5, and can improve sleep. An often overlooked contributor to fragmented sleep in women. | 25 to 50 mg elemental iron per dose, every other day or as your clinician advises | Empty stomach, with vitamin C; every other day improves absorption | Retest every 3 months. Stop when ferritin is consistently above 75 ng/mL. The top of this range sits above the 45 mg/day tolerable upper intake level for adults. That is appropriate only when correcting a confirmed deficiency under clinical supervision, not as general supplementation. Test ferritin first, and retest rather than staying on it indefinitely. |
| Vitamin D3 (with K2) | Observational studies link low vitamin D with poorer sleep quality, shorter sleep and daytime sleepiness28; this does not show that supplementing improves sleep. | D3: set the dose with your clinician; most adults need no blood test first; K2 (MK-7): 100 to 200 mcg per day | With a fat-containing meal, morning preferred | Vitamin K can change how a vitamin K antagonist blood thinner works, so take K2 alongside one only if your prescriber agrees23. |
| Tart Cherry Extract | Contains melatonin. A review of seven small studies found some improvement in sleep, but the evidence is limited and mixed18. | 500 mg standardized extract, or 8 to 12 oz (240 to 360 mL) tart cherry juice | Evening, 1 to 2 hours before bed | Juice contains natural sugars; choose unsweetened or use the extract. |
| Valerian Root | Traditional sedative herb, not shown to help chronic insomnia. The trial evidence is inconsistent, and a sleep medicine guideline recommends against it24. | 300 to 600 mg standardized extract per day | 30 to 60 min before bed | Smells unpleasant. Effect builds over 2 to 4 weeks. Some people experience paradoxical stimulation. Do not take it with alcohol or sedatives; very rare liver injury has been reported24. |
Insomnia usually improves with changes to sleep habits, and CBT-I is the first treatment when it persists1317.
Insomnia more than doubles the odds of later depression14, so sleep problems that persist or return are worth treating rather than enduring.
See a doctor promptly if you have fallen asleep while driving, and do not drive when you feel sleepy13; also for loud snoring with pauses in breathing, gasping or choking15. If insomnia comes with low mood or thoughts of suicide or self-harm, call or text 988 in the US, or call 911 if you are in immediate danger27. See a doctor if better habits have not helped, or poor sleep is making daily life hard to cope with13.
Get new guides in your inbox. Once a month: new condition guides and research updates, including the trials that did not work. Free, no spam, and you can unsubscribe in one click.
Insomnia usually improves with changes to sleep habits, and CBT-I is the first treatment when it persists. Get up at the same time every day, and see a doctor if better habits have not helped. Never stop a regularly taken sleeping medicine abruptly.
Each numbered entry below is either a source you can follow or a note setting out what the evidence does and does not support. Both are numbered together so the markers in the text line up.
Last reviewed October 20, 2026. Supplement entries are cross-checked against the NIH National Center for Complementary and Integrative Health and the Linus Pauling Institute Micronutrient Information Center.8 The most useful fact on this page is that the best-evidenced treatment for chronic insomnia is not a drug or a supplement. Cognitive behavioral therapy for insomnia (CBT-I) is first-line in every major guideline, ahead of any medication; its benefits persist after treatment ends, which is not true of sleeping pills. It is underused mainly because it is harder to access than a prescription. Two cautions. Persistent insomnia is frequently a symptom of something else, and obstructive sleep apnea, restless legs, depression, thyroid disease and alcohol are the usual culprits, so loud snoring, witnessed pauses in breathing or daytime sleepiness deserve investigation rather than a sedative. And do not stop a prescribed hypnotic abruptly, particularly a benzodiazepine or z-drug, because withdrawal causes rebound insomnia and can be dangerous.