If you’re lying in bed feeling completely wired, your body’s internal clock is likely out of sync with the time you’re trying to sleep. The most common reasons are evening light exposure, poorly timed stimulants, stress, or habits that keep your core body temperature and stress hormones elevated when they should be dropping. In most cases, a few targeted changes can make a noticeable difference within days.
Your Internal Clock May Be Running Late
Your body relies on a roughly 24-hour cycle called the circadian rhythm to decide when you feel sleepy and when you feel alert. A key part of this system is melatonin, a hormone your brain starts releasing in the evening to signal that it’s time to wind down. But that signal is extremely sensitive to light, especially the blue light that screens emit in the 460 to 480 nanometer wavelength range. This is the exact range your eyes are most responsive to when calibrating your internal clock.
The effect is surprisingly large. In one study, two hours of reading on an LED tablet suppressed melatonin production by 55% and delayed the onset of sleepiness by an average of 1.5 hours compared to reading a printed book under dim light. A separate study on university students found that just two hours of evening light exposure shifted the entire circadian cycle by about 1.1 hours. So if you’re scrolling your phone or watching TV until 11 p.m., your brain may not register “nighttime” until well past midnight.
The fix is straightforward but requires consistency. Turn off screens at least 30 minutes before bed, per CDC guidelines, though an hour or more is better if you’re particularly sensitive. Dimming overhead lights in the evening also helps, since bright room lighting can have a similar suppressive effect on melatonin. If you need to use a device, enable its night mode or warm-light filter, which reduces the blue wavelengths that matter most.
Stress Keeps Your Body in Alert Mode
Cortisol, your body’s main stress hormone, follows a predictable daily pattern: it peaks in the morning to help you wake up and gradually falls through the evening, reaching its lowest point in the early hours of sleep. When you’re stressed or anxious, that evening decline doesn’t happen the way it should. Cortisol stays elevated, and with it comes a faster heart rate, higher blood pressure, and a general sense of being “on” that makes sleep feel impossible.
This isn’t just about having a bad day at work. Chronic stress, anxiety disorders, and trauma responses can keep cortisol levels elevated even during the hours when they should be at their lowest. The body stays locked in a low-grade fight-or-flight state, which is fundamentally incompatible with falling asleep. If you notice your mind racing with worries the moment the lights go off, that’s cortisol and adrenaline doing exactly what they’re designed to do: keeping you vigilant when your brain perceives a threat, even if the “threat” is tomorrow’s meeting.
Practical strategies that lower cortisol in the evening include slow breathing exercises, progressive muscle relaxation, journaling to offload anxious thoughts, and keeping a consistent pre-sleep routine that signals safety to your nervous system. If anxiety at night is persistent and intense, it’s worth exploring whether an underlying anxiety disorder or trauma response is driving the pattern.
Caffeine Lasts Longer Than You Think
Caffeine has a half-life of about five to six hours in most adults, meaning half the caffeine from your 3 p.m. coffee is still circulating at 8 or 9 p.m. A quarter of it may still be active at midnight. Caffeine works by blocking the receptors for a chemical called adenosine, which is the compound your brain accumulates throughout the day to build sleep pressure. When caffeine occupies those receptors, you simply don’t feel tired, even if your body has been awake for 16 hours.
The sensitivity varies widely between people based on genetics and tolerance. Some people can drink espresso after dinner and sleep fine. Others find that anything after noon disrupts their night. If you’re searching for why you’re not tired at bedtime, cutting off caffeine by early afternoon for a week is one of the simplest experiments you can run.
Late Exercise and Heavy Meals
Vigorous exercise raises your core body temperature, and falling asleep requires the opposite: your body needs to cool down by about one to two degrees to initiate sleep. The general guideline is to avoid intense exercise within four hours of bedtime. Light stretching or a gentle walk won’t cause the same issue because they don’t generate enough metabolic heat to interfere with the cooling process.
Late meals can also keep you alert, particularly if they’re heavy or high in sugar. When you eat a large carbohydrate-rich meal close to bedtime, the resulting blood sugar fluctuations can fragment sleep and keep your body metabolically active when it should be powering down. Eating dinner at least two to three hours before bed, and favoring lower-glycemic foods in the evening (whole grains, vegetables, protein), helps avoid those nocturnal glucose swings.
Your Bedroom Temperature Matters
A room that’s too warm is one of the most overlooked causes of nighttime alertness. Sleep specialists at the Cleveland Clinic recommend keeping your bedroom between 60 and 67°F (15 to 19°C). This range supports the natural drop in core body temperature that triggers drowsiness. If your bedroom is 72°F or warmer, your body may struggle to cool itself enough to initiate sleep, leaving you lying awake feeling restless but not understanding why.
Beyond temperature, light leaking in from streetlights or electronics and inconsistent noise can prevent your brain from fully committing to its sleep cycle. Blackout curtains, a fan for both cooling and white noise, and removing any LED indicator lights from the room are small changes that collectively make a real difference.
When a Medical Condition Is the Cause
Sometimes the inability to feel sleepy at night isn’t about habits at all. An overactive thyroid gland (hyperthyroidism) speeds up your entire metabolism, producing symptoms like a rapid or irregular heartbeat, weight loss, hand tremors, and persistent difficulty sleeping. The thyroid hormones that flood your system affect every cell in your body, keeping your heart rate elevated and your nervous system activated around the clock. If you’re not tired at night and also noticing unexplained weight changes, a racing pulse at rest, or feeling overheated, a simple blood test can check your thyroid hormone levels.
Delayed sleep phase disorder is another possibility, particularly in teenagers and young adults. With this condition, your circadian rhythm is genuinely shifted later, so your natural sleep window might not start until 2 or 3 a.m. It’s not a matter of poor habits; it’s a biological clock that runs on a different schedule. Treatment typically involves carefully timed light exposure in the morning and melatonin supplementation in the evening to gradually pull the clock earlier.
A Simple Troubleshooting Order
If you’re trying to figure out what’s keeping you awake, work through the most common culprits in order of how easy they are to test:
- Screens: Stop using them one hour before bed for one week and note any change.
- Caffeine: Cut it off by noon for a week.
- Room temperature: Drop it to 65°F (18°C) or lower.
- Meal timing: Finish eating two to three hours before bed.
- Exercise timing: Move intense workouts to at least four hours before sleep.
- Stress management: Add 10 minutes of breathing exercises or journaling before bed.
Most people find that two or three of these factors are combining to keep them alert. Fixing just one rarely solves the problem entirely, but stacking several changes often produces a noticeable shift within the first week. If none of these adjustments help after two to three weeks of consistent effort, the cause is more likely medical or psychological and worth investigating with a provider.

