Why Do People Get Insomnia: Key Causes Explained

Insomnia happens when your brain stays in a state of heightened alertness that overrides its natural ability to wind down. About 16% of adults worldwide, roughly 850 million people, live with insomnia, and nearly half of those cases are classified as severe. The causes range from stress and genetics to medical conditions and daily habits, and most people with chronic insomnia have several factors working against them at once.

Your Brain’s Sleep Switch

Sleep depends on a careful balance between two chemical systems in your brain. One system promotes wakefulness using excitatory signals. The other promotes sleep using an inhibitory chemical called GABA, the brain’s primary calming neurotransmitter. GABA works by dialing down activity in the brain regions that keep you alert, essentially quieting the “wake-up” centers so sleep can take over.

When this balance tips toward too much excitatory activity, sleep becomes difficult. Chronic stress is one of the most common reasons this happens. Prolonged stress causes glutamate, the brain’s main excitatory chemical, to build up. At the same time, stress suppresses the enzymes that convert glutamate into GABA. The result is a brain that’s chemically primed for alertness and resistant to settling down, even when you’re exhausted. Clinical studies have shown that restoring the ratio between GABA and glutamate in insomnia patients improved sleep quality scores by 34%.

This imbalance also helps explain why insomnia often feels like a whole-body problem. People with chronic insomnia show signs of elevated arousal not just at night but around the clock, including increased heart rate, higher stress hormone levels, and more brain activity during both sleep and waking hours. Researchers call this “hyperarousal,” and it’s considered one of the central mechanisms driving persistent insomnia. Your nervous system gets stuck in a low-grade fight-or-flight mode that makes falling and staying asleep genuinely harder, not just a matter of willpower.

Genetics Play a Larger Role Than You’d Think

A meta-analysis of twin studies found that about 40% of the variation in insomnia risk is explained by genetics. That doesn’t mean insomnia is predetermined, but it does mean some people inherit a nervous system that’s more reactive to the triggers that cause sleep problems. If your parents struggled with sleep, your own threshold for developing insomnia in response to stress, schedule changes, or other disruptions is likely lower.

Heritability estimates vary by age. In adolescents, genetic factors account for 14 to 41% of insomnia risk, while in young adults the figure settles around 35%. Large genomic studies using DNA data from over a million participants found that only about 7% of the variance could be traced to specific known gene variants, suggesting that insomnia’s genetic architecture involves many small contributions from hundreds or thousands of genes rather than a few dominant ones.

Stress, Anxiety, and the Racing Mind

Psychological factors are the most recognized trigger for insomnia, and for good reason. Anxiety and depression both disrupt the neurochemical systems that regulate sleep, but the relationship runs in both directions. Poor sleep worsens mood disorders, and mood disorders worsen sleep, creating a cycle that can be difficult to break without addressing both sides.

What often starts as a few bad nights during a stressful period can become self-sustaining. You begin to associate your bed with frustration and wakefulness. You start worrying about sleep itself, which raises your arousal level further. You compensate by spending more time in bed, sleeping in, or napping, all of which weaken the natural sleep pressure that builds during the day. Over time, the original stressor may resolve, but the learned patterns of poor sleep remain. This is the most common pathway from acute to chronic insomnia.

Screens, Light, and Your Internal Clock

Your body’s sleep timing is controlled by a tiny region of the brain that acts as a master clock, syncing your internal rhythms to the light-dark cycle. This clock triggers the release of melatonin in the evening, which signals your body that it’s time to sleep. The problem is that this system is exquisitely sensitive to blue light, specifically wavelengths between 446 and 477 nanometers, which is exactly the type of light emitted by phone screens, tablets, laptops, and LED lighting.

Research published in the Journal of Applied Physiology demonstrated that blue LED light suppresses melatonin production in a dose-dependent way: the brighter the light and the longer the exposure, the greater the suppression. Even moderate exposure during the evening hours can delay the onset of sleepiness and shift your internal clock later. This is why scrolling through your phone in bed doesn’t just distract you mentally. It actively sends a “stay awake” signal to your brain’s timekeeping system.

Shift work and irregular schedules cause similar disruption by forcing you to sleep at times that conflict with your internal clock. Your brain is trying to promote wakefulness (because it’s daytime) while you’re trying to sleep, and neither system wins cleanly.

Medical Conditions That Disrupt Sleep

Many chronic health problems cause or worsen insomnia, and the connection isn’t always obvious. Conditions that directly interfere with sleep include:

  • Chronic pain from arthritis, back problems, or fibromyalgia, which makes it hard to find a comfortable position and causes frequent awakenings
  • Gastroesophageal reflux (GERD), where stomach acid rises into the esophagus when you lie flat, causing discomfort that pulls you out of sleep
  • Restless legs syndrome, which creates an uncomfortable, sometimes irresistible urge to move your legs right as you’re trying to fall asleep
  • Sleep apnea, where breathing repeatedly stops and restarts during the night, fragmenting sleep even if you don’t fully wake up
  • Overactive thyroid, which speeds up metabolism and raises heart rate, keeping your body in a state of alertness
  • Prostate or bladder problems that increase the need to urinate during the night

Neurological conditions like Parkinson’s disease and Alzheimer’s disease also disrupt sleep, both through direct damage to the brain’s sleep-regulating circuits and through the anxiety and discomfort that accompany them. Diabetes, heart disease, asthma, and cancer are all independently linked with higher insomnia rates as well.

Medications That Interfere With Sleep

Some of the most commonly prescribed medications can cause or worsen insomnia as a side effect. Certain antidepressants, particularly bupropion, are associated with insomnia. SSRIs and SNRIs, the most widely prescribed class of antidepressants, can increase the risk of restless legs syndrome, which in turn disrupts sleep. Beta-blockers, used for high blood pressure and heart conditions, are linked with disturbing dreams that fragment sleep. If your insomnia started or worsened around the time you began a new medication, that timing is worth paying attention to.

Caffeine and alcohol are the most common nonprescription substances that interfere with sleep. Caffeine blocks the brain’s sleep-pressure signals and has a half-life of five to six hours, meaning half the caffeine from an afternoon coffee is still active in your system at bedtime. Alcohol may help you fall asleep initially but disrupts the second half of the night, leading to lighter, more fragmented sleep.

When Insomnia Becomes Chronic

Clinically, insomnia is classified as chronic when it occurs three or more nights per week for at least three months, causes significant distress or impairment in daily functioning, and persists despite adequate opportunity to sleep. That last point matters: if you’re only in bed for five hours because of a demanding schedule, that’s sleep deprivation, not insomnia. Insomnia means you have the time and the intention to sleep but can’t.

Chronic insomnia takes three main forms. Some people struggle primarily with falling asleep, lying awake for 30 minutes or more after turning out the lights. Others fall asleep fine but wake repeatedly during the night. A third group wakes far too early, often around 3 or 4 AM, and can’t get back to sleep. Many people experience a combination. The pattern sometimes offers clues about the underlying cause. Difficulty falling asleep often points to anxiety or circadian rhythm issues, while early-morning awakening is more closely associated with depression.

Age, Hormones, and Life Changes

Insomnia becomes more common with age, though it isn’t an inevitable part of aging. Older adults produce less melatonin, spend less time in deep sleep, and are more easily awakened by noise or discomfort. They’re also more likely to have the medical conditions and take the medications that disrupt sleep.

Hormonal shifts play a significant role at several life stages. Women are more likely than men to develop insomnia, with risk increasing during menstruation, pregnancy, and especially menopause, when hot flashes and night sweats can fragment sleep for years. The drop in estrogen and progesterone during menopause directly affects the brain’s temperature regulation and sleep architecture.

Major life transitions, even positive ones, can trigger insomnia. Retirement, a new baby, a move, or a career change all disrupt routines and introduce uncertainty, both of which raise the arousal level that makes sleep harder to initiate. For people with a genetic predisposition or a history of insomnia, these transitions carry a higher risk of relapse.