Nighttime restlessness has several common causes, ranging from stress and caffeine timing to medical conditions like restless legs syndrome and medication side effects. For many people, the culprit is more than one factor working together. Understanding what’s behind your inability to settle down is the first step toward sleeping more soundly.
Anxiety and Hyperarousal
The most widespread cause of nighttime restlessness is a nervous system that won’t switch off. Your sympathetic nervous system, the one responsible for the fight-or-flight response, releases chemical signals that put your brain and body on alert. Your heart pumps harder, your breathing speeds up, and every system from your eyes to your skin ramps up to help you detect and respond to threats. During the day, this response is useful and temporary. At night, when there’s no real danger, it becomes hyperarousal.
Hyperarousal can show up as a racing heart, trembling or shaking, rapid breathing, dizziness, sweating, or a general feeling of being “wired.” You might toss and turn, kick off your covers, or feel a restless energy in your body even though you’re exhausted. Chronic stress, generalized anxiety, and post-traumatic stress can all keep this system activated well past bedtime. The physical sensations it produces are real, not imagined, and they make it nearly impossible to relax into sleep.
Restless Legs Syndrome
Restless legs syndrome (RLS) is one of the most recognizable medical causes of nighttime restlessness, affecting an estimated 7 to 10 percent of the U.S. population. It produces an uncomfortable urge to move your legs that begins or worsens when you’re lying down or sitting still. The sensations are often described as crawling, tingling, aching, or pulling deep inside the legs. Moving, walking, or stretching provides temporary relief, but the urge returns once you stop.
A key feature of RLS is that symptoms are worse in the evening and at night than during the day. This timing distinction separates it from other conditions that cause leg discomfort, like muscle cramps, arthritis, or poor circulation. Diagnosis requires that the symptoms aren’t better explained by one of those other conditions.
Iron levels play a significant role. Experts recommend that anyone with RLS whose serum ferritin (a marker of iron stores) is at or below 75 micrograms per liter receive a trial of iron supplementation. Low iron in the brain disrupts the production of dopamine, a chemical messenger involved in controlling movement. This is why iron-deficient individuals often see a meaningful improvement in symptoms once their stores are replenished.
Caffeine and Alcohol
Caffeine has a half-life of roughly five to six hours, meaning half of it is still circulating in your bloodstream that long after your last cup. Research shows that consuming caffeine even six hours before bedtime can disrupt sleep quality, sometimes without you consciously noticing the effect. A general guideline is to cut off caffeine by 2 or 3 p.m. if you follow a standard evening bedtime. This includes coffee, energy drinks, certain teas, and chocolate.
Alcohol is trickier because it initially acts as a sedative. During the first half of the night, it suppresses REM sleep and may help you fall asleep faster. But as your body metabolizes the alcohol and blood levels drop during the second half of the night, the rebound effect kicks in. Wakefulness increases, sleep becomes fragmented, and you cycle through sleep stages more frequently. This is why people who drink in the evening often wake up at 2 or 3 a.m. feeling restless, hot, or unable to fall back asleep.
Medication Side Effects
Certain medications cause a specific type of restlessness called akathisia, a movement disorder characterized by an intense, almost unbearable need to move. It can affect your whole body but is most noticeable in the legs. Unlike the vague discomfort of RLS, akathisia feels more like inner agitation or an inability to sit still.
Antipsychotic medications are the most common cause, particularly older “first-generation” versions used at high doses. But several other drug classes can trigger it as well:
- SSRIs: The most widely prescribed antidepressants, including fluoxetine and paroxetine, can cause akathisia in some people.
- Tricyclic antidepressants and MAOIs: Older antidepressant classes that carry a higher risk.
- Anti-nausea and vertigo medications: Often prescribed short-term but capable of producing restlessness that lingers into the night.
- Stimulant drugs: Amphetamines, methamphetamine, and cocaine can all cause akathisia.
If you started a new medication and noticed nighttime restlessness within days or weeks, the timing is worth paying attention to. Akathisia often resolves with a dose adjustment or a switch to a different medication.
Cortisol and Stress Hormones
Your body’s stress hormone, cortisol, normally follows a predictable daily rhythm. Levels peak in the early morning to help you wake up and gradually decline through the evening, reaching their lowest point during the first few hours of sleep. When this cycle is disrupted, cortisol can spike at the wrong time.
Research shows that even brief arousals during the night trigger an immediate burst of cortisol release. Once you’re awake or in very light sleep, your brain’s stress-response system becomes highly sensitive to feedback signals, which temporarily suppresses cortisol again. But in people with chronic stress, this cycle can repeat throughout the night: a small arousal triggers cortisol, cortisol promotes alertness, alertness prevents deep sleep, and the cycle feeds itself. The result is a night spent hovering in light, restless sleep rather than progressing through the deeper, restorative stages.
Blood Sugar Drops During Sleep
Nocturnal hypoglycemia occurs when blood sugar falls below 70 mg/dL during sleep. It’s most common in people with diabetes who take insulin or certain oral medications, but it can also happen in people without diabetes after heavy alcohol consumption or prolonged fasting. When blood sugar drops, the body releases adrenaline and other counter-regulatory hormones to bring levels back up, and those hormones produce the same symptoms as a stress response: sweating, rapid heartbeat, trembling, and restlessness.
People experiencing nocturnal hypoglycemia often wake up drenched in sweat, feeling anxious or agitated, with no clear explanation. Over time, repeated episodes fragment sleep and leave you feeling unrested even after a full night in bed.
Bedroom Environment
Your body needs to drop its core temperature by about one to two degrees to initiate and maintain sleep. A room that’s too warm interferes with this process and is one of the simplest, most overlooked causes of restless nights. Sleep experts recommend keeping your bedroom between 60 and 67°F (15 to 19°C). Above that range, your body works harder to cool itself, leading to more tossing, turning, and lighter sleep.
Light exposure matters too, particularly blue light from screens. It suppresses the production of melatonin, the hormone that signals your brain it’s time to sleep. Noise, an uncomfortable mattress, and even a partner’s movements can pull you into lighter sleep stages repeatedly without fully waking you, leaving you with the sensation of a restless night even if you don’t remember waking up.
When Multiple Factors Overlap
In practice, nighttime restlessness rarely has a single cause. Someone dealing with work stress might also be drinking coffee too late and sleeping in a warm room. A person on an SSRI might have borderline-low iron levels. The compounding effect of two or three mild contributors can produce severe restlessness that no single fix will solve.
The most effective approach is to work through the controllable factors first: move caffeine earlier, keep alcohol moderate and early in the evening, cool the bedroom, and establish a wind-down period before bed. If restlessness persists after addressing those basics, it’s worth looking into iron levels, medication effects, or whether the pattern of symptoms matches restless legs syndrome. Keeping a simple log of when restlessness occurs, what you consumed that day, and what it feels like can reveal patterns that are hard to spot otherwise.