What Causes Insomnia? Brain, Body, and Habits

Insomnia stems from a combination of factors, not a single cause. About 16% of adults worldwide, over 850 million people, live with insomnia, and nearly half of those cases are classified as severe. The triggers range from stress and mental health conditions to hormonal shifts, medications, and everyday habits that quietly work against your body’s sleep signals.

Your Brain’s Sleep Switch Gets Stuck

Sleep depends on a balancing act between two systems in your brain: one that promotes wakefulness and one that promotes sleep. The wake system runs through clusters of neurons in the brainstem and hypothalamus. The sleep system operates through a separate set of regions, primarily in the hypothalamus and thalamus. In people with insomnia, the wake system stays too active, a state researchers call hyperarousal. It’s not just that you can’t fall asleep; your brain is physiologically revved up even when you’re exhausted.

At the chemical level, this involves two key brain signals working in opposite directions. One is an excitatory chemical (glutamate) that keeps neurons firing. The other is an inhibitory chemical (GABA) that quiets neural activity and is essential for falling asleep, staying asleep, and generating deep sleep. Brain imaging studies consistently show that people with insomnia have lower GABA levels in certain brain regions, suggesting their brains have a harder time putting the brakes on wakefulness. This isn’t something you can consciously override. It’s a measurable neurochemical imbalance that explains why “just relax” rarely works.

Stress, Worry, and the Racing Mind

The most familiar trigger for insomnia is a mind that won’t quiet down at bedtime. Worry and rumination in response to stress are recognized predisposing factors for insomnia. They increase cognitive arousal right when your brain needs to wind down. This goes beyond having a bad day. People who tend to replay regrets, second-guess decisions, or mentally rehearse tomorrow’s problems are priming their brains for sleeplessness before they even turn the lights off.

The relationship between insomnia and mental health runs in both directions. Anxiety and depression are well-known triggers for insomnia, but insomnia also predicts future anxiety and depression. In a study of university students, insomnia symptoms at the start of the academic year were among the strongest predictors of anxiety and depression by year’s end, even after accounting for students who already had those conditions. This feedback loop is one reason insomnia becomes chronic so easily: poor sleep worsens mood, and worsened mood makes sleep harder.

Cognitive behavioral therapy for insomnia works partly by breaking this cycle. It targets repetitive negative thinking and the mental tension that builds before bed, reducing the arousal that keeps the wake system locked on.

Medical Conditions That Steal Sleep

A wide range of physical health problems are linked to insomnia, and some of those connections are striking. In one large study comparing people with and without chronic insomnia, the differences were stark: 50.4% of people with chronic insomnia reported chronic pain, compared to 18.2% of people without insomnia. Gastrointestinal problems showed up in 33.6% of those with insomnia versus 9.2% without. Breathing problems appeared in 24.8% versus 5.7%.

Flipping the data around tells the same story from the other side. Among people with neurological conditions, 66.7% reported chronic insomnia. Among those with breathing problems like asthma or COPD, 59.6% had chronic insomnia. For gastrointestinal issues, the rate was 55.4%.

When researchers accounted for all these conditions together, five stood out as independently linked to higher insomnia rates: high blood pressure, breathing problems, urinary problems, chronic pain, and gastrointestinal conditions. Chronic pain is especially disruptive because it activates the same arousal pathways in the brain that already run too hot in insomnia. Urinary problems force repeated nighttime awakenings. Acid reflux worsens when you lie flat. Each condition has its own mechanism for interrupting sleep, and many people deal with more than one at a time.

Hormonal Shifts Across a Woman’s Life

Reproductive hormones have a direct effect on sleep quality, which is why insomnia patterns shift noticeably across different life stages for women. Progesterone is the key sleep-promoting hormone. It increases deep sleep during the second half of the menstrual cycle, and a steep drop in progesterone during the days before a period is associated with sleep disruption. Estrogen’s role during the menstrual cycle is less clear, but it becomes more important later in life.

During pregnancy, insomnia is common but isn’t primarily hormonal. The culprits are physical: frequent urination at night, acid reflux, and musculoskeletal discomfort. These factors are significant enough to mask whatever sleep-promoting effects progesterone might otherwise provide. Interestingly, pregnant women who develop sleep apnea tend to have lower progesterone levels, suggesting the hormone may offer some protection against breathing-related sleep problems.

The menopausal transition is where hormonal insomnia hits hardest. Low estrogen levels are associated with lower sleep efficiency, more nighttime awakenings, and sleep-disordered breathing. Research suggests it’s not just the absolute hormone level that matters but the degree of fluctuation. Rapid swings in estrogen correlate with worse sleep. Declining progesterone from irregular ovulation adds to the problem, and rising levels of follicle-stimulating hormone (FSH) are independently linked to insomnia in perimenopausal and postmenopausal women. On top of all this, stress hormones increase with age and compound the effect.

Medications That Disrupt Sleep

Several categories of medication can trigger or worsen insomnia as a side effect. Certain antidepressants, particularly SSRIs, have a well-documented tendency to cause insomnia. Beta-blockers, commonly prescribed for high blood pressure, can suppress melatonin production. Corticosteroids used for inflammation and autoimmune conditions increase alertness and can make sleep initiation difficult, especially when taken later in the day. Stimulant medications for ADHD, decongestants containing pseudoephedrine, and some asthma medications also interfere with sleep.

If you notice your sleep worsening after starting a new medication, the timing alone is a useful clue. In many cases, adjusting when you take the medication or switching to an alternative can resolve the problem without needing a separate sleep treatment.

Light, Screens, and Your Internal Clock

Your circadian rhythm, the 24-hour internal clock that governs when you feel awake and when you feel sleepy, relies heavily on light exposure. Sunlight is the primary signal that keeps this clock synchronized. Artificial light at night disrupts the system by suppressing melatonin, the hormone that signals your brain it’s time to sleep. This delays your circadian rhythm, making it harder to fall asleep at your intended bedtime.

Screen-based devices are a concentrated source of this problem. Greater use of smartphones, tablets, and TVs in the bedroom is associated with insomnia symptoms, delayed sleep onset, and later wake times. The effect is particularly pronounced in older adults, where nighttime light exposure leads to measurable increases in both objective sleep disturbance and subjective insomnia. Urban environments add another layer: street lights, commercial signage, and light pollution from neighboring buildings can suppress melatonin even through curtains that aren’t fully light-blocking.

Caffeine, Alcohol, and Shift Work

Caffeine has a half-life of about five to six hours, meaning half the caffeine from an afternoon coffee is still circulating in your system at bedtime. It blocks the receptors for a chemical that builds up sleep pressure throughout the day, essentially muting your brain’s drowsiness signal. Alcohol works differently but is equally deceptive. It may help you fall asleep faster, but as your body metabolizes it during the night, it fragments sleep in the second half, leading to early awakenings and lighter, less restorative rest.

Shift work creates a more structural problem. Working overnight or rotating schedules forces you to sleep during daylight hours, when your body’s wake signals are strongest and melatonin levels are at their lowest. This mismatch between your internal clock and the external environment shortens sleep and causes frequent disruptions. The result is a condition called shift work sleep disorder, where people are sleepy during their shifts and unable to sleep well during their off hours.

When Short-Term Insomnia Becomes Chronic

Clinically, insomnia is considered chronic when sleep difficulty occurs at least three nights per week for at least three months. But the transition from short-term to chronic insomnia often follows a predictable pattern. A stressful event, an illness, a schedule change, or a new medication triggers a few bad nights. Your brain starts associating the bed with wakefulness. You begin compensating by spending more time in bed, napping, or worrying about sleep itself. These behaviors, while understandable, reinforce the arousal that keeps insomnia going long after the original trigger has passed.

This is why insomnia often outlasts its cause. The initial trigger may have been a work deadline or a medical procedure, but the habits and thought patterns that developed in response become self-sustaining. Recognizing this pattern is the first step toward interrupting it, because the factors maintaining your insomnia are frequently different from whatever started it.