The most common reasons you can’t sleep fall into a handful of categories: your brain is too wired, your body clock is confused, something you consumed is still active in your system, or your sleeping environment is working against you. Often it’s a combination. The good news is that most sleep problems have identifiable triggers, and once you know what’s disrupting your night, fixing it becomes straightforward.
Your Stress Hormones Are Keeping You Awake
When you lie in bed with your mind racing, that’s not just a mental problem. It’s a hormonal one. Cortisol, your body’s main stress hormone, naturally drops in the evening to let you wind down. But if you’re anxious, overwhelmed, or even just replaying your to-do list, cortisol stays elevated. People with insomnia tend to have high cortisol levels specifically in the evening and around sleep onset, which is exactly when those levels should be at their lowest.
This creates a vicious cycle. Elevated evening cortisol fragments your sleep, causing more nighttime awakenings. Those awakenings then trigger additional cortisol release, which makes the next night worse. Research on young men restricted to four hours of sleep for six consecutive nights showed their afternoon and evening cortisol levels climbed significantly, and the onset of their body’s normal quiet period shifted later by about 90 minutes. In other words, losing sleep literally trains your body to stay alert when it shouldn’t be.
Your nervous system has two modes: alert and rest. Stress keeps you locked in alert mode by activating the same fight-or-flight pathways that would fire if you were in danger. Your heart rate stays slightly elevated, your muscles hold tension, and your brain remains vigilant. None of that is compatible with falling asleep.
Screens Are Suppressing Your Sleep Hormone
Melatonin is the hormone that signals your brain it’s time for sleep, and blue light from phones, tablets, and laptops directly suppresses it. The effect is measurable and significant. In a study comparing blue and red light exposure, blue light (peaking at 464 nanometers, the same wavelength your screens emit) suppressed melatonin within one hour and kept it suppressed with almost no recovery. After three hours of exposure, melatonin levels under blue light measured just 8.3 pg/mL compared to 16.6 pg/mL under red light. That’s roughly half the melatonin your brain would otherwise produce.
The suppression was strongest in younger people and men. And the critical detail: the gap between blue and red light widened over time. After one hour, there was no significant difference. After two hours, blue light’s suppressive effect pulled sharply ahead. So it’s not just that you checked your phone for a minute. It’s that the hour or two of scrolling before bed is actively blocking the chemical your brain needs to initiate sleep.
Caffeine Is Still in Your System
Caffeine works by physically blocking the receptors for a molecule called adenosine, which builds up in your brain the longer you’re awake. Adenosine is essentially your body’s sleep pressure signal. The more it accumulates, the sleepier you feel. Caffeine reaches your brain about 30 minutes after you drink it and parks itself in those receptors, preventing adenosine from doing its job. You still have the sleep pressure building up; you just can’t feel it.
The average half-life of caffeine is about five hours, meaning half the caffeine from your 3 PM coffee is still circulating at 8 PM. But that’s just the average. Depending on your genetics and other factors, caffeine’s half-life can range from 1.5 to 9.5 hours. If you’re on oral contraceptives, that half-life roughly doubles. So a cup of coffee at noon could, for some people, still be partially active at midnight. If you’re lying awake feeling tired but wired, caffeine is one of the first things to rule out.
Alcohol Is Fragmenting Your Sleep
Alcohol is deceptive because it genuinely does help you fall asleep faster. It’s a potent sleep-promoting substance that pushes your brain into deep sleep during the first half of the night. The problem comes in the second half. As your body metabolizes the alcohol, you experience what researchers call REM rebound: a surge of lighter, dream-heavy sleep mixed with periods of full wakefulness. This is why you might fall asleep easily after a few drinks but find yourself wide awake at 3 AM.
The mechanism involves a shift in your brain’s sleep balance. Alcohol front-loads your deep sleep, borrowing it from later in the night. When it wears off, your brain compensates by reducing deep sleep and increasing wakefulness. Even moderate drinking in the evening, after 6 PM, is enough to disrupt this balance.
Your Bedroom Is Too Warm
Your body temperature follows a 24-hour cycle that’s tightly linked to sleep. Core temperature drops as bedtime approaches, and sleep onset is most likely to happen during that decline. It’s nearly impossible to fall asleep while your core temperature is rising. This is why a warm room can sabotage your sleep even if everything else is dialed in.
Research on thermal environments and sleep shows that cooler air temperatures in the hours before and after sleep onset help accelerate the natural drop in core body temperature. Studies found no significant differences in sleep quality across a range of about 55°F to 73°F (13°C to 23°C), which gives you a wide window to work with. Warming your feet (with socks or a hot water bottle) can also speed up sleep onset by increasing heat loss from your extremities, which pulls warmth away from your core. It sounds counterintuitive, but warm feet and a cool room is the ideal combination.
Your Body Clock Is Out of Sync
Your circadian rhythm is a roughly 24-hour internal clock that determines when you feel alert and when you feel sleepy. It’s driven primarily by light exposure. If you’re getting bright light late at night and spending your mornings in dim indoor lighting, your clock shifts later. You won’t feel sleepy until well past midnight, and morning wake-ups become brutal. This is especially common if you work from home, travel across time zones, or keep an irregular schedule on weekends.
The fix is essentially the reverse: bright light in the morning (ideally sunlight within an hour of waking) and dim light in the evening. Your circadian clock is most sensitive to light during the two hours before your usual bedtime and the hour after you wake up. Those windows are when light exposure has the greatest power to shift your sleep timing forward or backward.
It Could Be a Sleep Disorder
If you’ve addressed the obvious lifestyle factors and still can’t sleep, a sleep disorder may be involved. Insomnia becomes a clinical diagnosis when you have trouble falling or staying asleep at least three nights per week for three months or longer. Shorter episodes, lasting days to a few weeks, are considered acute insomnia and typically resolve once the triggering stressor passes.
Obstructive sleep apnea is another possibility, and it’s more common than most people realize. It causes repeated breathing interruptions during sleep, leading to frequent awakenings that you may not even remember. The overlap between insomnia and sleep apnea is surprisingly large. Among people who primarily complain of apnea symptoms like snoring and daytime sleepiness, anywhere from 6% to 84% also meet criteria for insomnia. The two conditions feed each other: apnea fragments sleep, which raises cortisol, which makes it harder to fall back asleep. Risk factors include being male, having a higher body weight, and being older, though sleep apnea occurs across all demographics.
Practical Changes That Help
Most sleep problems respond to a few targeted adjustments. Cut caffeine by early afternoon, or earlier if you’re a slow metabolizer. Stop using bright screens at least an hour before bed, or use a red-toned night mode if you must. Keep your bedroom cool. Avoid alcohol within a few hours of sleep.
Magnesium supplementation has some clinical support. Magnesium activates your brain’s calming neurotransmitter system (GABA), which reduces nervous system excitability. One clinical trial found that 500 mg of elemental magnesium daily for eight weeks increased sleep duration and decreased the time it took to fall asleep in older adults. Adults need 7 to 9 hours of sleep per night (8 to 10 for teenagers), and consistently falling short of that range is worth taking seriously.
If background noise helps you, pink noise, which emphasizes lower frequencies and sounds like a deep, steady rain, has shown some promise for enhancing deep sleep when synchronized to brain wave patterns. It’s gentler than white noise and worth experimenting with. Keep your sleep and wake times consistent, even on weekends. Your circadian clock doesn’t take days off, and a two-hour shift on Saturday morning can leave you struggling to fall asleep Sunday night.

