Babies thrash in their sleep mostly because they spend roughly half their sleep time in a light, active phase called REM sleep, where their developing brains fire off signals that cause twitches, jerks, and flailing limbs. Unlike adults, who cycle through sleep stages in a predictable rhythm, young infants have immature nervous systems that make their sleep look chaotic, restless, and sometimes alarming. In the vast majority of cases, it’s completely normal.
REM Sleep Takes Up Half the Night
Newborns sleep about 16 hours a day, and approximately half of that time is spent in REM sleep. For comparison, adults spend only about 20 to 25 percent of their sleep in REM. During this phase, the brain is highly active, eyes dart back and forth beneath closed lids, and the body produces small involuntary movements: arm flails, leg kicks, facial grimaces, and sudden jerks. In adults, the brain paralyzes most voluntary muscles during REM to prevent acting out dreams. Infants haven’t fully developed this mechanism yet, so all that neural activity translates directly into physical movement.
This is why babies can look like they’re wrestling an invisible opponent while deeply asleep. The thrashing often happens in cycles as they transition between lighter and deeper stages of sleep, and it tends to be most dramatic in the first few months of life.
The Moro Reflex and Startle Responses
One of the most recognizable causes of sudden sleep thrashing in young babies is the Moro reflex, a primitive, involuntary response present from birth. When triggered by a sudden noise, a change in position, or even the sensation of falling, the baby throws both arms outward with fingers splayed, briefly arches the neck and spine, then draws the arms back toward the body. It looks dramatic, and it often wakes the baby up, sometimes with crying.
The Moro reflex starts to fade around 12 weeks and is typically gone by 6 months. Until then, it can fire repeatedly during light sleep stages, making the baby appear to thrash or startle for no apparent reason. Swaddling helps dampen this reflex in young infants by keeping the arms contained, though swaddling should stop once a baby shows signs of being able to roll over.
Their Internal Clock Isn’t Built Yet
Babies aren’t born with a functioning circadian rhythm. The pineal gland, the structure in the brain responsible for producing melatonin (the hormone that signals nighttime drowsiness), is anatomically present at birth but not capable of synthesizing and secreting melatonin until around 4 to 6 months of age. The cellular structures within the gland don’t fully differentiate until somewhere between 3 and 8 months.
Without their own melatonin production, young infants rely on external cues and, if breastfed, small amounts of melatonin transferred through breast milk. A recognizable sleep-wake rhythm typically emerges between 6 and 12 weeks, but stable circadian patterns with consistent nocturnal melatonin levels often don’t appear until 3 to 6 months. Actigraphy studies measuring infant movement show that more stable, longer stretches of nighttime stillness develop between 3 and 6 months of age.
Before this internal clock matures, sleep is fragmented and disorganized. Babies cycle through stages rapidly, wake easily, and move more during transitions. This underlying biological immaturity is one of the biggest reasons sleep looks so restless in the early months.
Practicing New Skills in Their Sleep
Once babies begin hitting physical milestones like rolling, crawling, and pulling up, you may notice a new wave of nighttime restlessness. Learning to move changes how a baby experiences the world, and their brains appear to rehearse these new motor patterns during sleep. A baby who just learned to roll may flip repeatedly in the crib at night. One who’s working on crawling might rock on hands and knees or scoot around the sleep surface.
These phases tend to be temporary, lasting days to a couple of weeks as the skill becomes consolidated. They’re often lumped into what parents call “sleep regressions,” though they’re really signs of neurological progress rather than setbacks.
Overheating Can Make It Worse
Environmental factors play a role too. Babies who are too warm tend to be more restless during sleep. Thermal stress can alter breathing patterns and cardiovascular function in infants, and research shows that increased heat load can trigger or amplify the irregular breathing oscillations commonly seen in 1- to 3-month-old babies. These disruptions make sleep lighter and less stable, which means more movement.
Studies comparing calculated thermal needs with what parents actually dress babies in suggest that most parents do a reasonable job matching clothing to room temperature within a range of about 59 to 77°F (15 to 25°C). A good rule of thumb: dress your baby in one layer more than what you’d find comfortable, and keep the room cool enough that you wouldn’t want a blanket yourself. If your baby is sweating, flushed, or has a hot chest, they’re likely overdressed.
When Thrashing Signals Something Else
Normal sleep thrashing looks like random twitches, kicks, arm flails, and brief startles. The baby may grunt, grimace, or briefly cry out, then settle back into sleep. This kind of movement doesn’t follow a rhythmic pattern, doesn’t involve labored breathing, and doesn’t leave the baby gasping or drenched in sweat.
Obstructive sleep apnea in infants, while uncommon, can produce thrashing that looks different. When an infant’s airway partially or fully closes during sleep, the body responds with progressively more vigorous movements to reopen it, sometimes escalating to full thrashing, eye opening, and crying. Key signs that point toward a breathing problem rather than normal restlessness include:
- Labored breathing with visible effort in the chest or neck muscles
- Loud snoring or noisy breathing that’s present most nights
- Mouth breathing during sleep
- Profuse sweating that soaks hair or clothing
- Pauses in breathing followed by gasping or choking sounds
- Frequent full awakenings with distress, not just brief stirring
Infants with certain anatomical features, such as a small or recessed jaw, are at higher risk for airway obstruction during sleep. If thrashing consistently comes with any of the signs above, it’s worth having evaluated, since obstructive events in infants cause more significant drops in oxygen and heart rate than simple pauses in breathing.
What Helps in the Meantime
For healthy babies, most sleep thrashing doesn’t need to be fixed because it isn’t a problem. It looks alarming to parents, but the baby is usually sleeping through it. A few practical things can reduce unnecessary disruptions. Swaddling works well for newborns under 3 months by containing the Moro reflex, but you should stop as soon as there’s any sign of rolling. Keeping the room cool and avoiding over-bundling reduces heat-related restlessness. Using white noise can mask sudden environmental sounds that trigger startle responses during light sleep.
If your baby is thrashing but not waking up, the best move is often to wait and watch rather than intervene. Picking up a baby who’s actively cycling through a light sleep phase can fully wake them when they would have otherwise settled on their own within a minute or two. As their circadian rhythm matures and they spend a larger proportion of the night in deeper sleep stages, the thrashing gradually decreases on its own.

