If you’re lying awake most nights, you’re far from alone. Nearly 4 in 10 adults have trouble falling asleep three or more nights per week, and almost half struggle to stay asleep that often. The reasons range from stress and screen habits to hormonal shifts and medical conditions, and most people have more than one factor working against them at once.
Your Body Runs on a 24-Hour Clock
Sleep is controlled by a tiny cluster of nerve cells deep in your brain that acts as a master clock. This clock runs on a cycle slightly different from exactly 24 hours, so it relies on external cues, especially light, to stay synced with the day. A dedicated nerve pathway connects your eyes directly to this clock, which is why light exposure is the single strongest signal telling your brain whether it’s time to be awake or asleep.
When this system works well, your brain ramps up alertness in the morning and winds it down at night. When it doesn’t, because of irregular schedules, overnight shift work, or bright light at the wrong time, the clock drifts. You feel wide awake at midnight and groggy at noon. Even your eating schedule matters: tissues throughout your body have their own smaller clocks that respond to when you eat, so late-night meals can send mixed timing signals.
Stress Keeps Your Brain in Alert Mode
Stress is probably the most common reason people can’t fall asleep, and it works through a very direct mechanism. Your brain releases cortisol and other stress hormones that promote wakefulness. In people with chronic insomnia, cortisol levels are lowest during deep sleep and highest during periods of nighttime waking, especially wake periods lasting 30 minutes or longer. The longer you lie awake, the more stress hormones circulate, which makes it even harder to drift off. It becomes a self-reinforcing loop.
This doesn’t require a major life crisis. Ruminating about tomorrow’s tasks, replaying an awkward conversation, or worrying about not sleeping itself can all trigger enough of a stress response to keep cortisol elevated. People with chronic insomnia show increased pulse-release of cortisol throughout the night, meaning their stress system fires repeatedly even during sleep, fragmenting it into lighter, less restorative stages.
Screens and Light Are Working Against You
Your brain produces melatonin, a hormone that signals sleepiness, as darkness falls. Blue light shuts that process down. Specialized photoreceptors in your eyes detect blue wavelengths and send a direct signal to suppress melatonin production and shift your circadian rhythm later. These receptors barely respond to red, yellow, or orange light, but blue light hits them hard.
The problem is that blue light is everywhere at night. It comes from LED and fluorescent lighting, and from the backlit screens of phones, tablets, computers, and televisions. Scrolling through your phone in bed is essentially telling your brain it’s still daytime. Even overhead LED room lighting contains enough blue wavelength to delay your natural sleepiness, so the issue isn’t limited to screens alone.
Caffeine Lasts Longer Than You Think
Caffeine has a half-life of five to six hours, meaning that half the caffeine from a 3 p.m. coffee is still circulating in your bloodstream at 8 or 9 p.m. The other half doesn’t vanish at that point either; it takes another five to six hours to halve again. An afternoon cup can easily leave enough caffeine in your system at bedtime to disrupt both your ability to fall asleep and the quality of your deep, restorative sleep stages. That translates directly to less total sleep time, even if you don’t feel “wired.”
People vary in how quickly they metabolize caffeine. If you’re a slower metabolizer, even a late-morning coffee could affect your sleep. The simplest test is to cut off caffeine by noon for a week and see if your nights improve.
Hormonal Changes, Especially During Perimenopause
Declining estrogen and progesterone levels are a major and underrecognized cause of sleep disruption. As estrogen drops, your body becomes worse at regulating its temperature, leading to hot flashes and night sweats that jolt you awake. Progesterone has direct sedative and sleep-promoting effects, so as it declines, falling asleep gets harder, sleep becomes lighter, and nighttime awakenings increase.
These changes often begin in perimenopause, years before periods actually stop, which means many women experience worsening sleep in their 40s without connecting it to hormonal shifts. Thyroid disorders, which are also more common in women, can cause similar nighttime restlessness and should be considered if sleep problems appear alongside changes in energy, weight, or body temperature.
Sleep Apnea and Other Medical Causes
Sometimes the problem isn’t falling asleep but staying asleep, and the cause is physical. Obstructive sleep apnea occurs when throat muscles relax during sleep and partially or fully block the airway. This drops blood oxygen levels and triggers brief awakenings, sometimes dozens of times per hour, though you may not remember them. Common signs include loud snoring, gasping or choking during sleep (often noticed by a partner), frequent nighttime urination, morning headaches, a dry mouth when you wake up, and excessive daytime sleepiness despite what seemed like a full night in bed.
Other medical conditions that interfere with sleep include restless legs syndrome (an uncomfortable urge to move your legs that worsens at night), chronic pain, acid reflux that gets worse when lying flat, and an overactive bladder. Many common medications, including some antidepressants, blood pressure drugs, and asthma medications, can also disrupt sleep as a side effect.
What Actually Helps: Retraining Your Brain
The most effective non-drug treatment for chronic sleep difficulty is a structured approach called cognitive behavioral therapy for insomnia, or CBT-I. Unlike sleeping pills, which mask the problem, CBT-I retrains the associations your brain has built between your bed and wakefulness. Its core principles are straightforward, and you can start applying them on your own.
First, set a consistent wake time every morning, including weekends. This is the single most powerful lever for stabilizing your circadian clock. Second, only go to bed when you actually feel sleepy, not just tired or bored. Third, if you’ve been lying awake for what feels like 20 minutes or more, get out of bed and do something calm in dim light (reading a physical book, light stretching) and only return when sleepiness hits. This breaks the mental link between your bed and frustration. Fourth, limit daytime naps to 15 to 30 minutes, taken roughly 7 to 9 hours after you wake up, if you nap at all.
These rules feel counterintuitive, especially the part about getting out of bed. But the goal is to compress your time in bed so that nearly all of it is spent sleeping. Over a few weeks, your brain starts associating the bed with sleep again rather than with staring at the ceiling.
Building a Sleep-Friendly Environment
Beyond behavioral changes, your bedroom setup matters more than most people realize. Keep the room cool, ideally between 65 and 68°F (18 to 20°C), since your core body temperature needs to drop slightly to initiate sleep. Dim the lights in your home at least an hour before bed, and if you must use screens, switch them to their warmest color setting or use blue-light filtering. Better yet, put the phone in another room.
Noise consistency helps too. A steady background sound (a fan or white noise machine) is less disruptive than intermittent sounds like traffic or a partner’s snoring, because it’s the change in noise level, not noise itself, that wakes you. Alcohol is another common trap: it may help you fall asleep faster, but it fragments your sleep in the second half of the night, reducing the restorative stages your brain needs most.

