Long before babies can clap their hands or tap their feet to a beat, their brains are already listening. A new study from Rome, Italy, found that infants as young as three months old can recognize music — and it takes about a year before they start moving to it.

Researchers at the Istituto Italiano di Tecnologia (the Italian Institute of Technology) studied 79 babies across three age groups: three months, six months, and twelve months old. They played the infants short pieces of children's songs, along with scrambled versions of the same tunes, and tracked two things at once — brain activity using EEG (a test that measures electrical signals in the brain) and body movements using video cameras and computer software.

What they found surprised them. By three months of age, babies already showed stronger brain responses to real music than to shuffled music — the same songs but with the melody rearranged into random patterns. "This suggests that music processing starts early in development," said lead author Trinh Nguyen, a researcher who splits her time between Rome and the University of Vienna in Austria.

But here's the twist: even though their brains were paying attention to music, the babies didn't start moving their bodies in response to it until closer to their first birthday. Only the twelve-month-olds showed more movement when hearing real music compared to the scrambled versions. The younger babies moved around just as much during both types of music — their bodies weren't yet connected to what their ears were hearing.

The research team identified ten types of movements the babies made, including rocking front to back, swaying side to side, kicking their legs, and wiggling their whole bodies. Future studies could explore whether this early connection between hearing music and moving to it predicts anything about a child's musical abilities or even speech development later on.

Nguyen said studying infants this young is rare because most research focuses on either the brain or the body — not both at the same time. "Studying both the sensory and motor components of musicality in infants would give us a better understanding of how we learn to transform the perception of music into movement," she explained.

The study was published in the journal eLife. While the findings are just a first step, they suggest that the foundations of human musicality — our tendency to notice, enjoy, and respond to music — may begin much earlier in life than scientists previously thought. In other words, even before babies can dance, their brains are already learning the rhythm.