Sleeping with one leg bent up and the other straight is one of the most common sleep positions humans adopt, and it happens for a handful of overlapping reasons rather than a single cause. Your body is doing several things at once when it pulls one knee toward your chest or kicks it out to the side: offloading pressure from your lower spine, releasing tension in hip muscles shortened by daytime sitting, and fine-tuning your temperature. The position is so instinctive that most people don’t even realize they’ve done it until they wake up that way.
How Bending One Knee Changes Your Spinal Alignment
When you lie on your back with both legs flat, your lower spine tends to arch forward, creating a gap between your lumbar curve and the mattress. That arch compresses the small joints along the back of each vertebra and tightens the muscles running alongside your spine. Pulling one knee up rotates that side of the pelvis slightly backward, which flattens the lumbar curve and lets the lower back settle more evenly against the surface beneath you. The result is an immediate drop in pressure on the structures most likely to ache.
Side sleepers get a similar benefit in a slightly different way. Bending the top leg forward opens up the angle of the hip joint and prevents the top knee from pressing into the bottom knee, which can irritate the bony prominence on the outside of the leg. It also keeps the pelvis from rolling forward, which would twist the lower spine. People who sleep in the so-called “quarter turn” or “runner” position, face down with one knee drawn up like a sprinting stance, are effectively doing the same thing: using the bent leg as a kickstand that stops the pelvis from rotating too far in any one direction.
The mechanics here are straightforward. Your pelvis is the foundation your spine sits on, and even small changes in its tilt ripple upward through the vertebral column. Research on asymmetric postures during the day shows that holding one leg in a different position from the other measurably shifts pelvic alignment. A study on habitual leg-crossing found that sitting with one leg crossed over the other increased posterior rotation of the pelvis on that side relative to the opposite side, altering trunk symmetry within minutes.1PubMed Central. The effects of sitting with the right leg crossed on the trunk length and pelvic torsion of healthy individuals The same principle applies in bed: bending one leg shifts pelvic tilt in a way that can relieve strain on whichever side of your back is complaining.
Tight Hip Flexors and the Modern Sitting Problem
If you spend most of your day in a chair, your hip flexor muscles, the group running from your lower spine and inner pelvis down to the top of your thighbone, spend hours in a shortened position. Over time they adapt to that shortened length. When you finally lie flat, those muscles pull on the front of your pelvis and lumbar spine, creating discomfort you may not even consciously register. Bending one knee slackens the hip flexor on that side, which is why the position feels like an instant relief you didn’t know you needed.
This isn’t a new observation. One hypothesis published in the medical literature ties a cluster of modern leg complaints, including nighttime cramps and knee pain, directly to the loss of deep squatting from daily life. The authors argue that when cultures shifted from squatting to sitting in high chairs and using raised toilets, the muscles and tendons of the legs lost the regular stretching that squatting provided, leading to chronic shortening. They found that simple stretching exercises mimicking the squat position frequently produced “immediate and dramatic relief” of symptoms.2Medical Hypotheses. The cause of leg cramps and knee pains: an hypothesis and effective treatment If your hip flexors and hamstrings are chronically tight from sitting, your body’s nighttime workaround is to bend a leg and take the tension off.
This also explains why the bent-leg habit tends to get more pronounced with age or with increasingly sedentary routines. The tighter those muscles become during the day, the more your body insists on finding a position at night that gives them slack. People who stretch regularly or who spend significant time in deep squats during the day sometimes find the urge to bend a leg at night diminishes, though it rarely disappears entirely.
Temperature Regulation Through Your Extremities
Your body temperature drops by one to two degrees as you fall asleep and continues to decline into deeper sleep. Managing that cooldown is part of what your body does automatically throughout the night, and your feet play a surprisingly large role. The soles of your feet and your lower legs are efficient heat-exchange surfaces because they contain specialized blood vessel connections that can rapidly dilate and dump heat from the blood into the surrounding air. That’s why sticking a foot out from under the covers feels so satisfying on a warm night.
Bending one leg up and out to the side accomplishes something similar. It pulls part of your leg free from the insulating cocoon of blankets and pillows, giving your body an extra radiator. Even if the leg stays under the covers, raising a knee creates a tent of airspace around the lower leg that allows heat to dissipate more easily than when both legs lie pressed flat against the mattress. Many people who sleep with one leg bent report that they also tend to keep that foot uncovered, which points to thermoregulation as at least part of the motivation.
This doesn’t mean you’re overheating every night. Your body is constantly making micro-adjustments to stay within its preferred temperature window for sleep, and shifting a limb is one of the lowest-effort tools it has. In a cooler room, you might tuck both legs in. In a warmer room or under a heavy duvet, one leg migrates outward almost reflexively. The bent-leg position is part of a broader toolkit your sleeping body uses to keep conditions just right.
A Reflex You Never Fully Outgrew
Newborns display a set of primitive reflexes that are supposed to fade within the first year of life as the brain matures. One of the most recognizable is the asymmetric tonic neck reflex, sometimes called the “fencer” reflex: when a baby’s head turns to one side, the arm and leg on that side extend while the limbs on the opposite side bend. In theory, these reflexes are fully integrated into voluntary movement by early childhood. In practice, traces of them persist into adulthood.
A study testing healthy adults for the presence of the asymmetric tonic neck reflex and the symmetric tonic neck reflex found clear evidence that both reflexes are still active in grown adults, influencing limb position in response to head and neck orientation.3PubMed Central. Are effects of the symmetric and asymmetric tonic neck reflexes still visible in healthy adults? The effect is subtle during waking hours because voluntary control overrides it, but during sleep, when conscious motor control fades, residual reflex patterns may have more influence over how your limbs arrange themselves. If you tend to sleep with your head turned to one side, the fencer-like pattern of extending the limb on the face side and bending the limb on the skull side could be part of what’s happening.
This doesn’t mean you’re regressing to infancy every night. It means that deep in the motor circuitry of your brainstem, the wiring for these early movement patterns was never fully dismantled. It was overwritten by more complex voluntary programs, but those voluntary programs go partly offline during sleep. What’s left is a low-level bias toward certain asymmetric limb arrangements that just happen to feel comfortable.
It Is a Personal Preference, Not a Sleep-Stage Requirement
One common assumption is that your body moves into specific positions during specific phases of sleep, as if REM sleep demands one posture and deep sleep demands another. Research has tested this directly and found it isn’t true. A study tracking sleep positions across different age groups alongside their sleep-stage architecture found no significant relationship between sleep stages and sleep positions in any group. The researchers also looked for consistent sequences of position changes and found none.4Oxford Academic (SLEEP). Sleep Position and Sleep Stages: Evidence of Their Independence
What the study did find was that people develop position preferences that track with age. Younger sleepers tend to favor the prone (face-down) position more often, while older sleepers shift increasingly to their sides. But within any age group, the positions were personal habits rather than physiological requirements. Your one-leg-bent posture isn’t something your brain is commanding during a specific sleep phase. It’s a default your body has learned feels good, and it returns to it whenever you shift during the night regardless of whether you’re in light sleep, deep sleep, or dreaming.
This also means the bent-leg position isn’t disrupting your sleep architecture. Some people worry that an “odd” sleeping posture might prevent them from reaching deep sleep or might fragment their sleep cycles. The evidence suggests positions and stages operate on independent tracks. If you’re sleeping well and waking rested, the bent leg is simply where your body parks itself when left to its own devices.
Pregnancy and the Bent-Knee Side Position
Pregnant people often discover the one-leg-bent position for the first time, or find themselves relying on it far more than they used to. As the uterus grows, lying flat on the back becomes uncomfortable and eventually inadvisable because the weight of the uterus can compress the large vein returning blood to the heart. Side sleeping becomes the default, and bending the top knee forward with a pillow between the legs is one of the most commonly recommended positions in prenatal care.
The reasons overlap with the general population’s reasons but are amplified. The hormone relaxin loosens pelvic ligaments during pregnancy, which can make the sacroiliac joints at the back of the pelvis unstable and painful. Bending the top knee and supporting it takes torsional stress off those joints. The growing belly also shifts the center of gravity forward, increasing the arch in the lower back. A bent top leg counteracts that arch the same way it does for anyone with lower-back tension, just more urgently.
Many people keep the habit after pregnancy even when the original biomechanical reasons have resolved, because the motor pattern has become ingrained. The body learned that the position was comfortable during months of disrupted sleep and continued defaulting to it.
When the Bent Leg Might Be Signaling a Problem
Most of the time, sleeping with one leg bent is harmless and self-correcting. But in some cases the position is a compensation for something worth paying attention to.
- Restless legs: People with restless leg syndrome often bend, stretch, or reposition their legs repeatedly as they try to fall asleep. If you find that you’re not just settling into the bent-leg position but actively unable to keep still, with an uncomfortable crawling or pulling sensation in your calves or thighs, that’s a different situation from ordinary comfort-seeking.
- Hip joint pathology: A hip with early arthritis or a labral tear often feels better in flexion (bent) than in extension (straight). If one leg consistently needs to be bent and straightening it produces a pinching or catching sensation deep in the groin, it may be worth getting the hip evaluated.
- Nerve irritation: A disc bulge or other source of sciatic nerve compression can make lying with the leg straight painful because the straight-leg position tensions the nerve along its entire length. Bending the knee slackens the nerve and reduces symptoms. If your bent-leg habit is always on the same side and accompanied by tingling, numbness, or shooting pain, a spinal issue could be the driver.
- Nighttime cramps: Chronic calf or foot cramps that strike during sleep sometimes drive people to keep one leg bent as a preemptive guard against the next spasm. As noted earlier, muscle shortening from daytime habits may be a contributing factor, and targeted stretching before bed can help.
None of these conditions is common enough to assume you have one just because you sleep with a bent leg. The vast majority of bent-leg sleepers are doing it for the comfort reasons described above. The red flags are consistency on one side, associated pain or neurological symptoms, and the feeling that you can’t straighten the leg rather than simply preferring not to.
Sleeping Posture Across Cultures and Surfaces
In industrialized countries, people sleep on thick mattresses that conform to the body and reduce the need for postural adjustments. In many other contexts, past and present, people sleep on thin mats, hammocks, or directly on the ground. The surface matters because a hard, flat surface forces the body to arrange its bony prominences, hips, shoulders, knees, so they don’t bear too much concentrated pressure. Bending one leg on a hard surface rolls the pelvis slightly and distributes weight across a broader area of the hip and thigh rather than concentrating it on the bony point of the greater trochanter.
Anthropological observations of sleep postures in traditional societies have noted a range of limb arrangements that rarely show up in Western sleep research, including side-lying with both knees deeply flexed, prone with one leg drawn up in a near-fetal configuration, and supine with both knees bent and feet flat. The bent-leg position appears across enough cultural and environmental contexts that it’s unlikely to be an artifact of any particular mattress type or bedroom setup. It seems to be part of the basic repertoire of human resting postures, called on whenever the body needs to solve a particular combination of pressure, temperature, and muscle-tension problems.
Hammock sleepers face a different geometry entirely. The curve of a hammock tends to push the legs together and flex the hips slightly, which may be why hammock cultures often sleep diagonally across the fabric to flatten the body out. In that diagonal position, one leg naturally ends up slightly higher or more bent than the other simply because of the asymmetry of the angle. The bent-leg habit, in other words, isn’t something you picked up from a bad mattress or a weird pillow arrangement. It shows up wherever humans lie down.
Should You Try to Change It
If you wake up without pain and feel rested, there is no clinical reason to train yourself out of the bent-leg position. Sleep posture advice tends to focus on problems: snoring, acid reflux, shoulder impingement, neck pain. For each of those, specific position modifications exist. But no mainstream clinical guideline recommends against bending one leg per se, because the position doesn’t load any joint or tissue in a harmful way for most people.
Where adjustments sometimes help is when the bent leg creates a downstream issue. A knee held in deep flexion all night can aggravate an already-irritated kneecap, for instance. A hip that’s externally rotated for hours may protest in the morning if the joint has limited range. In those cases, the fix is usually a pillow strategically placed between or under the knees to maintain the comfort of the bent position while limiting the extreme end of the range.
People who share a bed sometimes want to change the habit for practical reasons, since a bent knee flung sideways takes up significant real estate. A body pillow running the length of your torso gives the bent leg something to rest on and tends to keep it from migrating into your partner’s territory. It also supports the pelvis and lower back in side-lying, which can make the position even more comfortable and reduce the number of times you shift during the night. The bent leg isn’t going anywhere, but it can be managed.