What Causes Insomnia? Stress, Biology, and More

Insomnia is caused by a combination of mental, physical, and behavioral factors that keep your brain in a state of heightened alertness when it should be winding down. About 12% of Americans have been diagnosed with chronic insomnia, and the causes range from stress and anxiety to medical conditions, medications, and habits that interfere with your body’s natural sleep signals.

Clinically, insomnia is defined as difficulty falling asleep, staying asleep, or waking too early, at least three nights per week for three months or longer, despite having adequate opportunity to sleep. But understanding the label matters less than understanding what’s driving it.

The Hyperarousal Model

The most widely supported explanation for insomnia is that it’s a disorder of being too “switched on” rather than not being tired enough. People with insomnia show measurable signs of heightened activation: faster heart rates, elevated cortisol (the body’s main stress hormone), and more high-frequency brain activity around the time they’re trying to fall asleep. Their nervous system is stuck in a state that resists sleep even when they’re exhausted.

This hyperarousal can be both physical and mental. Your body might be tense and restless while your mind races through worries, plans, or replays of the day. Over time, the two feed each other. The frustration of not sleeping creates its own anxiety, which makes it even harder to sleep the next night.

Stress, Anxiety, and Depression

A stressful life event is one of the most common triggers for the first bout of insomnia. Job loss, a relationship breakup, a health scare, the death of someone close: any of these can set off several nights of poor sleep. For many people, sleep returns to normal once the stress passes. For others, the pattern sticks.

What makes stress-triggered insomnia persist is a learned association between the bed and wakefulness. After enough nights of lying awake, your brain starts to treat the bedroom itself as a place of alertness and frustration rather than rest. Trying harder to sleep backfires, creating a cycle where the effort to fix the problem becomes part of the problem. This is why insomnia often continues long after the original stressor is gone.

Anxiety and depression are both strongly linked to chronic insomnia. Anxiety tends to make it hard to fall asleep, while depression more often causes early-morning waking or fragmented sleep throughout the night. These conditions share overlapping brain chemistry with insomnia, so they frequently appear together and reinforce each other.

How Brain Chemistry Regulates Sleep

Sleep depends on a chemical tug-of-war inside your brain. A cluster of neurons in the hypothalamus produces GABA, a neurotransmitter that acts like a dimmer switch. It works by suppressing the brain chemicals that keep you awake, including histamine, norepinephrine, serotonin, and glutamate. When GABA signaling is strong, those wake-promoting systems quiet down and sleep takes over.

Another key player is orexin (also called hypocretin), a molecule discovered in 1998 that stabilizes wakefulness. When orexin activity is too high or doesn’t taper off at the right time, it becomes harder to transition into sleep. In people with insomnia, this balance between sleep-promoting and wake-promoting signals is often tilted toward wakefulness, which is essentially what hyperarousal looks like at the neurochemical level.

Medical Conditions That Disrupt Sleep

Chronic pain is one of the most straightforward physical causes of insomnia. Conditions like arthritis, back problems, and fibromyalgia can make it difficult to find a comfortable position, and pain tends to feel more intense at night when there are fewer distractions. Even mild discomfort that you barely notice during the day can become a real barrier to falling or staying asleep.

Beyond pain, a wide range of medical conditions are linked with insomnia. These include asthma (nighttime coughing and breathing difficulty), gastroesophageal reflux disease or GERD (acid reflux that worsens when lying flat), overactive thyroid (which speeds up metabolism and raises heart rate), heart disease, diabetes, Parkinson’s disease, and Alzheimer’s disease. Cancer and its treatments also frequently cause sleep disruption. In many of these cases, treating the underlying condition improves sleep, but not always. The insomnia sometimes takes on a life of its own.

Medications That Interfere With Sleep

Several common medications can cause or worsen insomnia as a side effect. Beta-blockers, often prescribed for high blood pressure and heart conditions, are associated with fatigue during the day but can also cause disruptive dreams that fragment sleep at night. Some antidepressants, particularly SSRIs and SNRIs, can increase the risk of restless legs syndrome, a condition that creates uncomfortable sensations in the legs and an urge to move them, making it hard to fall asleep. Stimulant medications for ADHD, certain asthma drugs, and some allergy medications that contain stimulating ingredients can also keep you awake.

If you suspect a medication is affecting your sleep, the timing of when you take it or switching to an alternative may help. This is worth raising with whoever prescribed it.

Your Internal Clock and Light Exposure

Your body runs on an internal 24-hour clock controlled by a small cluster of neurons in the brain called the suprachiasmatic nucleus. This clock governs when you feel sleepy and when you feel alert, largely by controlling the release of melatonin, a hormone that signals darkness and promotes sleep. When this system is disrupted, insomnia is a common result.

Light is the most powerful signal that sets your internal clock. Blue light, the wavelength most abundant in screens and LED lighting, is particularly effective at suppressing melatonin. Research published in the Journal of Applied Physiology found that exposure to blue LED light produces a dose-dependent suppression of melatonin, meaning the brighter the light and the longer the exposure, the more your melatonin drops. Using phones, tablets, or computers late at night sends your brain a signal that it’s still daytime, pushing your natural sleep window later.

Shift work, jet lag, and irregular sleep schedules all throw off this clock as well. Your brain expects consistency. When your sleep and wake times vary widely from day to day, the clock can’t calibrate properly, and falling asleep at a “normal” hour becomes genuinely difficult, not just a matter of discipline.

Caffeine, Alcohol, and Other Substances

Caffeine has a half-life of roughly five to six hours, meaning that half the caffeine from an afternoon coffee is still circulating in your bloodstream at bedtime. It works by blocking the receptors for adenosine, the brain chemical that builds up sleep pressure throughout the day. Even if you feel like caffeine “doesn’t affect you,” it can reduce the depth and quality of your sleep without you realizing it.

Alcohol is trickier because it genuinely helps people fall asleep faster, which is why so many people use it as a sleep aid. The problem comes later in the night. As your body metabolizes alcohol, it suppresses REM sleep, the stage associated with dreaming, memory processing, and emotional regulation. The result is fragmented, low-quality sleep in the second half of the night. Over time, this can turn into a self-reinforcing cycle: poor sleep leads to more alcohol use to fall asleep, which leads to worse sleep overall.

Nicotine is a stimulant that raises heart rate and alertness. Smokers tend to take longer to fall asleep and experience more nighttime awakenings, and nicotine withdrawal during the night can itself cause fragmented sleep.

Age and Hormonal Changes

Insomnia becomes more common with age, partly because of changes in sleep architecture. Older adults spend less time in deep sleep, making them more easily awakened by noise, pain, or the need to use the bathroom. The internal clock also tends to shift earlier, leading to very early waking times that can feel like insomnia even when total sleep time is adequate.

Hormonal transitions play a significant role as well. Menopause is strongly associated with new-onset insomnia, driven by hot flashes, night sweats, and declining estrogen levels that affect temperature regulation and sleep stability. Pregnancy, particularly in the third trimester, brings its own set of sleep disruptors including physical discomfort, frequent urination, and hormonal shifts.

Behavioral Patterns That Sustain Insomnia

Many of the habits people adopt to cope with poor sleep actually make it worse. Spending extra time in bed hoping to “catch up,” napping during the day, or sleeping in on weekends can all weaken the connection between your bed and sleep. Your brain learns from association. If you spend hours in bed scrolling your phone or watching TV, the bed becomes a place for wakefulness rather than rest.

Clock-watching is another common pattern that amplifies insomnia. Checking the time after waking in the night triggers mental math about how few hours remain, which raises anxiety and cortisol at exactly the wrong moment. The simple act of turning your clock away from view can interrupt this cycle.

These behavioral patterns explain why insomnia is often described using a three-factor model: predisposing factors (your genetics, temperament, or tendency toward anxiety), precipitating factors (the stressful event that triggers the first episode), and perpetuating factors (the habits and thought patterns that keep it going). Most chronic insomnia is maintained by the third category, which is also the most changeable.