Why Do I Have So Much Anxiety at Night?

Nighttime anxiety hits harder for a straightforward reason: the distractions that keep your mind occupied during the day disappear, while your body’s stress-regulation system is at its lowest point. This combination of quiet surroundings and shifting hormones creates ideal conditions for racing thoughts and physical tension. The good news is that once you understand what’s driving it, most of the contributing factors are things you can change.

Your Stress Hormones Drop, but Not Always Cleanly

Cortisol, your body’s primary stress hormone, follows a predictable daily rhythm. It surges 50 to 150 percent within the first 30 to 45 minutes after you wake up, promoting alertness and energy. From that morning peak, levels gradually decline throughout the day, reaching their lowest point around midnight to help your body wind down for sleep.

The problem starts when that decline doesn’t happen smoothly. If you’ve been chronically stressed, sleep-deprived, or working irregular hours, your cortisol rhythm can flatten out. Instead of dropping low at night, levels stay elevated into the evening. This pattern, sometimes called a “flattened diurnal slope,” keeps your nervous system in a mild state of alert when it should be powering down. Research on shift workers shows that this kind of hormonal misalignment correlates directly with increased anxiety symptoms and creates a self-reinforcing cycle: elevated evening cortisol makes it harder to sleep, and poor sleep further disrupts cortisol timing the next day.

Your Brain Has Nothing Else to Focus On

During the day, your attention is pulled in dozens of directions: work, conversations, errands, background noise. At night, those inputs vanish. You’re lying in a dark, quiet room with nothing competing for your attention, and your brain fills that vacuum with whatever feels most unresolved or threatening.

Psychologists call this process rumination, and it follows a specific pattern that’s been well-documented in sleep research. Harvey’s Cognitive Model of Insomnia describes how nighttime worry tends to focus on sleep itself: whether you’ll fall asleep, whether you’ll get enough rest, and how badly tomorrow will go if you don’t. That worry triggers emotional arousal, which activates your sympathetic nervous system (your fight-or-flight response), which makes it even harder to fall asleep. Now you’re anxious about being anxious, and the cycle accelerates.

This isn’t just a nighttime problem, either. The model shows that people who ruminate at night often continue the pattern during the day, monitoring themselves for signs of fatigue and interpreting normal tiredness as proof that something is wrong. That daytime distress then feeds back into the next night’s anxiety. If you’ve noticed that your nighttime anxiety got worse gradually over weeks or months, this feedback loop is likely a major reason.

Screen Light Is Working Against You

If you scroll your phone or watch TV before bed, you’re actively suppressing the hormone that’s supposed to help you feel sleepy. Artificial light, especially the blue-heavy light from screens, delays melatonin production and shifts your internal clock later. This “phase delay” makes it harder to fall asleep at your usual time, leaving you lying awake longer with more opportunity for anxious thoughts to build.

The effects go beyond just delayed sleep. A large study analyzing the relationship between light exposure and mental health found that excessive nighttime light led to a 20 percent increase in symptoms of psychiatric conditions including anxiety, depression, and insomnia. The disruption isn’t subtle: light at the wrong time throws off your circadian rhythm in ways that affect mood stability, stress response, and cognitive function well beyond just one night.

Caffeine Lingers Longer Than You Think

Caffeine has a half-life of roughly 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. For some people, especially slow metabolizers, it lasts even longer. Caffeine blocks the receptors that help you feel drowsy and can keep your nervous system subtly activated into the evening. If your nighttime anxiety comes with a jittery, restless quality, an afternoon coffee habit is worth examining. Cutting off caffeine by noon for a couple of weeks is one of the simplest experiments you can run.

Physical Conditions That Mimic Anxiety

Not all nighttime anxiety is purely psychological. Several medical conditions produce symptoms that feel identical to anxiety, especially at night. Sleep apnea causes brief breathing interruptions that can jolt you awake with a racing heart and a surge of adrenaline. Thyroid conditions, particularly an overactive thyroid, increase your baseline heart rate and can cause restlessness and nervousness that intensifies when you’re trying to relax. Asthma symptoms often worsen at night due to changes in airway function during sleep, and the sensation of restricted breathing can trigger or amplify feelings of panic.

Nocturnal panic attacks are also more common than most people realize. Between 18 and 45 percent of people with panic disorder experience attacks during sleep, waking suddenly with intense fear, rapid heartbeat, shortness of breath, and sometimes chest pain. These episodes can feel like a heart attack, which only makes the fear worse. If you’re waking from sleep already in a state of panic rather than gradually building anxiety as you try to fall asleep, it’s worth getting evaluated for both panic disorder and the physical conditions that can trigger similar symptoms.

Your Sleep Environment Matters More Than You’d Expect

Room temperature has a direct effect on sleep quality and stress physiology. Research on thermal environments and sleep shows that temperatures above or below a neutral range increase wakefulness and reduce the deeper stages of sleep your body needs for recovery. For most people, a room temperature around 65 to 68°F (18 to 20°C) supports the best sleep, while the microclimate under your blankets naturally settles around 89 to 93°F (32 to 34°C). Sleeping in a room that’s too warm is a common and overlooked contributor to restless, anxiety-prone nights because your body can’t cool down enough to reach deep sleep stages.

How to Break the Cycle

The most effective approach targets multiple factors at once, since nighttime anxiety rarely has a single cause.

Create a buffer zone before bed. Give yourself 30 to 60 minutes of low-stimulation time before you plan to sleep. Dim the lights, put screens away, and do something that occupies your hands or attention lightly: reading a physical book, stretching, folding laundry. The goal is to prevent the abrupt transition from high stimulation to total silence that gives rumination its opening.

Schedule your worrying earlier. This sounds strange, but deliberately setting aside 15 to 20 minutes in the early evening to write down your concerns can reduce how much they intrude at bedtime. When a worry surfaces at night, you can remind yourself that you’ve already addressed it and will revisit it tomorrow. The act of writing externalizes the thought, which makes it easier for your brain to let go.

Use your body to interrupt your nervous system. Slow, deep breathing, particularly exhaling longer than you inhale, directly activates your parasympathetic nervous system and counteracts the fight-or-flight response. Breathing in for four counts and out for six or eight counts for a few minutes can measurably lower your heart rate and shift your body out of the alert state that fuels anxiety.

Get out of bed if it’s not working. Lying in bed while anxious strengthens the mental association between your bed and stress. If you’ve been awake and anxious for more than 20 minutes, get up, move to another room, and do something calm until you feel genuinely sleepy. This retrains your brain to associate your bed with sleep rather than with worry.

Anchor your mornings. Because so much of nighttime anxiety traces back to disrupted circadian rhythms, getting bright light exposure within the first hour of waking is one of the most powerful resets available. Morning light reinforces the cortisol surge that’s supposed to happen at dawn and helps ensure that cortisol drops appropriately by evening. Even 10 to 15 minutes of outdoor light on a cloudy day delivers enough signal to your internal clock.