Insomnia often starts with something ordinary: stress at work, family pressures or a hard event, or caffeine, nicotine or alcohol close to bedtime. When it keeps going, it is often a symptom of something else: a medical condition, a medicine or another sleep disorder.
So the useful question is not only how to sleep, but what is keeping you awake. Some causes show up in ordinary blood tests, such as an overactive thyroid or the low iron that can sit behind restless legs. Some are written partly in your genes.
What counts as insomnia, and when is it chronic?
Insomnia means trouble falling asleep, staying asleep, or both, so that you get too little sleep or poor-quality sleep. Short-term insomnia may be caused by stress or a change in your schedule or environment, and it can last for a few days or weeks.
Chronic insomnia happens 3 or more nights a week and lasts more than 3 months. To diagnose it, a clinician may ask about your sleep habits and ask you to keep a sleep diary. Insomnia is more common in women than in men, and your chances of having it rise as you get older.
Which everyday habits cause insomnia?
Your schedule, your surroundings, stress and what you drink or smoke can all disturb sleep. The National Heart, Lung, and Blood Institute lists these:
- Shift or night work, and travelling often across time zones
- Noise or light during the night, and a room that is too hot or too cold
- Long naps during the day, and too little physical activity
- Caffeine, nicotine, alcohol or recreational drugs
- TV or other screens close to bedtime
- Stress, and worrying about whether you will get enough sleep, including watching the clock
Caffeine lasts longer than many people expect. In a 2013 sleep study, a moderate amount of caffeine taken 6 hours before bed still reduced total sleep time. The authors advised avoiding substantial caffeine for at least 6 hours before bedtime.
Which health problems can cause insomnia?
Most cases of chronic insomnia are secondary: they are a symptom or side effect of something else. Among the health problems that can disturb sleep, these four can be looked for directly.
| Health problem | What it does to sleep | What to ask about |
|---|---|---|
| Overactive thyroid (hyperthyroidism) | Trouble sleeping, with nervousness, a fast or irregular heartbeat and weight loss | Thyroid blood tests |
| Restless legs syndrome | An urge to move the legs at rest that makes it hard to fall asleep or stay asleep | Iron tests, including ferritin and transferrin saturation |
| Sleep apnea | Often occurs together with insomnia; early studies reported a 30% to 50% co-morbid rate | A sleep study |
| Menopause | Hot flashes, night sweats and mood changes can break up sleep | Whether those symptoms line up with your bad nights |
A thyroid diagnosis cannot rest on symptoms alone, because many of them match other conditions, so blood tests are used. The National Institute of Diabetes and Digestive and Kidney Diseases lists trouble sleeping among the symptoms of hyperthyroidism.
Restless legs syndrome is a sleep disorder triggered by resting and trying to sleep, and symptoms tend to be worse in the evening. Blood tests can help rule out conditions that cause restless legs symptoms, such as low iron levels and kidney failure.
Sleep apnea and insomnia overlap so often that researchers have a name for the pair: co-morbid insomnia and sleep apnea, or COMISA. A sleep study can show which type of sleep apnea you have and how serious it is.
In menopause, hot flashes, especially night sweats, and changes in mood can contribute to poor sleep. Managing those symptoms may help sleep as well.
Why can a normal ferritin still matter for sleep?
Because the level used for restless legs is far above the bottom of the usual lab range. MedlinePlus lists normal ferritin as 13 to 150 ng/mL for women and 30 to 400 ng/mL for men. The lower the ferritin, even within the normal range, the more likely iron stores are short.
The American Academy of Sleep Medicine’s guideline on restless legs, published in 2025, takes a different line. For adults with restless legs, its consensus advice, which has not been tested in trials, is to consider iron when ferritin is 75 ng/mL or lower or transferrin saturation is under 20%. The guideline says these thresholds differ from those for the general population.
A ferritin of 40 ng/mL is normal for a woman by that range, yet below the guideline’s level for restless legs. The guideline also asks for the blood draw in the morning, with no iron-containing supplements or foods for at least 24 hours before. Whether to take iron, and in what form, is a decision for your clinician, based on those results.
Can your genes affect how you sleep?
Partly. Insomnia sometimes runs in families, and the National Heart, Lung, and Blood Institute notes that your genes may also affect whether you are a deep or light sleeper.
Caffeine sensitivity is one place where a single gene has been studied. In a 2007 study, habitual caffeine use went with poorer sleep only in people who called themselves caffeine-sensitive. A common variant in the adenosine A2A receptor gene, ADORA2A, was distributed differently between caffeine-sensitive and caffeine-insensitive adults.
The same variant shaped how closely caffeine’s effect on brain activity during sleep resembled the pattern seen in insomnia. This is one study, so treat a result as a clue to test against your own experience, not a diagnosis.
Restless legs syndrome also runs in families, and specific gene variants are associated with it. A family history of either problem is worth mentioning to your clinician.
What you might try (talk to your doctor first)
Start with the changes that rule causes in or out, and bring what you find to your clinician.
- Stop caffeine at least 6 hours before bed for two weeks, and note whether your sleep changes.
- Keep a sleep diary: how long and how well you sleep, and how sleepy you feel during the day.
- Keep a regular sleep schedule, cut long daytime naps and put screens away close to bedtime.
- If your legs feel restless in the evening, ask for a morning ferritin and transferrin saturation test.
- If insomnia has lasted months, ask about cognitive behavioral therapy for insomnia (CBT-I). The American College of Physicians recommends CBT-I as the first treatment for chronic insomnia in adults.
If you take a prescription medicine, speak with your prescriber before changing anything, supplements included.
How Enovone can help
Ena, Enovone’s AI health guide, can read your thyroid and iron results next to the rest of your labs and your DNA data, and help you work out which questions to bring to your clinician. Ena explains; she does not diagnose or prescribe. A licensed clinician makes every medical decision. You can ask Ena what might be keeping you awake.
Our sleep page covers waking at 3am and other night-time patterns, and our page on labs that look normal but don’t feel normal explains why a result inside the range can still be worth a closer look.
Common questions
How long does insomnia have to last to be chronic?
Chronic insomnia happens 3 or more nights a week and lasts more than 3 months. Short-term insomnia, often from stress or a change in schedule or surroundings, can last a few days or weeks. If poor sleep is settling into the chronic pattern, it is worth looking for a cause rather than waiting it out.
Can thyroid problems cause insomnia?
An overactive thyroid can. The National Institute of Diabetes and Digestive and Kidney Diseases lists trouble sleeping among its symptoms, along with nervousness, a fast or irregular heartbeat and weight loss despite a bigger appetite. Because those symptoms overlap with other conditions, the diagnosis is made with blood tests, not symptoms alone.
Can sleep apnea feel like insomnia?
The two often go together. Researchers call the combination COMISA, co-morbid insomnia and sleep apnea, and early studies reported a 30% to 50% co-morbid rate. If you are not sure whether apnea is part of your picture, ask about a sleep study, which can show which type of sleep apnea you have and how serious it is.
Sources
- MedlinePlus (U.S. National Library of Medicine). Insomnia.
- National Heart, Lung, and Blood Institute. Insomnia: Causes and Risk Factors.
- National Heart, Lung, and Blood Institute. Insomnia.
- Drake C, et al. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. J Clin Sleep Med. 2013.
- National Institute of Diabetes and Digestive and Kidney Diseases. Hyperthyroidism (Overactive Thyroid).
- National Institute of Neurological Disorders and Stroke. Restless Legs Syndrome.
- Winkelman JW, et al. Treatment of restless legs syndrome and periodic limb movement disorder: an American Academy of Sleep Medicine clinical practice guideline. J Clin Sleep Med. 2025.
- MedlinePlus (U.S. National Library of Medicine). Ferritin blood test.
- Rétey JV, et al. A genetic variation in the adenosine A2A receptor gene (ADORA2A) contributes to individual sensitivity to caffeine effects on sleep. Clin Pharmacol Ther. 2007.
- Sweetman A, et al. Co-Morbid Insomnia and Sleep Apnea (COMISA): Prevalence, Consequences, Methodological Considerations, and Recent Randomized Controlled Trials. Brain Sci. 2019.
- National Heart, Lung, and Blood Institute. Sleep Apnea: Diagnosis.
- National Institute on Aging. Sleep Problems and Menopause: What Can I Do?
- Qaseem A, et al. Management of Chronic Insomnia Disorder in Adults: A Clinical Practice Guideline From the American College of Physicians. Ann Intern Med. 2016.