Rubbing your feet together in bed is a self-soothing behavior, and it’s extremely common. The rhythmic motion provides gentle sensory input that helps your nervous system wind down, much like rocking a baby to sleep. Most people do it without thinking, and it serves several overlapping purposes: calming anxiety, generating warmth, and signaling to your brain that it’s time to rest.
It Triggers a Calming Sensory Loop
The soles of your feet contain four different types of nerve receptors that detect pressure, skin stretch, and vibration. When you rub your feet together, you activate these receptors and send a steady stream of tactile information to your brain. That consistent, predictable input is inherently soothing because your nervous system can process it passively without needing to stay alert.
This works on the same principle as other repetitive comfort behaviors: twirling hair, tapping fingers, or stroking a soft blanket. The key ingredient is rhythm. A predictable, repetitive sensation gives your brain something low-effort to track, which helps quiet the mental chatter that keeps you awake. Physical touch also prompts the release of oxytocin, the hormone associated with bonding and relaxation. Research published in the journal Frontiers in Psychology found that foot massage increases plasma oxytocin levels, with the effect being strongest when the touch comes from another person but still present with any form of tactile stimulation to the feet.
It Helps Your Body Cool Down for Sleep
Your body needs to drop its core temperature slightly to fall asleep. It does this through a clever trick: dilating blood vessels in your hands and feet to push warm blood toward the skin’s surface, where heat can escape. This process, called distal vasodilation, ramps up in the 20 minutes or so before sleep onset. Foot skin temperature can rise by nearly half a degree Celsius during this window, and the resulting heat loss pulls your core temperature down at a rate of about 0.15°C per hour.
Rubbing your feet together generates friction and increases blood flow to the skin, which may accelerate this natural warming of the extremities. If your feet feel cold, the vasodilation process stalls and sleep onset gets delayed. So the instinct to rub your feet together could be your body’s way of jumpstarting the thermal shift it needs to drift off.
The Connection to Stimming and Neurodivergence
In the autism and ADHD communities, foot rubbing in bed is recognized as a form of stimming, short for self-stimulatory behavior. Stimming involves repetitive actions that provide sensory input or help regulate emotions. Rocking a foot back and forth, rubbing feet against each other, or pressing toes into the mattress all fall into this category.
For neurodivergent individuals, these movements often serve a specific purpose: managing sensory overload or releasing the restless energy that builds up throughout the day. Children with sensory processing differences frequently seek out consistent pressure or motion, and foot rubbing delivers both. Research from Brouche, Rigal, and Cazalis (2024) found that stimming behaviors like foot rubbing are sensory-related and help individuals regulate their emotional state.
But stimming isn’t exclusive to neurodivergent people. Anyone who has ever bounced their leg under a desk or tapped a pen during a meeting has engaged in a form of self-stimulation. The bedtime version just happens to involve feet because they’re free to move under the covers and the sensation is pleasant without being alerting.
When It Might Be Restless Legs Syndrome
There’s an important distinction between rubbing your feet together because it feels nice and moving your legs because you feel like you have to. Restless legs syndrome (RLS) involves a compelling, unpleasant sensation in the legs that creates an urge to move them. People with RLS don’t describe it as a cramp or numbness. It’s more of an uncomfortable crawling or pulling feeling that gets worse in the evening and improves temporarily with movement.
The key differences: comfort foot rubbing is voluntary, pleasant, and stops naturally as you fall asleep. RLS feels involuntary and distressing. The movement relieves discomfort rather than creating pleasure. If you’re rubbing your feet because something feels wrong rather than because it feels good, that’s worth paying attention to.
Iron deficiency is strongly linked to restless legs symptoms. A family history of low iron is associated with roughly six times the odds of developing RLS. The connection is especially pronounced in people with ADHD or autism, where iron deficiency increases the risk of restless sleep behaviors, periodic limb movements, and insomnia.
Rhythmic Movement at Night Is Normal
Rhythmic body movements before sleep are extraordinarily common in young children. Around 60 to 67 percent of normally developing infants engage in some form of repetitive rocking or movement at nine months of age. By 18 months, that drops to about a third of children, and by age five, only around 6 percent still do it regularly. In school-age children, roughly 8 percent report rocking or swaying before falling asleep.
These movements only become a clinical concern, classified as sleep-related rhythmic movement disorder, when they significantly disrupt sleep, cause daytime impairment, or lead to injury. For the vast majority of people, rhythmic foot rubbing is simply a remnant of a deeply wired self-soothing instinct that humans rely on from infancy.
What Satisfies the Same Need
If you’re curious whether anything else scratches the same itch, the underlying need is deep pressure touch, a form of tactile input that includes holding, squeezing, and sustained contact. A weighted blanket delivers this kind of input across the whole body, which is why many people who rub their feet together find that a heavier blanket reduces the urge. Wearing soft, snug socks to bed can provide gentle compression to the feet specifically. Some people find that placing a pillow between their feet or legs gives enough sensory feedback to settle the need for movement.
None of these are necessary, though. If rubbing your feet together helps you fall asleep, it’s doing exactly what your body designed it to do.

