How to Stop Fidgeting in Bed and Sleep Better

Fidgeting in bed is usually a signal that your body or brain hasn’t fully downshifted into sleep mode. The fix depends on what’s driving the restlessness: stress hormones keeping your nervous system on alert, a room that’s too warm, low levels of key minerals, or a screen habit that’s pushing your body clock later than you realize. Most people can dramatically reduce nighttime fidgeting with a combination of environment changes, a short relaxation routine, and attention to a few nutritional basics.

Why Your Body Won’t Stay Still

When you lie down and try to sleep, your brain is supposed to gradually quiet the signals that keep your muscles active during the day. Several things interfere with that process. Stress and anxiety elevate cortisol, the hormone that drives your fight-or-flight response. Elevated cortisol increases your heart rate and blood pressure, making your body feel wired even when you’re exhausted. For people under chronic stress, cortisol levels may already be high by bedtime, so the normal overnight cortisol rise (which typically happens around 2 to 3 a.m.) hits a system that’s already on edge.

Caffeine consumed within six to eight hours of bedtime can have a similar effect, blocking the brain chemicals responsible for drowsiness and keeping your motor system more active than it should be. Even moderate evening exercise, if it’s too close to bedtime, can leave your core temperature elevated and your muscles primed for movement rather than rest.

Cool Your Room to the Right Range

Room temperature is one of the simplest and most overlooked factors. Research tracking sleep in older adults found that sleep was most efficient and restful when nighttime room temperature stayed between 20 and 25°C (68 to 77°F). When the temperature climbed from 25°C to 30°C, sleep efficiency dropped by a clinically meaningful 5 to 10%. That decline shows up as more tossing, turning, and brief awakenings you may not even remember.

If you tend to run hot, try setting your thermostat to the lower end of that range, around 68°F. Breathable cotton or bamboo sheets help, too. The goal is to let your core body temperature drop naturally, which is one of the strongest signals your brain uses to initiate deep sleep.

Cut Blue Light Before 9 PM

Screens don’t just keep your mind busy. Blue light from phones, tablets, and laptops directly suppresses melatonin and increases physical restlessness. A study on evening blue light exposure found that people exposed to screens after 9 p.m. showed significantly longer movement duration during the night compared to those with no evening screen exposure. Exposure between 7:30 and 9 p.m. had a much smaller effect, suggesting there’s a meaningful cutoff point.

If you can’t avoid screens entirely in the evening, switching to a warm-toned night mode and putting devices away by 9 p.m. gives your brain roughly 90 minutes to begin producing melatonin before a typical 10:30 bedtime.

Use Progressive Muscle Relaxation

Progressive muscle relaxation is one of the most effective techniques for calming a fidgety body at bedtime, and it takes about 10 to 15 minutes. Harvard Health recommends this approach: lie on your back with a pillow under your head or knees, arms resting palms-up at your sides. Take several slow, deep breaths through your nose, exhaling with a long sigh.

Start at your feet. Curl your toes and arch your feet, hold for a few seconds, then release and let them sink into the mattress. Move upward through your calves, thighs, buttocks, lower back, abdomen, upper back, shoulders, arms, hands, neck, jaw, and forehead. Tense each area briefly, then let it go completely. The contrast between tension and release teaches your muscles what “relaxed” actually feels like, which is something most chronic fidgeters have lost touch with. If your mind wanders, just return your focus to your breathing and pick up where you left off.

Check Your Iron and Magnesium Levels

Persistent leg restlessness at night, especially an uncomfortable urge to move your legs that only improves when you actually move them, could point to restless legs syndrome. One of the most common and treatable drivers is low iron. Ferritin levels below 50 ng/mL consistently coincide with more severe symptoms, and people with levels under 18 ng/mL tend to see the strongest improvement when iron stores are replenished. If nighttime fidgeting is concentrated in your legs, asking your doctor for a ferritin test is a practical first step. Standard blood work often checks hemoglobin but not ferritin, so you may need to request it specifically.

Magnesium plays a related role. It helps muscles relax by blocking calcium from over-activating nerve signals. When magnesium is low, nerves become overactive and trigger involuntary muscle contractions, exactly the kind of twitching and restlessness that keeps you shifting in bed. A clinical trial found that supplementing with 250 mg of magnesium daily for two months reduced restless legs symptoms and improved overall sleep quality. Magnesium glycinate is generally the form best tolerated at bedtime because it’s less likely to cause digestive issues than other forms like oxide or citrate.

Try a Weighted Blanket

Weighted blankets work through deep pressure stimulation, the same principle behind a firm hug or a heavy coat. The steady, distributed pressure reduces nervous system arousal and can help your body settle faster. The standard recommendation is to choose a blanket that weighs about 10% of your body weight. So if you weigh 150 pounds, a 15-pound blanket is the starting point. Most people prefer somewhere between 5% and 12% of their body weight, so there’s room to adjust based on comfort.

One caveat: if you tend to overheat at night, look for a weighted blanket with cooling fabric or glass bead filling rather than plastic pellets, which trap more heat.

Build a Pre-Sleep Wind-Down Routine

Your body responds well to predictable cues. A consistent 30 to 60 minute wind-down period before bed trains your nervous system to start downshifting on schedule. This doesn’t need to be elaborate. A simple routine might look like: screens off by 9 p.m., dim the lights, take a warm shower or bath (the subsequent drop in skin temperature mimics the natural cooling that triggers sleepiness), then do your progressive muscle relaxation in bed.

Avoid lying in bed scrolling, reading the news, or doing anything mentally stimulating. If you’ve been in bed for more than 20 minutes and still feel restless, get up, sit in a dim room, and do something low-key like reading a physical book until you feel genuinely drowsy. This prevents your brain from associating the bed itself with restlessness, a pattern that can become self-reinforcing over time.

When Fidgeting Points to Something Deeper

Occasional restlessness is normal, especially during stressful periods. But if you’re fidgeting most nights despite good sleep habits, a few patterns are worth paying attention to. Restless legs syndrome affects roughly 5 to 10% of adults and tends to worsen in the evening. Periodic limb movement disorder causes repetitive leg jerking during sleep that you may not be aware of, though a bed partner often notices. Both conditions are diagnosable through a sleep study and highly treatable.

Anxiety disorders, ADHD, and certain medications (particularly some antidepressants and antihistamines) can also increase nighttime motor activity. If your fidgeting is paired with daytime fatigue, irritability, or difficulty concentrating, those are signs that something beyond sleep hygiene needs attention.